/* Page "Bewerten" (ks_bewertung, mockup shop-template/_preview/bewerten.html, owner 2026-11-14). Colours and icons
   from the template's ks.css variables. */
/* JTL prints the link title as its own h1 above the page; ours is the heading (one h1 on the page) */
body:has(.ks-bw) .index-heading-wrapper { display: none; }
.ks-bw { max-width: 680px; margin: 0 auto; padding: 20px 0 64px; }
.ks-bw [hidden] { display: none !important; }
.ks-bw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ks-bw-top { text-align: center; margin-bottom: 26px; }
.ks-bw-top h1 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; color: var(--ks-g900); }
.ks-bw-sub { margin: 10px auto 0; max-width: 460px; font-size: 16px; line-height: 1.5; color: var(--ks-g600); }
.ks-bw-hero { display: inline-flex; gap: 4px; margin-bottom: 14px; }
.ks-bw-hero i, .ks-bw-st i { background: var(--ks-o500); -webkit-mask: var(--ks-ic-star) center / contain no-repeat; mask: var(--ks-ic-star) center / contain no-repeat; }
.ks-bw-hero i { width: 30px; height: 30px; animation: ks-bw-pop .5s cubic-bezier(.23, 1, .32, 1) both; }
.ks-bw-hero i:nth-child(2) { animation-delay: .06s; } .ks-bw-hero i:nth-child(3) { animation-delay: .12s; }
.ks-bw-hero i:nth-child(4) { animation-delay: .18s; } .ks-bw-hero i:nth-child(5) { animation-delay: .24s; }
@keyframes ks-bw-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ks-bw-card { border-radius: 22px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 6px 22px -8px rgba(0, 0, 0, .12); }
.ks-bw-pad { padding: 20px 22px; }

.ks-bw-find { padding: 22px; }
.ks-bw-fld { display: block; margin-bottom: 14px; }
.ks-bw-fld span { display: block; margin: 0 0 6px 4px; font-size: 13.5px; font-weight: 500; color: var(--ks-g700); }
.ks-bw-fld input { width: 100%; height: 52px; padding: 0 18px; border: 0; border-radius: 26px; background: var(--ks-g50); box-shadow: inset 0 0 0 1px var(--ks-g200); font: inherit; font-size: 17px; color: var(--ks-g900); outline: none; transition: box-shadow .15s ease; }
.ks-bw-fld input:focus { box-shadow: inset 0 0 0 2px var(--ks-o500); }
.ks-bw-row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 12px; }
.ks-bw .ks-bw-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border: 0; border-radius: 26px; background: var(--ks-g900); color: #FFFFFF; font-size: 16.5px; font-weight: 500; transition: transform 160ms ease-out, background-color 150ms ease; }
.ks-bw .ks-bw-btn:hover { background: #000000; color: #FFFFFF; }
.ks-bw .ks-bw-btn:active { transform: scale(.97); }
.ks-bw-hint { margin: 14px 4px 0; font-size: 13.5px; line-height: 1.5; color: var(--ks-g500); }
/* an empty field: our red ring and a line under the field instead of the browser's square bubble (owner 2026-11-14) */
.ks-bw-fld.is-bad input { box-shadow: inset 0 0 0 2px #C42B1C; background: #FDF4F3; }
.ks-bw-fld em { display: none; margin: 6px 0 0 6px; font-style: normal; font-size: 13px; line-height: 1.35; color: #9E2216; }
.ks-bw-fld.is-bad em { display: block; }
.ks-bw-err { margin: 0 0 14px; padding: 12px 16px; border-radius: 16px; background: #FDF4F3; box-shadow: inset 0 0 0 1px rgba(196, 43, 28, .2); font-size: 14.5px; line-height: 1.45; color: #9E2216; }

.ks-bw-ord { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; margin-top: 12px; font-size: 14.5px; color: var(--ks-g600); }
.ks-bw-ord b { white-space: nowrap; font-weight: 600; color: var(--ks-g900); font-variant-numeric: tabular-nums; }
.ks-bw-vk { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--ks-ok-bg); color: var(--ks-ok); font-size: 12.5px; font-weight: 600; }
.ks-bw-vk::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--ks-ic-check) center / contain no-repeat; mask: var(--ks-ic-check) center / contain no-repeat; }
.ks-bw-it { padding: 18px 20px; }
.ks-bw-it + .ks-bw-it { box-shadow: inset 0 1px 0 var(--ks-g100); }
.ks-bw-ih { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; }
.ks-bw-ih img, .ks-bw-noimg { display: block; width: 72px; height: 72px; border-radius: 14px; object-fit: contain; background: var(--ks-g50); }
.ks-bw-nm { font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--ks-g900); }
.ks-bw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ks-bw-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--ks-g50); box-shadow: inset 0 0 0 1px var(--ks-g100); font-size: 12.5px; font-weight: 500; color: var(--ks-g700); }
.ks-bw-chip i { width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* stars: radio buttons 5..1 in the source, shown 1..5 (row-reverse); the checked one and the smaller ones are orange */
.ks-bw-rate { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 14px 0 0; padding: 0; border: 0; min-width: 0; }
.ks-bw-st { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.ks-bw-st input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ks-bw-st label { width: 44px; height: 44px; margin: 0; display: grid; place-items: center; cursor: pointer; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.ks-bw-st label:active { transform: scale(.9); }
.ks-bw-st i { width: 32px; height: 32px; background: var(--ks-g200); transition: background-color .15s ease; }
.ks-bw-st input:checked ~ label i, .ks-bw-st label:hover i, .ks-bw-st label:hover ~ label i { background: var(--ks-o500); }
.ks-bw-st input:focus-visible + label { outline: 3px solid rgba(184, 91, 28, .6); outline-offset: 2px; border-radius: 10px; }
.ks-bw-lbl { font-size: 15px; font-weight: 500; color: var(--ks-g500); min-width: 90px; }
.ks-bw-lbl.is-set { color: var(--ks-g900); }
.ks-bw-txt { display: block; margin: 12px 0 0; }
.ks-bw-form.is-js .ks-bw-it:not(.is-rated) .ks-bw-txt { display: none; }
.ks-bw-txt textarea { display: block; width: 100%; min-height: 92px; padding: 14px 16px; border: 0; border-radius: 18px; background: var(--ks-g50); box-shadow: inset 0 0 0 1px var(--ks-g200); font: inherit; font-size: 15.5px; line-height: 1.5; color: var(--ks-g900); resize: vertical; outline: none; }
.ks-bw-txt textarea:focus { box-shadow: inset 0 0 0 2px var(--ks-o500); }
.ks-bw-who { margin-top: 18px; padding: 18px 20px; }
.ks-bw-who .ks-bw-fld { margin: 0; }
.ks-bw-who p { margin: 8px 4px 0; font-size: 13px; line-height: 1.45; color: var(--ks-g500); }
.ks-bw .ks-bw-send { margin-top: 18px; }
.ks-bw-legal { margin: 12px 4px 0; font-size: 12.5px; line-height: 1.5; text-align: center; color: var(--ks-g500); }
.ks-bw-done { margin: -8px 0 24px; font-size: 16px; line-height: 1.5; text-align: center; color: var(--ks-g700); }
/* the reviews already written (owner 2026-11-14) */
.ks-bw-lblx { margin: 26px 0 10px 4px; font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--ks-g500); }
.ks-bw-done + .ks-bw-lblx { margin-top: 0; }
.ks-bw-wl { margin-bottom: 22px; padding: 4px 20px; }
.ks-bw-w { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; }
.ks-bw-w + .ks-bw-w { box-shadow: inset 0 1px 0 var(--ks-g100); }
.ks-bw-w img, .ks-bw-w .ks-bw-noimg { width: 56px; height: 56px; border-radius: 12px; }
.ks-bw-wst { display: flex; gap: 2px; margin-top: 6px; }
.ks-bw-wst i { width: 17px; height: 17px; background: var(--ks-g200); -webkit-mask: var(--ks-ic-star) center / contain no-repeat; mask: var(--ks-ic-star) center / contain no-repeat; }
.ks-bw-wst i.on { background: var(--ks-o500); }
.ks-bw-wt { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ks-g800); overflow-wrap: anywhere; }
.ks-bw-ws { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--ks-g500); }
.ks-bw-ws::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ks-o400, #E9965A); }
.ks-bw-ws.is-on { color: var(--ks-ok); }
.ks-bw-ws.is-on::before { background: var(--ks-ok); }
.ks-bw-wf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin-top: 8px; }
.ks-bw-wf .ks-bw-ws { margin-top: 0; }
.ks-bw-chg { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ks-o700); text-decoration: none; }
.ks-bw-chg::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--ks-ic-edit) center / contain no-repeat; mask: var(--ks-ic-edit) center / contain no-repeat; }
.ks-bw-chg:hover { text-decoration: underline; }
.ks-bw-okmsg { margin: -6px 0 22px; padding: 12px 16px; border-radius: 16px; background: var(--ks-ok-bg); box-shadow: inset 0 0 0 1px rgba(26, 127, 55, .22); font-size: 14.5px; line-height: 1.45; text-align: center; color: var(--ks-ok); }

.ks-bw-ok { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ks-ok-bg); box-shadow: inset 0 0 0 1.5px rgba(26, 127, 55, .25); }
.ks-bw-ok i { width: 32px; height: 32px; background: var(--ks-ok); -webkit-mask: var(--ks-ic-check) center / contain no-repeat; mask: var(--ks-ic-check) center / contain no-repeat; }
/* the Google card looks like the back of the parcel card (owner 2026-11-14): Google's four colours as a band on top,
   the QR left with a yellow star in the middle (code at error level H, made with segno), a row of yellow stars */
.ks-bw-gg { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 30px 24px 24px; align-items: center; }
.ks-bw-gg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75%); }
.ks-bw-gst { display: flex; gap: 6px; margin-bottom: 12px; }
.ks-bw-gst i { width: 26px; height: 26px; background: #FBBC05; -webkit-mask: var(--ks-ic-star) center / contain no-repeat; mask: var(--ks-ic-star) center / contain no-repeat; }
.ks-bw-gg h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--ks-g900); }
.ks-bw-gg p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: var(--ks-g600); }
.ks-bw-gq { display: none; }
.ks-bw-gqi { position: relative; display: block; }
.ks-bw-gqi svg { display: block; width: 100%; height: auto; }
.ks-bw-gqb { position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 18%; background: #FFFFFF; box-shadow: 0 0 0 3px #FFFFFF; }
.ks-bw-gqb i { width: 80%; aspect-ratio: 1; background: #FBBC05; -webkit-mask: var(--ks-ic-star) center / contain no-repeat; mask: var(--ks-ic-star) center / contain no-repeat; }
.ks-bw-gq b { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; text-align: center; color: var(--ks-g700); }
@media (min-width: 480px) {
    .ks-bw-row2 { grid-template-columns: minmax(0, 1fr) 150px; }
}
@media (min-width: 640px) {
    .ks-bw-gg.has-qr { grid-template-columns: 200px minmax(0, 1fr); gap: 34px; padding: 34px 34px 30px; }
    .ks-bw-gq { display: block; }
    .ks-bw-gg .ks-bw-btn { width: auto; justify-self: start; display: inline-flex; padding: 0 26px; }
}
@media (min-width: 768px) {
    .ks-bw { padding-top: 32px; }
    .ks-bw-top h1 { font-size: 34px; }
}
@media (max-width: 380px) {
    .ks-bw-st label { width: 40px; }
    .ks-bw-st i { width: 29px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) {
    .ks-bw-hero i { animation: none; }
}
