:root {
  --shell-bg: #f4f6f8;
  --shell-card: #ffffff;
  --shell-card-soft: #f8fafc;
  --shell-text: #0f172a;
  --shell-text-soft: #475569;
  --shell-text-muted: #64748b;
  --shell-line: #e2e8f0;
  --shell-line-strong: #cbd5e1;
  --shell-brand: #f97316;
  --shell-brand-strong: #ea580c;
  --shell-brand-soft: #fff1e8;
  --shell-success: #16a34a;
  --shell-danger: #dc2626;
  --shell-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shell-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
  --shell-radius-xl: 28px;
  --shell-radius-lg: 22px;
  --shell-radius-md: 16px;
  --shell-radius-sm: 12px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--shell-text);
  background:
    radial-gradient(1100px 480px at -10% -10%, rgba(249, 115, 22, 0.16) 0%, rgba(249, 115, 22, 0) 65%),
    radial-gradient(900px 420px at 110% 0%, rgba(14, 165, 233, 0.13) 0%, rgba(14, 165, 233, 0) 62%),
    linear-gradient(180deg, #fbfcfd 0%, var(--shell-bg) 100%);
}

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

img {
  max-width: 100%;
}

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.shell-hidden {
  display: none !important;
}

.page-shell {
  width: min(1320px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 34px 0 52px;
}

.page-shell.page-shell-narrow {
  width: min(1180px, calc(100vw - 32px));
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--shell-brand-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-copy {
  color: var(--shell-text-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 10px 0 0;
  max-width: 720px;
}

.shell-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell-pill.is-success {
  background: rgba(22, 163, 74, 0.14);
  color: var(--shell-success);
}

.shell-pill.is-danger {
  background: rgba(220, 38, 38, 0.12);
  color: var(--shell-danger);
}

.shell-pill.is-muted {
  background: #eef2f7;
  color: var(--shell-text-soft);
}

.shell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.shell-btn:hover {
  transform: translateY(-1px);
}

.shell-btn-primary {
  background: linear-gradient(135deg, var(--shell-brand) 0%, var(--shell-brand-strong) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.26);
}

.shell-btn-primary:hover {
  box-shadow: 0 20px 36px rgba(234, 88, 12, 0.3);
}

.shell-btn-secondary {
  background: #fff;
  color: var(--shell-text);
  border-color: var(--shell-line);
  box-shadow: var(--shell-shadow-soft);
}

.shell-btn-secondary:hover {
  border-color: var(--shell-line-strong);
}

.shell-link {
  color: var(--shell-brand-strong);
  font-size: 14px;
  font-weight: 800;
}

.shell-card {
  background: var(--shell-card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--shell-radius-lg);
  box-shadow: var(--shell-shadow-soft);
}

.shell-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
}

.shell-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.shell-form-input,
.shell-form-textarea,
.shell-form-select {
  width: 100%;
  border: 1px solid var(--shell-line);
  background: #fff;
  color: var(--shell-text);
  border-radius: 16px;
  padding: 13px 15px;
  outline: 0;
  transition: 0.18s ease;
}

.shell-form-textarea {
  min-height: 150px;
  resize: vertical;
}

.shell-form-input:focus,
.shell-form-textarea:focus,
.shell-form-select:focus {
  border-color: rgba(249, 115, 22, 0.52);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.shell-grid {
  display: grid;
  gap: 24px;
}

.shell-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.shell-header-inner {
  width: min(1320px, calc(100vw - 32px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.shell-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--shell-brand) 0%, var(--shell-brand-strong) 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.28);
}

.shell-brand-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.shell-brand-name span {
  color: var(--shell-brand-strong);
}

.shell-desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell-desktop-nav a {
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--shell-text-soft);
  transition: 0.18s ease;
}

.shell-desktop-nav a:hover,
.shell-desktop-nav a.is-active {
  background: #f1f5f9;
  color: var(--shell-text);
}

.shell-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: flex-end;
}

.shell-search-form {
  flex: 1;
  max-width: 540px;
  position: relative;
}

.shell-search-form input {
  width: 100%;
  border: 1px solid transparent;
  background: #f1f5f9;
  border-radius: 18px;
  padding: 15px 52px 15px 48px;
  font-size: 14px;
  font-weight: 600;
  color: var(--shell-text);
  outline: 0;
  transition: 0.18s ease;
}

.shell-search-form input:focus {
  background: #fff;
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.shell-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: #94a3b8;
}

.shell-search-submit {
  position: absolute;
  right: 8px;
  top: 8px;
  bottom: 8px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--shell-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.shell-catalog-toggle,
.shell-cart-link,
.shell-mobile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.18s ease;
}

.shell-catalog-toggle {
  background: linear-gradient(135deg, var(--shell-brand) 0%, var(--shell-brand-strong) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.24);
}

.shell-catalog-toggle,
.shell-mega-root,
.shell-mega-links a,
.shell-mega-mobile-back {
  touch-action: manipulation;
}

.shell-catalog-toggle.is-open {
  background: #0f172a;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.shell-catalog-toggle:hover,
.shell-cart-link:hover,
.shell-mobile-toggle:hover {
  transform: translateY(-1px);
}

.shell-mobile-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--shell-line);
  color: var(--shell-text);
}

.shell-cart-link {
  background: #fff;
  border: 1px solid var(--shell-line);
  color: var(--shell-text);
  box-shadow: var(--shell-shadow-soft);
  flex-shrink: 0;
}

.shell-cart-link .simpleCart_total {
  font-size: 14px;
  font-weight: 800;
  color: var(--shell-text);
}

.shell-cart-link .simpleCart_quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.14);
  color: var(--shell-brand-strong);
  font-size: 12px;
  font-weight: 900;
}

.shell-cart-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shell-cart-meta strong {
  font-size: 13px;
  font-weight: 900;
}

.shell-cart-meta span {
  font-size: 11px;
  color: var(--shell-text-muted);
}

.shell-menu-backdrop {
  position: fixed;
  inset: var(--shell-header-offset, 84px) 0 0;
  z-index: 49;
  background: rgba(15, 23, 42, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.shell-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shell-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 55;
  padding: 0 16px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.18s ease;
}

.shell-mega.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.shell-mega-inner {
  width: min(1320px, calc(100vw - 32px));
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 28px;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 560px;
}

.shell-mega-sidebar {
  background: #f8fafc;
  border-right: 1px solid var(--shell-line);
  padding: 18px 0;
  overflow: auto;
}

.shell-mega-root {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 22px;
  color: var(--shell-text-soft);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  transition: 0.18s ease;
  position: relative;
}

.shell-mega-root:hover,
.shell-mega-root.is-active {
  color: var(--shell-text);
  background: rgba(255, 255, 255, 0.92);
}

.shell-mega-root.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--shell-brand);
}

.shell-mega-root-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.shell-mega-root-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--shell-line);
  color: var(--shell-brand-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shell-mega-panel {
  padding: 30px 34px 34px;
  overflow: auto;
}

.shell-mega-panel h3 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.shell-mega-panel p {
  margin: 0 0 26px;
  color: var(--shell-text-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
}

.shell-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 26px;
}

.shell-mega-section h4 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 900;
}

.shell-mega-section h4 a {
  color: var(--shell-text);
}

.shell-mega-links {
  display: grid;
  gap: 10px;
}

.shell-mega-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--shell-text-soft);
  font-size: 14px;
  font-weight: 700;
  transition: 0.18s ease;
}

.shell-mega-links a:hover {
  background: #fff4ed;
  color: var(--shell-brand-strong);
}

.shell-mega-link-label {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.shell-mega-link-count {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.shell-mega-mobile-back {
  display: none;
}

.shell-mobile-panel {
  display: none;
}

.shell-footer {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.shell-footer-inner {
  width: min(1320px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 38px 0 26px;
}

.shell-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.shell-footer h4 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 900;
}

.shell-footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--shell-line);
  color: var(--shell-text-muted);
  font-size: 13px;
  font-weight: 700;
}

.shell-footer-list {
  display: grid;
  gap: 10px;
  color: var(--shell-text-soft);
  font-size: 14px;
  font-weight: 700;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.88) 46%, rgba(71, 85, 105, 0.76) 100%),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&q=80&w=1600") center / cover;
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.22);
  margin-bottom: 28px;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto auto -140px -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.22);
  filter: blur(18px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: center;
  padding: 52px;
}

.hero-content h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.hero-content p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.8;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-highlight {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  padding: 24px;
  color: #fff;
}

.hero-highlight-grid {
  display: grid;
  gap: 12px;
}

.hero-highlight-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-highlight-card strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.hero-highlight-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

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

.home-categories-shell {
  padding: 22px;
}

.home-root-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.home-root-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--shell-line);
  color: var(--shell-text-soft);
  font-size: 13px;
  font-weight: 800;
  transition: 0.18s ease;
}

.home-root-chip strong {
  color: var(--shell-text-muted);
  font-size: 12px;
  font-weight: 900;
}

.home-root-chip:hover,
.home-root-chip.active {
  background: #fff4ed;
  border-color: rgba(249, 115, 22, 0.24);
  color: var(--shell-brand-strong);
}

.home-section-card {
  min-height: 240px;
}

.home-section-links {
  display: grid;
  gap: 9px;
  width: 100%;
}

.home-section-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--shell-text-soft);
  font-size: 13px;
  font-weight: 700;
  transition: 0.18s ease;
}

.home-section-links a:hover {
  background: #fff4ed;
  color: var(--shell-brand-strong);
}

.home-section-links span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
}

.home-category-card,
.product-tile,
.info-card,
.contact-card,
.contact-form-card,
.detail-shell,
.cart-layout,
.auth-shell {
  background: var(--shell-card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: var(--shell-shadow-soft);
}

.home-category-card {
  padding: 24px;
  min-height: 184px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  transition: 0.22s ease;
}

.home-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: var(--shell-shadow);
}

.home-category-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--shell-brand-soft);
  color: var(--shell-brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-category-card strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-category-card span {
  color: var(--shell-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.product-tile {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: 0.22s ease;
  min-height: 100%;
  content-visibility: auto;
  contain-intrinsic-size: 320px 420px;
}

.product-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.24);
  box-shadow: var(--shell-shadow);
}

.product-tile-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  min-height: 220px;
  overflow: hidden;
  border: 1px solid #edf2f7;
  padding: 18px;
}

.product-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.24s ease;
}

.product-tile:hover .product-tile-media img {
  transform: scale(1.04);
}

.product-tile-brand {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-tile-title {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.product-tile-meta {
  color: var(--shell-text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.product-tile-price {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.product-tile-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.product-tile-cart {
  width: 100%;
}

.page-hero {
  padding: 26px 28px;
  margin-bottom: 18px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.page-hero p {
  margin: 12px 0 0;
  color: var(--shell-text-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 780px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--shell-text-soft);
  font-size: 14px;
  font-weight: 800;
}

.back-link:hover {
  color: var(--shell-brand-strong);
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1fr);
  gap: 28px;
  padding: 28px;
}

.detail-gallery-shell,
.detail-info-shell {
  border-radius: 24px;
  background: #fff;
}

.detail-gallery-shell {
  border: 1px solid #edf2f7;
  padding: 22px;
}

.detail-info-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.detail-title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-description {
  color: var(--shell-text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.detail-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.detail-price {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.detail-actions {
  display: grid;
  gap: 14px;
}

.detail-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--shell-brand) 0%, var(--shell-brand-strong) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 18px 32px rgba(249, 115, 22, 0.24);
}

.detail-add-button input {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  width: 100%;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.detail-gallery .thumb-image {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.detail-gallery .thumb-image img {
  width: 100%;
  height: 100%;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}

.detail-properties {
  display: grid;
  gap: 12px;
}

.detail-properties h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.detail-properties details {
  border: 1px solid #edf2f7;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.detail-properties summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 900;
}

.detail-properties summary::-webkit-details-marker {
  display: none;
}

.detail-properties table {
  width: 100%;
  border-collapse: collapse;
}

.detail-properties td {
  padding: 13px 18px;
  border-top: 1px solid #edf2f7;
  font-size: 14px;
  line-height: 1.55;
}

.detail-properties td:first-child {
  width: 46%;
  color: var(--shell-text-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
}

.contact-form-card,
.contact-card {
  padding: 26px;
}

.contact-card-grid {
  display: grid;
  gap: 14px;
}

.contact-form-grid {
  display: grid;
  gap: 16px;
}

.contact-form-label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--shell-text-soft);
}

.info-card {
  padding: 18px 20px;
}

.info-card strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.info-card span {
  display: block;
  margin-top: 8px;
  color: var(--shell-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 24px;
}

.cart-summary-card {
  padding: 24px;
  position: sticky;
  top: 108px;
}

.cart-summary-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.cart-summary-card p {
  margin: 0 0 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--shell-text-soft);
  font-size: 14px;
  font-weight: 700;
}

.cart-summary-card p strong,
.cart-summary-card p span {
  color: var(--shell-text);
}

.cart-summary-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.cart-empty-state {
  padding: 38px 32px;
  text-align: center;
  border: 1px dashed var(--shell-line-strong);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 24px;
}

.cart-empty-state h4 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.cart-empty-state p {
  margin: 0;
  color: var(--shell-text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.cart-list-wrap {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.cart-list-wrap .cart-items-list {
  overflow-x: auto;
}

.cart-list-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.cart-list-wrap th {
  padding: 16px 18px;
  background: #f8fafc;
  color: var(--shell-text-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--shell-line);
}

.cart-list-wrap td {
  padding: 18px;
  border-bottom: 1px solid #edf2f7;
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
}

.cart-list-wrap tr:last-child td {
  border-bottom: 0;
}

.cart-list-wrap .item-image img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid #edf2f7;
  background: #fff;
  padding: 10px;
}

.cart-list-wrap .item-name {
  min-width: 240px;
  font-size: 15px;
  line-height: 1.55;
}

.cart-list-wrap .item-price,
.cart-list-wrap .item-total {
  font-size: 15px;
  font-weight: 900;
}

.cart-list-wrap .item-quantity input {
  width: 72px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--shell-line);
  text-align: center;
}

.cart-list-wrap .item-decrement button,
.cart-list-wrap .item-increment button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--shell-line);
  color: var(--shell-text);
  font: inherit;
  cursor: pointer;
}

.cart-list-wrap .item-remove button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--shell-danger);
  font-size: 13px;
  font-weight: 900;
  font: inherit;
  cursor: pointer;
}

.b2b-tools-section {
  margin-top: 24px;
}

.b2b-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.b2b-tool-card {
  padding: 24px;
}

.b2b-tool-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.b2b-tool-copy {
  margin: 0 0 18px;
  color: var(--shell-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.b2b-tool-form {
  display: grid;
  gap: 16px;
}

.b2b-tool-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.b2b-tool-label {
  display: grid;
  gap: 8px;
  color: var(--shell-text-soft);
  font-size: 13px;
  font-weight: 800;
}

.b2b-tool-label input,
.b2b-tool-label textarea {
  width: 100%;
  border: 1px solid var(--shell-line);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  color: var(--shell-text);
}

.b2b-tool-label input[type="file"] {
  padding: 12px;
  cursor: pointer;
}

.b2b-tool-label textarea {
  resize: vertical;
  min-height: 112px;
}

.b2b-tool-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.b2b-tool-status.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.b2b-tool-status.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.b2b-tool-status.is-info {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.b2b-order-summary {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.b2b-order-summary strong {
  color: #0f172a;
}

.b2b-order-summary.is-empty {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: var(--shell-text-soft);
}

.b2b-import-result {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

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

.b2b-import-summary-card {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.b2b-import-summary-card strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.b2b-import-summary-card span {
  display: block;
  margin-top: 8px;
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.b2b-import-block {
  display: grid;
  gap: 10px;
}

.b2b-import-block h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.b2b-import-list {
  display: grid;
  gap: 10px;
}

.b2b-import-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.b2b-import-item.is-muted {
  background: #f8fafc;
}

.b2b-import-item-main strong,
.b2b-import-item-meta span {
  display: block;
}

.b2b-import-item-main strong {
  font-size: 14px;
  line-height: 1.5;
}

.b2b-import-item-main span,
.b2b-import-item-meta span {
  margin-top: 4px;
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.b2b-import-candidates {
  margin-top: 8px;
  color: var(--shell-text);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

.b2b-import-item-meta {
  text-align: right;
}

.b2b-import-note {
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.admin-spec-card {
  padding: 24px;
}

.admin-spec-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.admin-spec-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.admin-spec-item {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.admin-spec-item-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.admin-spec-item-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.admin-spec-item-head p {
  margin: 6px 0 0;
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 700;
}

.admin-spec-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-spec-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.admin-spec-meta strong,
.admin-spec-meta span {
  display: block;
}

.admin-spec-meta strong {
  font-size: 12px;
  font-weight: 900;
  color: var(--shell-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-spec-meta span {
  margin-top: 6px;
  color: var(--shell-text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.admin-spec-comment {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  color: var(--shell-text-soft);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
}

.admin-spec-actions {
  margin-top: 16px;
}

.admin-order-summary {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-order-summary-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.admin-order-summary-card strong,
.admin-order-summary-card span {
  display: block;
}

.admin-order-summary-card strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.admin-order-summary-card span {
  margin-top: 7px;
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-order-lines {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.admin-order-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.admin-order-line-main strong,
.admin-order-line-main span,
.admin-order-line-meta span {
  display: block;
}

.admin-order-line-main strong {
  font-size: 14px;
  line-height: 1.5;
}

.admin-order-line-main span,
.admin-order-line-meta span {
  margin-top: 4px;
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.admin-order-line-meta {
  text-align: right;
}

.admin-order-note {
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.admin-spec-empty {
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed var(--shell-line-strong);
  text-align: center;
  color: var(--shell-text-soft);
  font-size: 14px;
  font-weight: 700;
}

.admin-token-card,
.admin-section-card,
.admin-product-form-card,
.admin-product-list-card {
  padding: 24px;
}

.admin-token-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.admin-section-card {
  margin-top: 18px;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.admin-section-head h2 {
  margin: 6px 0 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.admin-section-head p {
  margin: 10px 0 0;
  color: var(--shell-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  min-width: 120px;
}

.admin-stat-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  text-align: right;
}

.admin-stat-card strong,
.admin-stat-card span {
  display: block;
}

.admin-stat-card strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.admin-stat-card span {
  margin-top: 8px;
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-products-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.admin-product-form {
  margin-top: 18px;
}

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

.admin-form-span-2 {
  grid-column: span 2;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-product-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.admin-product-item {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.admin-product-item-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.admin-product-item-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.admin-product-item-head p {
  margin: 6px 0 0;
  color: var(--shell-text-soft);
  font-size: 12px;
  font-weight: 700;
}

.admin-product-price {
  white-space: nowrap;
  color: var(--shell-brand-strong);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

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

.admin-product-meta strong,
.admin-product-meta span {
  display: block;
}

.admin-product-meta strong {
  color: var(--shell-text-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-product-meta span {
  margin-top: 6px;
  color: var(--shell-text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.admin-product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-product-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff3ea;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.admin-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.admin-product-empty {
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed var(--shell-line-strong);
  text-align: center;
  color: var(--shell-text-soft);
  font-size: 14px;
  font-weight: 700;
}

.auth-shell {
  padding: 28px;
}

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

.auth-card {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  border: 1px solid #edf2f7;
}

.auth-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.auth-card p {
  margin: 0 0 18px;
  color: var(--shell-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.auth-form-grid {
  display: grid;
  gap: 14px;
}

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

.auth-form-row span {
  color: var(--shell-text-soft);
  font-size: 13px;
  font-weight: 800;
}

.catalog-status,
.catalog-facet-card,
.catalog-panel,
.catalog-active-filters {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.catalog-footer {
  background: transparent;
  border-top: 0;
  padding-bottom: 8px;
}

.catalog-btn.cart {
  box-shadow: 0 14px 24px rgba(249, 115, 22, 0.22);
}

.catalog-card {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  content-visibility: auto;
  contain-intrinsic-size: 320px 260px;
}

.catalog-card:hover {
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  transform: translate(-50%, 18px);
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.2);
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

  .hero-inner,
  .contact-layout,
  .cart-layout,
  .b2b-tools-grid,
  .detail-shell {
    grid-template-columns: 1fr;
  }

  .shell-mega-inner {
    grid-template-columns: 280px minmax(0, 1fr);
  }

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

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

@media (max-width: 960px) {
  .shell-header-inner {
    min-height: 74px;
  }

  .shell-desktop-nav {
    display: none;
  }

  .shell-mobile-toggle,
  .shell-mobile-panel {
    display: inline-flex;
  }

  .shell-mobile-panel {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    z-index: 56;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
    padding: 18px;
    flex-direction: column;
    gap: 14px;
  }

  .shell-mobile-panel.is-open {
    display: flex;
  }

  .shell-mobile-panel a,
  .shell-mobile-panel button {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--shell-text);
    text-align: left;
    font-size: 15px;
    font-weight: 800;
  }

  .shell-mobile-panel .shell-mobile-primary {
    background: linear-gradient(135deg, var(--shell-brand) 0%, var(--shell-brand-strong) 100%);
    color: #fff;
  }

  .shell-search-form {
    max-width: none;
  }

  .shell-header-actions {
    gap: 10px;
  }

  .shell-cart-meta span {
    display: none;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .shell-header-inner,
  .shell-footer-inner {
    width: calc(100vw - 20px);
  }

  .page-shell {
    padding: 22px 0 36px;
  }

  .shell-header-inner {
    min-height: auto;
    padding: 10px 0 12px;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
  }

  .shell-mobile-toggle {
    order: 1;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 16px;
    flex: 0 0 auto;
  }

  .shell-brand {
    order: 2;
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
  }

  .shell-brand-name {
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shell-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 22px;
  }

  .shell-header-actions {
    order: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "search search"
      "catalog cart";
    gap: 8px;
    min-width: 0;
    width: 100%;
    flex: 1 0 100%;
    justify-content: stretch;
  }

  .shell-catalog-toggle {
    grid-area: catalog;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 13px;
    justify-content: center;
    width: fit-content;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
  }

  .shell-search-form {
    grid-area: search;
    min-width: 0;
    max-width: none;
  }

  .shell-search-form input {
    min-height: 46px;
    padding: 13px 48px 13px 42px;
    border-radius: 16px;
    font-size: 13px;
  }

  .shell-search-submit {
    top: 6px;
    bottom: 6px;
    right: 6px;
    min-width: 34px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 12px;
  }

  .shell-cart-link {
    grid-area: cart;
    justify-self: end;
    align-self: stretch;
    min-height: 48px;
    gap: 8px;
    padding: 0 14px;
    border-radius: 16px;
  }

  .shell-cart-link .simpleCart_total {
    font-size: 13px;
  }

  .shell-cart-link .simpleCart_quantity {
    min-width: 22px;
    height: 22px;
    font-size: 11px;
    padding: 0 6px;
  }

  .shell-menu-backdrop {
    inset: var(--shell-header-offset, 84px) 0 0;
  }

  .shell-mega {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--shell-header-offset, 84px);
    bottom: 0;
    padding: 10px 10px 10px;
  }

  .shell-mega-inner {
    width: 100%;
    max-height: calc(100vh - var(--shell-header-offset, 84px) - 20px);
    min-height: 0;
    border-radius: 24px;
    grid-template-columns: 1fr;
  }

  .shell-mega.is-mobile-roots #shell-mega-content {
    display: none;
  }

  .shell-mega.is-mobile-panel #shell-mega-sidebar {
    display: none;
  }

  .shell-mega-sidebar {
    max-height: 42%;
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--shell-line);
  }

  .shell-mega.is-mobile-roots .shell-mega-sidebar {
    max-height: calc(100vh - var(--shell-header-offset, 84px) - 12px);
    border-bottom: 0;
  }

  .shell-mega-root {
    padding: 12px 14px;
    font-size: 14px;
  }

  .shell-mega-root-main {
    gap: 12px;
  }

  .shell-mega-root-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 11px;
  }

  .shell-mega-panel {
    padding: 18px 16px 22px;
  }

  .shell-mega-mobile-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 14px;
    background: #fff;
    color: var(--shell-brand-strong);
    font-size: 13px;
    font-weight: 800;
    font-family: inherit;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
  }

  .shell-mega-panel h3 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .shell-mega-panel p {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.55;
    max-width: none;
  }

  .shell-mega-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .shell-mega-section h4 {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .shell-mega-links {
    gap: 8px;
  }

  .shell-mega-links a {
    padding: 8px 10px;
    gap: 10px;
    border-radius: 12px;
    font-size: 13px;
  }

  .shell-mega-link-label {
    font-size: 13px;
  }

  .shell-mega-link-count {
    font-size: 11px;
  }

  .hero-inner,
  .contact-form-card,
  .contact-card,
  .detail-shell,
  .auth-shell,
  .cart-layout,
  .b2b-tool-card,
  .page-hero,
  .cart-summary-card {
    padding: 20px;
  }

  .home-grid,
  .home-product-grid,
  .shell-footer-grid,
  .auth-grid,
  .b2b-tool-form-grid,
  .b2b-import-summary,
  .admin-order-summary,
  .admin-spec-meta,
  .admin-product-meta,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-spec-toolbar,
  .admin-token-grid,
  .admin-products-grid,
  .b2b-import-item,
  .admin-order-line {
    grid-template-columns: 1fr;
  }

  .b2b-import-item-meta,
  .admin-order-line-meta {
    text-align: left;
  }

  .admin-form-span-2 {
    grid-column: auto;
  }

  .admin-section-head,
  .admin-product-item-head {
    flex-direction: column;
  }

  .admin-stat-card {
    text-align: left;
  }

  .product-tile {
    padding: 14px;
    gap: 12px;
    contain-intrinsic-size: 300px 360px;
  }

  .product-tile-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    padding: 14px;
    border-radius: 18px;
  }

  .product-tile-title {
    font-size: 15px;
    line-height: 1.45;
  }

  .product-tile-meta {
    font-size: 12px;
    line-height: 1.5;
  }

  .product-tile-price {
    font-size: 24px;
  }

  .product-tile-actions {
    gap: 8px;
  }

  .detail-price {
    font-size: 36px;
  }

  .shell-footer-copy {
    margin-top: 20px;
  }

  .cart-toast {
    left: 12px;
    right: 12px;
    bottom: 14px;
    transform: translate(0, 18px);
    text-align: center;
    border-radius: 18px;
  }

  .cart-toast.is-visible {
    transform: translate(0, 0);
  }
}

@media (max-width: 560px) {
  .shell-header-inner {
    padding: 8px 0 10px;
    gap: 8px;
  }

  .shell-mobile-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .shell-brand-name {
    font-size: 19px;
  }

  .shell-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 20px;
  }

  .shell-header-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .shell-catalog-toggle {
    min-height: 44px;
    min-width: 0;
    padding: 0 14px;
    font-size: 12px;
  }

  .shell-search-form input {
    min-height: 44px;
    padding-right: 40px;
    padding-left: 38px;
    font-size: 12px;
  }

  .shell-search-icon {
    left: 13px;
  }

  .shell-search-submit {
    width: 30px;
    padding: 0;
    font-size: 0;
  }

  .shell-search-submit::before {
    content: "→";
    font-size: 13px;
    font-weight: 900;
  }

  .shell-cart-link {
    min-height: 44px;
    padding: 0 12px;
  }

  .shell-cart-meta {
    display: none;
  }

  .shell-cart-link .simpleCart_total {
    font-size: 12px;
  }

  .shell-menu-backdrop {
    inset: var(--shell-header-offset, 84px) 0 0;
  }

  .shell-mega {
    left: 0;
    right: 0;
    top: var(--shell-header-offset, 84px);
    bottom: 0;
    padding: 6px;
  }

  .shell-mega-inner {
    max-height: calc(100vh - var(--shell-header-offset, 84px) - 12px);
    border-radius: 20px;
  }

  .shell-mega-sidebar {
    max-height: 40%;
  }

  .shell-mega-root {
    padding: 11px 12px;
    font-size: 13px;
  }

  .shell-mega-panel {
    padding: 14px 12px 18px;
  }

  .shell-mega-mobile-back {
    margin-bottom: 10px;
    padding: 9px 11px;
    border-radius: 12px;
    font-size: 12px;
  }

  .shell-mega-panel h3 {
    font-size: 18px;
  }

  .shell-mega-panel p {
    font-size: 12px;
  }

  .product-tile {
    padding: 12px;
  }

  .product-tile-media {
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  .product-tile-price {
    font-size: 22px;
  }
}
