/* ==========================================================================
   满格反应堆 · 科技感渐变光效主题 (Tech Gradient Glow Redesign)
   ========================================================================== */

:root {
  --bg-base: #05070e;
  --bg-elevated: rgba(15, 20, 36, 0.72);
  --bg-card: rgba(18, 24, 44, 0.65);
  --bg-card-hover: rgba(24, 32, 58, 0.85);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(99, 102, 241, 0.45);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --cyan: #38bdf8;
  --indigo: #818cf8;
  --purple: #c084fc;
  --emerald: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;

  --grad-primary: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
  --grad-text: linear-gradient(110deg, #38bdf8 0%, #818cf8 45%, #e879f9 100%);
  --shadow-glow: 0 0 32px rgba(99, 102, 241, 0.35), 0 8px 24px rgba(0, 0, 0, 0.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --container: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", "PingFang SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Ambient Tech Background & Orbs
   ========================================================================== */

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.42;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.65), transparent 70%);
  top: -160px;
  left: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6), transparent 70%);
  top: 40px;
  right: -140px;
  animation-delay: -6s;
}

.orb-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.35), transparent 70%);
  bottom: -140px;
  left: 35%;
  animation-delay: -11s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, 28px) scale(1.08); }
}

/* ==========================================================================
   Floating Glass Navbar
   ========================================================================== */

.navbar-wrap {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 20px;
  margin-top: 14px;
}

.navbar {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  background: rgba(10, 14, 28, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.brand-logo svg {
  width: 32px;
  height: 32px;
}

.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
}

.mobile-drawer {
  max-width: var(--container);
  margin: 10px auto 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(12, 16, 32, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-link {
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.drawer-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.drawer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
}

.drawer-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 0.95rem;
}

.full-width {
  width: 100%;
}

.btn-glow {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.45);
}

.btn-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.55), 0 8px 20px rgba(99, 102, 241, 0.35);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn-ghost {
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}

.btn-outline-warn {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.32);
  color: #fde68a;
}

.btn-outline-warn:hover {
  background: rgba(251, 191, 36, 0.16);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 24px 24px 16px;
}

.hero-grid {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 28px 32px;
  background: #0b1123;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 65%;
  background: url("assets/reactor.jpg") right center / auto 114% no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 84%, transparent);
}

.hero-content { max-width: min(62%, 610px); }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b5dfff;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #82e4e4;
  box-shadow: 0 0 14px #82e4e4a0;
}

.hero-title {
  font-size: clamp(2.3rem, 5.1vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.047em;
  margin-bottom: 16px;
}

.text-gradient {
  background: linear-gradient(95deg, #70cbf8, #9f9dff 57%, #c4a6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #bac8e2;
  max-width: 410px;
  margin-bottom: 22px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-ctas .btn { font-size: .9rem; min-height: 42px; padding: 9px 14px; }

.hero-panel { margin-top: 12px; }
.panel-inner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 12px 10px 16px;
  background: #10182d;
  border: 1px solid #546aa240;
  border-radius: 14px;
}

.panel-inner h2 { font-size: .95rem; white-space: nowrap; }

.quick-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.quick-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 9px;
  background: #ffffff08;
  border: 1px solid var(--border-subtle);
  text-align: left;
  transition: border-color .2s, background-color .2s;
}

.quick-tile:hover { background: #ffffff12; border-color: #818cf87a; }

.tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tile-icon.cyan { background: rgba(56, 189, 248, 0.15); color: var(--cyan); }
.tile-icon.indigo { background: rgba(129, 140, 248, 0.15); color: var(--indigo); }
.tile-icon.purple { background: rgba(192, 132, 252, 0.15); color: var(--purple); }
.tile-icon.amber { background: rgba(251, 191, 36, 0.15); color: var(--amber); }

.tile-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.tile-body strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.tile-body small {
  font-size: 0.74rem;
  color: #a5b3ca;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Catalog Section
   ========================================================================== */

.catalog-section {
  padding: 12px 24px 44px;
  scroll-margin-top: 96px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
}

.section-eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(15, 20, 36, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  min-width: 260px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.stock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(15, 20, 36, 0.85);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.stock-toggle input {
  accent-color: var(--cyan);
}

/* Category Filter Pills */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(15, 20, 36, 0.65);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.cat-pill:hover {
  color: var(--text-primary);
  border-color: rgba(148, 163, 184, 0.35);
}

.cat-pill.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(139, 92, 246, 0.25));
  border-color: rgba(129, 140, 248, 0.65);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.25);
}

.cat-count {
  font-size: 0.74rem;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.cat-pill.active .cat-count {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Product Grid & Spotlight Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  border-radius: 13px;
  background: #111a30;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(56, 189, 248, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(99, 102, 241, 0.16);
}

.product-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(52, 211, 153, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.stock-badge {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.stock-badge.plenty { background: rgba(56, 189, 248, 0.12); color: #7dd3fc; }
.stock-badge.low { background: rgba(251, 191, 36, 0.14); color: #fde68a; }
.stock-badge.out { background: rgba(251, 113, 133, 0.14); color: #fda4af; }

.card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.price-wrap {
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 1.32rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.buy-btn {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.buy-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(148, 163, 184, 0.18);
  box-shadow: none;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  color: var(--text-secondary);
}

.empty-state p {
  margin-bottom: 14px;
}

/* ==========================================================================
   Features & Partner Sections
   ========================================================================== */

.features-section {
  padding: 32px 24px 64px;
}

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

.feature-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.22s, border-color 0.22s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.45);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-icon.cyan { background: rgba(56, 189, 248, 0.14); color: var(--cyan); }
.feature-icon.purple { background: rgba(192, 132, 252, 0.14); color: var(--purple); }
.feature-icon.green { background: rgba(52, 211, 153, 0.14); color: var(--emerald); }

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.partner-section {
  padding: 12px 24px 72px;
}

.partner-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, rgba(30, 41, 82, 0.85), rgba(67, 36, 112, 0.78));
  border: 1px solid rgba(129, 140, 248, 0.4);
  box-shadow: var(--shadow-glow);
}

.partner-content {
  max-width: 600px;
}

.partner-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: 8px;
}

.partner-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 7, 14, 0.85);
  padding: 42px 24px 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand p {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-links a,
.footer-links button {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 7px;
  text-align: left;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modals & Toast
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 5, 12, 0.76);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  background: #0d1224;
  border: 1px solid rgba(129, 140, 248, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
}

.modal-body {
  padding: 20px 22px 24px;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.notice-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-tag {
  flex-shrink: 0;
  height: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(129, 140, 248, 0.2);
  color: var(--indigo);
}

.notice-tag.green {
  background: rgba(52, 211, 153, 0.18);
  color: var(--emerald);
}

.notice-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.notice-item p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.rules-list strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Breakpoints (Fix Tablet & Mobile Wrapping)
   ========================================================================== */

@media (max-width: 980px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: grid;
  }

  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panel-inner { align-items: stretch; flex-direction: column; gap: 8px; }

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

@media (max-width: 600px) {
  .hero { padding: 18px 15px 13px; }
  .hero-grid { min-height: 0; padding: 20px 17px 126px; }
  .hero-content { max-width: none; }
  .hero-art {
    inset: auto 0 0;
    width: 100%;
    height: 193px;
    background-position: center 54%;
    background-size: auto 114%;
    mask-image: linear-gradient(158deg, transparent 3%, #000 59%, #000 89%, transparent);
  }
  .hero-subtitle { max-width: 365px; margin-bottom: 15px; font-size: .94rem; }
  .hero-ctas .btn { padding-inline: 10px; min-height: 37px; font-size: .82rem; }
  .hero-ctas .btn svg { display: none; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-body small { display: none; }
  .catalog-section { padding-inline: 15px; }
  .catalog-controls { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-card { padding: 10px; }
  .card-bottom { flex-wrap: wrap; }
  .buy-btn { width: 100%; }


  .search-box {
    width: 100%;
  }

  .partner-banner {
    padding: 24px;
  }
}

[hidden] { display: none !important; }
button:focus-visible, a:focus-visible { outline: 2px solid #97b9ff; outline-offset: 3px; }
.catalog-section .section-header { margin-bottom: 13px; }
.catalog-count, .catalog-note { font-size: .81rem; color: #a8b5cd; }
.catalog-note { margin-top: 14px; }
.category-bar { margin-bottom: 14px; }
.product-identity { display: flex; align-items: center; gap: 8px; min-width: 0; }
.product-brand { color: #b9c9e7; font-size: .76rem; overflow-wrap: anywhere; }
.product-icon { width: 39px; height: 39px; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; border: 1px solid #6e8fc241; border-radius: 9px; background: #23365f; color: #bbd8ff; font-size: .9rem; font-weight: 700; }
.product-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-top { align-items: start; }
.card-top .stock-badge { white-space: nowrap; flex: none; }
.card-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-stock-row { margin: 0 0 12px; }
.price { white-space: nowrap; }
.more-products { display: block; margin: 18px auto 0; }
.modal-text-link { color: #8bd2ff; text-decoration: underline; }
body.modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .product-identity { gap: 5px; }
  .product-icon { width: 30px; height: 30px; }
  .product-brand { display: none; }
  .card-top { margin-bottom: 8px; }
  .card-title { font-size: .86rem; }
  .card-top .stock-badge { font-size: .65rem; padding-inline: 5px; }
  .price { font-size: 1.15rem; }
}

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