/* Stickerino Shop: Startbereich, Konfigurator, Preise, Warenkorb */
.notice {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; border: 2px solid var(--ink); background: var(--accent);
  color: var(--accent-ink); font-weight: 600; display: flex; gap: 12px; justify-content: space-between; align-items: center;
}
.notice button { background: none; border: 0; font: inherit; font-weight: 700; color: inherit; cursor: pointer; text-decoration: underline; }
.notice.error { background: var(--surface); color: var(--bad); border-color: var(--bad); }

.hero { padding: 44px 0 28px; }
.eyebrow { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 6.4vw, 64px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 800; max-width: 16ch; }
.hero h1 u { text-decoration-color: var(--accent); text-decoration-thickness: .16em; text-underline-offset: .07em; text-decoration-skip-ink: none; }
.hero .lead { margin: 16px 0 24px; color: var(--muted); font-size: 17px; max-width: 54ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 28px 0; }
.section > .wrap > h2, .section-title { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px; }
.section-sub { color: var(--muted); margin: 0 0 22px; max-width: 60ch; }

.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 15px; border: 2px solid var(--line);
  background: var(--surface); color: var(--ink); border-radius: 12px; font: inherit; cursor: pointer; text-align: left; min-width: 0;
}
.tab b { font: 800 18px var(--f-display); }
.tab small { font: 400 12px var(--f-mono); color: var(--muted); }
.tab:hover { border-color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tab[aria-pressed="true"] small { color: inherit; opacity: .75; }

.layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.left { position: sticky; top: 88px; min-width: 0; }
.right { min-width: 0; }
.cap { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; margin-top: 10px; font: 400 12px var(--f-mono); color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 7px; font: 500 13px var(--f-body); color: var(--ink); cursor: pointer; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.sec { padding: 20px 0; border-top: 1px solid var(--line); }
.sec:first-child { border-top: 0; }
.sec h3 { font: 600 12px/1 var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.row { display: grid; gap: 6px; margin-bottom: 14px; }
.row:last-child { margin-bottom: 0; }
.lbl { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.lbl output { font: 400 12px var(--f-mono); color: var(--muted); }
.sw { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sw button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); padding: 0; cursor: pointer; background: var(--c); }
.sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.sw .own { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-left: 4px; }

.drop { display: grid; gap: 2px; padding: 14px; border: 2px dashed var(--line); border-radius: 12px; cursor: pointer; background: var(--bg); margin-bottom: 12px; }
.drop strong { font-weight: 700; }
.drop span { color: var(--muted); font-size: 13px; }
.drop.over { border-color: var(--ink); }
.drop:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.err { margin: 0 0 10px; color: var(--bad); font-size: 13px; }
.err:empty { display: none; }
.info { margin: 0 0 14px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; overflow-wrap: anywhere; }

.variants { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; min-width: 0; }
.variants legend { padding: 0; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.var {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 14px;
  border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--bg);
}
.var:hover { border-color: var(--ink); }
.var:has(input:checked) { border-color: var(--ink); background: var(--surface); box-shadow: 3px 3px 0 var(--hard); }
.var:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.var:has(input:disabled) { opacity: .55; cursor: not-allowed; box-shadow: none; }
.var .vl { font-weight: 700; }
.var .vp { font: 600 14px var(--f-mono); }
.var .vs { grid-column: 2 / 4; font-size: 12px; color: var(--muted); }
.var .vs.low { color: var(--warn); }
.var .vs.out { color: var(--bad); }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--surface); }
.qty button { width: 36px; height: 38px; border: 0; background: transparent; color: var(--ink); font: 700 18px var(--f-body); cursor: pointer; }
.qty button:hover { background: var(--line); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty output { min-width: 34px; text-align: center; font: 600 14px var(--f-mono); }
.total { margin-left: auto; font: 800 24px var(--f-display); }
.buy-msg { margin: 10px 0 0; font-size: 13px; color: var(--bad); }
.buy-msg:empty { display: none; }
.buy-btn { width: 100%; padding: 14px 18px; font-size: 16px; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; min-width: 0; }
.price-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.price-card ul { list-style: none; margin: 0; padding: 0; }
.price-card li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 0; border-top: 1px solid var(--line); align-items: baseline; }
.price-card li:first-child { border-top: 0; }
.price-card .pl { font-weight: 600; }
.price-card .pp { font: 600 14px var(--f-mono); }
.price-card .ps { grid-column: 1 / 3; font-size: 12px; color: var(--muted); }
.price-card .ps.out { color: var(--bad); }
.price-card .ps.low { color: var(--warn); }
.ship { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: grid; gap: 8px; max-width: 720px; }
.ship p { margin: 0; }
.ship strong { font-family: var(--f-mono); }

/* Warenkorb */
.overlay { position: fixed; inset: 0; background: rgba(10, 12, 18, .55); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 80; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); border-left: 2px solid var(--ink);
  z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden;
  transition: transform .25s, visibility 0s .25s; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
body.cart-open .drawer { transform: none; visibility: visible; transition: transform .25s, visibility 0s; }
body.cart-open .overlay { opacity: 1; pointer-events: auto; }
body.cart-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; font-weight: 800; }
.x { width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: 700 18px var(--f-body); cursor: pointer; }
.x:hover { background: var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.empty { color: var(--muted); padding: 28px 0; text-align: center; }
.ci { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ci .stage { width: 84px; }
.ci h4 { margin: 0; font: 800 16px var(--f-display); }
.ci .sub { font-size: 12.5px; color: var(--muted); margin: 2px 0 8px; overflow-wrap: anywhere; }
.ci .line { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ci .qty button { width: 30px; height: 30px; font-size: 16px; }
.ci .qty { border-width: 1.5px; }
.ci .lp { font: 700 14px var(--f-mono); }
.ci .rm { background: none; border: 0; color: var(--muted); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 4px 0; }
.ci .warn { color: var(--bad); font-size: 12.5px; margin-top: 4px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; display: grid; gap: 8px; background: var(--surface); }
.sumrow { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.sumrow.tot { color: var(--ink); font: 800 20px var(--f-display); margin-top: 4px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 6px 0 4px; cursor: pointer; }
.agree input { margin-top: 3px; flex: none; }
.agree a { color: var(--ink); }
.pay-note { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }

@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .left { position: static; }
}
@media (max-width: 520px) {
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: 0 16px; }
  .hero { padding-top: 28px; }
}
