/* 1.23.19: product page /shop/{id} (pp-) and cart /shop/cart (ct-) */
body.page-shop-product main, body.page-shop-cart main { padding-top: 112px; }
.pp-wrap { width: min(1480px, calc(100% - 64px)); margin: 0 auto; position: relative; padding-bottom: 40px; }
.pp-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.pp-crumb a { color: var(--muted); text-decoration: none; } .pp-crumb a:hover { color: var(--gold-2); }
.pp-crumb b { color: var(--text-2); font-weight: 500; }
.pp-alert { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(232,110,110,.4); background: rgba(232,110,110,.08); color: var(--text); font-size: 14px; }

.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "head buy" "gal buy" "info buy"; column-gap: clamp(28px, 3.2vw, 48px); align-items: start; }
.pp-head { grid-area: head; margin-bottom: 22px; }
.pp-head .eyebrow { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.pp-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.3vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 14px; overflow-wrap: anywhere; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pp-tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(var(--nv-surf-rgb), .35); }

.pp-gallery { grid-area: gal; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
.pp-gallery.single { grid-template-columns: minmax(0, 1fr); }
.pp-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pp-thumbs a { display: block; border-radius: 11px; overflow: hidden; border: 1px solid var(--line-2); opacity: .6; transition: opacity .2s, border-color .2s, box-shadow .2s; }
.pp-thumbs a:hover { opacity: .9; }
.pp-thumbs a.on { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(var(--nv-gold-rgb), .22); }
.pp-thumbs img { display: block; width: 96px; height: 64px; object-fit: cover; }
.pp-main { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: rgba(var(--nv-surf-rgb), .5); aspect-ratio: 16 / 9.4; box-shadow: 0 40px 80px -50px rgba(0,0,0,.9); }
.pp-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-demo { position: absolute; left: 14px; bottom: 14px; padding: 9px 14px; border-radius: 11px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--gold-2); background: rgba(var(--nv-bg-rgb), .72); border: 1px solid rgba(var(--nv-gold-rgb), .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pp-demo:hover { background: var(--gold-grad); color: var(--nv-on-gold); }

.pp-buy { grid-area: buy; position: sticky; top: 100px; padding: 22px; border-radius: 22px; }
.pp-buy-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pp-buy-top .eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.pp-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #6fd3a5; }
.pp-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fd3a5; box-shadow: 0 0 10px #6fd3a5; }
.pp-price { font-family: var(--display); font-weight: 800; font-size: 2.05rem; letter-spacing: -.02em; margin: 12px 0 2px; }
.pp-price small { font: 500 14px var(--sans); color: var(--muted); letter-spacing: 0; }
.pp-lic { margin: 0; font-size: 13.5px; color: var(--gold); }
.pp-rows { margin: 18px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 9px; }
.pp-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.pp-rows dt { color: var(--text-2); } .pp-rows dd { margin: 0; font-weight: 600; text-align: right; }
.pp-rows dd.ok { color: #6fd3a5; }
.btn.pp-btn { width: 100%; height: 50px; font-size: 15px; }
.pp-buy form + .pp-btn, .pp-buy form + form, .pp-buy .pp-btn + form, .pp-buy a.pp-btn + a.pp-btn { margin-top: 10px; display: flex; }
.pp-buy a.pp-btn + form { margin-top: 10px; }
.pp-owner { display: flex; gap: 10px; margin: 14px 0 0; padding: 11px 13px; border-radius: 12px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); background: rgba(var(--nv-gold-rgb), .06); border: 1px solid rgba(var(--nv-gold-rgb), .18); }
.pp-owner i { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--gold); }
.pp-trust { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.pp-trust span { display: inline-flex; align-items: center; gap: 6px; }

.pp-info { grid-area: info; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); margin-top: 34px; }
.pp-desc h2 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 12px; }
.pp-desc p { color: var(--text-2); line-height: 1.75; font-size: 15.5px; margin: 0 0 12px; }
.pp-label { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; }
.pp-inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-inc li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.pp-inc svg { flex: none; color: var(--gold); margin-top: 2px; }
.pp-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.pp-rel { margin-top: clamp(40px, 5vw, 64px); }
.pp-rel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.pp-rel-head .eyebrow { margin: 0 0 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.pp-rel-head h2 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin: 0; }
.pp-rel-head a { color: var(--gold); text-decoration: none; font-size: 14px; white-space: nowrap; }
.pp-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pp-rc { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; transition: border-color .25s, transform .3s var(--ease-out); }
.pp-rc:hover { border-color: var(--line-gold); transform: translateY(-2px); }
.pp-rc-link { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.pp-rc img { flex: none; width: 124px; height: 84px; object-fit: cover; border-radius: 11px; border: 1px solid var(--line-2); }
.pp-rc-t { display: grid; gap: 4px; min-width: 0; }
.pp-rc-t small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-rc-t b { font-family: var(--display); font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pp-rc-t span { font-weight: 700; font-size: 14.5px; }
.pp-rc form { margin: 0; align-self: flex-end; }
.pp-rc-add { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; cursor: pointer; color: var(--gold); background: transparent; border: 1px solid rgba(var(--nv-gold-rgb), .45); transition: background .2s, color .2s; align-self: flex-end; }
.pp-rc-add:hover, .pp-rc-add.on { background: var(--gold-grad); color: var(--nv-on-gold); border-color: transparent; }

.pp-toast { position: fixed; right: 24px; top: 96px; z-index: 90; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 16px; border-color: rgba(111,211,165,.4); background: rgba(var(--nv-bg2-rgb), .94); box-shadow: 0 24px 60px -24px rgba(0,0,0,.85); animation: ppIn .45s var(--ease-out); max-width: calc(100% - 32px); }
.pp-toast img { width: 64px; height: 42px; object-fit: cover; border-radius: 8px; }
.pp-toast span { display: grid; gap: 2px; min-width: 0; }
.pp-toast b { color: #6fd3a5; font-size: 13.5px; display: inline-flex; align-items: center; gap: 5px; }
.pp-toast small { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.pp-toast .btn { height: 40px; padding: 0 16px; font-size: 13.5px; }
.pp-toast.out { opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s; }
@keyframes ppIn { from { opacity: 0; transform: translateY(-10px); } }

.pp-bar { display: none; }

@media (max-width: 1100px) {
  .pp-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .pp-info { grid-template-columns: 1fr; }
  .pp-rel-grid { grid-template-columns: 1fr 1fr; }
  .pp-rel-grid .pp-rc:nth-child(3) { display: none; }
}
@media (max-width: 820px) {
  body.page-shop-product main, body.page-shop-cart main { padding-top: 86px; }
  .pp-wrap { width: calc(100% - 32px); padding-bottom: 96px; }
  .pp-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "gal" "buy" "info"; }
  .pp-head { margin-bottom: 16px; }
  .pp-gallery { grid-template-columns: minmax(0, 1fr); }
  .pp-thumbs { flex-direction: row; order: 2; overflow-x: auto; scrollbar-width: none; }
  .pp-thumbs img { width: 76px; height: 50px; }
  .pp-buy { position: static; margin-top: 20px; }
  .pp-info { margin-top: 28px; gap: 26px; }
  .pp-rel-grid { grid-template-columns: 1fr; gap: 10px; }
  .pp-rel-grid .pp-rc:nth-child(3) { display: flex; }
  .pp-rc img { width: 96px; height: 64px; }
  .pp-crumb-cat { display: none; }
  .pp-toast { left: 16px; right: 16px; top: 80px; }
  .pp-toast small { max-width: 40vw; }
  .pp-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(var(--nv-bg2-rgb), .94); border-top: 1px solid var(--line-gold); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .pp-bar > div { display: grid; }
  .pp-bar b { font-family: var(--display); font-size: 1.15rem; }
  .pp-bar small { font-size: 11.5px; color: var(--gold); }
  .pp-bar form, .pp-bar > a { flex: 1; display: flex; }
  .pp-bar .btn { flex: 1; height: 48px; padding: 0 16px; font-size: 14.5px; }
}

/* ---------- cart ---------- */
.ct-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0 0 24px; letter-spacing: -.02em; }
.ct-title span { font-size: .55em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3vw, 36px); align-items: start; }
.ct-sec { padding: 22px 24px; border-radius: 20px; margin-bottom: 22px; }
.ct-sec h2 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.15rem; margin: 0 0 4px; }
.ct-step { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(var(--nv-gold-rgb), .5); color: var(--gold); display: inline-grid; place-items: center; font: 600 13px var(--sans); }
.ct-sub { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ct-item { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.ct-item:first-of-type { border-top: 0; }
.ct-item img { width: 132px; height: 84px; object-fit: cover; border-radius: 11px; border: 1px solid var(--line-2); display: block; }
.ct-item h3 { font-family: var(--display); font-size: 1rem; margin: 0; } .ct-item h3 a { color: inherit; text-decoration: none; }
.ct-meta { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.ct-in, .ct-sel { width: 100%; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(var(--nv-bg-rgb), .45); color: var(--text); font: 400 14.5px var(--sans); padding: 0 12px; }
.ct-in:focus, .ct-sel:focus { outline: none; border-color: rgba(var(--nv-gold-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--nv-gold-rgb), .12); }
.ct-item .ct-in { max-width: 340px; }
.ct-price { text-align: right; }
.ct-price b { display: block; font-size: 1rem; } .ct-price small { display: block; color: var(--gold); font-size: 12.5px; margin-top: 3px; }
.ct-x { margin-top: 10px; background: none; border: 0; padding: 0; color: var(--muted); font: 400 12.5px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ct-x:hover { color: var(--gold-2); }
.ct-err { display: block; margin-top: 6px; color: #f08a8a; font-size: 12.5px; }
.ct-owners { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ct-oc { position: relative; display: block; cursor: pointer; padding: 14px 40px 14px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(var(--nv-fg-rgb), .02); transition: border-color .2s, background .2s, box-shadow .2s; }
.ct-oc input { position: absolute; opacity: 0; pointer-events: none; }
.ct-oc .rd { position: absolute; right: 13px; top: 13px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); }
.ct-oc:has(input:checked) { border-color: var(--gold); background: rgba(var(--nv-gold-rgb), .07); box-shadow: 0 0 0 3px rgba(var(--nv-gold-rgb), .12); }
.ct-oc:has(input:checked) .rd { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 42%, transparent 48%); }
.ct-oc:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.ct-oc small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ct-oc b { display: block; margin: 6px 0 4px; font-size: 15px; }
.ct-oc span.addr { display: block; font-size: 13px; color: var(--text-2); line-height: 1.5; overflow-wrap: anywhere; }
.ct-oc.new { border-style: dashed; text-align: center; padding: 18px 14px; }
.ct-oc.new b { color: var(--gold); } .ct-oc.new .pl { display: block; color: var(--gold); font-size: 26px; line-height: 1; }
.ct-del { position: absolute; right: 10px; bottom: 8px; margin: 0; }
.ct-del button { background: none; border: 0; color: var(--muted); font: 400 12px var(--sans); cursor: pointer; text-decoration: underline; }
.ct-form { display: none; margin-top: 16px; padding: 18px; border-radius: 16px; border: 1px solid rgba(var(--nv-gold-rgb), .32); background: rgba(var(--nv-gold-rgb), .035); }
.ct-ownerbox:has(#ow-new:checked) .ct-form.new, .ct-ownerbox:has(#ow-me:checked) .ct-form.me { display: block; }
.ct-ownerbox.no-has .ct-form { display: block; }
.ct-seg { display: inline-flex; padding: 3px; border-radius: 11px; border: 1px solid var(--line-2); margin-bottom: 14px; }
.ct-seg label { cursor: pointer; } .ct-seg input { position: absolute; opacity: 0; }
.ct-seg span { display: block; padding: 7px 14px; border-radius: 8px; font-size: 13.5px; color: var(--muted); }
.ct-seg input:checked + span { background: var(--gold-grad); color: var(--nv-on-gold); font-weight: 600; }
.ct-seg input:focus-visible + span { outline: 2px solid var(--gold); }
.ct-form .co-only { display: none; }
.ct-form:has(input[name="new_kind"][value="company"]:checked) .co-only { display: block; }
.ct-f { display: grid; gap: 12px; margin-top: 12px; }
.ct-f.c2 { grid-template-columns: 1fr 1fr; } .ct-f.c4 { grid-template-columns: 1fr 96px; } .ct-f.c3 { grid-template-columns: 110px 1fr 120px; }
.ct-f label { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.ct-f label .ct-in, .ct-f label .ct-sel { margin-top: 6px; }
.ct-f:first-child { margin-top: 0; }
.ct-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 14px; }
.ct-cb { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.ct-cb input { width: 18px; height: 18px; accent-color: var(--nv-gold-400, #e9c27c); }
.ct-sum { position: sticky; top: 100px; padding: 22px; border-radius: 22px; }
.ct-sum h2 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 12px; }
.ct-line { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--text-2); padding: 6px 0; }
.ct-line span:last-child { white-space: nowrap; }
.ct-line.ok { color: #6fd3a5; }
.ct-line.tot { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--text); }
.ct-line.then { color: var(--gold); font-size: 13px; }
.ct-code { display: flex; gap: 8px; margin: 12px 0 4px; }
.ct-code .btn { height: 42px; padding: 0 16px; font-size: 13.5px; }
.ct-msg { min-height: 18px; margin: 4px 0 6px; font-size: 12.5px; color: #6fd3a5; } .ct-msg.bad { color: #f08a8a; }
.ct-note { margin: 12px 0; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: rgba(var(--nv-fg-rgb), .03); font-size: 13px; line-height: 1.5; color: var(--text-2); }
.ct-terms { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 14px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.ct-terms input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--nv-gold-400, #e9c27c); }
.ct-terms a { color: var(--gold-2); }
.btn.ct-submit { width: 100%; height: 52px; }
.ct-after { margin: 12px 0 0; text-align: center; font-size: 12px; line-height: 1.55; color: var(--muted); }
.ct-login { text-align: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ct-login p { color: var(--text-2); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.ct-login .btn { width: 100%; height: 48px; margin-bottom: 10px; }
.ct-login small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.ct-empty { padding: 48px 24px; text-align: center; border-radius: 20px; }
.ct-empty p { color: var(--text-2); margin: 0 0 18px; }
.ct-flash { margin: 0 0 16px; padding: 11px 15px; border-radius: 12px; font-size: 14px; border: 1px solid rgba(111,211,165,.4); background: rgba(111,211,165,.07); }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1000px) { .ct-grid { grid-template-columns: 1fr; } .ct-sum { position: static; } }
@media (max-width: 640px) {
  .ct-sec { padding: 18px 16px; }
  .ct-item { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .ct-item img { width: 84px; height: 56px; }
  .ct-price { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; text-align: left; gap: 10px; flex-wrap: wrap; }
  .ct-price .ct-x { margin: 0; }
  .ct-item .ct-in { max-width: none; }
  .ct-f.c2, .ct-f.c3 { grid-template-columns: 1fr; }
  .ct-f.c3 { grid-template-columns: 96px 1fr; } .ct-f.c3 label:last-child { grid-column: 1 / -1; }
}
:root[data-theme="light"] .pp-stock, :root[data-theme="light"] .pp-rows dd.ok, :root[data-theme="light"] .ct-line.ok, :root[data-theme="light"] .ct-msg:not(.bad), :root[data-theme="light"] .pp-toast b { color: #1d7a52; }
:root[data-theme="light"] .pp-stock::before { background: #1d7a52; box-shadow: none; }
:root[data-theme="light"] .ct-err, :root[data-theme="light"] .ct-msg.bad { color: #b42318; }
/* 1.23.22: "Sofort kaufen" page in the same design as the cart */
body.page-shop-checkout .ct-sum .sf-msg { min-height: 18px; margin: 4px 0 6px; font-size: 12.5px; color: #6fd3a5; }
body.page-shop-checkout .ct-sum .sf-msg.bad { color: #f08a8a; }
body.page-shop-checkout .ct-sub a { color: var(--gold-2); font-weight: 600; text-decoration: none; }
body.page-shop-checkout .ct-form-open { display: block; }
.co-errs { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; }
:root[data-theme="light"] body.page-shop-checkout .ct-sum .sf-msg:not(.bad) { color: #1d7a52; }
:root[data-theme="light"] body.page-shop-checkout .ct-sum .sf-msg.bad { color: #b42318; }
/* 1.23.29: wish list */
.pp-fav-form { margin: 10px 0 0; }
.pp-fav { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none; }
.pp-fav-form .pp-fav { margin-top: 0; }
.pp-fav:hover { color: var(--gold-2); border-color: var(--line-gold); }
.pp-fav.on { color: #ff6b81; border-color: rgba(255,107,129,.45); }
.pp-fav.on svg { fill: currentColor; }
.pp-fav-note { margin: 8px 0 0; font-size: 12.5px; color: var(--text-2); }
.pp-fav-note a { color: var(--gold-2); }
