:root {
  --bg: #f3f5f8;
  --panel: #ffffff;
  --surface: #f8fafc;
  --surface-strong: #eef3f8;
  --text: #111827;
  --muted: #657086;
  --line: #dbe2ec;
  --blue: #0b63d8;
  --blue-dark: #073b8c;
  --green: #0f9f6e;
  --green-soft: #dff7ee;
  --amber: #fff1c7;
  --red: #f04438;
  --shadow: 0 10px 28px rgba(17, 24, 39, 0.055);
  --shadow-strong: 0 18px 44px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: linear-gradient(180deg, #fbfcfe 0, #f3f5f8 260px);
  color: var(--text);
  font-family: "Roboto", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button,
a,
input,
select,
textarea {
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(11, 99, 216, 0.22);
  outline-offset: 3px;
}

button:active:not(:disabled),
a:active {
  transform: translateY(1px);
}

button:disabled {
  cursor: not-allowed;
}

button.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.88;
}

button.is-loading::before {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #ffffff;
  border-radius: 999px;
  content: "";
  vertical-align: -2px;
  animation: ycomp-spin 0.72s linear infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

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

@keyframes ycomp-surface-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.is-hidden,
.is-hidden-nav {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr) auto auto auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid rgba(207, 216, 228, 0.92);
  background: rgba(252, 253, 255, 0.94);
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.045);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 0;
  color: #0f172a;
  text-decoration: none;
}

.logo-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  padding-bottom: 6px;
  color: #101827;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.logo-wordmark::before,
.logo-wordmark::after {
  position: absolute;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  content: "";
}

.logo-wordmark::after {
  right: 0;
  left: 1px;
  background: var(--blue);
}

.logo-wordmark::before {
  right: 0;
  z-index: 1;
  width: 24px;
  background: #14b889;
}

.logo-wordmark-y {
  color: var(--blue);
}

.catalog-button,
.admin-button,
.cart-button,
.account-button,
.quick-picker button,
.consultation-button,
.product-card button,
.seo-banner button,
#checkoutButton {
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.catalog-button:hover,
.cart-button:hover,
.account-button:hover,
.buy-button:hover:not(:disabled),
#checkoutButton:hover:not(:disabled),
.submit-order:hover:not(:disabled),
.admin-lock-card button:hover:not(:disabled) {
  box-shadow: 0 12px 28px rgba(11, 99, 216, 0.18);
  filter: brightness(1.01);
  transform: translateY(-1px);
}

.catalog-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: #0b63d8;
  color: white;
  font-size: 15px;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
}

.admin-button.is-hidden {
  display: none;
}

.admin-button:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.icon-lines,
.icon-lines::before,
.icon-lines::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.icon-lines::before {
  transform: translateY(-6px);
}

.icon-lines::after {
  transform: translateY(4px);
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
}

.search.is-open {
  border-color: #b7ccf5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 99, 216, 0.08);
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.search-icon,
.cart-icon {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
}

.search-icon {
  border-radius: 50%;
  color: var(--muted);
}

.search-icon::after {
  display: block;
  width: 8px;
  height: 2px;
  margin: 11px 0 0 11px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 35;
  display: none;
  width: min(620px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 92px));
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.search.is-open .search-suggestions {
  display: grid;
  gap: 8px;
}

.search-suggestions-group {
  display: grid;
  gap: 6px;
}

.search-suggestions-group > span {
  padding: 4px 6px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.search-suggestion-row,
.search-suggestion-chip,
.search-suggestion-all {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.search-suggestion-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
}

.search-suggestion-row:hover,
.search-suggestion-chip:hover,
.search-suggestion-all:hover {
  background: #f2f6fb;
}

.search-suggestion-row img {
  width: 64px;
  height: 52px;
  object-fit: contain;
  padding: 5px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #f8fafc;
}

.search-suggestion-row span,
.search-suggestion-chip {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.search-suggestion-row strong,
.search-suggestion-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion-row strong,
.search-suggestion-chip strong {
  font-size: 13px;
  font-weight: 850;
}

.search-suggestion-row small,
.search-suggestion-chip small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.search-suggestion-row b {
  color: var(--blue-dark);
  font-size: 13px;
  white-space: nowrap;
}

.search-suggestion-chip {
  padding: 9px 10px;
  border: 1px solid #edf1f6;
  background: #ffffff;
}

.search-suggestion-all {
  min-height: 40px;
  padding: 0 10px;
  background: #eef5ff;
  color: var(--blue-dark);
  font-weight: 850;
  text-align: center;
}

.search-suggestions-empty {
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.top-nav {
  display: flex;
  gap: 14px;
  color: #364152;
  font-size: 15px;
  font-weight: 720;
  white-space: nowrap;
}

.top-nav a:hover {
  color: var(--blue);
}

.top-nav a.is-active {
  color: var(--blue);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue-dark);
  font-size: 15px;
}

.account-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121a2a;
  color: white;
  cursor: pointer;
  font-size: 15px;
  font-weight: 760;
}

.account-button b {
  display: none;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 12px;
}

.account-button b.is-visible {
  display: grid;
}

.favorites-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #fff1f0;
  color: var(--red);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.favorites-button b {
  display: grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 999px;
  background: white;
  color: var(--red);
  font-size: 12px;
}

.favorites-button:not(.has-items) {
  background: #f0f4fa;
  color: #344054;
}

.cart-button b {
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 12px;
}

.cart-icon {
  position: relative;
  border-top: 0;
  border-radius: 2px 2px 5px 5px;
}

.cart-icon::before {
  position: absolute;
  top: -7px;
  left: 3px;
  width: 10px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.catalog-menu,
.admin-menu {
  position: fixed;
  top: 61px;
  left: clamp(16px, 4vw, 44px);
  z-index: 30;
  display: none;
  grid-template-columns: repeat(4, minmax(130px, auto));
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.admin-menu {
  right: clamp(16px, 4vw, 44px);
  left: auto;
  grid-template-columns: repeat(2, minmax(150px, auto));
}

.catalog-menu.is-visible,
.admin-menu.is-visible {
  display: grid;
}

.catalog-menu button,
.catalog-menu a,
.admin-menu button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #f0f4fa;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.admin-menu button {
  background: #fff7e4;
}

.admin-summary {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 2px;
}

.admin-summary button {
  min-height: 54px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.admin-summary button.is-danger {
  border-color: #f04438;
  background: #fff8f7;
  color: var(--red);
}

.admin-summary span {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-summary strong {
  font-size: 20px;
}

.admin-badge {
  display: none;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.admin-badge.is-visible {
  display: grid;
}

.admin-badge.is-danger {
  background: var(--red);
}

.hidden-file-input {
  display: none;
}

.catalog-menu button:hover,
.catalog-menu a:hover,
.admin-menu button:hover {
  background: #eef5ff;
  color: var(--blue-dark);
}

.service-utility-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 7px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid #dfe7f2;
  background: #f7f9fc;
  overflow: visible;
  scrollbar-width: none;
}

.service-utility-bar::-webkit-scrollbar {
  display: none;
}

.service-utility-bar > a,
.service-utility-bar > button,
.service-consultation-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.service-utility-bar > a:hover,
.service-utility-bar > button:hover,
.service-consultation-toggle:hover,
.service-consultation.is-open .service-consultation-toggle {
  border-color: #cfe0ff;
  background: #ffffff;
  color: var(--blue-dark);
}

.service-consultation {
  position: relative;
  flex: 0 0 auto;
}

.service-consultation-toggle {
  gap: 7px;
}

.service-consultation-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.service-consultation.is-open .service-consultation-chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.service-consultation-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: grid;
  gap: 8px;
  width: min(330px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(218, 226, 236, 0.98);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.service-consultation.is-open .service-consultation-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.service-consultation-menu::before {
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(218, 226, 236, 0.98);
  border-left: 1px solid rgba(218, 226, 236, 0.98);
  background: #ffffff;
  transform: rotate(45deg);
  content: "";
}

.service-consultation-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 6px;
  border-radius: 8px;
  color: #202b3d;
  text-decoration: none;
}

.service-consultation-item:hover {
  background: #f5f8fc;
  color: #202b3d;
}

.service-consultation-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue-dark);
}

.service-consultation-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.service-consultation-icon.is-telegram {
  background: #e8f5ff;
  color: #1687c9;
}

.service-consultation-icon.is-phone {
  background: #edf4ff;
  color: var(--blue-dark);
}

.service-consultation-item strong,
.service-consultation-item small {
  display: block;
  min-width: 0;
}

.service-consultation-item strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.service-consultation-item small {
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.service-consultation-request {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.service-consultation-request:hover {
  background: var(--blue-dark);
}

main {
  display: flex;
  flex-direction: column;
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 44px) 96px;
}

.intro-band {
  order: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.58fr) minmax(270px, 0.78fr);
  gap: 12px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.1;
}

.intro-copy {
  max-width: 500px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.category-panel,
.featured-deal,
.budget-card {
  min-width: 0;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.category-panel,
.budget-card {
  display: grid;
  gap: 11px;
  align-content: start;
  padding: 15px;
}

.category-panel h2,
.budget-card h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.category-grid button,
.category-grid a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  grid-template-rows: 24px minmax(32px, 1fr);
  align-items: start;
  gap: 5px 10px;
  min-height: 74px;
  padding: 9px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fbfcfe;
  color: #344054;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
  text-align: left;
  text-decoration: none;
  overflow: hidden;
}

.category-grid button:hover,
.category-grid a:hover,
.category-grid button.is-active {
  border-color: rgba(11, 99, 216, 0.5);
  background: #edf5ff;
  color: var(--blue-dark);
}

.category-grid .category-code {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  max-width: 100%;
  width: max-content;
  min-width: 26px;
  height: 24px;
  padding-inline: 7px;
  place-items: center;
  border-radius: 7px;
  background: #edf2f8;
  color: #364152;
  font-size: 10px;
  font-weight: 900;
}

.category-grid .category-title {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  min-height: 30px;
  align-items: flex-end;
  align-self: end;
  min-width: 0;
  max-width: 100%;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.category-grid .category-visual {
  display: grid;
  grid-column: 2;
  grid-row: 1 / -1;
  width: 44px;
  height: 52px;
  place-items: center;
  align-self: center;
  justify-self: end;
  border-radius: 8px;
  background: linear-gradient(145deg, #eef4fb, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(218, 226, 236, 0.8);
}

.category-grid .category-visual img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(15, 23, 42, 0.12));
  transition: transform 0.18s ease;
}

.category-grid button:hover .category-visual img,
.category-grid a:hover .category-visual img {
  transform: translateY(-1px) scale(1.04);
}

.featured-deal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.54fr);
  gap: 14px;
  align-items: center;
  min-height: 218px;
  padding: 20px 22px;
  border-color: #d7e2f0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0.92) 54%, rgba(241, 247, 255, 0.88) 100%),
    linear-gradient(135deg, #ffffff, #eef5ff);
  overflow: hidden;
}

.featured-deal::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 99, 216, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 99, 216, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent 0, black 42%, black 100%);
  content: "";
}

.featured-copy {
  position: relative;
  z-index: 1;
}

.featured-product {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  align-self: end;
  justify-self: end;
  filter: drop-shadow(0 18px 24px rgba(17, 24, 39, 0.14));
  transform: scale(1.08);
}

.feature-checks {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: #3f4a5c;
  font-size: 13px;
  font-weight: 720;
}

.feature-checks li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.feature-checks li::before {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #dff7ee;
  color: #087750;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.hero-series-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.hero-series-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #dbe8ff;
  border-radius: 999px;
  background: #f8fbff;
  color: #25466f;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.consultation-button,
.intro-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 760;
}

.consultation-button {
  background: #0b63d8;
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 99, 216, 0.16);
}

.intro-actions a {
  border: 1px solid #dbe3ee;
  background: rgba(255, 255, 255, 0.86);
  color: #344054;
}

.intro-actions a:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.quick-picker {
  min-width: 0;
}

.budget-card-head {
  display: grid;
  gap: 10px;
}

.budget-card-head > span {
  justify-self: start;
  min-height: 24px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef7f2;
  color: #08784f;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.budget-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.budget-fields span {
  display: grid;
  gap: 3px;
  min-height: 34px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
}

.budget-fields span:last-child {
  text-align: right;
}

.budget-fields small {
  color: #667085;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.budget-fields b {
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
}

.budget-slider {
  display: grid;
  gap: 8px;
}

.budget-range {
  width: 100%;
  accent-color: var(--blue);
}

.budget-scale {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.quick-picker-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.quick-picker button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue-dark);
  font-size: 12px;
  white-space: nowrap;
}

.quick-picker button.is-selected {
  background: var(--blue);
  color: white;
}

.budget-recommendation {
  display: grid;
  gap: 7px;
  align-self: stretch;
  padding: 12px;
  border: 1px solid #dfe9f7;
  border-radius: 8px;
  background: #f8fbff;
}

.budget-recommendation > span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.budget-recommendation strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.18;
}

.budget-recommendation p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.35;
}

.budget-recommendation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.budget-recommendation-tags small {
  min-height: 24px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #edf4ff;
  color: #24529d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.budget-submit {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: #121a2a;
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
}

.store-trust-strip {
  order: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.store-trust-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.035);
}

.store-trust-strip article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.store-trust-strip div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.store-trust-strip strong,
.store-trust-strip p {
  min-width: 0;
  margin: 0;
}

.store-trust-strip strong {
  color: #172033;
  font-size: 13px;
  line-height: 1.25;
}

.store-trust-strip p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.4;
}

.clearance-section {
  order: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 12px;
  padding: 16px;
  border-block: 1px solid #dfe7f0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.92) 58%, rgba(243, 251, 247, 0.9)),
    #ffffff;
}

.clearance-copy {
  display: grid;
  gap: 11px;
  align-content: start;
  min-width: 0;
}

.clearance-copy h2,
.clearance-copy p {
  margin: 0;
}

.clearance-copy h2 {
  color: #101828;
  font-size: 22px;
  line-height: 1.16;
}

.clearance-copy p:not(.eyebrow) {
  max-width: 600px;
  color: #5f6f86;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.clearance-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.clearance-rules span {
  min-height: 30px;
  padding: 8px 10px;
  border: 1px solid #d7e4f2;
  border-radius: 8px;
  background: #ffffff;
  color: #344054;
  font-size: 12px;
  font-weight: 860;
  line-height: 1;
}

.clearance-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  width: fit-content;
  max-width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  background: #eaf7ef;
  color: #087750;
}

.clearance-summary strong,
.clearance-summary span {
  min-width: 0;
}

.clearance-summary strong {
  font-size: 16px;
}

.clearance-summary span {
  color: #3f7b62;
  font-size: 12px;
  font-weight: 820;
}

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

.clearance-actions button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.clearance-actions button:first-child {
  border: 0;
  background: #121a2a;
  color: #ffffff;
}

.clearance-actions button:last-child {
  border: 1px solid #cfe0ff;
  background: #ffffff;
  color: var(--blue-dark);
}

.clearance-products {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.clearance-product-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  text-decoration: none;
}

.clearance-product-card:hover {
  border-color: rgba(11, 99, 216, 0.34);
  background: #ffffff;
}

.clearance-product-visual {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 1.25;
  place-items: center;
  border-radius: 8px;
  background: #f4f7fb;
}

.clearance-product-visual img {
  max-width: 84%;
  max-height: 76px;
  object-fit: contain;
}

.clearance-product-visual em {
  position: absolute;
  left: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  padding: 4px 6px;
  border-radius: 7px;
  background: #fff7e4;
  color: #93610a;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.clearance-product-content {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.clearance-product-content strong,
.clearance-product-content span,
.clearance-product-content small {
  min-width: 0;
}

.clearance-product-content strong {
  color: #101828;
  font-size: 14px;
  line-height: 1.25;
}

.clearance-product-content > span {
  color: #667085;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.35;
}

.clearance-product-content small {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: #5f6f86;
  font-size: 11px;
  font-weight: 840;
}

.clearance-product-content b {
  color: #101828;
  font-size: 16px;
}

.clearance-empty {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 140px;
  padding: 14px;
  border: 1px dashed #cfd9e7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.clearance-empty strong {
  color: #101828;
  font-size: 16px;
}

.clearance-empty span {
  color: #667085;
  font-size: 13px;
  font-weight: 740;
  line-height: 1.45;
}

.pc-series-section {
  order: 1;
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.pc-series-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.pc-series-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.pc-series-head button,
.pc-series-grid button {
  min-height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.pc-series-head button {
  padding: 0 12px;
  border: 1px solid #cfe0ff;
  background: #eaf2ff;
  color: var(--blue-dark);
  white-space: nowrap;
}

.pc-series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pc-series-grid article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
}

.pc-series-grid span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.pc-series-grid strong {
  color: #111827;
  font-size: 15px;
  line-height: 1.25;
}

.pc-series-grid p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.pc-series-grid button {
  align-self: end;
  border: 0;
  background: #121a2a;
  color: white;
}

.pc-series-grid button:hover,
.pc-series-grid button.is-selected {
  background: var(--blue);
}

.shop-layout {
  order: 2;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.configurator {
  order: 3;
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.configurator-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.configurator-head h2,
.configurator-head p {
  margin: 0;
}

.configurator-head h2 {
  font-size: 24px;
}

.configurator-head p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.configurator-head button,
#addBuildToCart {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #0b63d8;
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.configurator-head button {
  padding: 0 16px;
  background: #121a2a;
  white-space: nowrap;
}

.configurator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 14px;
  align-items: start;
}

.configurator-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.configurator-form label {
  display: grid;
  gap: 7px;
  align-content: start;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.configurator-form select {
  width: 100%;
  height: 44px;
}

.configurator-guidance {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-self: end;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #e4eaf2;
}

.configurator-guidance div {
  display: grid;
  gap: 4px;
  min-height: 84px;
  align-content: start;
  padding: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
}

.configurator-guidance span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.configurator-guidance strong {
  color: #172033;
  font-size: 13px;
  line-height: 1.38;
}

.configurator-summary {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
}

.compatibility-status {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue-dark);
}

.compatibility-status.is-good {
  background: linear-gradient(135deg, #e4f8ef, #f4fffa);
  color: #087750;
}

.compatibility-status.is-warning {
  background: #fff7e4;
  color: #9a6700;
}

.compatibility-status.is-bad {
  background: #fff1f0;
  color: #b42318;
}

.compatibility-status span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.build-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.build-list li {
  padding: 8px 10px;
  border-radius: 8px;
  background: white;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.build-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.build-total span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.build-total strong {
  font-size: 23px;
}

#addBuildToCart {
  width: 100%;
  box-shadow: 0 7px 15px rgba(11, 99, 216, 0.14);
}

#addBuildToCart:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.filters {
  position: sticky;
  top: 76px;
  align-self: start;
  padding: 14px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.035);
}

.filters-backdrop,
.mobile-filter-button,
.filter-close-button,
.filter-mobile-actions {
  display: none;
}

.filter-head,
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.filter-head-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.filter-head h2,
.catalog-toolbar h2 {
  margin: 0;
  font-size: 20px;
}

.filter-head span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-head button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.filter-presets {
  display: grid;
  gap: 7px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.filter-presets span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-presets button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #dbe8ff;
  border-radius: 8px;
  background: #f8fbff;
  color: #1f3f73;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  text-align: left;
}

.filter-presets button:hover {
  border-color: rgba(11, 99, 216, 0.45);
  background: #eef5ff;
}

.filter-group {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.filter-group:first-of-type {
  border-top: 0;
}

.filter-group h3 {
  margin: 0 0 9px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 820;
}

.filter-group label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 32px;
  margin: 5px 0;
  padding: 0 8px;
  border-radius: 8px;
  color: #344054;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.filter-group label:hover {
  background: #f4f7fb;
}

.filter-group label:has(input:checked) {
  background: #eaf3ff;
  color: var(--blue-dark);
  font-weight: 800;
}

input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--blue);
}

.catalog-area {
  min-width: 0;
}

.catalog-toolbar {
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.035);
}

.catalog-toolbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.catalog-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: end;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.active-filters > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.active-filters button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #f2f7ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.active-filters button span {
  color: #5f6f89;
  font-size: 15px;
  line-height: 1;
}

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

.catalog-insight-strip article {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 18px rgba(17, 24, 39, 0.035);
}

.catalog-insight-strip span,
.catalog-insight-strip small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-insight-strip span {
  color: #526174;
  text-transform: uppercase;
}

.catalog-insight-strip strong {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.view-switch {
  display: inline-flex;
  min-height: 36px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f6fa;
}

.view-switch button {
  min-width: 70px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475467;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.view-switch button.is-selected {
  background: white;
  color: var(--blue-dark);
  box-shadow: 0 1px 5px rgba(17, 24, 39, 0.11);
}

select {
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
}

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

.product-card,
.seo-banner {
  min-width: 0;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  animation: ycomp-surface-in 0.28s ease both;
}

.product-card:nth-child(2n),
.seo-banner:nth-child(2n) {
  animation-delay: 28ms;
}

.product-card:nth-child(3n),
.seo-banner:nth-child(3n) {
  animation-delay: 56ms;
}

.product-card:hover {
  border-color: rgba(11, 99, 216, 0.42);
  box-shadow: var(--shadow-strong);
  transform: translateY(-1px);
}

.product-card {
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.visual {
  position: relative;
  display: grid;
  height: 176px;
  place-items: center;
  border-bottom: 1px solid #edf1f6;
  background:
    linear-gradient(180deg, #ffffff 0, #f8fafc 100%);
  cursor: pointer;
  overflow: hidden;
}

.visual::before,
.visual::after {
  display: none;
}

.visual img {
  width: min(94%, 285px);
  height: 166px;
  object-fit: contain;
  transform: scale(1.16);
  transition: transform 0.18s ease;
}

.product-card:hover .visual img {
  transform: scale(1.19);
}

.product-card:hover .visual.gpu img,
.product-card:hover .visual.ssd img {
  transform: scale(1.23);
}

.product-card:hover .visual.cpu img {
  transform: scale(1.21);
}

.visual.gpu img,
.visual.ssd img {
  width: 96%;
  max-width: 320px;
  transform: scale(1.2);
}

.visual.cpu img {
  width: min(92%, 250px);
  transform: scale(1.18);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(208, 221, 239, 0.86);
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.condition-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  padding: 6px 9px;
  border: 1px solid #fde68a;
  border-radius: 999px;
  background: #fff7e4;
  color: #9a6700;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-info {
  display: grid;
  gap: 8px;
  padding: 14px;
  flex: 1;
  align-content: start;
}

.product-info h3 {
  min-height: 40px;
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.product-title-button,
.product-title-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.product-title-button:hover,
.product-title-link:hover {
  color: var(--blue-dark);
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  min-height: 28px;
}

.rating-line {
  min-width: 0;
  color: #8a6100;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.product-card-commerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  align-items: center;
  min-height: 48px;
  padding: 7px 8px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #ffffff;
}

.product-card-commerce span,
.product-card-commerce strong {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-commerce span {
  color: #667085;
  font-weight: 820;
}

.product-card-commerce span:first-child {
  color: #111827;
  font-weight: 920;
}

.product-card-commerce strong {
  grid-column: 1 / -1;
  color: #0b63d8;
  font-weight: 950;
}

.product-card-condition {
  display: grid;
  gap: 3px;
  min-height: 42px;
  padding: 7px 8px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffaf0;
}

.product-card-condition strong,
.product-card-condition span {
  min-width: 0;
  overflow: hidden;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-condition strong {
  color: #9a6700;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-card-condition span {
  color: #67522a;
  font-size: 11px;
  font-weight: 760;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.specs span {
  padding: 4px 7px;
  border-radius: 7px;
  background: #eef3f8;
  color: #344054;
  font-size: 11px;
  font-weight: 700;
}

.product-card-signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid #dbe8ff;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
}

.product-card-signal span,
.product-card-signal strong {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-signal span {
  color: #344054;
  font-weight: 850;
}

.product-card-signal strong {
  color: var(--blue-dark);
  font-weight: 900;
}

.product-card-service {
  min-height: 28px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f7f9fc;
  color: #526174;
  font-size: 11px;
  font-weight: 780;
  line-height: 1.35;
}

.product-card-retail-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  background: #fbfcfe;
}

.product-card-retail-strip span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 0;
}

.product-card-retail-strip b,
.product-card-retail-strip strong {
  min-width: 0;
  overflow: hidden;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-retail-strip b {
  color: #7a8798;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card-retail-strip strong {
  color: #253044;
  font-size: 11px;
  font-weight: 880;
}

.product-card-buybox {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid #edf1f6;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: end;
}

.price-row > span {
  color: #7a8798;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.price-row small {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  color: #657086;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price {
  color: #0f172a;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  text-align: right;
}

.stock {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #087750;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.stock-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.stock.is-low {
  background: #fff7e4;
  color: #9a6700;
}

.stock.is-out {
  background: #fff1f0;
  color: var(--red);
}

.buy-button:disabled,
.modal-buy-row button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.actions button {
  min-height: 40px;
  border-radius: 8px;
}

.buy-button {
  min-width: 0;
  background: #0b63d8;
  color: white;
  box-shadow: 0 7px 15px rgba(11, 99, 216, 0.14);
}

.detail-button {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--blue-dark);
}

.product-card-secondary-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.compare-button {
  border: 1px solid #e1e8f2;
  background: #f8fafc;
  color: #667085;
}

.favorite-button {
  border: 1px solid #e1e8f2;
  background: #f8fafc;
  color: #667085;
}

.detail-button:hover:not(:disabled),
.compare-button:hover:not(:disabled) {
  border-color: #bfd0e8;
  background: #f4f8ff;
  transform: translateY(-1px);
}

.favorite-button:hover:not(:disabled) {
  border-color: #ffc9c4;
  background: #fff6f5;
  transform: translateY(-1px);
}

.icon-button {
  display: inline-grid;
  width: 40px;
  min-width: 40px;
  place-items: center;
  padding: 0;
}

.icon-heart,
.icon-compare {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.icon-heart::before {
  display: block;
  color: currentColor;
  content: "♡";
  font-size: 21px;
  font-weight: 500;
  line-height: 18px;
}

.favorite-button.is-selected .icon-heart::before {
  content: "♥";
}

.icon-compare::before,
.icon-compare::after {
  position: absolute;
  left: 1px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.icon-compare::before {
  top: 5px;
}

.icon-compare::after {
  bottom: 5px;
}

.icon-compare {
  border-right: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 3px;
}

.favorite-button.is-selected {
  border-color: #ffc9c4;
  background: #fff1f0;
  color: var(--red);
}

.compare-button.is-selected {
  background: #eef5ff;
  border-color: var(--blue);
  color: var(--blue);
}

.seo-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px;
  align-items: center;
  min-height: 106px;
  padding: 16px;
  border-left-width: 3px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.seo-banner:hover,
.seo-banner.is-active {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}

.seo-banner h3 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.2;
}

.seo-banner p {
  margin: 0 0 10px;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
}

.seo-banner button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #121a2a;
  color: white;
  font-size: 12px;
}

.seo-banner .mini-visual {
  width: 100%;
  height: 86px;
  padding: 8px;
  border: 1px solid rgba(218, 226, 236, 0.85);
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.76);
  filter: drop-shadow(0 8px 12px rgba(17, 24, 39, 0.08));
}

.seo-banner.blue {
  border-left-color: #0b63d8;
  background: linear-gradient(135deg, #f7fbff 0, #eaf3ff 100%);
}

.seo-banner.green {
  border-left-color: #0f9f6e;
  background: linear-gradient(135deg, #f7fffb 0, #e8f8f1 100%);
}

.seo-banner.amber {
  border-left-color: #d18a00;
  background: linear-gradient(135deg, #fffdf7 0, #fff3d7 100%);
}

.seo-banner.wide {
  grid-column: span 2;
}

.product-grid.is-list-view {
  grid-template-columns: 1fr;
}

.product-grid.is-list-view .product-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.product-grid.is-list-view .visual {
  height: auto;
  min-height: 220px;
  border-right: 1px solid var(--line);
}

.product-grid.is-list-view .visual img {
  height: 188px;
}

.product-grid.is-list-view .product-info {
  align-content: start;
  padding: 18px;
}

.product-grid.is-list-view .product-info h3 {
  min-height: 0;
  font-size: 18px;
}

.product-grid.is-list-view .product-card-buybox {
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  align-items: end;
}

.product-grid.is-list-view .actions {
  grid-template-columns: minmax(130px, 180px) auto;
  justify-content: start;
}

.product-grid.is-list-view .seo-banner,
.product-grid.is-list-view .seo-banner.wide {
  grid-column: auto;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 28px;
  border: 1px dashed #b8c3d3;
  border-radius: 8px;
  background: #ffffff;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state p {
  color: var(--muted);
}

.empty-state button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.035);
}

.recently-viewed {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.035);
}

.recently-viewed.is-hidden {
  display: none;
}

.recently-viewed-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.recently-viewed-head h2 {
  margin: 0;
  font-size: 18px;
}

.recently-viewed-head button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.recently-viewed-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.recent-item {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.recent-visual {
  display: grid;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.recent-visual img {
  width: 92%;
  height: 48px;
  object-fit: contain;
}

.recent-item span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.recent-item strong,
.recent-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-item small {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.seo-content h2,
.seo-content p {
  margin: 0;
}

.seo-content h2 {
  font-size: 22px;
  line-height: 1.2;
}

.seo-content p:not(.eyebrow) {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.seo-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.seo-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.seo-side {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
}

.seo-side strong {
  font-size: 14px;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: start;
  justify-content: flex-start;
}

.seo-links button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.seo-links button:hover {
  border-color: var(--blue);
  background: #eef5ff;
}

.site-bottom {
  order: 4;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.site-bottom-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.site-bottom-panel h2,
.site-bottom-panel p {
  margin: 0;
}

.site-bottom-panel h2 {
  max-width: 720px;
  font-size: 24px;
  line-height: 1.18;
}

.site-bottom-panel p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.site-bottom-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.site-bottom-actions a,
.site-bottom-actions button,
.site-bottom-grid a,
.site-bottom-grid button,
.site-assist-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.site-bottom-actions a:first-child,
.site-bottom-actions a:last-child,
.site-bottom-grid a,
.site-bottom-grid button {
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--blue-dark);
}

.site-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.site-bottom-grid article {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  align-content: stretch;
  align-items: start;
  min-width: 0;
  min-height: 188px;
  padding: 16px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: #fbfcfe;
}

.site-bottom-grid span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-bottom-grid strong,
.site-bottom-grid p {
  margin: 0;
}

.site-bottom-grid strong {
  color: #172033;
  font-size: 17px;
  line-height: 1.25;
}

.site-bottom-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-bottom-grid a,
.site-bottom-grid button {
  width: fit-content;
  min-width: 142px;
  max-width: 100%;
  align-self: end;
  justify-self: start;
  margin-top: 8px;
  text-align: center;
  white-space: normal;
}

.site-assist-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d7e4f3;
  border-radius: 8px;
  background: #f7fbff;
}

.site-assist-strip div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.site-assist-strip span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-assist-strip strong {
  color: #172033;
  font-size: 15px;
  line-height: 1.35;
}

.site-assist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-assist-actions button {
  border: 0;
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 18px rgba(11, 99, 216, 0.12);
}

.site-assist-actions button:hover {
  filter: brightness(0.97);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, auto);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: #121a2a;
  color: white;
}

.site-footer p {
  max-width: 420px;
  margin: 10px 0 0;
  color: #b8c3d3;
  font-size: 13px;
  line-height: 1.5;
}

.footer-logo {
  color: white;
}

.footer-logo .logo-wordmark {
  color: white;
}

.footer-logo .logo-wordmark-y {
  color: #7db5ff;
}

.footer-logo .logo-wordmark::after {
  background: #7db5ff;
}

.footer-logo .logo-wordmark::before {
  background: #24d3a4;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 560px;
  min-width: 0;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(219, 231, 245, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #dbe7f5;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer-links a:hover {
  border-color: rgba(125, 181, 255, 0.35);
  background: rgba(125, 181, 255, 0.1);
  color: white;
}

.cart-drawer {
  position: fixed;
  right: clamp(16px, 4vw, 44px);
  bottom: 18px;
  z-index: 25;
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: min(430px, calc(100vw - 32px));
  max-width: min(600px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 26, 42, 0.98), rgba(15, 23, 42, 0.96)),
    #121a2a;
  color: white;
  box-shadow: 0 20px 54px rgba(17, 24, 39, 0.32);
  transform: translateY(130%);
  transition: transform 0.25s ease;
}

.compare-drawer {
  position: fixed;
  left: clamp(16px, 4vw, 44px);
  bottom: 18px;
  z-index: 25;
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: min(360px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.14);
  transform: translateY(130%);
  transition: transform 0.25s ease;
}

.compare-drawer.is-visible {
  transform: translateY(0);
}

.compare-drawer div {
  display: grid;
  gap: 2px;
  flex: 1;
}

.compare-drawer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

#openCompareButton,
#clearCompareButton {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

#openCompareButton {
  padding: 0 12px;
  background: #0b63d8;
  color: white;
}

#openCompareButton:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

#clearCompareButton {
  width: 36px;
  background: #f0f4fa;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.cart-drawer.is-visible {
  transform: translateY(0);
}

.cart-drawer div {
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.cart-drawer span {
  color: #cbd5e1;
  font-size: 12px;
}

.cart-list {
  display: grid;
  gap: 6px;
  max-height: 134px;
  margin: 2px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.cart-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  padding: 7px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.065);
  color: #eef4ff;
  font-size: 12px;
}

.cart-list li span {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-list li strong {
  font-size: 12px;
  white-space: nowrap;
}

.cart-qty {
  grid-column: 1 / -1;
  display: inline-flex !important;
  gap: 5px !important;
  align-items: center;
  justify-content: flex-start;
}

.cart-qty button,
.cart-qty b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.cart-qty button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
}

.cart-qty button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.cart-qty b {
  color: #ffffff;
}

.cart-benefit {
  display: grid !important;
  gap: 6px !important;
  margin-top: 2px;
}

.cart-benefit span {
  color: #dbeafe;
  font-size: 12px;
  font-weight: 750;
}

.cart-benefit b {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.cart-benefit i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f9f6e, #35c991);
}

.cart-upsell {
  display: grid !important;
  gap: 0 !important;
  margin-top: 2px;
}

.cart-upsell-panel {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.42);
}

.cart-upsell-panel summary {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 8px 10px;
  color: #e5edf9;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  list-style: none;
}

.cart-upsell-panel summary::-webkit-details-marker {
  display: none;
}

.cart-upsell-panel summary::after {
  content: "+";
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
}

.cart-upsell-panel[open] summary::after {
  content: "−";
}

.cart-upsell-panel summary span {
  color: inherit;
  font-size: inherit;
}

.cart-upsell-panel summary small {
  margin-left: auto;
  color: #9fb0c7;
  font-size: 11px;
  font-weight: 800;
}

.cart-upsell-list {
  display: grid !important;
  gap: 6px !important;
  padding: 0 8px 8px;
}

.cart-upsell button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  cursor: pointer;
  text-align: left;
}

.cart-upsell img {
  width: 34px;
  height: 32px;
  object-fit: contain;
  padding: 4px;
  border-radius: 7px;
  background: #ffffff;
}

.cart-upsell button span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cart-upsell b,
.cart-upsell small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-upsell b {
  font-size: 12px;
}

.cart-upsell small {
  color: #bbf7d0;
  font-size: 11px;
  font-weight: 800;
}

.cart-upsell em {
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(15, 159, 110, 0.16);
  color: #bbf7d0;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.promo-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 6px;
  margin-top: 2px;
}

.promo-field input {
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  outline: 0;
}

.promo-field input::placeholder {
  color: #cbd5e1;
}

.promo-field button {
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 800;
}

.promo-message {
  min-height: 18px;
  color: #bbf7d0 !important;
}

#checkoutButton {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: #0f9f6e;
  color: white;
  box-shadow: 0 8px 18px rgba(15, 159, 110, 0.2);
  white-space: nowrap;
}

.checkout-modal,
.admin-modal,
.edit-product-modal {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 76px rgba(17, 24, 39, 0.32);
}

#checkoutModal {
  width: min(920px, calc(100vw - 28px));
}

.checkout-modal::backdrop,
.admin-modal::backdrop,
.edit-product-modal::backdrop {
  background: rgba(15, 23, 42, 0.52);
}

.checkout-form,
.admin-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #ffffff;
}

#checkoutForm {
  gap: 16px;
  padding: 22px;
}

.checkout-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-right: 38px;
}

.checkout-head > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.checkout-head h2,
.checkout-head p {
  margin: 0;
}

.checkout-head p {
  margin-top: 6px;
}

.checkout-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dff7ee;
  color: #087750;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.checkout-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.checkout-progress span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}

.checkout-progress span:first-child {
  border-color: #bcd5ff;
  background: #eaf2ff;
  color: var(--blue-dark);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
  gap: 16px;
  align-items: start;
}

.checkout-fields {
  display: grid;
  gap: 14px;
}

.checkout-fields section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.035);
}

.checkout-fields h3 {
  margin: 0;
  font-size: 15px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.checkout-grid > label {
  min-width: 0;
  align-self: start;
  align-content: start;
}

.checkout-autocomplete {
  position: relative;
}

.checkout-method-field,
.checkout-payment-field {
  min-height: 0;
}

.checkout-autocomplete small,
.checkout-branch-field small {
  min-height: 16px;
  color: #667085;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.35;
}

.checkout-suggestions {
  position: absolute;
  top: calc(100% - 3px);
  left: 0;
  z-index: 18;
  display: grid;
  width: 100%;
  max-height: 304px;
  padding: 6px;
  overflow: auto;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.14);
}

.checkout-suggestions button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #172033;
  cursor: pointer;
  text-align: left;
}

.checkout-suggestions button:hover,
.checkout-suggestions button:focus-visible {
  background: #eef5ff;
  outline: 0;
}

.checkout-suggestions span,
.checkout-suggestions small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-suggestions span {
  font-weight: 900;
}

.checkout-suggestions small {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.checkout-saved-delivery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid #bdd7ff;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbff, #edf5ff);
}

.checkout-saved-delivery label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.checkout-saved-delivery select {
  width: 100%;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  outline: 0;
}

.checkout-saved-delivery a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: white;
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.checkout-summary {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.07);
}

.checkout-items {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
}

.checkout-items > strong {
  font-size: 13px;
}

.checkout-items ul {
  display: grid;
  gap: 7px;
  max-height: 210px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.checkout-items li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.checkout-items img {
  width: 48px;
  height: 42px;
  object-fit: contain;
  padding: 4px;
  border-radius: 8px;
  background: #ffffff;
}

.checkout-items li span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkout-items b,
.checkout-items small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-items b {
  color: var(--text);
  font-size: 12px;
}

.checkout-items small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.checkout-items li > strong {
  color: var(--blue-dark);
  font-size: 12px;
  white-space: nowrap;
}

.checkout-form h2,
.checkout-form p,
.admin-form h2,
.admin-form p {
  margin: 0;
}

.checkout-form p,
.admin-form p {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-form label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #ffffff;
  outline: 0;
}

.checkout-form textarea {
  min-height: 82px;
  padding-top: 10px;
  resize: vertical;
}

.delivery-estimate {
  display: grid;
  gap: 4px;
  padding: 11px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: white;
}

.delivery-estimate strong {
  font-size: 13px;
}

.delivery-estimate span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-trust {
  display: grid;
  gap: 7px;
}

.checkout-trust span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #344054;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.checkout-trust span::before {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #dff7ee;
  color: #087750;
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.status-result {
  display: grid;
  gap: 10px;
}

.status-empty,
.status-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.status-empty strong {
  color: var(--red);
}

.status-empty p,
.status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.status-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.status-card-head div {
  display: grid;
  gap: 3px;
}

.status-card-head span,
.status-details {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-card-head strong {
  font-size: 20px;
}

.status-card-head b {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #087750;
  font-size: 12px;
}

.status-details {
  display: grid;
  gap: 5px;
}

.status-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-card li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.status-card li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-card li strong {
  color: var(--blue-dark);
  white-space: nowrap;
}

.status-timeline {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.status-timeline > strong {
  color: #344054;
  font-size: 13px;
}

.status-timeline ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-timeline li {
  display: grid;
  gap: 2px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
}

.status-timeline li span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-support,
.status-service {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.status-support > strong,
.status-service > strong {
  color: #344054;
  font-size: 13px;
}

.status-support label,
.status-service label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.status-support select,
.status-support textarea,
.status-service input,
.status-service select,
.status-service textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: 0;
  padding: 9px 10px;
}

.status-support textarea,
.status-service textarea {
  min-height: 76px;
  resize: vertical;
}

.status-support select:focus,
.status-support textarea:focus,
.status-service input:focus,
.status-service select:focus,
.status-service textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.status-support button,
.status-service button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.status-support small,
.status-service small {
  min-height: 18px;
  color: #087750;
  font-size: 12px;
  font-weight: 800;
}

.service-public-list {
  display: grid;
  gap: 8px;
}

.service-public-list article {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.service-public-list article > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.service-public-list b {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #087750;
  font-size: 12px;
}

.service-public-list p,
.service-public-list small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.service-public-list ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-public-list li {
  display: grid;
  gap: 2px;
  padding-left: 9px;
  border-left: 3px solid var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.admin-form textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  gap: 9px !important;
  align-items: center;
}

.admin-check input {
  width: auto;
  height: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #f0f4fa;
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.order-total {
  display: grid;
  gap: 10px;
  padding: 13px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
  border: 1px solid #cfe0ff;
  color: var(--blue-dark);
  font-weight: 800;
}

.order-total div {
  display: grid;
  gap: 3px;
}

.order-total > strong {
  font-size: 26px;
}

.order-total small {
  color: var(--muted);
  font-size: 12px;
}

.submit-order {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #0f9f6e;
  color: white;
  box-shadow: 0 8px 18px rgba(15, 159, 110, 0.18);
  cursor: pointer;
  font-weight: 800;
}

#checkoutForm .submit-order {
  width: 100%;
  min-height: 44px;
}

.checkout-back-button {
  min-height: 40px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #ffffff;
  color: #344054;
  cursor: pointer;
  font-weight: 850;
}

.checkout-back-button:hover {
  border-color: #bfd0e8;
  background: #f6f9fe;
  color: var(--blue-dark);
}

.checkout-success {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 26px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0fdf7, #ffffff);
  text-align: center;
}

.checkout-success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #0f9f6e;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.checkout-success h3 {
  margin: 4px 0 8px;
  font-size: 28px;
}

.checkout-success p:not(.eyebrow) {
  max-width: 560px;
}

.checkout-success-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.checkout-success-grid span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
}

.checkout-success-grid b {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.checkout-success-grid strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-success-items {
  display: grid;
  gap: 6px;
  width: 100%;
  max-height: 160px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.checkout-success-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
}

.checkout-success-items span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-success-items strong {
  color: var(--blue-dark);
  white-space: nowrap;
}

.checkout-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.checkout-success-actions button,
.checkout-success-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
}

.checkout-success-actions a {
  background: #0b63d8;
  color: #ffffff;
}

.editor-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.delete-product-button {
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #fff1f0;
  color: var(--red);
  cursor: pointer;
  font-weight: 800;
}

.delete-product-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.product-modal {
  width: min(980px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 76px rgba(17, 24, 39, 0.32);
}

.compare-modal {
  width: min(980px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.3);
}

.orders-modal,
.inventory-modal,
.analytics-modal,
.leads-modal,
.support-modal,
.service-modal {
  width: min(900px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.3);
}

.favorites-modal {
  width: min(760px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.3);
}

.info-modal {
  width: min(720px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.3);
}

.info-modal::backdrop {
  background: rgba(23, 32, 51, 0.46);
}

.info-modal-body {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  background: white;
}

.info-modal-body h2 {
  margin: 0;
  padding-right: 40px;
  font-size: 28px;
}

.info-content {
  display: grid;
  gap: 10px;
}

.info-content article {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.info-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.favorites-modal::backdrop {
  background: rgba(23, 32, 51, 0.46);
}

.favorites-modal-body {
  position: relative;
  display: grid;
  gap: 18px;
  max-height: min(740px, calc(100vh - 40px));
  padding: 24px;
  overflow: auto;
  background: white;
}

.account-head,
.account-summary,
.account-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.account-head {
  padding-right: 44px;
}

.account-head h2,
.account-head p,
.account-section h3,
.account-section p {
  margin: 0;
}

.account-head h2 {
  font-size: 30px;
}

.account-head p,
.account-section p {
  color: var(--muted);
  line-height: 1.45;
}

.account-head > button,
.account-auth-form button,
.account-delivery-form button,
.account-profile-form button,
.account-promos button,
.account-product button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.account-head > button {
  background: #f0f4fa;
  color: var(--text);
}

.account-auth {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow);
}

.account-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-auth-tabs button {
  min-height: 42px;
  border: 1px solid #d7e0ea;
  border-radius: 9px;
  background: #fbfcfe;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.account-auth-tabs button.is-active {
  border-color: var(--blue);
  background: #eaf2ff;
  color: var(--blue-dark);
}

.account-auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.account-reset-form .account-reset-head,
.account-auth-form > small {
  grid-column: 1 / -1;
}

.account-reset-head {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
}

.account-reset-head strong {
  color: #101828;
  font-size: 15px;
}

.account-reset-head span {
  color: #5f6f86;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.account-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.account-auth-form label,
.account-section label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.password-field {
  position: relative;
  display: block;
  min-width: 0;
}

.password-field input {
  padding-right: 48px;
}

.account-auth-form .password-toggle,
.account-profile-form .password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  width: 34px;
  min-height: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f4f7fb;
  color: #344054;
  box-shadow: none;
  cursor: pointer;
  transform: translateY(-50%);
}

.account-auth-form .password-toggle:hover,
.account-profile-form .password-toggle:hover {
  border-color: #bfd0e8;
  background: #eef5ff;
  color: var(--blue-dark);
}

.password-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 999px / 75%;
}

.password-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.password-toggle.is-visible .password-toggle-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-38deg);
}

.account-auth-form input,
.account-delivery-form input,
.account-delivery-form select,
.account-profile-form input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fcfdff;
  outline: 0;
}

.account-auth-form input:focus,
.account-delivery-form input:focus,
.account-delivery-form select:focus,
.account-profile-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.account-auth-form button,
.account-delivery-form button,
.account-profile-form button {
  background: var(--blue);
  color: white;
}

.account-auth-form .account-link-button {
  min-height: 36px;
  padding: 0;
  background: transparent;
  color: var(--blue-dark);
  font-size: 13px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-auth-form .account-link-button:hover {
  color: #0846a8;
}

.account-auth-form small,
.account-delivery-form small,
.account-profile-form small {
  min-height: 18px;
  color: var(--red);
  font-weight: 800;
}

.account-dashboard {
  display: grid;
  gap: 14px;
}

.account-summary {
  align-items: flex-end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: linear-gradient(135deg, #121b2b 0%, #182338 54%, #111827 100%);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
  color: white;
}

.account-summary-copy {
  display: grid;
  gap: 4px;
  max-width: 560px;
}

.account-summary span {
  color: #c9d4e5;
  font-size: 12px;
  font-weight: 800;
}

.account-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.account-summary p {
  margin: 0;
  color: #d5deea;
  font-size: 13px;
  line-height: 1.45;
}

.account-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.account-stats span {
  display: grid;
  min-width: 86px;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.account-stats b {
  color: white;
  font-size: 20px;
}

.account-quick-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.account-quick-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dbe4ef;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.account-quick-nav a:hover {
  border-color: #bfd0e8;
  background: #f6f9fe;
  color: var(--blue-dark);
  transform: translateY(-1px);
}

.account-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow);
  scroll-margin-top: 86px;
}

.account-list,
.account-products,
.account-promos {
  display: grid;
  gap: 10px;
}

.account-promos {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.account-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 10px;
}

.account-profile-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.account-profile-form input:disabled {
  background: #f0f4fa;
  color: var(--muted);
}

.account-profile-form small {
  color: #087750;
}

.account-delivery-panel {
  display: grid;
  gap: 10px;
}

.account-delivery-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.account-delivery-form .account-check,
.account-delivery-form button,
.account-delivery-form small {
  grid-column: 1 / -1;
}

.account-check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.account-check input {
  width: 16px;
  height: 16px;
}

.account-delivery-form small {
  color: #087750;
}

.account-delivery-list {
  display: grid;
  gap: 10px;
}

.account-delivery-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.account-delivery-card div {
  display: grid;
  gap: 4px;
}

.account-delivery-card span,
.account-delivery-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.account-delivery-card b {
  color: #087750;
  font-size: 12px;
}

.account-delivery-card button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff5f5;
  color: #b42318;
  cursor: pointer;
  font-weight: 800;
}

.account-promos article,
.account-empty,
.account-card,
.account-product {
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  background: white;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.account-promos article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.account-promos div {
  display: grid;
  gap: 4px;
}

.account-promos span,
.account-empty span,
.account-card span,
.account-card small,
.account-product small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.account-promos button,
.account-product button {
  background: var(--green-soft);
  color: #087750;
}

.account-empty {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.account-card {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.account-card-head b {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #087750;
  font-size: 12px;
}

.account-card p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.account-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-card li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}

.account-product {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
}

.account-product-visual {
  display: grid;
  height: 60px;
  place-items: center;
  border-radius: 8px;
  border: 1px solid #edf1f6;
  background: linear-gradient(180deg, #fcfdff 0%, #f4f7fb 100%);
  overflow: hidden;
}

.account-product-visual img {
  width: 92%;
  height: 54px;
  object-fit: contain;
}

.account-product div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.account-product strong,
.account-product small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-product b {
  color: var(--blue-dark);
}

.account-favorite-tools,
.account-product-actions {
  grid-column: 1 / -1;
}

.account-favorite-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 9px;
  align-items: end;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.account-favorite-tools label:first-child {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.account-favorite-tools textarea {
  width: 100%;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fcfdff;
  outline: 0;
  resize: vertical;
}

.account-favorite-tools textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.account-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-product-actions button {
  min-width: 120px;
}

.account-product-actions button:last-child {
  border: 1px solid #fecaca;
  background: #fff5f5;
  color: #b42318;
}

.account-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f5f7fb 0%, #eef3f8 100%);
}

.account-site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.account-nav {
  justify-content: center;
}

.account-shop-link {
  justify-content: center;
  text-decoration: none;
}

.account-page-main {
  display: grid;
  gap: 18px;
  padding: 0 0 56px;
}

.account-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 26px clamp(16px, 4vw, 44px) 24px;
  border-bottom: 1px solid rgba(215, 224, 235, 0.9);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 56%, #f3f7fc 100%);
  color: var(--text);
}

.account-page-hero h1,
.account-page-hero p {
  margin: 0;
}

.account-page-hero h1 {
  margin-top: 4px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.06;
}

.account-page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.account-page-hero a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(11, 99, 216, 0.16);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.account-privacy-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100vw - 32px));
  gap: 10px;
  margin: 0 auto;
}

.account-privacy-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.account-privacy-strip span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #eff5ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.account-privacy-strip strong,
.account-privacy-strip p {
  margin: 0;
}

.account-privacy-strip strong {
  display: block;
  font-size: 15px;
}

.account-privacy-strip p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.account-page-body {
  display: grid;
  width: min(1180px, calc(100vw - 32px));
  gap: 16px;
  margin: 0 auto 48px;
}

.account-page .account-head {
  align-items: center;
  padding-right: 0;
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.account-page .account-section,
.account-page .account-auth {
  border-color: #dbe4ef;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.account-page .account-auth {
  padding: 18px;
}

.account-page .account-section {
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.account-page .account-section > div:first-child {
  grid-column: 1;
  display: grid;
  gap: 8px;
}

.account-page .account-section > :not(:first-child) {
  grid-column: 2;
  min-width: 0;
}

.account-message {
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue-dark);
  font-weight: 800;
}

.account-message.is-success {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #087750;
}

.account-inline-form {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(180px, 0.9fr) minmax(220px, 1.4fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.account-inline-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.account-inline-form select,
.account-inline-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fcfdff;
  outline: 0;
}

.account-inline-form select {
  height: 42px;
  padding: 0 10px;
}

.account-inline-form textarea {
  min-height: 42px;
  padding: 10px;
  resize: vertical;
}

.account-inline-form select:focus,
.account-inline-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.account-inline-form button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.account-inline-form small {
  grid-column: 1 / -1;
  min-height: 18px;
  color: #087750;
  font-weight: 800;
}

.account-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.product-page {
  min-height: 100vh;
  background: #f5f6f8;
}

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

.product-nav {
  justify-content: center;
}

.product-page-main {
  display: grid;
  gap: 18px;
  padding: 22px clamp(16px, 4vw, 44px) 56px;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-breadcrumbs a:hover {
  color: var(--blue-dark);
}

.product-breadcrumbs strong {
  color: var(--text);
}

.clearance-page-main {
  gap: 16px;
}

.configurator-page-main {
  width: min(100%, 1480px);
  margin: 0 auto;
}

.configurator-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(218, 226, 236, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.configurator-page-hero h1,
.configurator-page-hero p {
  margin: 0;
}

.configurator-page-hero h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.configurator-page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 10px;
  color: #667085;
  font-size: 15px;
  line-height: 1.5;
}

.configurator-page-hero img {
  justify-self: center;
  width: min(260px, 100%);
  max-height: 210px;
  object-fit: contain;
}

.configurator-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.configurator-page-tags span {
  min-height: 30px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #edf4ff;
  color: #24529d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.configurator-page .configurator {
  margin-top: 0;
}

.configurator-feedback {
  min-height: 20px;
  margin: 0;
  color: #087750;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.configurator-feedback a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clearance-page-hero,
.clearance-toolbar,
.clearance-page-card,
.clearance-page-empty,
.clearance-page-info article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.clearance-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 16px;
  align-items: stretch;
  padding: 22px;
}

.clearance-page-copy {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.clearance-page-copy h1,
.clearance-page-copy p {
  margin: 0;
}

.clearance-page-copy h1 {
  max-width: 720px;
  color: #101828;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.clearance-page-copy p:not(.eyebrow) {
  max-width: 740px;
  color: #5f6f86;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.clearance-page-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  min-width: 0;
}

.clearance-page-stats article {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
}

.clearance-page-stats span {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.clearance-page-stats strong {
  color: #101828;
  font-size: 30px;
  line-height: 1;
}

.clearance-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
}

.clearance-toolbar h2,
.clearance-toolbar p {
  margin: 0;
}

.clearance-toolbar h2 {
  color: #101828;
  font-size: 22px;
  line-height: 1.16;
}

.clearance-toolbar p:not(.eyebrow) {
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
  font-weight: 720;
}

.clearance-controls {
  display: grid;
  gap: 9px;
  justify-items: end;
}

.clearance-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.clearance-filter-buttons button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #d7e3f2;
  border-radius: 8px;
  background: #ffffff;
  color: #344054;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.clearance-filter-buttons button:hover,
.clearance-filter-buttons button.is-active {
  border-color: #b9d2f8;
  background: #eaf2ff;
  color: var(--blue-dark);
}

.clearance-controls label {
  display: grid;
  gap: 5px;
  min-width: 220px;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.clearance-controls select {
  height: 38px;
}

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

.clearance-page-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
}

.clearance-page-card-visual {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  padding: 18px;
  background: #f6f8fb;
  color: inherit;
}

.clearance-page-card-visual img {
  width: min(84%, 230px);
  max-height: 160px;
  object-fit: contain;
}

.clearance-page-card-visual span {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff7e4;
  color: #93610a;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.clearance-page-card-body {
  display: grid;
  gap: 11px;
  align-content: start;
  min-width: 0;
  padding: 14px;
}

.clearance-page-card-body h3,
.clearance-page-card-body p {
  margin: 0;
}

.clearance-page-card-body h3 {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.22;
}

.clearance-page-card-body h3 a {
  color: #101828;
}

.clearance-page-card-body h3 a:hover {
  color: var(--blue-dark);
}

.clearance-page-card-body div > span:first-child {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.clearance-page-card-body p {
  color: #667085;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.42;
}

.clearance-page-card-meta {
  display: grid;
  gap: 6px;
}

.clearance-page-card-meta span {
  min-width: 0;
  padding: 8px 9px;
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
  font-size: 12px;
  font-weight: 820;
  line-height: 1.32;
}

.clearance-page-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-top: 2px;
}

.clearance-page-card-footer strong {
  color: #101828;
  font-size: 24px;
  line-height: 1;
}

.clearance-page-card-footer a,
.clearance-page-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.clearance-page-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 22px;
}

.clearance-page-empty h2,
.clearance-page-empty p {
  margin: 0;
}

.clearance-page-empty p {
  color: #667085;
  font-weight: 720;
}

.clearance-page-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.clearance-page-info article {
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 14px;
}

.clearance-page-info span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
}

.clearance-page-info strong,
.clearance-page-info p {
  margin: 0;
}

.clearance-page-info strong {
  color: #101828;
  font-size: 15px;
}

.clearance-page-info p {
  color: #667085;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
}

.product-page-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.product-page-media,
.product-page-summary,
.product-page-details,
.product-page-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.product-page-media {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 28px;
  overflow: hidden;
}

.product-page-media img {
  width: min(96%, 560px);
  max-height: 430px;
  object-fit: contain;
}

.product-page-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.product-page-summary {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 28px;
}

.product-page-summary h1,
.product-page-summary p,
.product-page-details h2,
.product-page-details p,
.product-page-empty h1,
.product-page-empty p {
  margin: 0;
}

.product-page-summary h1 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.product-page-summary p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.product-page-status,
.product-page-specs,
.product-page-trust,
.product-page-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-page-status span,
.product-page-specs span,
.product-page-trust span,
.product-page-terms span {
  padding: 7px 10px;
  border-radius: 8px;
  background: #f0f4fa;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.product-page-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-page-insights span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe8ff;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
}

.product-page-insights b,
.product-page-terms b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-page-insights strong,
.product-page-terms strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 13px;
  line-height: 1.35;
}

.product-page-buybox {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d9e4f1;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.product-page-status .product-page-stock {
  background: var(--green-soft);
  color: #087750;
}

.product-page-status .product-page-stock.is-low {
  background: #fff7e4;
  color: #9a6700;
}

.product-page-status .product-page-stock.is-out {
  background: #fff1f0;
  color: var(--red);
}

.product-page-price {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.product-page-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-page-price strong {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.product-page-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.product-page-actions button,
.product-page-actions a,
.product-page-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.product-page-actions button {
  border: 0;
  background: var(--blue);
  color: white;
}

.product-page-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.product-page-actions a,
.product-page-empty a {
  border: 1px solid var(--line);
  background: white;
  color: var(--blue-dark);
}

.product-page-buybox-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 2px;
}

.product-page-buybox-meta span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-left: 10px;
  border-left: 2px solid #cfe0ff;
}

.product-page-buybox-meta b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-page-buybox-meta strong {
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 13px;
  line-height: 1.35;
}

.product-mobile-buybar {
  display: none;
}

.product-mobile-buybar[hidden] {
  display: none !important;
}

.product-page-trust {
  padding-top: 4px;
}

.product-page-trust span {
  background: #ecfdf5;
  color: #087750;
}

.product-page-terms {
  padding-top: 2px;
}

.product-page-buybox .product-page-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 2px;
}

.product-page-terms span {
  display: grid;
  gap: 4px;
  min-width: min(180px, 100%);
  background: #f7f9fc;
}

.product-page-decision {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-page-decision article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow);
}

.product-page-decision span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-page-decision strong {
  color: #172033;
  font-size: 15px;
  line-height: 1.45;
}

.product-page-details {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.product-page-details h2 {
  margin-top: 6px;
  font-size: 28px;
  line-height: 1.15;
}

.product-page-detail-grid {
  display: grid;
  gap: 12px;
}

.product-page-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-page-rows div {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.product-page-rows span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-page-rows strong {
  font-size: 14px;
  line-height: 1.35;
}

.product-page-checks {
  display: grid;
  gap: 8px;
}

.product-page-checks span {
  position: relative;
  padding: 10px 12px 10px 34px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #087750;
  font-weight: 800;
}

.product-page-checks span::before {
  position: absolute;
  top: 10px;
  left: 12px;
  content: "✓";
}

.product-page-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-page-related-card,
.product-page-related-empty {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.product-page-related-visual {
  display: grid;
  min-height: 130px;
  place-items: center;
  border-radius: 8px;
  background: white;
}

.product-page-related-visual img {
  width: 96%;
  height: 118px;
  object-fit: contain;
}

.product-page-related-card div {
  display: grid;
  gap: 5px;
}

.product-page-related-card strong,
.product-page-related-card span,
.product-page-related-card b,
.product-page-related-empty strong,
.product-page-related-empty span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-page-related-card span,
.product-page-related-empty span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.product-page-related-card button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 900;
}

.product-page-related-card button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.product-page-related-empty {
  grid-column: 1 / -1;
}

.product-page-empty {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 28px;
}

.admin-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.admin-site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.admin-top-nav {
  justify-content: center;
}

.admin-page-main {
  display: grid;
  gap: 16px;
  padding: 0 0 48px;
}

.admin-lock {
  display: grid;
  min-height: calc(100vh - 72px);
  place-items: center;
  padding: 24px;
}

.admin-lock-card {
  display: grid;
  width: min(460px, 100%);
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.admin-lock-card h1,
.admin-lock-card p {
  margin: 0;
}

.admin-lock-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.admin-lock-card label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.admin-lock-card input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.admin-lock-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.admin-lock-card button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.admin-lock-card small {
  min-height: 18px;
  color: var(--red);
  font-weight: 800;
}

.admin-login-page {
  background: linear-gradient(180deg, #f6f8fb 0%, #eef3f8 100%);
}

.admin-login-main {
  display: grid;
  min-height: calc(100vh - 64px);
  place-items: center;
  padding: 28px clamp(16px, 4vw, 44px) 56px;
}

.admin-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.74fr);
  gap: 18px;
  width: min(1060px, 100%);
  align-items: stretch;
}

.admin-login-brief,
.admin-login-card {
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-brief {
  display: grid;
  align-content: space-between;
  min-height: 420px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 253, 0.98) 54%, rgba(236, 243, 250, 0.98) 100%);
}

.admin-login-brief h1,
.admin-login-brief p,
.admin-login-card h2,
.admin-login-card p {
  margin: 0;
}

.admin-login-brief h1 {
  margin-top: 8px;
  color: #101827;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
}

.admin-login-brief p:not(.eyebrow),
.admin-login-card p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.admin-login-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.admin-login-points span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.admin-login-points b {
  color: #172033;
  font-size: 14px;
}

.admin-login-points small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-login-card {
  width: 100%;
  align-self: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
}

.admin-login-card h2 {
  font-size: 28px;
  line-height: 1.1;
}

.admin-login-card input {
  border-color: #dbe4ef;
  background: #fcfdff;
}

.admin-login-meta {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #e2e8f2;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-login-meta span {
  position: relative;
  padding-left: 18px;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-login-meta span::before {
  position: absolute;
  top: 0.35em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0f9f6e;
  content: "";
}

.admin-workspace {
  display: grid;
  gap: 16px;
}

.admin-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1240px, calc(100vw - 32px));
  margin: 16px auto 0;
  padding: 22px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 56%, #f2f6fb 100%);
  box-shadow: var(--shadow);
  color: var(--text);
}

.admin-page-hero h1,
.admin-page-hero p {
  margin: 0;
}

.admin-page-hero h1 {
  margin-top: 6px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
}

.admin-page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.admin-hero-actions,
.admin-workflow-strip,
.admin-tabs,
.admin-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-hero-actions {
  justify-content: flex-end;
}

.admin-hero-actions button,
.admin-workflow-strip button,
.admin-tabs button,
.admin-summary-grid button,
.admin-attention-row,
.admin-data-grid button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.admin-hero-actions button {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
}

.admin-hero-actions button:first-child {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.admin-workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  gap: 10px;
}

.admin-workflow-strip button {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 118px;
  padding: 14px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: #172033;
  text-align: left;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.admin-workflow-strip button:hover {
  border-color: rgba(11, 99, 216, 0.38);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}

.admin-workflow-strip span {
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-workflow-strip strong {
  font-size: 15px;
  line-height: 1.25;
}

.admin-workflow-strip small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.admin-summary-grid,
.admin-tabs,
.admin-panel {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.admin-summary-grid button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: end;
  min-height: 64px;
  border: 1px solid #dbe4ef;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.035);
  color: #344054;
  text-align: left;
}

.admin-summary-grid button.is-danger {
  border-color: #f04438;
  background: #fff8f7;
  color: var(--red);
}

.admin-summary-grid span {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-summary-grid strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 20px;
}

.admin-tabs {
  position: sticky;
  top: 72px;
  z-index: 18;
  padding: 8px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.admin-tabs button {
  min-height: 36px;
  border: 1px solid transparent;
  background: #f8fafc;
  color: #344054;
}

.admin-tabs button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.admin-panel {
  display: none;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.admin-panel.is-active {
  display: grid;
}

.admin-two-columns,
.admin-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-two-columns section,
.admin-data-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.admin-two-columns h3,
.admin-data-grid h3,
.admin-data-grid p {
  margin: 0;
}

.admin-data-grid p {
  color: var(--muted);
  line-height: 1.45;
}

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

.admin-data-grid button {
  background: var(--blue);
  color: white;
}

.admin-data-grid button + button {
  margin-top: 8px;
}

.admin-attention-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #edf1f6;
  background: white;
  color: var(--text);
  text-align: left;
}

.admin-attention-row span {
  overflow: hidden;
  color: #344054;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-attention-row strong {
  color: var(--blue-dark);
  font-size: 12px;
  white-space: nowrap;
}

.admin-form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-fieldset legend {
  padding: 0 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.product-condition-editor textarea {
  min-height: 70px;
}

.product-image-editor {
  display: grid;
  gap: 10px;
}

.product-image-upload {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.product-image-preview,
.product-image-dropzone {
  min-height: 118px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fafc;
}

.product-image-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.product-image-dropzone {
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 14px;
  color: #344054;
  cursor: pointer;
  outline: 0;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.product-image-dropzone:hover,
.product-image-dropzone:focus-visible,
.product-image-dropzone.is-dragover {
  border-color: var(--blue);
  background: #eef5ff;
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.product-image-dropzone strong {
  font-size: 15px;
}

.product-image-dropzone span,
.admin-field-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.product-image-dropzone button {
  justify-self: start;
  min-height: 36px;
  margin-top: 4px;
  padding: 0 12px;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 850;
}

.admin-field-note {
  margin: 0;
}

.admin-field-note[data-status="success"] {
  color: var(--green);
}

.admin-field-note[data-status="error"] {
  color: var(--red);
}

.admin-field-note[data-status="loading"] {
  color: var(--blue-dark);
}

.products-filters {
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
}

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

.admin-product-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-product-card .favorite-visual {
  display: grid;
  place-items: center;
  height: 70px;
  overflow: hidden;
  border: 1px solid #edf1f6;
  background: #f8fafc;
}

.admin-product-card .favorite-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.admin-product-card div:not(.favorite-visual) {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-product-card strong,
.admin-product-card span,
.admin-product-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-card span,
.admin-product-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-product-card .admin-condition-line {
  color: #9a6700;
  font-weight: 850;
}

.admin-product-card b {
  color: var(--blue-dark);
  white-space: nowrap;
}

.admin-product-card button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 800;
}

.admin-product-card button:hover {
  border-color: var(--blue);
  background: #e4efff;
}

.admin-categories-list {
  display: grid;
  gap: 10px;
}

.admin-category-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-category-card.is-muted {
  background: #f8fafc;
}

.admin-category-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #edf5ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-category-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-category-card strong,
.admin-category-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-category-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.admin-category-card button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 800;
}

.admin-category-card .delete-product-button {
  border-color: #ffd6d3;
  background: #fff1f0;
  color: var(--red);
}

.delete-product-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.favorites-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-right: 44px;
}

.favorites-head h2,
.favorites-head p {
  margin: 0;
}

.favorites-head p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.favorites-head button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #f0f4fa;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.favorites-list {
  display: grid;
  gap: 12px;
}

.favorites-empty,
.favorite-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.favorites-empty {
  padding: 22px;
}

.favorites-empty h3,
.favorites-empty p {
  margin: 0;
}

.favorites-empty p {
  margin-top: 6px;
  color: var(--muted);
}

.favorite-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto 38px;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.favorite-visual {
  display: grid;
  place-items: center;
  height: 72px;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #f8fafc;
}

.favorite-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.favorite-item div:not(.favorite-visual) {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.favorite-item strong,
.favorite-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.favorite-item b {
  color: var(--text);
}

.favorite-item button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.favorite-item [data-favorite-add] {
  padding: 0 12px;
  background: var(--blue);
  color: white;
}

.favorite-item [data-favorite-remove] {
  width: 38px;
  background: #fff1f0;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.orders-modal::backdrop,
.inventory-modal::backdrop,
.analytics-modal::backdrop,
.leads-modal::backdrop,
.support-modal::backdrop,
.service-modal::backdrop {
  background: rgba(23, 32, 51, 0.46);
}

.orders-modal-body,
.inventory-modal-body,
.analytics-modal-body {
  position: relative;
  display: grid;
  gap: 18px;
  max-height: min(780px, calc(100vh - 40px));
  padding: 24px;
  overflow: auto;
  background: white;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.analytics-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.analytics-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.analytics-grid strong {
  font-size: 24px;
}

.analytics-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analytics-sections section {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.analytics-sections h3 {
  margin: 0;
  font-size: 18px;
}

.analytics-list {
  display: grid;
  gap: 8px;
}

.analytics-row,
.analytics-empty {
  border-radius: 8px;
  background: #f8fafc;
}

.analytics-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
}

.analytics-row span {
  overflow: hidden;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-row strong {
  color: var(--blue-dark);
  font-size: 13px;
  white-space: nowrap;
}

.analytics-empty {
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.inventory-list {
  display: grid;
  gap: 10px;
}

.inventory-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 104px 130px 118px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.inventory-item div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.inventory-item strong,
.inventory-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inventory-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.inventory-item label {
  display: grid;
  gap: 5px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.inventory-item input {
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.inventory-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.inventory-edit-button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 800;
}

.orders-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-right: 44px;
}

.orders-head h2,
.orders-head p {
  margin: 0;
}

.orders-head p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.orders-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.orders-head button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #f0f4fa;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.orders-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 12px;
}

.leads-filters {
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
}

.customers-filters {
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 220px);
}

.lead-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.lead-stats button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
}

.lead-stats button:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.lead-stats button.is-danger {
  border-color: #f04438;
  background: #fff8f7;
  color: var(--red);
}

.lead-stats span {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-stats strong {
  font-size: 18px;
}

.lead-followup-queue {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  background: #eef5ff;
}

.lead-followup-queue:empty {
  display: none;
}

.lead-followup-queue > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.lead-followup-queue strong {
  color: var(--blue-dark);
}

.lead-followup-queue span,
.lead-followup-queue small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lead-followup-items {
  display: grid;
  gap: 8px;
}

.lead-followup-items article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.lead-followup-items article.is-overdue {
  border-color: #fecaca;
  background: #fff8f7;
}

.lead-followup-items article.is-due {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.lead-followup-items article div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.lead-followup-items b,
.lead-followup-items span,
.lead-followup-items small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-followup-items button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  background: white;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 800;
}

.lead-followup-items button:first-of-type {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.orders-filters label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.orders-filters input,
.orders-filters select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: 0;
  padding: 0 12px;
}

.orders-filters input:focus,
.orders-filters select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.support-filters {
  grid-template-columns: minmax(180px, 240px);
}

.service-filters {
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 240px);
}

.review-filters {
  grid-template-columns: minmax(240px, 1fr) minmax(170px, 200px) minmax(150px, 180px);
}

.orders-list,
.customers-list,
.leads-list,
.support-list,
.service-list,
.reviews-admin-list {
  display: grid;
  gap: 12px;
}

.orders-empty,
.order-card,
.customer-card,
.lead-card,
.support-card,
.service-card,
.admin-review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.orders-empty {
  padding: 22px;
}

.orders-empty h3,
.orders-empty p {
  margin: 0;
}

.orders-empty p {
  margin-top: 6px;
  color: var(--muted);
}

.order-card,
.customer-card,
.lead-card,
.support-card,
.service-card,
.admin-review-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.order-card-head,
.customer-card-head,
.lead-card-head,
.admin-review-head,
.order-total-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.order-card-head div,
.customer-card-head div,
.lead-card-head div,
.admin-review-head div {
  display: grid;
  gap: 3px;
}

.order-card-head span,
.customer-card-head span,
.lead-card-head span,
.admin-review-head span,
.order-customer,
.order-card p,
.lead-meta,
.lead-card p,
.order-total-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.order-status,
.lead-status {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.order-status select,
.lead-status select {
  height: 34px;
  min-width: 150px;
  border-color: transparent;
  background: var(--green-soft);
  color: #087750;
  font-size: 13px;
  font-weight: 800;
}

.order-customer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.customer-card-head b {
  color: var(--blue-dark);
  white-space: nowrap;
}

.customer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: white;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.customer-promo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-signals {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  background: #eef5ff;
}

.customer-signals > strong {
  color: var(--blue-dark);
  font-size: 13px;
}

.customer-signals article {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: white;
}

.customer-signals article div,
.customer-signals small {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
}

.customer-signals b {
  color: var(--text);
}

.customer-signals p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.4;
}

.customer-signals span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.customer-signals small span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #087750;
}

.customer-signals small button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.customer-signals small button + button {
  border-color: #d6e4ff;
  background: #eef5ff;
  color: var(--blue-dark);
}

.customer-promo-row button {
  display: grid;
  gap: 2px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue-dark);
  cursor: pointer;
  text-align: left;
}

.customer-promo-row strong,
.customer-promo-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-promo-row span {
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.order-payment,
.order-fulfillment {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.order-payment label,
.order-fulfillment label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.order-payment select,
.order-payment textarea,
.order-fulfillment input,
.order-fulfillment textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: 0;
  padding: 9px 10px;
}

.order-payment textarea,
.order-fulfillment textarea {
  min-height: 68px;
  resize: vertical;
}

.order-payment select:focus,
.order-payment textarea:focus,
.order-fulfillment input:focus,
.order-fulfillment textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.order-history {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.order-history > strong {
  color: #344054;
  font-size: 13px;
}

.order-history ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-history li {
  display: grid;
  gap: 2px;
  font-size: 12px;
  font-weight: 800;
}

.order-history small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.lead-card.is-overdue {
  border-color: #f04438;
  background: #fff8f7;
}

.lead-card.is-due {
  border-color: #fdb022;
  background: #fffbeb;
}

.lead-overdue {
  color: var(--red);
}

.lead-due {
  color: #b54708;
}

.lead-converted {
  color: #087750;
}

.lead-suggestions {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lead-suggestions strong {
  color: #344054;
  font-size: 13px;
}

.lead-suggestions ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lead-suggestions li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.lead-suggestions li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-suggestions li b {
  color: var(--blue-dark);
  white-space: nowrap;
}

.lead-crm {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.lead-crm label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.lead-crm input,
.lead-crm textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: 0;
  padding: 9px 10px;
}

.lead-crm textarea {
  min-height: 72px;
  resize: vertical;
}

.lead-crm input:focus,
.lead-crm textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.support-card .lead-crm {
  grid-template-columns: 1fr;
}

.service-history {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-history > strong {
  color: #344054;
  font-size: 13px;
}

.service-history ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-history li {
  display: grid;
  gap: 2px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.service-history span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.service-work {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(130px, 160px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.service-work label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.service-work label:nth-child(4) {
  grid-column: 1 / -1;
}

.service-work input,
.service-work select,
.service-work textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: 0;
  padding: 9px 10px;
}

.service-work textarea {
  min-height: 76px;
  resize: vertical;
}

.service-work input:focus,
.service-work select:focus,
.service-work textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 230, 0.12);
}

.order-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-card li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  background: white;
  font-size: 13px;
  font-weight: 800;
}

.order-card li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-card p,
.lead-card p,
.support-card p,
.service-card p,
.admin-review-card p {
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue-dark);
}

.admin-review-card.is-hidden-review {
  border-color: #fdb022;
  background: #fffbeb;
}

.admin-review-head b {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #087750;
  font-size: 12px;
  white-space: nowrap;
}

.admin-review-card.is-hidden-review .admin-review-head b {
  background: #fff1d6;
  color: #b54708;
}

.admin-review-rating {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-review-rating strong {
  color: #f79009;
  letter-spacing: 1px;
}

.admin-review-rating span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.order-card-actions [data-review-delete] {
  background: var(--red);
  color: white;
}

.order-card .stock-note {
  background: var(--green-soft);
  color: #087750;
}

.order-card-actions,
.lead-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.order-card-actions button,
.lead-card-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.order-card-actions [data-copy-order-message] {
  background: var(--green-soft);
  color: #087750;
}

.lead-card-actions [data-copy-lead],
.lead-card-actions [data-copy-support-phone],
.lead-card-actions [data-copy-service-phone] {
  background: #f0f4fa;
  color: var(--text);
}

.lead-card-actions [data-copy-service-message] {
  background: var(--green-soft);
  color: #087750;
}

.lead-card-actions [data-print-lead] {
  background: var(--green-soft);
  color: #087750;
}

.lead-card-actions [data-cart-lead] {
  background: #172033;
  color: #fff;
}

.compare-modal::backdrop {
  background: rgba(23, 32, 51, 0.46);
}

.compare-modal-body {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  background: white;
}

.compare-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-right: 40px;
}

.compare-modal-head h2,
.compare-modal-head p {
  margin: 0;
}

.compare-modal-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.compare-modal-head label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.compare-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: #eef5ff;
  color: var(--blue-dark);
  vertical-align: top;
}

.compare-table thead th:first-child {
  width: 160px;
  background: #f8fafc;
  color: #344054;
}

.compare-product-head {
  display: grid;
  gap: 8px;
  min-width: 140px;
}

.compare-product-head img {
  width: 132px;
  height: 96px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #ffffff;
}

.compare-product-head strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
}

.compare-product-head small {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #087750;
  font-size: 11px;
  font-weight: 850;
}

.compare-product-head small.is-low {
  background: #fff7e4;
  color: #9a6700;
}

.compare-product-head small.is-out {
  background: #fff1f0;
  color: var(--red);
}

.compare-product-head b {
  color: var(--blue-dark);
  font-size: 15px;
}

.compare-product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.compare-product-actions button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.compare-product-actions button:last-child {
  background: var(--blue);
  color: #ffffff;
}

.compare-product-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.compare-table tbody th {
  width: 170px;
  background: #f8fafc;
  color: #344054;
}

.compare-table tbody tr.is-different th,
.compare-table tbody tr.is-different td {
  background: #fffdf5;
}

.compare-table tbody tr.is-different th {
  color: #9a6700;
}

.compare-empty-row {
  padding: 18px !important;
  color: var(--muted);
  font-weight: 800;
  text-align: center !important;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.product-modal::backdrop {
  background: rgba(15, 23, 42, 0.52);
}

.product-modal-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: 20px;
  background: #ffffff;
}

.product-modal-visual {
  display: grid;
  place-items: center;
  min-height: 400px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0, #f7f9fc 100%);
  overflow: hidden;
}

.product-modal-visual img {
  width: 92%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(17, 24, 39, 0.12));
}

.product-modal-content {
  display: grid;
  align-content: start;
  gap: 13px;
}

.product-modal-content h2,
.product-modal-content p {
  margin: 0;
}

.product-modal-content h2 {
  padding-right: 36px;
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.14;
}

.product-modal-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.modal-badge {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid #cfe0ff;
  background: #eaf2ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.product-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-modal-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef3f8;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.product-modal-meta .modal-stock {
  background: var(--green-soft);
  color: #087750;
}

.product-modal-meta .modal-stock.is-low {
  background: #fff7e4;
  color: #9a6700;
}

.product-modal-meta .modal-stock.is-out {
  background: #fff1f0;
  color: var(--red);
}

.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.modal-specs span {
  padding: 6px 9px;
  border-radius: 8px;
  background: #eef3f8;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.product-detail-grid {
  display: grid;
  gap: 8px;
}

.product-detail-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  overflow: hidden;
}

.product-detail-rows div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border-right: 1px solid #dfe6ef;
  border-bottom: 1px solid #dfe6ef;
  background: #ffffff;
}

.product-detail-rows div:nth-child(2n) {
  border-right: 0;
}

.product-detail-rows div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.product-detail-rows span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-detail-rows strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-verification {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-verification span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #dff7ee;
  color: #087750;
  font-size: 12px;
  font-weight: 800;
}

.product-verification span::before {
  margin-right: 6px;
  content: "✓";
}

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

.service-grid div {
  display: grid;
  gap: 4px;
  min-height: 74px;
  align-content: center;
  padding: 10px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f7f9fc;
}

.service-grid strong {
  font-size: 12px;
}

.service-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.modal-buy-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.modal-buy-row strong {
  color: #0f172a;
  font-size: 30px;
}

.modal-buy-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.modal-buy-row button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #0b63d8;
  color: white;
  cursor: pointer;
  font-weight: 800;
}

#copyProductLink {
  border: 1px solid #cfe0ff;
  background: #eaf2ff;
  color: var(--blue-dark);
}

.product-related {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.product-related-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.product-related-head h3 {
  margin: 0;
  font-size: 17px;
}

.product-related-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-related-list {
  display: grid;
  gap: 8px;
}

.product-related-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.product-related-visual {
  display: grid;
  width: 70px;
  height: 58px;
  place-items: center;
  padding: 0;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
}

.product-related-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.product-related-card div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-related-card strong,
.product-related-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-related-card strong {
  font-size: 13px;
}

.product-related-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-related-card b {
  color: var(--blue-dark);
  font-size: 13px;
}

.product-related-card > button:last-child {
  min-height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.product-related-card > button:last-child:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.reviews-panel {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

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

.reviews-head h3 {
  margin: 0;
  font-size: 17px;
}

.reviews-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.reviews-list {
  display: grid;
  gap: 8px;
  max-height: 152px;
  overflow: auto;
}

.review-item,
.reviews-empty {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.review-item {
  display: grid;
  gap: 5px;
}

.review-item strong {
  color: #9a6700;
  font-size: 13px;
}

.review-item p,
.reviews-empty p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.review-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.review-form {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.review-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.review-form textarea,
.review-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.review-form textarea {
  min-height: 42px;
  padding: 10px 12px;
  resize: vertical;
}

.review-form button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.product-page-review-form small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.product-page-review-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue-dark);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto minmax(220px, 1fr) auto auto auto auto;
  }

  .top-nav {
    display: none;
  }

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

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

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

  .clearance-page-hero,
  .clearance-toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

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

  .clearance-toolbar {
    flex-direction: column;
  }

  .clearance-controls {
    justify-items: stretch;
  }

  .clearance-filter-buttons {
    justify-content: flex-start;
  }

  .clearance-section {
    grid-template-columns: 1fr;
  }

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

  .clearance-product-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .clearance-product-visual img {
    max-height: 112px;
  }

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

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

  .account-quick-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .seo-banner.wide {
    grid-column: span 1;
  }

  .intro-band {
    grid-template-columns: 1fr 1fr;
  }

  .featured-deal {
    grid-column: 1 / -1;
    grid-row: 1;
  }

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

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-block: 8px;
  }

  .account-page-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-page-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-login-layout {
    grid-template-columns: 1fr;
  }

  .admin-login-brief {
    min-height: 0;
  }

  .admin-hero-actions {
    justify-content: flex-start;
  }

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

  .admin-two-columns,
  .admin-data-grid {
    grid-template-columns: 1fr;
  }

  .admin-product-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
  }

  .admin-product-card button {
    grid-column: 1 / -1;
  }

  .product-image-upload {
    grid-template-columns: 1fr;
  }

  .admin-category-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .admin-category-card button {
    grid-column: 1 / -1;
  }

  .account-page-hero a {
    justify-self: start;
  }

  .product-site-header {
    grid-template-columns: 1fr auto;
  }

  .configurator-page-hero {
    grid-template-columns: 1fr;
  }

  .configurator-page-hero img {
    max-height: 170px;
  }

  .product-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .product-shop-link {
    grid-column: auto;
  }

  .product-page-main {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .product-page-layout,
  .product-page-details {
    grid-template-columns: 1fr;
  }

  .product-page-media {
    min-height: 360px;
  }

  .product-page-actions {
    grid-template-columns: 1fr;
  }

  .product-page-buybox-meta {
    grid-template-columns: 1fr;
  }

  .product-page-decision {
    grid-template-columns: 1fr;
  }

  .product-page-rows,
  .product-page-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-mobile-buybar {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    max-width: 680px;
    padding: 10px;
    margin: 0 auto;
    border: 1px solid #d9e4f1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(16px);
  }

  .product-mobile-buybar div {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .product-mobile-buybar span {
    overflow: hidden;
    color: #087750;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-mobile-buybar span.is-low {
    color: #9a6700;
  }

  .product-mobile-buybar span.is-out {
    color: var(--red);
  }

  .product-mobile-buybar strong {
    overflow: hidden;
    color: var(--text);
    font-size: 22px;
    font-weight: 950;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-mobile-buybar button {
    min-height: 42px;
    min-width: 132px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: white;
    cursor: pointer;
    font-weight: 950;
  }

  .product-mobile-buybar button:hover:not(:disabled) {
    background: var(--blue-dark);
  }

  .product-mobile-buybar button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    opacity: 0.75;
  }

  .account-page .account-section {
    grid-template-columns: 1fr;
  }

  .account-page .account-section > div:first-child,
  .account-page .account-section > :not(:first-child) {
    grid-column: 1;
  }

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

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

  .account-profile-grid {
    grid-template-columns: 1fr;
  }

  .account-favorite-tools {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .account-delivery-form,
  .checkout-saved-delivery {
    grid-template-columns: 1fr;
  }

  .account-inline-form label:nth-child(3),
  .account-inline-form button,
  .account-inline-form small {
    grid-column: 1 / -1;
  }

  .catalog-button,
  .search {
    grid-column: 1 / -1;
  }

  .catalog-button {
    justify-content: center;
    width: 100%;
  }

  .service-utility-bar {
    justify-content: flex-start;
    padding-block: 6px;
  }

  .search {
    height: 42px;
  }

  .cart-button span:not(.cart-icon) {
    display: none;
  }

  .admin-button {
    min-width: 42px;
    padding: 0 10px;
  }

  .intro-band {
    grid-template-columns: 1fr;
  }

  .pc-series-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pc-series-grid {
    grid-template-columns: 1fr;
  }

  .featured-deal {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .featured-product {
    justify-self: center;
    max-height: 200px;
    transform: scale(1.02);
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .configurator-head {
    align-items: start;
    flex-direction: column;
  }

  .configurator-grid,
  .configurator-form {
    grid-template-columns: 1fr;
  }

  .configurator-guidance,
  .site-bottom-panel,
  .site-bottom-grid,
  .site-assist-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-bottom-actions,
  .site-assist-actions,
  .site-footer-links {
    justify-content: flex-start;
  }

  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    display: grid;
    align-content: start;
    width: min(380px, calc(100vw - 28px));
    max-height: 100dvh;
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 0 8px 8px 0;
    background: #ffffff;
    box-shadow: 18px 0 34px rgba(15, 23, 42, 0.18);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  body.is-filters-open {
    overflow: hidden;
  }

  body.is-filters-open .filters {
    transform: translateX(0);
  }

  .filters-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    border: 0;
    background: rgba(15, 23, 42, 0.38);
  }

  body.is-filters-open .filters-backdrop {
    display: block;
  }

  .filter-head {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: -14px -14px 0;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
  }

  .filter-head h2 {
    font-size: 19px;
  }

  .filter-close-button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    padding: 0;
    color: var(--text);
    font-size: 22px;
    line-height: 1;
  }

  .filter-mobile-actions {
    position: sticky;
    bottom: 0;
    display: grid;
    margin: 12px -14px -14px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 -10px 22px rgba(17, 24, 39, 0.08);
  }

  .filter-mobile-actions button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: #ffffff;
    cursor: pointer;
    font-weight: 850;
  }

  .mobile-filter-button {
    display: inline-flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
    font-weight: 850;
  }

  .mobile-filter-button b {
    display: none;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--blue-dark);
    font-size: 12px;
  }

  .mobile-filter-button b.is-visible {
    display: inline-grid;
  }

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

@media (max-width: 620px) {
  main {
    padding-inline: 12px;
  }

  .account-page-main {
    padding: 0 0 36px;
  }

  .account-page-hero {
    margin-inline: -12px;
    padding: 24px 12px;
  }

  .account-privacy-strip {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .admin-page-main {
    padding: 0 0 36px;
  }

  .admin-page-hero {
    margin-inline: -12px;
    padding: 24px 12px;
  }

  .admin-login-main {
    padding: 16px 0 36px;
  }

  .admin-login-layout {
    width: 100%;
    gap: 12px;
  }

  .admin-login-brief,
  .admin-login-card {
    padding: 16px;
  }

  .admin-login-brief h1 {
    font-size: 38px;
  }

  .admin-login-points {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .product-page-main {
    padding-inline: 12px;
  }

  .product-page-summary,
  .product-page-details,
  .product-page-empty {
    padding: 16px;
  }

  .product-page-summary h1 {
    font-size: 31px;
  }

  .product-page-media {
    min-height: 300px;
    padding: 18px;
  }

  .product-page-insights {
    grid-template-columns: 1fr;
  }

  .checkout-progress span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .product-page-rows,
  .product-page-related {
    grid-template-columns: 1fr;
  }

  .product-page-price {
    align-items: start;
    flex-direction: column;
  }

  .product-page-buybox {
    padding: 12px;
  }

  .product-page-buybox .product-page-terms {
    grid-template-columns: 1fr;
  }

  .product-mobile-buybar {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(118px, auto);
    padding: 8px;
  }

  .product-mobile-buybar strong {
    font-size: 20px;
  }

  .product-mobile-buybar button {
    min-width: 118px;
    padding: 0 12px;
  }

  .admin-summary-grid,
  .admin-workflow-strip,
  .admin-tabs,
  .admin-panel {
    width: 100%;
  }

  .admin-tabs {
    top: 62px;
  }

  .admin-product-card {
    grid-template-columns: 1fr;
  }

  .admin-workflow-strip {
    grid-template-columns: 1fr;
  }

  .admin-workflow-strip button {
    min-height: 0;
  }

  .admin-product-card .favorite-visual {
    width: 100%;
  }

  .admin-product-card button {
    width: 100%;
  }

  .product-image-upload,
  .admin-category-card {
    grid-template-columns: 1fr;
  }

  .admin-category-card button {
    width: 100%;
  }

  .account-page-body {
    width: 100%;
  }

  .account-quick-nav {
    grid-template-columns: 1fr;
  }

  .account-inline-form {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding-inline: 12px;
  }

  .logo {
    min-height: 32px;
  }

  .logo-wordmark {
    padding-bottom: 5px;
    font-size: 22px;
  }

  .cart-button,
  .account-button,
  .favorites-button {
    min-height: 36px;
    padding-inline: 10px;
  }

  .featured-deal,
  .category-panel,
  .budget-card,
  .catalog-toolbar,
  .catalog-insight-strip article,
  .seo-content,
  .recently-viewed {
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.045);
  }

  .configurator-guidance {
    gap: 7px;
  }

  .configurator-guidance div,
  .site-bottom-panel,
  .site-bottom-grid article,
  .site-assist-strip,
  .site-footer {
    padding: 14px;
  }

  .site-bottom-actions,
  .site-assist-actions {
    flex-wrap: wrap;
  }

  .site-bottom-actions a,
  .site-bottom-actions button,
  .site-bottom-grid a,
  .site-bottom-grid button,
  .site-assist-actions button {
    width: 100%;
  }

  .site-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .site-footer-links a {
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

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

  .catalog-insight-strip {
    display: flex;
    margin-right: -12px;
    margin-left: -12px;
    padding: 0 12px 2px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .catalog-insight-strip::-webkit-scrollbar {
    display: none;
  }

  .catalog-insight-strip article {
    flex: 0 0 min(260px, 78vw);
    scroll-snap-align: start;
  }

  .product-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: stretch;
  }

  .product-card .visual {
    height: auto;
    min-height: 196px;
    border-right: 1px solid #edf1f6;
    border-bottom: 0;
  }

  .product-card .visual img {
    width: 108px;
    height: 132px;
    transform: scale(1.08);
  }

  .product-card .visual.gpu img,
  .product-card .visual.ssd img {
    width: 120px;
    max-width: none;
    transform: scale(1.08);
  }

  .product-card .visual.cpu img {
    width: 104px;
    transform: scale(1.06);
  }

  .product-card:hover .visual img,
  .product-card:hover .visual.gpu img,
  .product-card:hover .visual.ssd img,
  .product-card:hover .visual.cpu img {
    transform: scale(1.1);
  }

  .product-card .badge {
    top: 9px;
    left: 9px;
    max-width: calc(100% - 18px);
    overflow: hidden;
    padding: 5px 7px;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-info {
    gap: 7px;
    padding: 11px;
  }

  .product-info h3 {
    min-height: 0;
    font-size: 15px;
  }

  .product-meta-row {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .rating-line {
    white-space: normal;
  }

  .stock {
    max-width: 100%;
  }

  .specs span:nth-child(n + 4) {
    display: none;
  }

  .product-card-service {
    min-height: 0;
    font-size: 11px;
  }

  .product-card-retail-strip {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .product-card-retail-strip span {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: baseline;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 3px;
    align-items: start;
  }

  .price-row small {
    font-size: 10px;
    white-space: normal;
  }

  .price {
    font-size: 22px;
    text-align: left;
  }

  .store-trust-strip {
    grid-template-columns: 1fr;
  }

  .clearance-page-hero,
  .clearance-toolbar,
  .clearance-page-empty {
    padding: 14px;
  }

  .clearance-page-stats,
  .clearance-page-grid,
  .clearance-page-info {
    grid-template-columns: 1fr;
  }

  .clearance-controls label {
    min-width: 0;
  }

  .clearance-page-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .clearance-page-card-visual {
    min-height: 100%;
    padding: 10px;
  }

  .clearance-page-card-visual img {
    max-height: 92px;
  }

  .clearance-page-card-body {
    padding: 12px;
  }

  .clearance-page-card-footer {
    grid-template-columns: 1fr;
  }

  .clearance-page-card-footer a {
    width: 100%;
  }

  .clearance-products {
    grid-template-columns: 1fr;
  }

  .clearance-product-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .clearance-summary {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .clearance-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .category-grid,
  .quick-picker-actions,
  .budget-fields,
  .budget-scale {
    grid-template-columns: 1fr;
  }

  .budget-fields span:last-child {
    text-align: left;
  }

  .seo-banner.wide {
    grid-column: auto;
  }

  .seo-banner {
    grid-template-columns: minmax(0, 1fr) 86px;
    min-height: 96px;
    padding: 13px;
  }

  .seo-banner h3 {
    font-size: 16px;
  }

  .seo-banner .mini-visual {
    height: 74px;
  }

  .catalog-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .catalog-toolbar > div:first-child {
    width: 100%;
  }

  .catalog-toolbar h2 {
    font-size: 19px;
  }

  .catalog-toolbar p {
    font-size: 12px;
  }

  .catalog-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    gap: 8px;
  }

  .catalog-controls label,
  .mobile-filter-button {
    width: 100%;
    min-width: 0;
  }

  .view-switch {
    grid-column: 1 / -1;
    width: 100%;
  }

  .view-switch button {
    flex: 1;
  }

  .active-filters {
    flex-wrap: nowrap;
    margin-right: -12px;
    margin-left: -2px;
    padding: 0 12px 2px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .active-filters::-webkit-scrollbar {
    display: none;
  }

  .active-filters > span,
  .active-filters button {
    flex: 0 0 auto;
  }

  .search-suggestions {
    width: calc(100vw - 24px);
  }

  .search-suggestion-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .search-suggestion-row img {
    width: 56px;
    height: 48px;
  }

  .search-suggestion-row b {
    grid-column: 2;
    justify-self: start;
  }

  .product-grid.is-list-view .product-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .product-grid.is-list-view .visual {
    min-height: 196px;
    border-right: 1px solid #edf1f6;
    border-bottom: 0;
  }

  .seo-content {
    grid-template-columns: 1fr;
  }

  .recently-viewed-list {
    grid-template-columns: 1fr;
  }

  .seo-links {
    justify-content: flex-start;
  }

  .catalog-menu,
  .admin-menu {
    right: 12px;
    left: 12px;
    grid-template-columns: 1fr;
  }

  .admin-summary {
    grid-template-columns: 1fr;
  }

  .actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .product-card-signal {
    grid-template-columns: 1fr;
  }

  .product-card-signal strong {
    white-space: normal;
  }

  .detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
  }

  .buy-button {
    grid-column: 1 / 2;
  }

  .product-card-secondary-actions {
    grid-column: 2 / 3;
  }

  .product-modal-body {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .product-modal-visual {
    min-height: 240px;
  }

  .product-modal-content h2 {
    padding-right: 34px;
  }

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

  .product-detail-rows {
    grid-template-columns: 1fr;
  }

  .product-detail-rows div,
  .product-detail-rows div:nth-child(2n),
  .product-detail-rows div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-detail-rows div:last-child {
    border-bottom: 0;
  }

  .modal-buy-row {
    align-items: stretch;
    flex-direction: column;
  }

  .modal-buy-actions {
    justify-content: stretch;
  }

  .modal-buy-actions button {
    flex: 1;
  }

  .product-related-head {
    align-items: start;
    flex-direction: column;
  }

  .product-related-card {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .product-related-visual {
    width: 62px;
    height: 54px;
  }

  .product-related-card > button:last-child {
    grid-column: 1 / -1;
    width: 100%;
  }

  .product-modal-meta span {
    max-width: 100%;
  }

  .checkout-layout,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  #checkoutForm {
    padding: 16px;
  }

  .checkout-fields section,
  .checkout-summary {
    padding: 12px;
  }

  .checkout-items li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .checkout-items li > strong {
    grid-column: 2;
    justify-self: start;
  }

  .checkout-success {
    padding: 18px;
  }

  .checkout-success-grid {
    grid-template-columns: 1fr;
  }

  .checkout-success-actions {
    display: grid;
    width: 100%;
  }

  .checkout-success-actions button,
  .checkout-success-actions a {
    justify-content: center;
    width: 100%;
  }

  .compare-modal-head {
    align-items: start;
    flex-direction: column;
  }

  .compare-modal-head label {
    width: 100%;
    justify-content: center;
  }

  .checkout-head {
    align-items: start;
    flex-direction: column;
  }

  .modal-buy-actions button {
    flex: 1;
  }

  .review-form {
    grid-template-columns: 1fr;
  }

  .compare-drawer,
  .cart-drawer {
    right: 12px;
    left: 12px;
    min-width: 0;
  }

  .cart-drawer {
    align-items: stretch;
    flex-direction: column;
    bottom: 12px;
  }

  .cart-drawer #checkoutButton {
    width: 100%;
  }

  .compare-drawer {
    bottom: 92px;
  }

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

  .orders-head,
  .order-card-head,
  .lead-card-head,
  .favorites-head,
  .account-head,
  .account-summary,
  .account-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .account-stats {
    justify-content: flex-start;
  }

  .account-auth-form,
  .account-delivery-form,
  .account-profile-grid,
  .account-product {
    grid-template-columns: 1fr;
  }

  .account-product-link,
  .account-product button,
  .account-product-actions button {
    width: 100%;
  }

  .lead-followup-queue > div:first-child,
  .lead-followup-items article {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .account-product-visual {
    width: 100%;
  }

  .orders-actions {
    justify-content: flex-start;
  }

  .orders-filters {
    grid-template-columns: 1fr;
  }

  .leads-filters {
    grid-template-columns: 1fr;
  }

  .lead-crm,
  .service-work {
    grid-template-columns: 1fr;
  }

  .service-work label:nth-child(4) {
    grid-column: auto;
  }

  .order-payment,
  .order-fulfillment {
    grid-template-columns: 1fr;
  }

  .analytics-grid,
  .analytics-sections {
    grid-template-columns: 1fr;
  }

  .inventory-item {
    grid-template-columns: 1fr;
  }

  .editor-actions {
    grid-template-columns: 1fr;
  }

  .favorite-item {
    grid-template-columns: 72px minmax(0, 1fr) 38px;
  }

  .favorite-item [data-favorite-add] {
    grid-column: 1 / -1;
  }
}
