
    :root {

      --bg-top: #1e3c51;

      --bg-bottom: #bb6883;

      --accent-cyan: #36c4bb;

      --accent-pink: #c74b87;

      --accent-yellow: #f5a448;

      --text-main: #ffffff;

      --text-muted: #cdd4ff;

      --card-bg: #01010a;

    }



    * {

      box-sizing: border-box;

      margin: 0;

      padding: 0;

    }



    body {

      min-height: 100vh;

      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

      color: var(--text-main);

      background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);

      background-attachment: fixed;

    }



    a {

      color: inherit;

      text-decoration: none;

    }



    .page {

      max-width: 1200px;

      margin: 0 auto;

      padding: 12px 20px 40px;

    }



    /* ---------- NAVBAR ---------- */



    .navbar {

      position: sticky;

      top: 0;

      z-index: 20;

      display: flex;

      align-items: center;

      justify-content: space-between;

      padding: 8px 20px;

      margin-bottom: 16px;

      border-radius: 999px;

      background: rgba(2, 5, 30, 0.7);

      backdrop-filter: blur(18px);

    }



    .nav-left {

      display: flex;

      align-items: center;

      gap: 12px;

    }



    .logo {

      display: flex;

      align-items: center;

      gap: 10px;

    }



    .logo img {

      width: 58px;

      height: 58px;

      border-radius: 12px;

      object-fit: cover;

    }



    .logo-text {

      font-family: "Montserrat", system-ui, sans-serif;

      font-weight: 800;

      font-size: 18px;

      letter-spacing: 0.06em;

    }



    .logo-text span {

      color: var(--accent-pink);

    }



    .nav-links {

      display: flex;

      gap: 22px;

      margin-left: 40px;

      font-size: 14px;

      text-transform: uppercase;

      letter-spacing: 0.1em;

    }



    .nav-links a {

      display: flex; flex-direction: column; height: 100%; position: relative;

      color: var(--text-muted);

      transition: color 0.2s ease;

    }



    .nav-links a::after {

      content: "";

      position: absolute;

      left: 0;

      bottom: -4px;

      width: 0;

      height: 2px;

      border-radius: 999px;

      background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));

      transition: width 0.2s ease;

    }



    .nav-links a:hover {

      color: var(--accent-cyan);

    }



    .nav-links a:hover::after {

      width: 100%;

    }



    /* ---------- HERO ---------- */



    .hero {

      margin-top: 20px;

      padding: 28px 32px 36px;

      border-radius: 24px;

      background:

        radial-gradient(circle at top center, rgba(245, 164, 72, 0.25), transparent 60%),

        radial-gradient(circle at bottom center, rgba(199, 75, 135, 0.4), transparent 65%),

        linear-gradient(180deg, rgba(5, 14, 40, 0.9), rgba(3, 3, 25, 0.95));

      box-shadow:

        0 0 40px rgba(3, 3, 20, 0.9),

        0 0 80px rgba(54, 196, 187, 0.2);

      display: flex; flex-direction: column; height: 100%; position: relative;

      overflow: hidden;

    }



    .hero-inner {

      display: grid;

      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);

      gap: 32px;

      align-items: center;

    }



    .hero-copy h1 {

      font-family: "Montserrat", system-ui, sans-serif;

      font-size: 36px;

      line-height: 1.1;

      margin-bottom: 14px;

    }



    .hero-copy h1 span {

      color: var(--accent-cyan);

    }



    .hero-copy p {

      color: var(--text-muted);

      max-width: 420px;

      font-size: 14px;

      margin-bottom: 20px;

    }



    .hero-buttons {

      display: flex;

      flex-wrap: wrap;

      gap: 12px;

      margin-bottom: 18px;

    }



    .btn {

      display: inline-flex;

      align-items: center;

      justify-content: center;

      padding: 12px 26px;

      border-radius: 999px;

      font-weight: 600;

      font-size: 14px;

      letter-spacing: 0.08em;

      text-transform: uppercase;

      border: none;

      outline: none;

      cursor: pointer;

      transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;

      white-space: nowrap;

    }



    .btn-primary {

      background: var(--accent-cyan);

      color: #01010a;

      box-shadow:

        0 0 16px rgba(54, 196, 187, 0.9),

        0 0 40px rgba(54, 196, 187, 0.6);

    }



    .btn-primary:hover {

      transform: translateY(-1px);

      box-shadow:

        0 0 24px rgba(54, 196, 187, 1),

        0 0 50px rgba(54, 196, 187, 0.9);

    }



    .btn-secondary {

      background: transparent;

      color: var(--accent-pink);

      border: 1px solid var(--accent-pink);

      box-shadow: 0 0 14px rgba(199, 75, 135, 0.6);

    }



    .btn-secondary:hover {

      background: rgba(199, 75, 135, 0.16);

      transform: translateY(-1px);

    }



    .hero-meta {

      display: flex;

      gap: 18px;

      flex-wrap: wrap;

      font-size: 12px;

      text-transform: uppercase;

      letter-spacing: 0.14em;

      color: var(--text-muted);

    }



    .hero-meta span::before {

      content: "• ";

      color: var(--accent-yellow);

    }



    .hero-visual {

      display: flex; flex-direction: column; height: 100%; position: relative;

      text-align: center;

    }



    .hero-logo {

      display: flex; flex-direction: column; height: 100%; position: relative;

      z-index: 2;

      display: inline-block;

    }



    .hero-logo img {

      width: 220px;

      border-radius: 24px;

      box-shadow:

        0 0 40px rgba(245, 164, 72, 0.6),

        0 0 80px rgba(199, 75, 135, 0.7);

    }



    .hero-grid {

      position: absolute;

      left: 50%;

      bottom: -60px;

      transform: translateX(-50%) perspective(600px) rotateX(65deg);

      width: 420px;

      height: 260px;

      background-image:

        linear-gradient(to right, rgba(54, 196, 187, 0.4) 1px, transparent 1px),

        linear-gradient(to top, rgba(54, 196, 187, 0.4) 1px, transparent 1px);

      background-size: 40px 40px;

      opacity: 0.6;

      filter: drop-shadow(0 0 12px rgba(54, 196, 187, 0.6));

    }



    /* ---------- SECTIONS ---------- */



    .section {

      margin-top: 24px;

    }



    .section-header {

      margin-bottom: 16px;

      display: flex;

      justify-content: space-between;

      align-items: center;

      gap: 16px;

    }



    .section-title {

      font-family: "Montserrat", system-ui, sans-serif;

      font-size: 20px;

      letter-spacing: 0.08em;

      text-transform: uppercase;

    }



    .section-subtitle {

      font-size: 13px;

      color: var(--text-muted);

      max-width: 420px;

    }



    /* ---------- CATEGORIES ---------- */



    .categories-grid {

      display: grid;

      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

      gap: 14px;

    }



    .cat-card {

      padding: 18px 16px;

      border-radius: 18px;

      background: radial-gradient(circle at top left, rgba(199, 75, 135, 0.3), transparent 55%),

                  radial-gradient(circle at bottom right, rgba(54, 196, 187, 0.25), transparent 55%),

                  rgba(2, 5, 24, 0.94);

      border: 1px solid rgba(54, 196, 187, 0.5);

      box-shadow: 0 0 18px rgba(3, 6, 35, 0.8);

      display: flex;

      flex-direction: column;

      align-items: flex-start;

      gap: 10px;

      cursor: pointer;

      transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;

    }



    .cat-icon {

      width: 34px;

      height: 34px;

      border-radius: 12px;

      border: 1px solid rgba(54, 196, 187, 0.7);

      display: flex;

      align-items: center;

      justify-content: center;

      font-size: 18px;

      box-shadow: 0 0 14px rgba(54, 196, 187, 0.6);

    }



    .cat-name {

      font-weight: 600;

      letter-spacing: 0.08em;

      text-transform: uppercase;

      font-size: 13px;

    }



    .cat-desc {

      font-size: 12px;

      color: var(--text-muted);

    }



    .cat-card:hover {

      transform: translateY(-3px);

      border-color: var(--accent-cyan);

      box-shadow:

        0 0 20px rgba(54, 196, 187, 0.9),

        0 0 40px rgba(199, 75, 135, 0.5);

    }



    /* ---------- PRODUCTS (NEW IN STOCK) ---------- */



    .products-row {

      display: grid;

      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

      gap: 14px;

    }



    .product-card {

      display: flex; flex-direction: column; height: 100%; position: relative;

      border-radius: 20px;

      padding: 16px 16px 18px;

      background: radial-gradient(circle at top left, rgba(199, 75, 135, 0.3), transparent 60%),

                  radial-gradient(circle at bottom right, rgba(54, 196, 187, 0.2), transparent 60%),

                  var(--card-bg);

      border: 1px solid rgba(199, 75, 135, 0.7);

      box-shadow: 0 0 18px rgba(1, 1, 10, 0.9);

      cursor: pointer;

      transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;

    }



    .product-card:hover {

      transform: translateY(-4px);

      border-color: var(--accent-cyan);

      box-shadow:

        0 0 20px rgba(54, 196, 187, 0.9),

        0 0 40px rgba(199, 75, 135, 0.6);

    }



    .product-tag {

      position: absolute;

      top: 10px;

      left: 12px;

      padding: 4px 10px;

      border-radius: 999px;

      font-size: 11px;

      font-weight: 600;

      letter-spacing: 0.09em;

      text-transform: uppercase;

      background: var(--accent-pink);

    }



    .product-img-wrap {

      margin-top: 18px;

      margin-bottom: 14px;

      border-radius: 14px;

      overflow: hidden;

      background: radial-gradient(circle at top, rgba(245, 164, 72, 0.5), transparent 65%);

    }



    .product-img-wrap img {

      width: 100%;

      display: block;

    }



    .product-name {

      font-weight: 600;

      margin-bottom: 4px;

    }



    .product-price { margin-top: auto;

      font-weight: 700;

      color: var(--accent-yellow);

      margin-bottom: 6px;

    }



    .product-meta {

      font-size: 11px;

      color: var(--text-muted);

    }



    /* ---------- WHY SECTION ---------- */



    .why-grid {

      display: grid;

      grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);

      gap: 26px;

      align-items: center;

    }



    .why-list {

      list-style: none;

      display: grid;

      gap: 10px;

      font-size: 14px;

    }



    .why-list li {

      display: flex;

      gap: 10px;

      align-items: flex-start;

    }



    .why-list li::before {

      content: "✔";

      color: var(--accent-cyan);

      margin-top: 2px;

    }



    .why-visual {

      border-radius: 22px;

      padding: 16px;

      background: radial-gradient(circle at top left, rgba(199, 75, 135, 0.4), transparent 60%),

                  radial-gradient(circle at bottom right, rgba(54, 196, 187, 0.25), transparent 60%),

                  #050317;

      box-shadow: 0 0 26px rgba(1, 1, 10, 0.9);

    }



    .why-visual-placeholder {

      height: 180px;

      border-radius: 16px;

      border: 1px dashed rgba(54, 196, 187, 0.6);

      display: flex;

      align-items: center;

      justify-content: center;

      font-size: 13px;

      color: var(--text-muted);

      text-align: center;

      padding: 10px;

    }



    /* ---------- FOOTER ---------- */



    footer {

      margin-top: 40px;

      padding-top: 20px;

      border-top: 1px solid rgba(54, 196, 187, 0.35);

      font-size: 12px;

      color: var(--text-muted);

      display: flex;

      justify-content: space-between;

      flex-wrap: wrap;

      gap: 12px;

    }



    footer a {

      color: var(--accent-cyan);

    }



    /* ---------- RESPONSIVE ---------- */



    /* Планшет в альбомной ориентации: только hero и категории на первом экране */

    @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

      .page {

        padding: 10px 16px 30px;

      }



      .navbar {

        margin-bottom: 16px;

        padding: 8px 16px;

      }



      .hero {

        margin-top: 12px;

        padding: 20px 24px 28px;

      }



      .hero-inner {

        gap: 24px;

      }



      .hero-copy h1 {

        font-size: 28px;

        margin-bottom: 10px;

      }



      .hero-copy p {

        font-size: 12px;

        margin-bottom: 14px;

      }



      .hero-buttons {

        gap: 8px;

        margin-bottom: 12px;

      }



      .btn {

        padding: 10px 20px;

        font-size: 13px;

      }



      .hero-meta {

        font-size: 11px;

        gap: 12px;

      }



      .hero-logo img {

        width: 160px;

      }



      .section {

        margin-top: 16px;

      }



      .section-header {

        margin-bottom: 12px;

      }



      .section-title {

        font-size: 18px;

      }



      .categories-grid {

        gap: 12px;

      }



      .cat-card {

        padding: 14px 12px;

      }



      /* Новинки начинаются после первого экрана */

      #new {

        margin-top: 24px;

      }

    }



    /* Десктоп: применяем компактные стили только для больших экранов */

    @media (min-width: 1025px) {

      .page {

        padding: 12px 20px 40px;

      }



      .navbar {

        padding: 8px 20px;

        margin-bottom: 16px;

      }



      .hero {

        margin-top: 20px;

        padding: 28px 32px 36px;

      }



      .hero-inner {

        gap: 32px;

      }



      .hero-copy h1 {

        font-size: 36px;

        margin-bottom: 14px;

      }



      .hero-copy p {

        font-size: 14px;

        margin-bottom: 20px;

      }



      .hero-buttons {

        gap: 12px;

        margin-bottom: 18px;

      }



      .hero-logo img {

        width: 220px;

      }



      .section {

        margin-top: 24px;

      }



      .section-header {

        margin-bottom: 16px;

      }



      .section-title {

        font-size: 20px;

      }



      .categories-grid {

        gap: 14px;

      }



      .products-row {

        gap: 14px;

      }

    }



    /* Мобильные устройства (до 767px) */

    @media (max-width: 767px) {

      .hero-inner,

      .why-grid {

        grid-template-columns: 1fr;

      }



      .hero {

        padding: 28px 22px 50px;

      }



      .hero-logo img {

        width: 220px;

      }



      .nav-links {

        display: none;

      }



      .page {

        padding-inline: 16px;

      }

    }



    /* Планшет в портретной ориентации (768px-1024px portrait) */

    @media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

      .hero-inner,

      .why-grid {

        grid-template-columns: 1fr;

      }



      .hero {

        padding: 28px 22px 50px;

      }



      .hero-logo img {

        width: 220px;

      }



      .nav-links {

        display: none;

      }



      .page {

        padding-inline: 16px;

      }

    }



    @media (max-width: 600px) {

      .hero-copy h1 {

        font-size: 30px;

      }



      .section-title {

        font-size: 18px;

      }

    }


    .product-desc {
      font-size: 13px;
      color: #aaa;
      margin-bottom: 8px;
      line-height: 1.4;
      height: 4.2em; /* 3 lines * 1.4 */
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
    }
