:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #525a67;
  --border: #e5e5e5;
  --border-strong: #d8d8d8;
  --accent: #16a34a;
  --accent-2: #0f6b2f;
  --accent-soft: #eaf7ef;
  --max: 1120px;
  --gap: 24px;
  --soft: #f6f6f6;
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-rendering: geometricPrecision;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Base surfaces */
main {
  padding-top: 8px;
}

/* Utilities */
.btn-block {
  width: 100%;
}

.danger {
  color: #b42318;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border-strong);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 6px 8px;
}

.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.brand-logo {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-link {
  color: var(--muted);
  padding: 8px 6px;
  border-bottom: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  border-bottom-color: rgba(0, 0, 0, 0.16);
}

.auth {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  justify-self: center;
  width: min(560px, 100%);
  position: relative;
}

.top-search input[type="search"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--surface);
  border-radius: var(--radius);
}

.top-search input[type="search"]::placeholder {
  color: #8a8a8a;
}

.top-search input[type="search"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 10px;
  display: none;
  z-index: 20;
}

.top-search:focus-within .suggest {
  display: block;
}

.suggest-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px 10px;
  color: rgba(11, 18, 32, 0.56);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.suggest-item a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 12px;
}

.suggest-item a:hover {
  background: rgba(22, 163, 74, 0.08);
}

.suggest-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #fff;
}

.suggest-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 13px;
}

.suggest-sub {
  color: rgba(11, 18, 32, 0.56);
  font-size: 12px;
  margin-top: 2px;
}

.suggest-price {
  font-weight: 900;
  color: rgba(11, 18, 32, 0.78);
  font-size: 12px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius);
}

.btn:hover {
  border-color: rgba(0, 0, 0, 0.22);
  color: var(--text);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-solid:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
}

/* Subnav */
.subnav {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--surface);
}

.subnav-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 10px 0;
  overflow: auto;
  scrollbar-width: thin;
}

.subnav-link {
  white-space: nowrap;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.subnav-link:hover {
  color: var(--text);
  border-bottom-color: rgba(0, 0, 0, 0.18);
}

/* Category hero */
.category-hero {
  padding: 28px 0 18px;
}

.page-title {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.page-desc {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 85ch;
}

.category-strip {
  margin-top: 18px;
  border: 1px solid rgba(22, 163, 74, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.strip-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.strip-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--surface);
  border-radius: 14px;
}

.strip-copy {
  min-width: 0;
}

.strip-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.strip-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.strip-right {
  display: flex;
  align-items: center;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.badge {
  margin-left: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(22, 163, 74, 0.28);
  background: var(--surface);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

/* Catalog layout */
.catalog {
  padding: 18px 0 54px;
}

.catalog-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.sidebar {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px;
}

.sidebar-title {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sidebar-nav {
  margin-top: 12px;
  display: grid;
  gap: 2px;
}

.side-link {
  padding: 10px 10px;
  border-radius: 8px;
  color: var(--text);
}

.side-link:hover {
  background: #f3f5f7;
  color: var(--text);
}

.side-link.is-active {
  background: var(--accent-soft);
  border: 1px solid rgba(22, 163, 74, 0.22);
}

.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.catalog-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.pill {
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
}

.pill:hover {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.18);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-card:hover {
  border-color: rgba(22, 163, 74, 0.38);
}

.product-card:focus-within {
  outline: 2px solid rgba(22, 163, 74, 0.55);
  outline-offset: 2px;
}

.product-media {
  display: block;
  background: #f5f7f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 18px;
}

.product-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.product-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-title:hover {
  color: var(--accent-2);
}

.product-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-meta {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.meta-sep {
  color: #b0b0b0;
}

.product-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-price {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-rating {
  color: var(--muted);
  font-size: 13px;
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
}

.rating-value {
  color: var(--text);
  font-weight: 700;
}

.pagination {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.page {
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
}

.page:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.page.is-active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.page.dots {
  border-color: transparent;
  background: transparent;
  padding: 0 4px;
}

.page.next {
  color: var(--text);
}

/* Forms */
.form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.label {
  font-size: 13px;
  color: var(--muted);
}

.input {
  padding: 11px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  background: var(--surface);
}

.input:focus {
  outline: 2px solid rgba(22, 163, 74, 0.45);
  outline-offset: 2px;
}

/* Product detail */
.product-hero {
  padding: 18px 0 54px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}

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

.crumb:hover {
  color: var(--text);
}

.crumb.current {
  color: var(--text);
  font-weight: 600;
}

.crumb-sep {
  color: #a3a7ae;
}

.product-h1 {
  margin: 12px 0 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.product-lead {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 80ch;
}

.product-preview {
  margin-top: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #f5f7f7;
}

.product-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 22px;
}

.product-section {
  margin-top: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px;
}

.h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.facts {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fact {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fbfbfb;
  padding: 12px;
}

.fact-k {
  font-size: 12px;
  color: var(--muted);
}

.fact-v {
  margin-top: 4px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.buybox,
.sellerbox,
.summary {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px;
}

.buy-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.buy-price {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.buy-rating {
  color: var(--muted);
  font-size: 13px;
  display: inline-flex;
  gap: 6px;
}

.buy-meta {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.kv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.kv .v {
  color: var(--text);
  font-weight: 600;
}

.buy-actions {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.buy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.sellerbox {
  margin-top: 12px;
}

.seller-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.seller-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.seller-name {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.seller-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.seller-stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fbfbfb;
  padding: 12px;
}

.stat-k {
  font-size: 12px;
  color: var(--muted);
}

.stat-v {
  margin-top: 4px;
  font-weight: 800;
}

/* Cart / Checkout / Auth layouts */
.cart,
.checkout,
.auth-page {
  padding: 18px 0 54px;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}

.cart-list {
  margin-top: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-item:first-child {
  border-top: 0;
}

.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f5f7f7;
  padding: 10px;
}

.cart-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cart-title:hover {
  color: var(--accent-2);
}

.cart-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

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

.qty {
  font-weight: 800;
  color: var(--text);
  padding: 0 4px;
}

.cart-price {
  font-weight: 900;
  letter-spacing: -0.02em;
  align-self: start;
}

.summary-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.summary-rows {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.sum-row.total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text);
  font-weight: 900;
}

.auth-layout {
  display: grid;
  justify-items: center;
}

.auth-box {
  width: min(520px, 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: var(--surface);
  padding: 18px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 34px;
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: 24px;
  align-items: start;
}

.brand--footer {
  padding: 0;
}

.footer-note {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 40ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-link {
  display: block;
  padding: 6px 0;
  color: var(--text);
}

.footer-link:hover {
  color: var(--accent-2);
}

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.social {
  display: inline-flex;
  border: 1px solid var(--border);
  padding: 10px;
}

.social:hover {
  border-color: var(--border-strong);
}

.footer-bottom {
  margin-top: 28px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .top-search {
    justify-self: stretch;
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .catalog-inner {
    grid-template-columns: 1fr;
  }

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

  .product-layout {
    grid-template-columns: 1fr;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .auth .btn {
    padding: 10px 12px;
  }

  .top-search {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: 1fr;
  }

  .auth {
    justify-content: space-between;
  }

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

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

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

  .cart-item {
    grid-template-columns: auto 1fr;
  }

  .cart-price {
    grid-column: 1 / -1;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
}

/* =========================
   Premium overrides (no-shadow)
   ========================= */

:root {
  --max: 1200px;
  --radius: 12px;
  --ring: rgba(22, 163, 74, 0.5);
  --line: rgba(15, 23, 42, 0.10);
  --line-2: rgba(15, 23, 42, 0.16);
  --bg: #f8fafc;
  --surface: #ffffff;
  --soft: #f2f5f7;
  --text: #0b1220;
  --muted: #5a6472;
  --accent: #16a34a;
  --accent-2: #0f6b2f;
  --accent-soft: #eaf7ef;
}

body {
  line-height: 1.55;
  letter-spacing: -0.012em;
  background:
    radial-gradient(900px 280px at 50% -40px, rgba(22, 163, 74, 0.10), transparent 55%),
    radial-gradient(700px 240px at 90% 0px, rgba(15, 23, 42, 0.06), transparent 60%),
    var(--bg);
}

.container {
  width: min(var(--max), calc(100% - 48px));
}

::selection {
  background: rgba(22, 163, 74, 0.18);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.site-header {
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.header-inner {
  gap: 16px;
  padding: 16px 0;
}

.brand {
  padding: 6px 10px;
  border-radius: 999px;
}

.brand-logo {
  border-radius: 10px;
}

.brand-text {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.top-search {
  width: min(640px, 100%);
}

.top-search input[type="search"] {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 14px;
}

.top-search input[type="search"]:hover {
  border-color: var(--line-2);
}

.btn {
  border-color: var(--line);
  padding: 11px 14px;
  font-weight: 600;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.95);
}

.btn-solid {
  background: linear-gradient(180deg, #1bb954 0%, var(--accent) 100%);
  border-color: rgba(15, 23, 42, 0.06);
}

.btn-solid:hover {
  background: linear-gradient(180deg, #169e49 0%, var(--accent-2) 100%);
  border-color: rgba(15, 23, 42, 0.08);
}

.subnav {
  background: rgba(255, 255, 255, 0.86);
}

.subnav-inner {
  gap: 16px;
  padding: 10px 0 12px;
}

.subnav-link {
  border-bottom-width: 2px;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}

.subnav-link:hover {
  border-bottom-color: rgba(22, 163, 74, 0.35);
  color: var(--text);
}

.category-hero {
  padding: 30px 0 10px;
}

.page-title {
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.05em;
}

.page-desc {
  font-size: 15px;
}

.category-strip {
  border-color: rgba(22, 163, 74, 0.16);
  padding: 16px;
  border-radius: 16px;
}

.badge {
  border-color: rgba(22, 163, 74, 0.22);
  color: rgba(11, 18, 32, 0.70);
  font-weight: 600;
}

.sidebar,
.product-card,
.product-section,
.buybox,
.sellerbox,
.summary,
.cart-list,
.auth-box {
  border-color: rgba(15, 23, 42, 0.10);
}

.sidebar {
  padding: 18px;
  border-radius: 16px;
}

.sidebar-title {
  color: rgba(11, 18, 32, 0.56);
}

.side-link {
  padding: 11px 12px;
  border-radius: 12px;
}

.side-link.is-active {
  background: rgba(22, 163, 74, 0.10);
  border-color: rgba(22, 163, 74, 0.18);
}

.catalog-head {
  margin-bottom: 14px;
}

.catalog-title {
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pill {
  border-color: rgba(15, 23, 42, 0.10);
  color: rgba(11, 18, 32, 0.62);
  font-weight: 600;
}

.pill:hover {
  border-color: rgba(22, 163, 74, 0.22);
  color: var(--text);
}

.product-grid {
  gap: 18px;
}

.product-grid--home .product-card {
  border-radius: 12px;
}

.product-grid--home .product-media {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.product-grid--home .product-body {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.product-card {
  border-radius: 16px;
}

.product-media {
  background: linear-gradient(180deg, rgba(242, 245, 247, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.product-media img {
  padding: 22px;
}

.product-body {
  padding: 16px;
  gap: 12px;
}

.product-title {
  font-weight: 900;
  letter-spacing: -0.03em;
}

.product-desc {
  font-size: 13px;
  color: rgba(11, 18, 32, 0.68);
}

.product-meta {
  color: rgba(11, 18, 32, 0.56);
}

.product-price {
  font-weight: 900;
}

.product-bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
  padding-top: 12px;
}

.pagination {
  margin-top: 22px;
}

.page {
  border-color: rgba(15, 23, 42, 0.10);
  font-weight: 700;
}

.page.is-active {
  background: var(--text);
  border-color: var(--text);
}

.input {
  border-color: rgba(15, 23, 42, 0.12);
  padding: 12px 14px;
}

.input:hover {
  border-color: rgba(15, 23, 42, 0.18);
}

.input:focus {
  outline-color: var(--ring);
}

.product-preview {
  border-radius: 16px;
  border-color: rgba(15, 23, 42, 0.10);
}

.product-preview img {
  padding: 28px;
}

.product-section {
  border-radius: 16px;
  padding: 18px;
}

.fact,
.stat {
  background: rgba(248, 250, 252, 0.65);
  border-color: rgba(15, 23, 42, 0.08);
}

.buy-top {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.buy-price {
  font-weight: 950;
  font-size: 24px;
}

.cart-thumb {
  border-radius: 16px;
}

.cart-item {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.sum-row.total {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.site-footer {
  background: rgba(255, 255, 255, 0.8);
}

.footer-title {
  color: rgba(11, 18, 32, 0.54);
}

.social {
  border-color: rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.75);
}

.social:hover {
  border-color: rgba(22, 163, 74, 0.22);
}

@media (max-width: 520px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .btn {
    padding: 11px 12px;
  }
}
