/* Krenko's Magic: styles ported from the approved mockup (mockup/index.html). */

    :root {
      --night: #090705;
      --ink: #110c0a;
      --bark: #1a110e;
      --panel: #221612;
      --panel-2: #2a1b16;
      --line: rgba(224, 176, 74, 0.22);
      --line-strong: rgba(224, 176, 74, 0.45);
      --blood: #b81c16;
      --red: #d3261e;
      --ember: #e85a1f;
      --flame: #ff7a32;
      --gold: #e0b04a;
      --gold-soft: #f3d88a;
      --gold-deep: #8a6420;
      --parchment: #f6ead4;
      --cream: #efe0c8;
      --muted: #b9a394;
      --faint: #8a776b;
      --skin: #c44b2e;
      --success: #7d9a3a;
      --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
      --radius: 16px;
      --header-h: 74px;
      --font-display: "Cinzel Decorative", "Cinzel", Palatino, "Palatino Linotype", "Times New Roman", serif;
      --font-heading: "Cinzel", Palatino, "Palatino Linotype", "Times New Roman", serif;
      --font-body: "Outfit", "Nunito", "Segoe UI", system-ui, sans-serif;
      --font-label: "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
      --max: 1180px;
    }

    :where(.km-header, .km-home, .km-footer) *, :where(.km-header, .km-home, .km-footer) { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--night);
      color: var(--parchment);
      line-height: 1.55;
      min-width: 320px;
      overflow-x: hidden;
    }
    :where(.km-header, .km-home, .km-footer) :where(img, svg) { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    :where(.km-header, .km-home, .km-footer) :where(button, input) { font: inherit; color: inherit; }
    :where(.km-header, .km-home, .km-footer) button { cursor: pointer; border: 0; background: none; }
    h1, h2, .logo-word { font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.04em; color: var(--cream); }
    h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.01em; color: var(--cream); }
    .wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
    .skip {
      position: absolute; left: 12px; top: -40px; background: var(--gold); color: var(--ink);
      padding: 8px 12px; z-index: 80; border-radius: 6px; font-weight: 600;
    }
    .skip:focus { top: 12px; }

    /* Texture overlay */
    body::before {
      content: "";
      pointer-events: none;
      position: fixed;
      inset: 0;
      z-index: 70;
      opacity: 0.07;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
      mix-blend-mode: overlay;
    }

    /* Announcement */
    .announce {
      background: linear-gradient(90deg, #6e120e 0%, #9a1b14 40%, #c43a14 100%);
      color: var(--parchment);
      font-family: var(--font-label);
      font-size: 0.82rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-align: center;
      padding: 9px 16px;
      position: relative;
      z-index: 40;
      border-bottom: 1px solid rgba(243, 216, 138, 0.25);
    }
    .announce strong { color: var(--gold-soft); font-weight: 500; }

    /* Header */
    header.site {
      position: sticky;
      top: 0;
      z-index: 50;
      height: var(--header-h);
      background: rgba(12, 8, 7, 0.92);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--line);
    }
    .head {
      height: var(--header-h);
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 28px;
      align-items: center;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: max-content;
    }
    .seal { width: 46px; height: 46px; flex: 0 0 46px; filter: drop-shadow(0 0 10px rgba(226, 80, 30, 0.45)); }
    .logo-word {
      font-family: var(--font-display);
      font-size: 1.05rem;
      line-height: 1.05;
      letter-spacing: 0.06em;
    }
    .logo-word span {
      display: block;
      font-family: var(--font-label);
      font-size: 0.62rem;
      letter-spacing: 0.28em;
      color: var(--gold);
      font-weight: 400;
      margin-top: 3px;
    }
    nav.primary { display: flex; gap: 22px; align-items: center; justify-content: center; }
    nav.primary a {
      font-family: var(--font-label);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-size: 0.86rem;
      color: var(--cream);
      position: relative;
      padding: 6px 0;
    }
    nav.primary a::after {
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: 0;
      height: 1px;
      background: var(--gold);
      transform: scaleX(0);
      transition: transform 0.2s ease;
    }
    nav.primary a:hover { color: var(--gold-soft); }
    nav.primary a:hover::after { transform: scaleX(1); }
    .tools { display: flex; align-items: center; gap: 12px; }
    .km-search {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #140e0c;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 0 14px;
      height: 42px;
      width: 240px;
    }
    .km-search input {
      background: transparent;
      border: 0;
      outline: none;
      width: 100%;
      color: var(--parchment);
      font-size: 0.9rem;
    }
    .km-search input::placeholder { color: var(--faint); }
    .km-search svg { flex: 0 0 16px; opacity: 0.75; }
    .cart-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      height: 42px;
      padding: 0 14px 0 12px;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      background: linear-gradient(180deg, #2a1814, #1a0e0c);
      color: var(--cream);
    }
    .cart-btn:hover { border-color: var(--gold); }
    .cart-ico { position: relative; width: 22px; height: 22px; }
    .cart-count {
      position: absolute;
      top: -8px; right: -9px;
      width: 18px; height: 18px;
      border-radius: 50%;
      background: var(--red);
      color: #fff;
      font-size: 0.65rem;
      font-weight: 700;
      display: grid;
      place-items: center;
      border: 2px solid #120c0a;
    }
    .cart-meta { display: flex; flex-direction: column; line-height: 1.1; }
    .cart-meta small { color: var(--faint); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
    .cart-meta b { font-size: 0.82rem; color: var(--gold-soft); font-weight: 600; }
    .nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; }
    .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
      display: block; width: 18px; height: 2px; background: var(--cream); position: relative; margin: auto;
    }
    .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
    .nav-toggle span::before { top: -6px; }
    .nav-toggle span::after { top: 6px; }
    #nav-check { display: none; }

    /* Hero */
    .hero {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      display: grid;
      align-items: center;
      background:
        radial-gradient(900px 500px at 75% 40%, rgba(226, 70, 20, 0.28), transparent 55%),
        radial-gradient(600px 360px at 20% 80%, rgba(176, 30, 20, 0.18), transparent 60%),
        linear-gradient(180deg, #140b09 0%, #0c0806 100%);
      border-bottom: 1px solid var(--line);
    }
    .hero .wrap {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 40px;
      align-items: center;
      padding: 40px 0 28px;
      position: relative;
      z-index: 2;
    }
    .kicker {
      font-family: var(--font-label);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      font-size: 0.78rem;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .kicker::before, .kicker::after { content: ""; height: 1px; width: 28px; background: var(--gold); opacity: 0.7; }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2.6rem, 5.2vw, 4.4rem);
      line-height: 1.02;
      font-weight: 700;
      margin-bottom: 18px;
      text-shadow: 0 6px 30px rgba(0,0,0,0.45);
    }
    .hero h1 em {
      font-style: normal;
      display: block;
      color: var(--gold-soft);
    }
    .hero p.lead {
      font-size: 1.12rem;
      color: var(--muted);
      max-width: 34em;
      margin-bottom: 28px;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 48px;
      padding: 0 22px;
      border-radius: 999px;
      font-family: var(--font-label);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-size: 0.9rem;
      transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary {
      background: linear-gradient(180deg, #f0c25e 0%, #c48a22 100%);
      color: #2a1608;
      box-shadow: 0 8px 24px rgba(224, 176, 74, 0.28);
      font-weight: 500;
    }
    .btn-primary:hover { box-shadow: 0 10px 28px rgba(224, 176, 74, 0.4); }
    .btn-ghost {
      border: 1px solid var(--line-strong);
      color: var(--cream);
      background: rgba(20, 10, 8, 0.4);
    }
    .btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
    .btn-slim { min-height: 40px; padding: 0 14px; font-size: 0.8rem; width: 100%; }
    .hero-notes {
      display: flex;
      flex-wrap: wrap;
      gap: 18px 24px;
      color: var(--muted);
      font-size: 0.86rem;
    }
    .hero-notes span { display: flex; align-items: center; gap: 8px; }
    .hero-notes i { color: var(--gold); font-style: normal; }
    .mascot-wrap { position: relative; display: grid; place-items: center; }
    .mascot-glow {
      position: absolute;
      width: 78%;
      height: 78%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 122, 50, 0.45), rgba(184, 28, 22, 0.08) 55%, transparent 70%);
      filter: blur(12px);
      z-index: 0;
    }
    .mascot { position: relative; z-index: 1; width: min(100%, 460px); height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.55)); }
    .hero-ornament {
      position: absolute;
      inset: auto 0 -1px;
      height: 22px;
      z-index: 3;
      color: var(--ink);
    }

    /* Sections */
    .km-home section { padding: 72px 0; position: relative; }
    .sec-head { text-align: center; margin-bottom: 40px; }
    .sec-head h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 8px 0 10px; }
    .sec-head p { color: var(--muted); max-width: 38em; margin-inline: auto; }
    .flourish { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); }
    .flourish svg { width: 140px; height: 14px; }

    /* Categories */
    .cats { background: var(--ink); }
    .cat-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
    }
    .km-cat {
      background: linear-gradient(180deg, #2a1b16 0%, #1a100d 100%);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 22px 14px 18px;
      text-align: center;
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
      min-height: 188px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .km-cat:hover {
      border-color: var(--gold);
      transform: translateY(-4px);
      box-shadow: 0 14px 30px rgba(0,0,0,0.35), 0 0 0 1px rgba(224,176,74,0.2);
    }
    .cat-icon { width: 72px; height: 72px; margin-bottom: 4px; }
    .km-cat h3 { font-size: 1rem; font-family: var(--font-heading); letter-spacing: 0.06em; }
    .km-cat em { font-style: normal; color: var(--gold); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-label); }

    /* Products */
    .km-featured { background: #0d0908; }
    .prod-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .card {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 18px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .card:hover {
      transform: translateY(-4px);
      border-color: var(--line-strong);
      box-shadow: var(--shadow);
    }
    .card-art {
      height: 200px;
      background: radial-gradient(circle at 50% 30%, #3a2018, #160e0c 72%);
      display: grid;
      place-items: center;
      position: relative;
      border-bottom: 1px solid var(--line);
    }
    .card-art svg { width: 78%; height: 78%; }
    .badge {
      position: absolute;
      top: 12px; left: 12px;
      font-family: var(--font-label);
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      background: rgba(10, 6, 5, 0.82);
      border: 1px solid var(--line-strong);
      color: var(--gold-soft);
      padding: 4px 8px;
      border-radius: 999px;
    }
    .card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
    .card-body h3 { font-size: 1.02rem; line-height: 1.3; }
    .cat-tag { color: var(--faint); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-label); }
    .price-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: 4px 0 8px; }
    .km-price { font-size: 1.15rem; color: var(--gold-soft); font-weight: 650; white-space: nowrap; }
    .km-price .ccy { font-size: 0.75rem; letter-spacing: 0.06em; margin-left: 3px; font-weight: 500; }
    .km-price small { display: block; font-size: 0.68rem; color: var(--faint); font-weight: 400; letter-spacing: 0.04em; margin-top: 2px; white-space: nowrap; }
    .stars { color: var(--gold); font-size: 0.78rem; letter-spacing: 1px; flex: 0 0 auto; padding-top: 4px; }

    /* Singles */
    .singles {
      background:
        radial-gradient(700px 280px at 50% 0%, rgba(184, 28, 22, 0.16), transparent 70%),
        var(--ink);
    }
    .single-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .km-single {
      background: #160f0c;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 14px 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: border-color 0.2s ease, transform 0.2s ease;
    }
    .km-single:hover { border-color: var(--gold); transform: translateY(-3px); }
    .vault-card {
      aspect-ratio: 63 / 88;
      border-radius: 12px;
      background: linear-gradient(180deg, #3a2218, #1a0e0c);
      border: 2px solid #c9a14a;
      padding: 8px;
      display: flex;
      flex-direction: column;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4), 0 10px 20px rgba(0,0,0,0.35);
      position: relative;
    }
    .vault-card .v-name {
      font-family: var(--font-heading);
      font-size: 0.72rem;
      letter-spacing: 0.03em;
      padding: 4px 6px;
      color: var(--gold-soft);
    }
    .vault-art {
      flex: 1;
      border-radius: 8px;
      margin: 2px 4px 6px;
      overflow: hidden;
      border: 1px solid rgba(224,176,74,0.3);
    }
    .vault-card .v-meta {
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      text-align: center;
      padding: 6px 4px 2px;
      font-family: var(--font-label);
      white-space: nowrap;
    }
    .km-mark {
      position: absolute;
      right: 16px; top: 36px;
      width: 22px; height: 22px;
      border-radius: 50%;
      border: 1px solid var(--gold);
      display: grid; place-items: center;
      font-family: var(--font-heading);
      font-size: 0.55rem;
      color: var(--gold);
      background: #1a0e0c;
    }
    .single-info h3 { font-size: 0.95rem; margin-bottom: 4px; line-height: 1.3; }
    .cond { color: var(--muted); font-size: 0.8rem; }
    .watermark {
      font-family: var(--font-label);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-size: 0.68rem;
      color: var(--gold);
      opacity: 0.8;
    }

    /* Trust */
    .trust {
      background: linear-gradient(180deg, #1a100d, #140c0a);
      padding: 48px 0;
      border-block: 1px solid var(--line);
    }
    .trust-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }
    .trust-item {
      text-align: center;
      padding: 8px 12px;
    }
    .trust-item svg { width: 40px; height: 40px; margin: 0 auto 10px; }
    .trust-item h3 { font-size: 0.98rem; margin-bottom: 6px; }
    .trust-item p { color: var(--muted); font-size: 0.88rem; }

    /* Newsletter */
    .news {
      background:
        radial-gradient(500px 200px at 20% 0%, rgba(232, 90, 31, 0.16), transparent 70%),
        #0c0806;
    }
    .news-box {
      border: 1px solid var(--line-strong);
      border-radius: 24px;
      padding: 42px 40px;
      background:
        linear-gradient(120deg, rgba(184,28,22,0.16), transparent 42%),
        linear-gradient(180deg, #241612, #160e0c);
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 28px;
      align-items: center;
    }
    .news-box h2 { font-family: var(--font-display); font-size: 1.8rem; margin: 8px 0 10px; }
    .news-box p { color: var(--muted); }
    .news-form { display: flex; gap: 10px; }
    .news-form input {
      flex: 1;
      height: 48px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #0e0a08;
      padding: 0 18px;
      outline: none;
    }
    .news-form input:focus { border-color: var(--gold); }
    .fine { display: block; margin-top: 10px; color: var(--faint); font-size: 0.75rem; }

    /* Footer */
    footer.site {
      background: #080605;
      border-top: 1px solid var(--line);
      padding: 56px 0 28px;
    }
    .foot-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 36px;
    }
    footer.site h3 {
      font-family: var(--font-label);
      letter-spacing: 0.16em;
      text-transform: uppercase;
      font-size: 0.8rem;
      color: var(--gold);
      margin-bottom: 14px;
      font-weight: 400;
    }
    footer.site p, footer.site li { color: var(--muted); font-size: 0.9rem; }
    footer.site ul { list-style: none; display: grid; gap: 8px; }
    footer.site a:hover { color: var(--gold-soft); }
    .legal {
      border-top: 1px solid var(--line);
      padding-top: 20px;
      color: var(--faint);
      font-size: 0.78rem;
      display: grid;
      gap: 8px;
    }

    /* Mobile */
    @media (max-width: 980px) {
      .head { grid-template-columns: auto 1fr auto; gap: 10px; }
      nav.primary {
        display: none;
        position: absolute;
        top: calc(var(--header-h) + 0px);
        left: 0; right: 0;
        background: #140c0a;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 18px;
        gap: 0;
      }
      #nav-check:checked ~ .head nav.primary { display: flex; }
      nav.primary a { padding: 12px 0; border-bottom: 1px solid var(--line); }
      .nav-toggle { display: inline-grid; place-items: center; justify-self: end; border-radius: 999px; }
      .km-search { width: 42px; padding: 0; justify-content: center; overflow: hidden; }
      .km-search input { display: none; }
      .cart-btn { padding: 0; width: 42px; justify-content: center; }
      .cart-meta { display: none; }
      .price-row { flex-direction: column; align-items: flex-start; gap: 2px; }
      .stars { padding-top: 0; }
      .hero .wrap { grid-template-columns: 1fr; text-align: center; padding: 28px 0 12px; gap: 8px; }
      .kicker { justify-content: center; }
      .hero p.lead { margin-inline: auto; }
      .hero-actions, .hero-notes { justify-content: center; }
      .mascot { width: min(100%, 320px); }
      .cat-grid { grid-template-columns: repeat(3, 1fr); }
      .prod-grid, .single-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
      .news-box { grid-template-columns: 1fr; padding: 28px 22px; }
      .news-form { flex-direction: column; }
      .foot-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 620px) {
      .wrap { width: min(var(--max), calc(100% - 28px)); }
      .cat-grid { grid-template-columns: repeat(2, 1fr); }
      .announce { font-size: 0.7rem; letter-spacing: 0.08em; }
      .logo-word { font-size: 0.9rem; }
      .km-home section { padding: 52px 0; }
      .foot-grid { grid-template-columns: 1fr; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .btn, .card, .km-cat, .km-single { transition: none; }
    }
  