:root {
  --black: #050505;
  --ink: #121212;
  --muted: #737373;
  --line: #e8e8e8;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --accent: #c9ff00;
  --font: "Inter", Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(16px, 4vw, 56px);
  background: var(--black);
  color: white;
  border-bottom: 1px solid #242424;
}
.brand {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.nav {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2.7vw, 38px);
}
.nav a,
.footer a,
.filters a,
.section-head a {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav a { color: rgba(255,255,255,.82); }
.icons { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 8px; }
.icon-btn, .hamb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid #2d2d2d;
  background: transparent;
  color: white;
  cursor: pointer;
}
.icon-btn span { margin-left: 5px; color: var(--accent); }
.bag-icon {
  gap: 4px;
  font-size: 1.05rem;
}
.bag-icon span {
  font-size: .72rem;
  font-weight: 900;
}
.header-logout { margin: 0; }
.admin-shell {
  min-height: 100svh;
  background: #f6f7f8;
  color: #121417;
}
.hamb { display: none; flex-direction: column; gap: 6px; }
.hamb i { display: block; width: 18px; height: 2px; background: white; }
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0a0a;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.32) 52%, rgba(0,0,0,.1));
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: clamp(56px, 8vw, 110px) clamp(18px, 6vw, 82px);
  color: white;
}
.hero-copy span,
.section-head span,
.page-title span,
.about span,
.buybox > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-copy span { color: var(--accent); }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: .96; letter-spacing: 0; }
.hero h1 { font-size: clamp(4.4rem, 15vw, 13.5rem); }
.hero p { max-width: 520px; color: rgba(255,255,255,.78); font-size: 1.08rem; line-height: 1.7; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--black);
  background: white;
  color: var(--black);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn.dark { background: var(--black); color: white; }
.btn:hover { background: var(--accent); color: var(--black); }
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.strip b {
  padding: 18px;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .08em;
}
.strip b + b { border-left: 1px solid var(--line); }
.section, .page-title, .shop-layout, .product-page, .cart, .checkout, .admin, .order-done, .account, .account-auth {
  padding: clamp(52px, 7vw, 92px) clamp(16px, 5vw, 64px);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head h2,
.page-title h1,
.about h2 { max-width: 760px; font-size: clamp(2rem, 5vw, 5.4rem); text-transform: uppercase; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.product-card { display: grid; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.product-img,
.product-photo,
.mini {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.78), transparent 18%),
    linear-gradient(145deg, color-mix(in srgb, var(--tone), white 38%), var(--tone) 42%, color-mix(in srgb, var(--tone), black 42%));
}
.product-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.product-img img,
.product-photo img,
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img::before,
.product-photo::before {
  content: "";
  position: absolute;
  inset: 17% 24% 10%;
  border-radius: 44% 44% 8px 8px;
  background: rgba(0,0,0,.68);
  clip-path: polygon(24% 0, 76% 0, 100% 24%, 85% 100%, 15% 100%, 0 24%);
}
.product-img.has-photo::before,
.product-photo.has-photo::before {
  display: none;
}
.product-img span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 9px;
  background: white;
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
}
.product-card h3 { font-size: .93rem; line-height: 1.2; }
.product-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.product-card strong { font-size: .94rem; }
.card-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card-sizes small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 28px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  font-size: .68rem;
  font-weight: 900;
}
.ink .card-sizes small {
  border-color: rgba(255,255,255,.22);
  color: white;
  background: #111;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black);
}
.feature-grid a {
  display: grid;
  min-height: 260px;
  place-items: end start;
  padding: 24px;
  background: var(--soft);
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 4.4rem);
  font-weight: 700;
}
.ink { background: var(--black); color: white; }
.ink .product-card p, .ink .section-head span { color: rgba(255,255,255,.62); }
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr);
  gap: 42px;
  padding: clamp(60px, 8vw, 112px) clamp(16px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.about p { color: var(--muted); line-height: 1.8; font-size: 1.04rem; }

.shop-layout { display: grid; grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); gap: 34px; align-items: start; }
.filters { position: sticky; top: 96px; display: grid; gap: 14px; }
.filters b { font-size: .75rem; }
.sort { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.sort select, label input, label select, textarea, .qty, .frete input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: white;
}
textarea { min-height: 96px; padding: 12px; }

.product-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); gap: clamp(28px, 5vw, 72px); }
.gallery { display: grid; gap: 14px; }
.product-photo { position: relative; min-height: clamp(420px, 52vw, 620px); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.thumbs span { height: 118px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.buybox { display: grid; align-content: start; gap: 18px; }
.buybox h1 { font-size: clamp(2.2rem, 4vw, 4.6rem); }
.buybox strong { font-size: 1.35rem; }
.buybox p { color: var(--muted); line-height: 1.8; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes input { position: absolute; opacity: 0; }
.sizes span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 42px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 800;
}
.sizes input:checked + span { background: var(--black); color: white; }
.frete { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.frete small { grid-column: 1 / -1; color: var(--muted); }
.frete button { border: 1px solid var(--black); background: white; padding: 0 14px; font-weight: 800; }

.cart, .checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 36px; align-items: start; }
.cart-row {
  display: grid;
  grid-template-columns: 84px 1fr 90px auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mini { width: 84px; height: 100px; }
.cart-row span { display: block; margin-top: 6px; color: var(--muted); }
.summary {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.summary p { display: flex; justify-content: space-between; gap: 12px; margin: 0; color: var(--muted); }
.summary hr { width: 100%; border: 0; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 7px; font-size: .76rem; font-weight: 900; text-transform: uppercase; }

.admin-login {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: radial-gradient(circle at 25% 15%, rgba(201,255,0,.16), transparent 26%), #f6f7f8;
}
.admin-login form {
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid #e6e8eb;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}
.admin-login span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.admin-login h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  text-transform: uppercase;
}
.admin-login p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.7;
}
.admin-dashboard {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  min-height: 100svh;
  padding: 18px;
  background: #f6f7f8;
}
.admin-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: calc(100svh - 36px);
  padding: 20px;
  border-radius: 24px;
  background: #111316;
  color: white;
}
.admin-sidebar strong {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: .12em;
}
.admin-sidebar span {
  margin-bottom: 14px;
  color: rgba(255,255,255,.56);
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: rgba(255,255,255,.78);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-sidebar a.active,
.admin-sidebar a:hover {
  background: white;
  color: #111316;
}
.admin-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  background: white;
  border: 1px solid #e6e8eb;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .05);
}
.admin-shell .btn {
  border-radius: 14px;
}
.admin-hero span,
.admin-section-head span,
.admin-metrics span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.admin-hero h1 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  text-transform: uppercase;
}
.admin-hero p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.admin-metrics article,
.admin-card {
  border: 1px solid #e6e8eb;
  border-radius: 22px;
  background: white;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .045);
}
.admin-metrics article {
  display: grid;
  gap: 8px;
  padding: 20px;
}
.admin-metrics b {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}
.admin-metrics small,
.dash-row span,
.order-admin small,
.customer-admin small,
.customer-admin span {
  color: var(--muted);
}
.admin-grid.pro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.admin-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
}
.admin-card.wide {
  min-width: 0;
}
.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f2;
}
.admin-section-head h2 {
  font-size: 1.35rem;
  text-transform: uppercase;
}
.admin-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.admin-section-head a {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f2;
}
.admin-form,
.admin-line,
.order-admin,
.customer-admin {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f2;
}
.product-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  padding: 0 0 18px;
}
.admin-form input,
.admin-form select,
.admin-form textarea,
.order-admin input,
.order-admin select {
  border-radius: 14px;
}
.product-admin {
  gap: 22px;
}
.product-form.clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid #edf0f2;
  border-radius: 18px;
  background: #fafafa;
}
.product-form.clean label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #3f4650;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-form.clean input,
.product-form.clean select,
.product-form.clean textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: white;
  color: #111316;
  padding: 0 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.product-form.clean input[type="file"] {
  min-height: auto;
  padding: 12px;
}
.product-form.clean textarea {
  min-height: 112px;
  padding: 14px;
  resize: vertical;
}
.product-form.clean input:focus,
.product-form.clean select:focus,
.product-form.clean textarea:focus {
  border-color: #111316;
  box-shadow: 0 0 0 4px rgba(17, 19, 22, .08);
}
.product-form.clean .full {
  grid-column: span 2;
}
.product-form.clean button {
  align-self: end;
  min-height: 48px;
}
.product-form.clean .cancel-edit {
  align-self: end;
  border-radius: 14px;
  background: white;
}
.product-list {
  display: grid;
  gap: 8px;
}
.product-row {
  grid-template-columns: minmax(180px, 1.2fr) minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #edf0f2;
  border-radius: 16px;
  background: white;
}
.product-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}
.admin-product-thumb {
  width: 44px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
  background: #eef0f2;
}
.product-row small {
  color: var(--muted);
}
.product-row button {
  border-radius: 12px;
}
.product-form:not(.clean) textarea,
.product-form:not(.clean) button {
  grid-column: span 2;
}
.admin-line {
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) auto auto;
  align-items: center;
}
.order-admin.pro {
  grid-template-columns: minmax(220px, 1fr) 190px minmax(170px, 220px) auto;
  align-items: center;
}
.product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.product-actions form {
  margin: 0;
}
.product-actions a,
.order-admin button,
.admin-line button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #111316;
  border-radius: 14px;
  background: #111316;
  color: white;
  padding: 0 14px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.product-actions a {
  background: white;
  color: #111316;
}
.order-done { min-height: 52svh; }

.account-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  justify-content: center;
  gap: 24px;
  min-height: 70svh;
}
.account-auth form {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.account-auth h1,
.account-panel h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  text-transform: uppercase;
}
.account {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  min-height: 70svh;
}
.account-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.account-side strong {
  font-family: var(--display);
  font-size: 1.35rem;
  text-transform: uppercase;
}
.account-side span {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .86rem;
  overflow-wrap: anywhere;
}
.account-side a,
.account-side button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 0 12px;
  text-align: left;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.account-side a {
  display: inline-flex;
  align-items: center;
}
.account-side a.active {
  background: var(--black);
  color: white;
  border-color: var(--black);
}
.account-panel {
  display: grid;
  gap: 24px;
}
.account-panel .form-grid .btn {
  width: fit-content;
}
.order-list {
  display: grid;
  gap: 12px;
}
.order-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  background: white;
}
.order-list span,
.order-list small {
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(16px, 5vw, 64px);
  background: var(--black);
  color: white;
}
.footer strong { font-family: var(--display); font-size: 1.8rem; letter-spacing: .12em; }
.footer p {
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  .nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 22px;
    background: var(--black);
    border-top: 1px solid #222;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  body.menu-open .nav { display: grid; }
  .hamb { display: inline-flex; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-layout, .product-page, .cart, .checkout, .admin-grid, .about, .account, .account-auth, .admin-dashboard, .admin-grid.pro-grid, .admin-metrics, .product-form, .product-form.clean, .admin-line, .product-row, .order-admin.pro { grid-template-columns: 1fr; }
  .filters { position: static; display: flex; flex-wrap: wrap; gap: 10px; }
  .filters a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
  }
  .account-side { position: static; }
  .admin-dashboard { padding: 12px; }
  .admin-sidebar { position: static; min-height: auto; border-radius: 20px; }
  .admin-hero { align-items: flex-start; flex-direction: column; }
  .product-form textarea,
  .product-form button {
    grid-column: auto;
  }
  .product-form.clean .full {
    grid-column: auto;
  }
  .product-photo { min-height: 440px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .topbar { min-height: 64px; padding-inline: 12px; }
  .brand { font-size: 1.22rem; }
  .icon-btn { min-width: 36px; height: 36px; font-size: .72rem; }
  .nav { inset: 64px 0 auto; }
  .hero { min-height: 78svh; }
  .hero-copy {
    padding: 48px 16px 42px;
  }
  .hero h1 {
    font-size: clamp(3rem, 18vw, 5.8rem);
  }
  .hero p {
    font-size: .96rem;
  }
  .strip, .feature-grid, .stats, .form-grid { grid-template-columns: 1fr; }
  .strip b + b { border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid a {
    min-height: 150px;
  }
  .grid { gap: 14px; }
  .section, .page-title, .shop-layout, .product-page, .cart, .checkout, .admin, .order-done, .account, .account-auth { padding-inline: 14px; }
  .section-head {
    align-items: flex-start;
  }
  .section-head h2,
  .page-title h1,
  .about h2 {
    font-size: clamp(1.9rem, 12vw, 3.2rem);
  }
  .product-page {
    gap: 22px;
  }
  .product-photo {
    min-height: 360px;
  }
  .thumbs span {
    height: 82px;
  }
  .frete {
    grid-template-columns: 1fr;
  }
  .cart-row { grid-template-columns: 70px 1fr; }
  .cart-row input, .cart-row strong { grid-column: 2; }
  .mini { width: 70px; height: 86px; }
  .summary { padding: 16px; }
  .admin-metrics { gap: 10px; }
  .admin-card,
  .admin-hero,
  .admin-login form {
    border-radius: 18px;
  }
}

@media (max-width: 430px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    gap: 8px;
  }
  .card-sizes small {
    min-width: 34px;
  }
  .footer {
    gap: 10px;
    padding-block: 22px;
  }
  .footer p {
    font-size: .68rem;
    line-height: 1.5;
  }
}
