
    :root {
      --bg-1: #F1F2F0;
      --bg-2: #F1F2F0;
      --surface: #FBFCFA;
      --surface-soft: #E3E7E8;
      --text: #202B34;
      --muted: #59646C;
      --accent: #A4512D;
      --accent-2: #30475E;
      --accent-soft: #E3E7E8;
      --chip: #E3E7E8;
      --border: #C6CDD0;
      --shadow: 0 18px 40px rgba(227, 231, 232, 0.12);
      --radius-xl: 30px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --radius-pill: 999px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, #E3E7E8 0%, transparent 34%),
        radial-gradient(circle at top right, #E3E7E8 0%, transparent 30%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
    }

    img {
      max-width: 100%;
      display: block;
    }

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

    button,
    input {
      font: inherit;
    }

    .container {
      width: min(1220px, calc(100% - 28px));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 30;
      backdrop-filter: blur(12px);
      background: rgba(251, 252, 250, 0.82);
      border-bottom: 1px solid rgba(198, 205, 208, 0.9);
    }

    .topbar__inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 12px 0;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 1.35rem;
      font-weight: 700;
    }

    .brand-badge {
      width: 48px;
      height: 48px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
      color: var(--surface);
      box-shadow: var(--shadow);
      font-size: 1.25rem;
    }

    .top-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .icon-pill {
      min-width: 46px;
      height: 46px;
      padding: 0 16px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--border);
      background: var(--surface);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 8px 20px rgba(227, 231, 232, 0.08);
    }

    .hero {
      padding: 26px 0 18px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.3fr 0.9fr;
      gap: 18px;
    }

    .hero-card,
    .promo-card,
    .section-shell,
    .product-card,
    .modal-dialog {
      background: rgba(251, 252, 250, 0.92);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
    }

    .hero-card {
      border-radius: 34px;
      padding: 30px;
      overflow: hidden;
      position: relative;
      background:
        radial-gradient(circle at 12% 16%, #E3E7E8 0%, transparent 24%),
        linear-gradient(135deg, #FBFCFA 0%, #E3E7E8 100%);
    }

    .hero-card::after {
      content: "";
      position: absolute;
      right: -50px;
      bottom: -60px;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(227, 231, 232, 0.22) 0%, rgba(227, 231, 232, 0) 72%);
      pointer-events: none;
    }

    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      border-radius: var(--radius-pill);
      background: var(--chip);
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 16px;
    }

    .hero h1 {
      margin: 0 0 14px;
      font-size: clamp(2rem, 4vw, 3.25rem);
      line-height: 1.04;
      letter-spacing: 0.01em;
    }

    .hero p {
      margin: 0;
      max-width: 760px;
      color: var(--muted);
      font-size: 1.06rem;
      line-height: 1.7;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 22px;
    }

    .btn,
    .buy-link,
    .card-buy {
      border: none;
      cursor: pointer;
      border-radius: var(--radius-pill);
      min-height: 48px;
      padding: 12px 20px;
      font-weight: 700;
      transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    }

    .btn:active,
    .buy-link:active,
    .card-buy:active {
      transform: scale(0.98);
    }

    .btn-primary,
    .buy-link,
    .card-buy {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
      color: var(--surface);
      box-shadow: 0 10px 24px rgba(227, 231, 232, 0.22);
    }

    .btn-secondary {
      background: var(--surface);
      color: var(--accent);
      border: 1px solid var(--border);
    }

    .promo-card {
      border-radius: 34px;
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: linear-gradient(180deg, #FBFCFA 0%, #E3E7E8 100%);
    }

    .promo-icon {
      width: 64px;
      height: 64px;
      border-radius: 22px;
      display: grid;
      place-items: center;
      font-size: 1.65rem;
      background: var(--accent-soft);
      margin-bottom: 14px;
    }

    .promo-card h2 {
      margin: 0 0 10px;
      font-size: 1.6rem;
      line-height: 1.15;
    }

    .promo-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.7;
    }

    .promo-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    .promo-tag {
      padding: 10px 14px;
      border-radius: var(--radius-pill);
      background: var(--surface);
      border: 1px solid var(--border);
      font-size: 0.95rem;
    }

    .catalog {
      padding: 12px 0 64px;
    }

    .section-shell {
      border-radius: 34px;
      padding: 22px;
      background: rgba(251, 252, 250, 0.88);
    }

    .toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .toolbar-left h2 {
      margin: 0;
      font-size: 1.55rem;
    }

    .toolbar-left p {
      margin: 6px 0 0;
      color: var(--muted);
    }

    .search-wrap {
      position: relative;
      width: min(360px, 100%);
    }

    .search-wrap input {
      width: 100%;
      min-height: 52px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--border);
      background: var(--surface);
      padding: 12px 18px 12px 48px;
      outline: none;
      color: var(--text);
      box-shadow: inset 0 1px 0 rgba(251,252,250,0.7);
    }

    .search-wrap input:focus {
      border-color: var(--accent-2);
      box-shadow: 0 0 0 4px rgba(227, 231, 232, 0.12);
    }

    .search-icon {
      position: absolute;
      top: 50%;
      left: 16px;
      transform: translateY(-50%);
      font-size: 1rem;
      opacity: 0.8;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
      gap: 18px;
    }

    .product-card {
      border-radius: 28px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 22px 40px rgba(227, 231, 232, 0.16);
    }

    .product-image-wrap {
      position: relative;
      aspect-ratio: 1 / 1;
      background: linear-gradient(180deg, #E3E7E8 0%, #E3E7E8 100%);
      overflow: hidden;
    }

    .product-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .badge {
      position: absolute;
      left: 14px;
      top: 14px;
      padding: 8px 12px;
      border-radius: var(--radius-pill);
      background: rgba(251,252,250,0.96);
      border: 1px solid var(--border);
      font-size: 0.88rem;
      font-weight: 700;
    }

    .fav-btn {
      position: absolute;
      right: 14px;
      top: 14px;
      width: 42px;
      height: 42px;
      border-radius: 16px;
      border: 1px solid var(--border);
      background: rgba(251,252,250,0.96);
      display: grid;
      place-items: center;
      font-size: 1rem;
    }

    .product-content {
      padding: 16px 16px 18px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }

    .product-title {
      margin: 0;
      font-size: 1.12rem;
      line-height: 1.25;
    }

    .product-desc {
      margin: 0;
      color: var(--muted);
      line-height: 1.55;
      min-height: 48px;
    }

    .card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-top: auto;
    }

    .price {
      font-size: 1.28rem;
      font-weight: 700;
      color: var(--accent);
    }

    .card-buy {
      min-width: 118px;
    }

    .empty-state {
      display: none;
      text-align: center;
      padding: 32px 16px 12px;
      color: var(--muted);
      font-size: 1.02rem;
    }

    .modal {
      position: fixed;
      inset: 0;
      background: rgba(32, 43, 52, 0.5);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
      z-index: 999;
      backdrop-filter: blur(8px);
    }

    .modal.active {
      display: flex;
    }

    .modal-dialog {
      width: min(980px, 100%);
      border-radius: 34px;
      overflow: hidden;
      position: relative;
      background: linear-gradient(180deg, #FBFCFA 0%, #E3E7E8 100%);
    }

    .modal-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 46px;
      height: 46px;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: rgba(251,252,250,0.95);
      font-size: 1.4rem;
      cursor: pointer;
      z-index: 4;
    }

    .modal-body {
      display: grid;
      grid-template-columns: 1.08fr 1fr;
      min-height: 540px;
    }

    .modal-gallery {
      position: relative;
      background: linear-gradient(180deg, #E3E7E8 0%, #E3E7E8 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .modal-gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .gallery-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: rgba(251,252,250,0.92);
      cursor: pointer;
      font-size: 1.4rem;
      font-weight: 700;
      z-index: 3;
    }

    .gallery-btn.prev {
      left: 14px;
    }

    .gallery-btn.next {
      right: 14px;
    }

    .gallery-dots {
      position: absolute;
      bottom: 18px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 3;
    }

    .gallery-dot {
      width: 12px;
      height: 12px;
      border-radius: 999px;
      background: rgba(251,252,250,0.55);
      border: 1px solid rgba(198, 205, 208, 0.12);
    }

    .gallery-dot.active {
      background: var(--surface);
      width: 24px;
    }

    .modal-info {
      padding: 34px 28px 26px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .modal-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .modal-chip {
      padding: 9px 13px;
      border-radius: var(--radius-pill);
      background: var(--chip);
      color: var(--accent);
      font-size: 0.92rem;
      font-weight: 700;
    }

    .modal-info h2 {
      margin: 0;
      font-size: 2rem;
      line-height: 1.12;
    }

    .modal-price {
      font-size: 1.55rem;
      color: var(--accent);
      font-weight: 700;
    }

    .modal-info p {
      margin: 0;
      color: var(--muted);
      line-height: 1.72;
    }

    .feature-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
    }

    .feature-list li {
      padding: 12px 14px;
      border-radius: 18px;
      background: var(--surface);
      border: 1px solid var(--border);
    }

    .buy-link {
      width: 100%;
      text-align: center;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-top: auto;
    }

    .note {
      margin: 22px 0 0;
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .assistant-widget {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 25;
      font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", Arial, sans-serif;
    }

    .assistant-launcher {
      min-height: 52px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      float: right;
      padding: 12px 18px;
      border: 0;
      border-radius: var(--radius-pill);
      color: var(--surface);
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      box-shadow: 0 14px 30px rgba(227, 231, 232, 0.28);
      cursor: pointer;
      font-weight: 700;
    }

    .assistant-launcher:hover,
    .assistant-launcher:focus-visible {
      transform: translateY(-2px);
      box-shadow: 0 18px 34px rgba(227, 231, 232, 0.34);
    }

    .assistant-panel {
      width: min(390px, calc(100vw - 28px));
      height: min(590px, calc(100dvh - 120px));
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 1px solid var(--border);
      border-radius: 24px;
      background: var(--surface);
      box-shadow: 0 24px 60px rgba(227, 231, 232, 0.24);
    }

    .assistant-panel[hidden],
    .assistant-launcher[hidden] {
      display: none;
    }

    .assistant-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 18px;
      color: var(--surface);
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
    }

    .assistant-header h2 {
      margin: 0;
      font-size: 1.08rem;
    }

    .assistant-header-actions {
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .assistant-new-chat,
    .assistant-close {
      border: 1px solid rgba(251, 252, 250, 0.48);
      color: var(--surface);
      background: rgba(251, 252, 250, 0.13);
      cursor: pointer;
    }

    .assistant-new-chat {
      padding: 7px 9px;
      border-radius: 9px;
      font-size: 0.75rem;
      font-weight: 700;
    }

    .assistant-close {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      font-size: 1.1rem;
    }

    .assistant-messages {
      min-height: 0;
      flex: 1;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 17px;
      background: var(--surface-soft);
    }

    .assistant-message {
      max-width: 82%;
      padding: 10px 13px;
      border-radius: 15px;
      line-height: 1.45;
      overflow-wrap: anywhere;
      var(--surface)-space: pre-wrap;
    }

    .assistant-message-user {
      align-self: flex-end;
      color: var(--surface);
      background: var(--accent);
      border-bottom-right-radius: 4px;
    }

    .assistant-message-bot {
      align-self: flex-start;
      background: var(--chip);
      border-bottom-left-radius: 4px;
    }

    .assistant-message-loading {
      color: var(--muted);
      font-style: italic;
    }

    .assistant-message ul {
      margin: 0;
      padding-left: 20px;
    }

    .assistant-message li + li {
      margin-top: 4px;
    }

    .assistant-form {
      display: flex;
      gap: 8px;
      padding: 12px;
      border-top: 1px solid var(--border);
      background: var(--surface);
    }

    .assistant-input {
      min-width: 0;
      flex: 1;
      padding: 11px 12px;
      border: 1px solid var(--border);
      border-radius: 12px;
      color: var(--text);
      background: var(--surface);
    }

    .assistant-input:focus {
      border-color: var(--accent);
      outline: 3px solid var(--accent-soft);
    }

    .assistant-send {
      padding: 11px 15px;
      border: 0;
      border-radius: 12px;
      color: var(--surface);
      background: var(--accent);
      cursor: pointer;
      font-weight: 700;
    }

    .assistant-send:disabled,
    .assistant-input:disabled {
      cursor: not-allowed;
      opacity: 0.65;
    }

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      var(--surface)-space: nowrap;
      border: 0;
    }

    @media (max-width: 940px) {
      .hero-grid,
      .modal-body {
        grid-template-columns: 1fr;
      }

      .modal-gallery {
        min-height: 320px;
      }
    }

    @media (max-width: 640px) {
      .topbar__inner,
      .toolbar {
        align-items: stretch;
      }

      .topbar__inner,
      .toolbar,
      .card-meta {
        flex-direction: column;
      }

      .top-actions,
      .hero-buttons {
        width: 100%;
      }

      .icon-pill,
      .btn,
      .card-buy,
      .search-wrap,
      .buy-link {
        width: 100%;
      }

      .hero-card,
      .promo-card,
      .section-shell {
        border-radius: 26px;
      }

      .modal-info {
        padding: 24px 18px 20px;
      }

      .assistant-widget {
        right: 12px;
        bottom: 12px;
      }

      .assistant-panel {
        width: calc(100vw - 24px);
        height: min(560px, calc(100dvh - 100px));
        border-radius: 20px;
      }

      .assistant-launcher {
        min-height: 48px;
        padding: 10px 15px;
      }
    }
