.catalog-shell {
  --rail-width: 310px;
  --catalog-line: #173747;
  --catalog-panel: #0a1b29;
  --catalog-muted: #a6bfce;
  --catalog-accent: #83e3dc;
  color-scheme: dark;
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  background:
    radial-gradient(ellipse at 74% -12%, #1a5261, transparent 37rem),
    radial-gradient(ellipse at 26% 72%, #092536, transparent 46rem),
    linear-gradient(160deg, #0a2435, #05101d 32rem, #030a12);
}
.catalog-shell[data-nav-compact="true"] { --rail-width: 64px; }
.catalog-backdrop {
  position: fixed;
  background:
    radial-gradient(circle, #96e5e44d 1px, transparent 2px) 37px 24px / 171px 153px,
    radial-gradient(circle, #84c3e22e 1px, transparent 2px) 13px 62px / 119px 123px;
}
.catalog-backdrop .monolith {
  left: 54%;
  width: clamp(512px, 108vw, 1536px);
  height: 87%;
  opacity: .88;
}
.catalog-backdrop .deep-floor {
  height: clamp(144px, 23vh, 256px);
  opacity: 1;
}
.catalog-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid #214151;
  background: #07141ef5;
}
.catalog-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 8px;
  width: var(--rail-width);
  min-height: 64px;
  padding: 0 16px;
  border-right: 1px solid #214151;
}
.catalog-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #e4f2f8;
  font: 0.75rem/1.5 "Ocean Pixel", monospace;
}
.catalog-brand span { overflow-wrap: anywhere; }
.catalog-brand .shop-logo { width: 34px; height: 34px; flex: none; }
.catalog-header-actions,
.catalog-header-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
}
.catalog-header-mobile { display: none; }
.catalog-header-icon,
.catalog-header .pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--catalog-line);
  border-radius: 999px;
  background: var(--catalog-panel);
  color: #d2e4ec;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}
.catalog-header-icon {
  width: 34px;
  padding: 0;
}
.catalog-shell [hidden] { display: none !important; }
.catalog-header-icon:hover,
.catalog-header button:focus-visible,
.catalog-header .pill:hover { border-color: #6bdad2; }
.catalog-header svg,
.catalog-nav svg,
.catalog-menu svg { flex: none; width: 16px; height: 16px; }
.catalog-header .catalog-sign-in {
  padding-inline: 17px;
  border-color: var(--catalog-accent);
  color: #04282b;
  background: var(--catalog-accent);
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.catalog-header .catalog-telegram {
  gap: 5px;
  border-color: #c6dce7;
  background: transparent;
}
.catalog-language {
  position: relative;
  --control-ink: #e4f2f8;
  --control-fill: #0b2030;
  --control-border: #2a4b5d;
  --control-selection: #214454;
}
.catalog-language summary {
  cursor: pointer;
  gap: 6px;
  list-style: none;
}
.catalog-language summary::-webkit-details-marker { display: none; }
.catalog-language[open] summary { border-color: var(--catalog-accent); }
.catalog-language .language-chevron { width: 12px; height: 12px; }
.catalog-language .language-options { min-width: 156px; }
.catalog-layout {
  display: grid;
  flex: 1;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
}
.catalog-sidebar {
  border-inline-end: 1px solid #214151;
  background: #06131fdb;
}
.catalog-sidebar-inner {
  position: sticky;
  top: 65px;
  max-height: calc(100svh - 65px);
  overflow-y: auto;
  padding: 12px;
  scrollbar-width: thin;
  scrollbar-color: #345866 transparent;
}
.catalog-search {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--catalog-line);
  border-radius: 12px;
  background: var(--catalog-panel);
}
.catalog-search:focus-within { border-color: var(--catalog-accent); }
.catalog-search button {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 36px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--catalog-muted);
}
.catalog-search svg { width: 16px; height: 16px; }
.catalog-search input {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  padding: 0 9px 0 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e4f2f8;
  font-size: .875rem;
}
.catalog-search input::placeholder { color: var(--catalog-muted); }
.catalog-search input:focus-visible { outline: none; }
.catalog-shortcut { flex: none; margin-right: 8px; color: #a6bfce; }
.catalog-shortcut kbd {
  padding: 3px 4px;
  border-radius: 5px;
  background: #1a3646;
  font-size: .65rem;
  line-height: 1.2;
}
.catalog-nav-group { display: grid; gap: 4px; margin-top: 20px; }
.catalog-nav-group p {
  padding: 0 8px 3px;
  color: #a6bfce;
  font-size: .6875rem;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.catalog-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 6px 9px;
  border-radius: 8px;
  color: #bdd2de;
  font-size: .78rem;
  font-weight: 650;
}
.catalog-nav a span { min-width: 0; overflow-wrap: anywhere; }
.catalog-nav a svg { color: #9ce3df; }
.catalog-nav a .catalog-nav-arrow { width: 12px; margin-left: auto; }
.catalog-nav a[aria-current="page"],
.catalog-nav a:hover { color: #e4f2f8; background: #173745; }
.catalog-shell[data-nav-compact="true"] .catalog-rail-head,
.catalog-shell[data-nav-compact="true"] .catalog-sidebar .catalog-nav a { justify-content: center; }
.catalog-shell[data-nav-compact="true"] .catalog-rail-head .catalog-brand,
.catalog-shell[data-nav-compact="true"] .catalog-sidebar :is(.catalog-rail-search, .catalog-nav-group p, .catalog-nav-arrow) { display: none; }
.catalog-shell[data-nav-compact="true"] .catalog-sidebar .catalog-nav span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.catalog-shell[data-nav-compact="true"] .catalog-sidebar .catalog-nav-group { margin-top: 8px; }
.catalog-main {
  min-width: 0;
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 24px 36px 32px;
}
.catalog-shell .catalog-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 32px;
  isolation: isolate;
  overflow: hidden;
}
.catalog-shell .catalog-hero > * { min-width: 0; }
.catalog-shell .catalog-hero h1 {
  margin-top: 10px;
  color: white;
  font-size: clamp(1rem, 2vw, 1.5rem);
  overflow-wrap: anywhere;
}
.catalog-shell .catalog-hero p {
  max-width: 440px;
  color: #bdd2de;
  font-size: .875rem;
  line-height: 1.65;
}
.catalog-shell .crumb svg { width: 12px; height: 12px; }
.catalog-shell .crumb { font-weight: 650; }
.catalog-shell .dive { min-height: 144px; }
.catalog-terrain {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.catalog-shell .submarine { left: 28%; width: 56%; bottom: 11%; }
.catalog-shell .jelly { top: 0; left: 0; width: 22%; height: auto; }
.catalog-shell .snailfish { left: 7%; bottom: 8%; }
.catalog-shell .tripod { width: 17%; bottom: 7%; }
.catalog-shell .dumbo { width: 14%; right: 5%; top: 4%; }
.catalog-shell .abyss-fish {
  width: clamp(82px, 7vw, 118px);
  top: 34vh;
  right: 8px;
  scale: -1 1;
  opacity: .82;
}
.catalog-shell .catalog-controls {
  gap: 12px;
  margin: 24px 0;
  padding: 12px;
  border-color: var(--catalog-line);
  background: #040d1799;
}
.catalog-shell .find { gap: 0; width: min(100%, 240px); }
.catalog-shell .view-switch {
  border-color: var(--catalog-line);
  padding: 4px;
  background: var(--catalog-panel);
  border-radius: 12px;
}
.catalog-shell .view-switch a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding-inline: 10px;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 700;
}
.catalog-shell .view-switch a[aria-current="true"] { color: #081522; background: white; }
.catalog-shell .view-switch svg { width: 14px; height: 14px; }
.catalog-shell .result-count { color: #a6bfce; font-weight: 600; }
.catalog-shell .filters select {
  height: 36px;
  min-width: 115px;
  max-width: 170px;
  padding-inline: 10px;
  border-color: var(--catalog-line);
  border-radius: 12px;
  background: var(--catalog-panel);
  font-size: .75rem;
  font-weight: 700;
}
.catalog-shell .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.catalog-shell .catalog-grid.list-view { grid-template-columns: 1fr; gap: 10px; }
.catalog-shell .card-art { min-height: 144px; padding-top: 14px; }
.catalog-shell .auto-badge,
.catalog-shell .card-art .stock-pill { top: 15px; }
.catalog-shell .auto-badge { left: 13px; }
.catalog-shell .card-art .stock-pill { right: 13px; }
.catalog-artwork,
.catalog-list-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
}
.catalog-artwork,
.catalog-artwork .product-icon { width: 64px; height: 64px; }
.catalog-shell .card-content { gap: 6px; padding: 16px; }
.catalog-shell .card-content h2 { font-size: .9375rem; }
.catalog-shell .price-label { font-size: .6rem; font-weight: 800; }
.catalog-shell .detail-button { border-color: var(--catalog-accent); background: var(--catalog-accent); }
.catalog-shell .catalog-grid.list-view .catalog-card {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 16px;
  border-radius: 16px;
}
.catalog-list-info {
  display: flex;
  flex: 1 1 280px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.catalog-list-info > div { min-width: 0; }
.catalog-list-art,
.catalog-list-art .product-icon { width: 44px; height: 44px; }
.catalog-list-art { flex: none; border-radius: 12px; }
.catalog-list-info h2 { font-size: .875rem; overflow-wrap: anywhere; }
.catalog-list-info .category { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-list-info .stock-pill {
  position: static;
  display: inline-block;
  margin-top: 4px;
}
.catalog-list-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  font-family: ui-monospace, monospace;
}
.catalog-list-actions .detail-button { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.catalog-shell .empty-state {
  min-height: 158px;
  gap: 4px;
  padding: 34px 20px;
  border-color: var(--catalog-line);
  border-radius: 24px;
  color: #f8fafc;
  background: var(--catalog-panel);
}
.catalog-shell .empty-state p { color: #9ab1c1; font-size: .8125rem; }
.catalog-shell .empty-state a { margin-top: 6px; font-size: .8125rem; }
.catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 24px;
  border-top: 1px solid #214151;
  background: #041018eb;
  color: #a6bfce;
  font-size: .78rem;
}
.catalog-footer-brand,
.catalog-footer nav { display: flex; align-items: center; gap: 8px; }
.catalog-footer-brand strong { color: white; }
.catalog-footer .shop-logo { flex: none; width: 18px; height: 18px; }
.catalog-footer nav { gap: 20px; flex-wrap: wrap; }
.catalog-footer a:hover { color: white; }
.catalog-menu {
  position: fixed;
  inset-block: 0;
  inset-inline: 0 auto;
  width: min(316px, calc(100% - 36px));
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  border-inline-end: 1px solid #214151;
  color: #e4f2f8;
  background: #071824;
}
.catalog-menu::backdrop { background: #030a12af; }
.catalog-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.catalog-shell:has(.catalog-menu[open]) { overflow: hidden; }

@media (min-width: 1280px) and (max-width: 1599px) {
  .catalog-main { padding-right: 102px; }
}
@media (min-width: 1536px) {
  .catalog-shell .catalog-hero h1 { font-size: 1.75rem; }
}
@media (max-width: 1279px) {
  .catalog-shell .catalog-grid:not(.list-view) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .catalog-rail-head, .catalog-sidebar { display: none; }
  .catalog-header-mobile { display: flex; }
  .catalog-header-mobile .catalog-header-icon { border-color: transparent; background: transparent; }
  .catalog-header { min-height: 57px; }
  .catalog-header-actions, .catalog-header-mobile { padding-inline: 10px; gap: 5px; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .catalog-main { padding: 61px 16px 24px; }
  .catalog-shell .catalog-grid:not(.list-view) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-shell .abyss-fish {
    top: 72px;
    left: 16px;
    right: auto;
    scale: none;
    animation: none;
  }
}
@media (max-width: 767px) {
  .catalog-shell .catalog-hero { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 20px 20px 12px; }
  .catalog-shell .catalog-hero h1 { font-size: clamp(.96rem, 5vw, 1.22rem); }
  .catalog-shell .dive { max-width: none; }
  .catalog-shell .find { width: 100%; }
  .catalog-shell .find input { font-size: .875rem; }
  .catalog-shell .filters { margin-left: 0; width: 100%; }
  .catalog-shell .filters select { flex: 1; min-width: 0; max-width: none; }
  .catalog-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 639px) {
  .catalog-language .language-name, .catalog-header #sound-switch, .catalog-header .catalog-telegram span { display: none; }
  .catalog-shell .catalog-grid:not(.list-view) { grid-template-columns: 1fr; }
  .catalog-shell .card-art { min-height: 144px; }
  .catalog-shell .empty-state { min-height: 172px; }
  .catalog-backdrop .monolith { left: 50%; height: 74%; }
}
@media (max-width: 380px) {
  .catalog-header-actions, .catalog-header-mobile { padding-inline: 6px; gap: 4px; }
  .catalog-header .catalog-sign-in { padding-inline: 9px; }
}
@media (pointer: coarse) {
  .catalog-shell .catalog-search input { font-size: 16px; }
}
.promo-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid #1e4254;
  background: #071624;
  box-shadow: 0 14px 36px #020c1880;
  touch-action: pan-y;
}
.promo-slider[hidden] { display: none; }
.promo-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
.promo-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  aspect-ratio: 21 / 7;
  overflow: hidden;
  background: #071624;
}
.promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 18px 14px;
  background: linear-gradient(to top, #030e1ad9, transparent);
  color: #f0f9ff;
  pointer-events: none;
}
.promo-caption strong {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 700;
  text-shadow: 0 2px 8px #00000080;
}
.promo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ffffff2e;
  background: #061829b8;
  backdrop-filter: blur(8px);
  color: #e6f7ff;
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 140ms ease, background-color 140ms ease, transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}
.promo-prev { left: 12px; }
.promo-next { right: 12px; }
.promo-nav:hover {
  opacity: 1;
  background: #0b2942e6;
}
.promo-nav:active {
  transform: translateY(-50%) scale(0.92);
}
.promo-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  background: #04111eb8;
  backdrop-filter: blur(6px);
}
.promo-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #9ec8dc66;
  cursor: pointer;
  transition: width 180ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease;
}
.promo-dot.is-active {
  width: 20px;
  background: #38bdf8;
}
@media (max-width: 640px) {
  .promo-slide { aspect-ratio: 16 / 7; }
  .promo-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-track { transition: none; }
}
