/* Typsnitt hostas själva (snabbare och inga anrop till Google, GDPR) */
@font-face { font-family: "Anton"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/anton-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }

:root {
  --night: #0b0b10;
  --night-2: #15151d;
  --cream: #f5f0e6;
  --muted: #9a97a3;
  --accent: #ffd36b;
  --line: rgba(245, 240, 230, 0.14);
  --display: "Anton", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--night);
  color: var(--cream);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(11, 11, 16, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; }
.logo span, .hero-logo span { color: var(--accent); }
.links { display: flex; gap: 28px; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }
.links a { opacity: .75; transition: opacity .2s; }
.links a:hover, .links a.active { opacity: 1; }
.cart-btn {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .14em;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.cart-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px;
  background: var(--accent); color: var(--night); border-radius: 999px; font-size: .72rem; font-weight: 700;
}
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--night); }
.btn-light:hover { background: var(--accent); }
.btn-ghost { border: 1px solid var(--line); }
.btn-dark { background: var(--night); color: var(--cream); width: 100%; }
.btn-dark:hover:not(:disabled) { background: var(--accent); color: var(--night); }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Starfield ---------- */
.stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent),
    radial-gradient(1px 1px at 30% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 55% 15%, #fff, transparent),
    radial-gradient(1px 1px at 75% 45%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 90% 80%, #fff, transparent),
    radial-gradient(1px 1px at 45% 90%, #fff, transparent),
    radial-gradient(1px 1px at 20% 50%, #fff, transparent),
    radial-gradient(1px 1px at 65% 85%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 85% 10%, #fff, transparent);
  background-size: 400px 400px;
  opacity: .5;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .2; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
  padding: 120px clamp(16px, 4vw, 48px) 60px;
  background: radial-gradient(ellipse at 70% 60%, #2a2440 0%, var(--night) 60%);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .3em; color: var(--accent); margin-bottom: 16px; }
.hero-logo { font-family: var(--display); font-weight: 400; font-size: clamp(4.5rem, 14vw, 12rem); line-height: .86; letter-spacing: .01em; }
.tagline { margin: 24px 0 36px; font-size: clamp(1rem, 2vw, 1.3rem); color: var(--muted); text-transform: uppercase; letter-spacing: .2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.campaign { position: relative; height: min(70vh, 560px); z-index: 1; }
.card {
  position: absolute; width: 56%; aspect-ratio: 3/4; border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.card svg { width: 100%; flex: 1; }
.card figcaption { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }
.c1 { background: #e9e2d3; color: #1b1b24; left: 0; top: 8%; transform: rotate(-8deg); }
.c2 { background: #2b2840; color: #3c3a58; right: 0; top: 0; transform: rotate(6deg); }
.c2 figcaption { color: var(--cream); }
.c3 { background: var(--accent); color: #1b1b24; left: 22%; bottom: 0; transform: rotate(-1deg); z-index: 2; }
.campaign:hover .c1 { transform: rotate(-12deg) translateX(-12px); }
.campaign:hover .c2 { transform: rotate(10deg) translateX(12px); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--cream); color: var(--night); padding: 14px 0; }
.track { display: flex; width: max-content; animation: scroll 22s linear infinite; }
.track span { font-family: var(--display); font-size: 1.4rem; letter-spacing: .06em; white-space: nowrap; padding-right: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) clamp(16px, 4vw, 48px); }
.section h2 { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 8vw, 6rem); line-height: 1; text-transform: uppercase; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }

/* ---------- Shop ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; transition: background .2s, color .2s; }
.chip.active, .chip:hover { background: var(--cream); color: var(--night); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product {
  background: var(--cream); color: var(--night); border-radius: 18px; padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s, opacity .3s;
}
.product:hover { transform: translateY(-4px); }
.product.hidden { display: none; }
.art {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #2f2b48, #14131c);
  color: #1d1c27; display: grid; place-items: center;
}
.art svg { width: 78%; height: 78%; transition: transform .4s; color: #e9e2d3; }
.product:nth-child(2) .art svg { color: #4a466b; }
.product:nth-child(3) .art svg { color: #26242f; }
.art.alt svg { color: #7a7690; }
.product:hover .art svg { transform: scale(1.06) rotate(-2deg); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--accent); color: var(--night); font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; padding: 4px 10px; border-radius: 999px;
}
.soon .badge { background: var(--cream); }
.info { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 4px; }
.info h3 { font-size: 1.05rem; }
.price { font-weight: 700; white-space: nowrap; }
.desc { font-size: .88rem; color: #5b5866; padding: 0 4px; flex: 1; }

/* ---------- Collection ---------- */
.collection {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px;
  padding: clamp(72px, 10vw, 128px) clamp(16px, 4vw, 48px);
  background: linear-gradient(160deg, #1d1a2e 0%, var(--night) 70%);
  border-block: 1px solid var(--line);
}
.collection-inner { position: relative; z-index: 1; max-width: 620px; }
.big { font-family: var(--display); font-weight: 400; font-size: clamp(4.5rem, 13vw, 10rem); line-height: .86; margin-bottom: 28px; }
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 32px; }
.lineup { margin-bottom: 36px; border-top: 1px solid var(--line); }
.lineup li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.lineup span { color: var(--accent); font-size: .75rem; font-weight: 700; }
.lineup em { margin-left: auto; font-style: normal; color: var(--muted); }
.collection-art { display: grid; place-items: center; }
.big-star { width: min(100%, 420px); aspect-ratio: 1; fill: var(--accent); background: radial-gradient(circle, rgba(255, 211, 107, .22), transparent 68%); will-change: transform; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); margin-top: 40px; }
.statement { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; text-transform: uppercase; }
.about-grid p + p { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-list { max-width: 820px; margin-top: 40px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--night-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 16px; }
.faq details p { padding: 0 24px 22px; color: var(--muted); line-height: 1.6; }
.faq details a { color: var(--cream); text-decoration: underline; }
.about-grid > div > p { color: var(--muted); font-size: 1.05rem; }
.values { margin-top: 32px; display: grid; gap: 14px; }
.values li { display: flex; flex-direction: column; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: .92rem; }
.values strong { color: var(--cream); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 2px; }

/* ---------- Contact ---------- */
.contact { background: var(--night-2); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 18px;
  border: 1px solid var(--line); transition: background .25s, color .25s, transform .25s;
}
.contact-card:hover { background: var(--accent); color: var(--night); transform: translateY(-4px); }
.contact-card.is-soon { opacity: .55; }
.contact-card.is-soon:hover { background: none; color: inherit; transform: none; }
.contact-card .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; opacity: .7; }
.contact-card .value { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); word-break: break-word; }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted);
}
.footer .logo { color: var(--cream); font-size: 1.2rem; }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(400px, 100%);
  background: var(--night-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 24px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.cart-open .drawer { transform: none; }
.cart-open .overlay { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer-head h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; }
.close { font-size: 2rem; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-items li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-items .qty { display: flex; align-items: center; gap: 10px; }
.cart-items .qty button { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; }
.cart-items small { color: var(--muted); display: block; }
.empty { color: var(--muted); flex: 1; }
.drawer.has-items .empty { display: none; }
.drawer-foot { padding-top: 16px; display: grid; gap: 16px; }
.total { display: flex; justify-content: space-between; font-size: 1.1rem; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, calc(100% + 40px)); transition: transform .35s;
  background: var(--accent); color: var(--night); font-weight: 700; font-size: .88rem;
  padding: 12px 22px; border-radius: 999px; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

[hidden] { display: none !important; }

/* ---------- Waitlist ---------- */
.waitlist { background: linear-gradient(160deg, #1d1a2e 0%, var(--night) 80%); border-bottom: 1px solid var(--line); text-align: center; }
.waitlist-inner { max-width: 560px; margin: 0 auto; }
.waitlist h2 { margin-bottom: 16px; }
.waitlist .lead { margin-bottom: 28px; }
.wait-form { display: grid; gap: 14px; text-align: left; }
.wait-row { display: flex; gap: 10px; }
.wait-row input {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; color: var(--cream); background: var(--night);
  border: 1px solid var(--line); border-radius: 999px; padding: 14px 20px;
}
.wait-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.wait-form .check { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--muted); }
.wait-form .check input { margin-top: 3px; accent-color: var(--accent); }
.wait-form .check a { text-decoration: underline; }
.wait-done { text-align: center; font-weight: 700; color: var(--accent); padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.wait-invited { margin: -12px 0 20px; color: var(--accent); font-weight: 700; font-size: .9rem; }
.wait-share { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.wait-share-title { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; }
.wait-share-lead { color: var(--muted); font-size: .9rem; }
.wait-share .wait-link { font-size: .85rem; }
@media (max-width: 480px) { .wait-row { flex-direction: column; } }

/* ---------- Size select ---------- */
.size-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.size { font: inherit; letter-spacing: 0; padding: 6px 10px; border-radius: 8px; border: 1px solid #cfc8b8; background: #fff; color: var(--night); }
.total.sub { font-size: .9rem; color: var(--muted); }

/* ---------- Checkout dialog ---------- */
.checkout-dialog {
  margin: auto; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px);
  background: var(--night-2); color: var(--cream); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; overflow-y: auto;
}
.checkout-dialog::backdrop { background: rgba(0,0,0,.65); }
.checkout-dialog h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; margin-bottom: 6px; }
.dialog-close { position: absolute; top: 16px; right: 20px; }
.hint { color: var(--muted); font-size: .9rem; }
.hint a, .check a { text-decoration: underline; }
.order-summary { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
.order-summary li { padding: 3px 0; color: var(--muted); }
.order-summary .sum { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.order-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.order-form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: .8rem; color: var(--muted); }
.order-form .check { grid-template-columns: none; }
.order-form input:not([type=checkbox]), .order-form textarea {
  font: inherit; font-size: 1rem; color: var(--cream); background: var(--night);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%;
}
.order-form input:focus, .order-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.order-form .row { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.order-form .check { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; }
.order-form .check input { margin-top: 3px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-error { color: #ff8a8a; font-size: .9rem; }
.form-error:empty { display: none; }
.step-done > p { margin-top: 10px; }
.swish-box { margin: 20px 0; padding: 20px; border-radius: 16px; background: var(--cream); color: var(--night); text-align: center; display: grid; gap: 6px; }
.swish-box .label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.swish-amount { font-family: var(--display); font-size: 2.6rem; line-height: 1.1; }
.swish-box .btn { margin-top: 10px; }
.demo-note { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: rgba(255,211,107,.12); color: var(--accent); font-size: .85rem; }
.footer-links a:hover { color: var(--cream); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 110px 16px 80px; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 8vw, 4rem); text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.legal h2 { font-size: 1.1rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal .todo { color: var(--accent); }

@media (max-width: 480px) {
  .order-form .row { grid-template-columns: 1fr; }
  .checkout-dialog { padding: 22px 18px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: grid; gap: 6px; width: 28px; order: 3; }
  .menu-toggle span { height: 2px; background: var(--cream); transition: transform .3s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    background: var(--night); font-family: var(--display); font-size: 2.4rem; letter-spacing: .04em;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .menu-open .links { opacity: 1; pointer-events: auto; }
  .cart-btn { margin-left: auto; }

  .hero, .collection { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .campaign { height: 380px; }
  .collection-art { order: -1; }
  .big-star { width: 160px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

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

/* ---------- Plaggfärger (drop 01) och förbeställning ---------- */
.cw-navy     { --fabric: #1f2636; --ink: #e9e6df; --seam: rgba(255,255,255,.22); --shade: rgba(0,0,0,.3); --zip: #a3a3a8; }
.cw-offwhite { --fabric: #ebe8e1; --ink: #121214; --seam: rgba(0,0,0,.22); --shade: rgba(0,0,0,.08); --zip: #b7b4ad; }
.art-light { background: radial-gradient(circle at 50% 40%, #f3efe6, #cfc8b8); }
.card svg[viewBox] { height: auto; }

.preorder-info {
  border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 28px);
  margin-bottom: 28px; background: rgba(255, 211, 107, .06);
}
.preorder-info .eyebrow { margin-bottom: 8px; }
.preorder-lead { font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 14px; max-width: 720px; }
.preorder-info ul { display: grid; gap: 8px; color: var(--muted); font-size: .92rem; }
.preorder-info li::before { content: "★ "; color: var(--accent); }
.preorder-info strong { color: var(--cream); }

/* ---------- Produktkort: klickbara + färgprickar ---------- */
.product .art { border: 0; width: 100%; cursor: pointer; padding: 0; font: inherit; }
.product .art:focus-visible, .link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link:hover { text-decoration: underline; }
.card-colors { display: flex; align-items: center; gap: 8px; padding: 0 4px; font-size: .78rem; color: #5b5866; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cream); outline: 1px solid #b9b3a5; cursor: pointer; padding: 0; }
.dot.on { outline: 2px solid var(--night); }

/* ---------- Produktvy ---------- */
.product-dialog {
  margin: auto; width: min(960px, calc(100% - 24px)); max-height: calc(100% - 24px);
  background: var(--night-2); color: var(--cream); border: 1px solid var(--line); border-radius: 20px;
  padding: 0; overflow-y: auto;
}
.product-dialog::backdrop { background: rgba(0,0,0,.7); }
.pd-close { position: absolute; top: 12px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(11,11,16,.6); color: var(--cream); font-size: 1.4rem; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pd-grid > * { min-width: 0; }
.pd-art {
  position: relative; display: grid; place-items: center; min-height: 420px;
  background: radial-gradient(circle at 50% 40%, #2f2b48, #14131c);
}
.pd-art.art-light { background: radial-gradient(circle at 50% 40%, #f3efe6, #cfc8b8); }
.pd-svg { width: 82%; }
.pd-svg svg { width: 100%; height: auto; display: block; }
.pd-info { padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; }
.pd-info .eyebrow { margin-bottom: 0; }
.pd-name { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.6rem); text-transform: uppercase; line-height: 1; }
.pd-price { font-weight: 700; font-size: 1.15rem; }
.pd-desc { color: var(--muted); }
.pd-label { margin-top: 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.pd-label strong { color: var(--cream); letter-spacing: .06em; }
.pd-colors, .pd-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-colors button, .pd-sizes button {
  font: inherit; font-size: .9rem; color: var(--cream); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s, border-color .2s;
}
.pd-sizes button { min-width: 52px; justify-content: center; }
.pd-colors i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); }
.pd-colors button[aria-checked="true"], .pd-sizes button[aria-checked="true"] { background: var(--cream); color: var(--night); border-color: var(--cream); }
.pd-colors button:hover, .pd-sizes button:hover { border-color: var(--accent); }
.pd-add { margin-top: 8px; width: 100%; }
.pd-preorder:empty { display: none; }
.pd-info details { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.pd-info summary { cursor: pointer; font-weight: 700; font-size: .9rem; }
.pd-info details > * + * { margin-top: 10px; }
.pd-fit { color: var(--muted); font-size: .9rem; }
.pd-table-wrap { overflow-x: auto; }
.pd-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.pd-table th, .pd-table td { padding: 7px 8px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pd-table tbody th { text-align: left; font-weight: 500; color: var(--muted); }
.pd-table thead th { font-size: .75rem; color: var(--muted); }
.pd-table .hl { background: rgba(255,211,107,.14); color: var(--accent); font-weight: 700; }
.pd-details { list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: .9rem; }
.pd-details li::before { content: "★ "; color: var(--accent); }

@media (max-width: 760px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-art { min-height: 300px; }
  .pd-svg { width: 70%; }
  .pd-info { padding: 20px 18px 24px; }
  .pd-table { font-size: .8rem; }
  .pd-table th, .pd-table td { padding: 6px 5px; }
}

/* ---------- Språkval ---------- */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; min-width: 44px; height: 36px;
  border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; color: var(--cream);
  transition: background .2s, color .2s;
}
.lang-btn:hover { background: var(--cream); color: var(--night); }
@media (max-width: 860px) {
  .nav-actions { margin-left: auto; order: 2; }
  .nav-actions .cart-btn { margin-left: 0; }
}

/* ---------- Produktfoton (Qikinks bilder med vår logga) ---------- */
.art.has-photo, .pd-art.has-photo { background: #d9d9d9; }
.art .photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.product:hover .art .photo { transform: scale(1.04); }
.pd-art.has-photo { place-items: stretch; }
.pd-art.has-photo .pd-svg { width: 100%; height: 100%; }
/* I produktvyn visas hela bilden (contain), annars klipps ärmen med texten bort i en hög ruta */
.pd-svg .photo { width: 100%; height: 100%; object-fit: contain; display: block; }
.card img { width: 100%; flex: 1; min-height: 0; object-fit: cover; border-radius: 10px; display: block; }

/* ---------- Bildgalleri i produktvyn ---------- */
.pd-media { display: flex; flex-direction: column; background: #0f0f15; min-width: 0; }
.pd-media .pd-art { flex: 1; }
.pd-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.pd-thumbs:empty { display: none; }
.pd-thumbs button { flex: 0 0 auto; width: 64px; height: 64px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .65; cursor: pointer; transition: opacity .2s, border-color .2s; }
.pd-thumbs button:hover { opacity: 1; }
.pd-thumbs button.on { border-color: var(--accent); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Produktsidor (produkt/*.html, SEO) ---------- */
[data-lang][hidden] { display: none !important; }
.pp { max-width: 1150px; margin: 0 auto; padding: 96px clamp(16px, 4vw, 48px) 56px; }
.crumbs { color: var(--muted); font-size: .85rem; margin-bottom: 20px; }
.crumbs a:hover { color: var(--cream); text-decoration: underline; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pp-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pp-media img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: var(--night-2); border-radius: 10px; }
.pp-media .pp-main { grid-column: 1 / -1; }
.pp-info { display: grid; gap: 12px; min-width: 0; }
.pp-info h2 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: .04em; margin-top: 18px; }
.pp-name { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; }
.pp-price { font-size: 1.4rem; font-weight: 700; }
.pp-state { color: var(--accent); font-size: .9rem; }
.pp-desc, .pp-colors { color: var(--muted); }
.pp-colors strong { color: var(--cream); }
.pp-cta { justify-self: start; margin-top: 6px; }
.pp-faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
.pp-faq summary { cursor: pointer; font-weight: 500; }
.pp-faq p { color: var(--muted); margin-top: 8px; font-size: .92rem; }
.pp-faq a, .pp-more a { text-decoration: underline; }
.pp-more { margin-top: 12px; }
.footer-products { font-size: .85rem; color: var(--muted); }
.footer-products a:hover { color: var(--cream); }
@media (max-width: 800px) { .pp-grid { grid-template-columns: minmax(0, 1fr); } .pp { padding-top: 84px; } }
