/* Extracted from shop.html. Do not edit manually. */

:root {
      --bg: #000000;
      --surface: rgba(0, 0, 0, 0.84);
      --surface-strong: rgba(0, 0, 0, 0.92);
      --line: rgba(255, 255, 255, 0.1);
      --text: #ffffff;
      --muted: #94a3b8;
      --accent: #ff3008;
      --accent-soft: rgba(255, 48, 8, 0.14);
      --ok: #35c78a;
      --warn: #f7ba50;
    }

    * {
      box-sizing: border-box;
      font-family: 'DM Sans', sans-serif;
    }

    html,
    body {
      width: 100%;
      min-height: 100%;
      margin: 0;
      padding: 0;
      background: var(--bg);
      color: var(--text);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .page-bg {
      position: fixed;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(700px 480px at 10% -5%, rgba(255, 48, 8, 0.2), transparent 60%),
        radial-gradient(640px 420px at 100% 8%, rgba(255, 85, 51, 0.12), transparent 58%),
        linear-gradient(180deg, #000000 0%, #080808 100%);
    }

    .container {
      width: min(1120px, calc(100% - 1.5rem));
      margin-inline: auto;
    }

    .nav-glass {
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .glass-card {
      background: var(--surface);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid var(--line);
      box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .btn-primary {
      border: 1px solid rgba(255, 48, 8, 0.6);
      background: linear-gradient(135deg, #ff3008 0%, #ff5533 100%);
      color: #fff5f2;
      font-weight: 700;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      box-shadow: 0 8px 20px -6px rgba(255, 48, 8, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 12px 30px -4px rgba(255, 48, 8, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    .mobile-menu-btn {
      display: none;
    }

    .main {
      padding: 6rem 0 2rem;
    }

    .shop {
      border-radius: 1rem;
      padding: 1rem;
    }

    .shop-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.9rem;
    }

    .shop-title {
      margin: 0;
      font-size: clamp(1.45rem, 3vw, 1.95rem);
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .shop-sub {
      margin: 0.3rem 0 0;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .count {
      color: #fecaba;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .controls {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0.65rem;
      margin-bottom: 0.9rem;
    }

    .search {
      border: 1px solid var(--line);
      border-radius: 0.75rem;
      background: var(--surface-strong);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.65rem 0.8rem;
    }

    .search svg {
      width: 17px;
      height: 17px;
      color: #94a3b8;
      flex-shrink: 0;
    }

    .search input {
      width: 100%;
      border: 0;
      outline: none;
      background: transparent;
      color: #ffffff;
      font-size: 0.92rem;
      font-weight: 500;
    }

    .search input::placeholder {
      color: #94a3b8;
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      justify-content: flex-end;
    }

    .chip {
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--surface);
      color: #e2e8f0;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      padding: 0.45rem 0.7rem;
      cursor: pointer;
      transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    }

    .chip:hover {
      background: var(--surface-strong);
    }

    .chip.active {
      border-color: rgba(255, 48, 8, 0.52);
      background: var(--accent-soft);
      color: #ffd9cf;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.75rem;
    }

html.performance-lite .glass-card, html.performance-lite, html.performance-lite .nav-glass, .glass-card {
        background: #000000 !important;
        background-color: #000000 !important;
    }

    .item {
      border-radius: 0.95rem;
      padding: 0.9rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      min-height: 235px;
      transition: transform 0.2s ease, border-color 0.2s ease;
      animation: fade-up 0.35s ease forwards;
      opacity: 0;
      transform: translateY(7px);
    }

    .item:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 48, 8, 0.3);
    }

    @keyframes fade-up {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .item-top {
      display: flex;
      justify-content: space-between;
      gap: 0.5rem;
      align-items: flex-start;
    }

    .item-brand {
      display: flex;
      gap: 0.6rem;
      min-width: 0;
    }

    .icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      background: #000000;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      padding: 6px;
    }

    .icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .icon i {
      color: #e50914;
      font-size: 1.3rem;
      line-height: 1;
    }

    .meta {
      margin: 0;
      color: #94a3b8;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .name {
      margin: 0.12rem 0 0;
      font-size: 1.02rem;
      font-weight: 700;
      letter-spacing: -0.01em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 170px;
    }

    .price {
      border-radius: 999px;
      border: 1px solid rgba(255, 48, 8, 0.35);
      background: rgba(255, 48, 8, 0.14);
      color: #ffd4c7;
      font-size: 0.84rem;
      font-weight: 700;
      padding: 0.35rem 0.55rem;
      flex-shrink: 0;
    }

    .desc {
      margin: 0;
      color: var(--muted);
      font-size: 0.89rem;
      line-height: 1.52;
    }

    .bottom {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .stock {
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      padding: 0.26rem 0.52rem;
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .stock.ok {
      background: rgba(53, 199, 138, 0.14);
      border-color: rgba(53, 199, 138, 0.44);
      color: #8ff2c2;
    }

    .stock.warn {
      background: rgba(247, 186, 80, 0.15);
      border-color: rgba(247, 186, 80, 0.4);
      color: #ffd891;
    }

    .buy {
      border-radius: 0.62rem;
      font-size: 0.8rem;
      padding: 0.5rem 0.68rem;
      white-space: nowrap;
    }

    .empty {
      display: none;
      margin-top: 0.7rem;
      text-align: center;
      color: var(--muted);
      border-radius: 0.75rem;
      padding: 1rem;
      border: 1px dashed var(--line);
      background: rgba(255, 255, 255, 0.02);
    }

    .empty.show {
      display: block;
    }

    .mini-footer {
      margin-top: 0.9rem;
      color: #94a3b8;
      font-size: 0.78rem;
      text-align: center;
    }

    @media (max-width: 960px) {
      .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .controls {
        grid-template-columns: 1fr;
      }

      .chips {
        justify-content: flex-start;
      }
    }

    @media (max-width: 640px) {
      .mobile-menu-btn {
        display: block;
      }
    }

    @media (min-width: 640px) {
      .main {
        padding-top: 8rem;
      }
    }

    @media (max-width: 700px) {
      .main {
        padding-top: 5.5rem;
      }

      .shop-head {
        flex-direction: column;
        align-items: flex-start;
      }

      .grid {
        grid-template-columns: 1fr;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      * {
        animation: none !important;
        transition: none !important;
      }
    }