:root {
  --purple: #6426d9;
  --purple-2: #8b4dff;
  --orange: #ff8a2a;
  --orange-2: #ffb066;
  --ink: #191827;
  --ink-2: #2e2d3f;
  --muted: #6f7280;
  --line: #ececf4;
  --soft: #f7f7fb;
  --soft-2: #fff7ef;
  --white: #fff;
  --green: #167a62;
  --blue: #1167b1;
  --shadow: 0 20px 60px rgba(25, 24, 39, .10);
  --shadow-soft: 0 10px 28px rgba(25, 24, 39, .07);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(100, 38, 217, .08), transparent 30rem),
    linear-gradient(180deg, #fff 0%, #fbfbfe 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(100, 38, 217, .55);
  box-shadow: 0 0 0 4px rgba(100, 38, 217, .12);
}
textarea { min-height: 140px; resize: vertical; }
.container { width: min(var(--container), calc(100% - 24px)); margin-inline: auto; }
.skip-link, .sr-only { position: absolute; left: -999px; }
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 30;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.topbar-inner {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}
.topbar-inner span:not(:first-child) { display: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(236, 236, 244, .82);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 14px 34px rgba(25, 24, 39, .08); }
.header-main {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.logo { display: inline-flex; align-items: center; min-width: 0; }
.logo img { width: auto; height: 50px; object-fit: contain; }
.search {
  position: relative;
  grid-column: 1 / -1;
  order: 2;
}
.search > svg {
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transform: translateY(-50%);
}
.search input {
  min-height: 48px;
  padding-left: 44px;
  border-radius: 999px;
  background: #f8f8fc;
}
.autocomplete {
  position: absolute;
  inset: calc(100% + 8px) 0 auto 0;
  z-index: 25;
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.autocomplete a { display: block; padding: 13px 15px; font-weight: 700; }
.autocomplete a:hover, .autocomplete a:focus { background: var(--soft); color: var(--purple); }
.quick-nav { display: none; }
.menu-toggle, .icon-btn {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.menu-toggle { width: 46px; height: 46px; justify-self: end; }
.menu-toggle:hover, .icon-btn:hover, .menu-toggle:focus-visible, .icon-btn:focus-visible {
  border-color: rgba(100, 38, 217, .35);
  color: var(--purple);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.menu-toggle svg, .icon-btn svg { width: 20px; height: 20px; }
.main-nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 24;
  display: grid;
  align-content: start;
  gap: 8px;
  width: min(88vw, 370px);
  margin-inline: 0;
  padding: 94px 20px 22px;
  background: #fff;
  box-shadow: -24px 0 60px rgba(25, 24, 39, .16);
  transform: translateX(105%);
  transition: transform .28s ease;
}
.main-nav.open { transform: translateX(0); }
.main-nav a {
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 800;
}
.main-nav a:hover, .main-nav a:focus, .main-nav .active {
  background: linear-gradient(135deg, rgba(100, 38, 217, .10), rgba(255, 138, 42, .12));
  color: var(--purple);
}
.mobile-scrim {
  position: fixed;
  inset: 0;
  z-index: 23;
  display: none;
  background: rgba(25, 24, 39, .44);
}
body.menu-open .mobile-scrim { display: block; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  box-shadow: 0 14px 30px rgba(100, 38, 217, .24);
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px) scale(1.01); box-shadow: 0 18px 40px rgba(255, 138, 42, .26); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.secondary {
  border: 1px solid rgba(100, 38, 217, .22);
  color: var(--purple);
  background: #fff;
  box-shadow: none;
}
.btn.small { min-height: 40px; padding: 10px 16px; font-size: 14px; }
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 24px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(100, 38, 217, .10), transparent 44%),
    radial-gradient(circle at 85% 18%, rgba(255, 138, 42, .18), transparent 24rem);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1, .page-title h1 {
  max-width: 780px;
  margin: 8px 0 16px;
  font-size: clamp(34px, 12vw, 64px);
  line-height: 1.03;
  letter-spacing: 0;
}
.hero p, .page-title p { max-width: 720px; color: var(--muted); font-size: 17px; }
.hero-actions { display: grid; gap: 12px; margin-top: 24px; }
.hero-visual {
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  background: var(--soft);
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; aspect-ratio: 1.05 / 1; object-fit: cover; }
.benefit-row { display: grid; gap: 12px; margin-top: 20px; }
.mini-card, .panel, .option-card, .brand-card, .product-card, .summary, blockquote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
}
.mini-card {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px;
  font-weight: 900;
}

.section { padding: 42px 0; }
.section-head, .toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.section h2, .section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 8vw, 38px);
  line-height: 1.12;
}
.section-head p { margin: 0; color: var(--muted); }
.category-grid, .brand-grid, .card-grid, .review-grid, .account-grid, .product-grid, .lens-grid { display: grid; gap: 16px; }
.category-card, .option-card, .brand-card, .lens-grid article, .total-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.category-card {
  min-height: 132px;
  display: flex;
  align-items: end;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(247, 247, 251, .7)),
    linear-gradient(135deg, rgba(100, 38, 217, .14), rgba(255, 138, 42, .16));
  font-size: 18px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover, .option-card:hover, .brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.option-card, .brand-card, .lens-grid article, .total-box { padding: 22px; }
.brand-card p, .option-card p, .lens-grid p { color: var(--muted); }

.product-card {
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { border-color: rgba(100, 38, 217, .22); transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 22%, #fff5eb, transparent 34%),
    linear-gradient(135deg, #faf8ff, #eef8f5);
}
.product-media.large {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.badge {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}
.badge-primary { top: 14px; left: 14px; color: var(--purple); background: #fff; box-shadow: 0 8px 18px rgba(25, 24, 39, .08); }
.badge-offer { right: 14px; bottom: 14px; color: #fff; background: var(--ink); }
.glasses-shape {
  position: relative;
  width: min(68%, 180px);
  height: 74px;
  border: 9px solid var(--ink);
  border-radius: 42px;
  transition: transform .35s ease;
}
.product-card:hover .glasses-shape { transform: scale(1.06) rotate(-1deg); }
.glasses-shape:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  width: 30px;
  height: 9px;
  border-radius: 9px;
  background: var(--ink);
  transform: translateX(-50%);
}
.glasses-shape:after {
  content: "";
  position: absolute;
  right: -48px;
  top: 18px;
  width: 44px;
  height: 9px;
  border-radius: 9px;
  background: var(--orange);
  transform: rotate(-22deg);
}
.product-info { display: grid; gap: 8px; padding: 18px; }
.muted, .installments { margin: 0; color: var(--muted); font-size: 14px; }
.product-info h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.rating { display: inline-flex; align-items: center; gap: 5px; color: #b76b00; font-weight: 900; }
.rating svg { width: 16px; height: 16px; fill: #ffb020; stroke: #ffb020; }
.rating small { color: var(--muted); font-weight: 700; }
.product-info strong, .price { font-size: 23px; font-weight: 900; }
.product-info del, .price del { margin-left: 7px; color: var(--muted); font-size: 14px; font-weight: 600; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.favorite-btn.is-active { border-color: rgba(255, 138, 42, .38); color: #d63a5f; background: #fff4f7; }
.favorite-btn.is-active svg { fill: currentColor; }

.split, .catalog-layout, .product-page, .prescription-grid, .cart-layout, .checkout, .contact-grid { display: grid; gap: 24px; }
.info-list { display: grid; gap: 12px; }
.info-list span {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}
.newsletter {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(100, 38, 217, .96), rgba(25, 24, 39, .98) 55%, rgba(255, 138, 42, .92));
}
.newsletter-box { display: grid; gap: 22px; }
.newsletter form { display: grid; gap: 12px; }
.newsletter input { border-color: rgba(255, 255, 255, .24); }

.page-title { padding: 38px 0 20px; }
.filters {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.filters h2 { margin-top: 0; }
.filters label, .treatments label, .checkout label, .prescription-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
  color: var(--muted);
  font-weight: 700;
}
.filters input[type="checkbox"], .treatments input[type="checkbox"], input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
  flex: 0 0 auto;
}
input[type="range"] { accent-color: var(--purple); padding-inline: 0; }
.toolbar input, .toolbar select { min-height: 48px; }

.gallery { display: grid; gap: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumbs button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--soft), var(--soft-2));
  cursor: pointer;
}
.product-detail h1 { margin: 6px 0 10px; font-size: clamp(32px, 9vw, 52px); line-height: 1.05; }
.specs { padding-left: 20px; }
.specs li { margin: 8px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}
.steps li {
  border-radius: 999px;
  background: var(--soft);
  padding: 10px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}
.steps .current { color: #fff; background: linear-gradient(135deg, var(--purple), var(--orange)); }
.steps .done { color: var(--green); background: #eaf8f2; }

.panel, .summary { padding: 22px; }
.panel form, form.panel { display: grid; gap: 12px; }
.dropzone {
  position: relative;
  display: grid;
  gap: 10px;
  place-items: center;
  min-height: 150px;
  border: 2px dashed rgba(100, 38, 217, .38);
  border-radius: 18px;
  background: #fbf9ff;
  padding: 26px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}
.dropzone.is-dragging { border-color: var(--orange); background: #fff7ef; }
.dropzone input { max-width: 300px; background: #fff; }
.table-form { display: grid; gap: 10px; align-items: center; }
.tutorial-line, .map {
  min-height: 190px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(100, 38, 217, .12), rgba(255, 138, 42, .18)),
    #fff;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}
.modal {
  width: min(520px, calc(100% - 28px));
  border: 0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(25, 24, 39, .45); backdrop-filter: blur(4px); }

.cart-item {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}
.cart-item .product-media { min-height: 130px; border-radius: 14px; }
.cart-item .glasses-shape { transform: scale(.62); }
.cart-item h2 { margin: 0 0 6px; font-size: 20px; }
.summary { align-self: start; display: grid; gap: 12px; }
.summary strong { font-size: 24px; }

.timeline { display: grid; gap: 18px; }
.timeline article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.timeline span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--orange));
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.faq summary { cursor: pointer; font-weight: 900; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 14px; text-align: left; }

.auth-page { min-height: 70vh; display: grid; place-items: center; padding-block: 34px; }
.auth-card { width: min(460px, 100%); }
.account-grid .option-card { color: var(--ink); font-weight: 900; }

.admin-shell { display: grid; min-height: 80vh; }
.admin-shell aside {
  display: grid;
  gap: 18px;
  align-content: start;
  background: var(--ink);
  color: #fff;
  padding: 22px;
}
.admin-shell img { width: auto; height: 62px; border-radius: 12px; background: #fff; }
.admin-shell nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.admin-shell a { border-radius: 10px; padding: 10px 12px; color: #efeff8; font-weight: 800; }
.admin-shell a:hover { background: rgba(255, 255, 255, .10); }
.admin-main { background: var(--soft); padding: 24px 12px; }
.admin-cards { display: grid; gap: 14px; margin-bottom: 24px; }
.admin-cards article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.admin-cards strong { display: block; font-size: 34px; }

.site-footer {
  color: #fff;
  background:
    linear-gradient(135deg, #191827, #25223a 58%, #2d1c43);
}
.footer-grid { display: grid; gap: 28px; padding: 44px 0 24px; }
.footer-brand { display: grid; gap: 16px; }
.footer-logo { width: auto; height: 70px; border-radius: 14px; background: #fff; }
.site-footer p { color: #dcdbea; }
.site-footer h3 { margin: 0 0 10px; }
.site-footer a { display: block; color: #dcdbea; margin: 9px 0; }
.site-footer a:hover { color: #fff; }
.footer-newsletter { display: grid; grid-template-columns: 1fr 46px; gap: 10px; max-width: 420px; }
.footer-newsletter .icon-btn { width: 46px; height: 46px; color: #fff; background: linear-gradient(135deg, var(--purple), var(--orange)); border: 0; }
.footer-trust {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
}
.footer-trust span { display: inline-flex; align-items: center; gap: 8px; color: #f2f2fb; font-weight: 800; }
.footer-trust svg { width: 18px; height: 18px; color: var(--orange-2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  color: #dcdbea;
  font-size: 14px;
}

.toast:not(:empty) {
  position: fixed;
  right: 14px;
  bottom: 84px;
  z-index: 30;
  max-width: min(360px, calc(100% - 28px));
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.back-to-top {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 28;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

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

@media (max-width: 640px) {
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
  .compare-table th, .compare-table td { border: 0; border-bottom: 1px solid var(--line); }
}

@media (min-width: 480px) {
  .hero-actions, .newsletter form { grid-template-columns: repeat(2, max-content); }
  .newsletter form { grid-template-columns: 1fr 1fr auto; }
  .benefit-row, .category-grid, .brand-grid, .card-grid, .review-grid, .account-grid, .product-grid, .lens-grid, .admin-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cart-item { grid-template-columns: 140px 1fr; align-items: center; }
  .cart-item strong { grid-column: 2; }
  .table-form { grid-template-columns: 120px 1fr 1fr; }
}

@media (min-width: 768px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .topbar-inner { justify-content: space-between; }
  .topbar-inner span:not(:first-child) { display: inline; }
  .header-main { grid-template-columns: 150px 1fr auto auto; gap: 16px; }
  .logo img { height: 58px; }
  .search { grid-column: auto; order: initial; }
  .quick-nav { display: flex; align-items: center; gap: 8px; }
  .quick-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 10px 12px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 900;
  }
  .quick-nav a:hover, .quick-nav .cart-link { color: var(--purple); background: rgba(100, 38, 217, .08); }
  .quick-nav svg { width: 18px; height: 18px; }
  .hero { padding-top: 56px; }
  .hero-grid, .split, .product-page, .prescription-grid, .cart-layout, .checkout, .contact-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .benefit-row { grid-template-columns: repeat(4, 1fr); }
  .category-grid, .brand-grid, .card-grid, .review-grid, .account-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lens-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-head, .toolbar { display: flex; align-items: center; justify-content: space-between; }
  .toolbar input { max-width: 380px; }
  .summary { position: sticky; top: 138px; }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); }
  .footer-trust { grid-template-columns: repeat(3, 1fr); }
  .admin-cards { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 992px) {
  .menu-toggle, .mobile-scrim { display: none !important; }
  body.menu-open { overflow: auto; }
  .main-nav {
    position: static;
    display: flex;
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
    transform: none;
    gap: 6px;
    padding: 0 0 14px;
    overflow-x: auto;
    background: transparent;
    box-shadow: none;
  }
  .main-nav a { white-space: nowrap; padding: 8px 11px; font-size: 14px; }
  .catalog-layout { grid-template-columns: 260px 1fr; }
  .filters { position: sticky; top: 142px; align-self: start; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lens-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(6, 1fr); }
  .cart-item { grid-template-columns: 150px 1fr auto; }
  .cart-item strong { grid-column: auto; }
  .admin-shell { grid-template-columns: 270px 1fr; }
  .admin-shell nav { grid-template-columns: 1fr; }
  .admin-main { padding: 32px; }
}

@media (min-width: 1400px) {
  :root { --container: 1260px; }
  .hero h1, .page-title h1 { font-size: 68px; }
}
