/* ============================================================================
   Shop 2026 — Kiosk-Grid (v2)
   Wird nur auf Shop-Seiten geladen.
   ========================================================================== */

.shop{max-width:100%;min-width:0}
.shop a{text-decoration:none;color:inherit}
.shop h1,
.shop h2{color:var(--red)}
.shop h1{font-size:clamp(1.55rem,3vw,2.05rem);line-height:1.15;letter-spacing:-.03em;margin:0 0 4px}
.shop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:nowrap;margin:0 0 20px}
.shop-head > div:first-child{flex:1 1 auto;min-width:0}
.shop-head .shop-cart{flex:0 0 auto}
.shop-kicker{font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--red);margin:0 0 4px}
.shop-lead{font-size:14px;line-height:1.5;color:var(--muted);margin:0;max-width:66ch}
.shop-crumbs{font-size:12px;color:var(--muted);margin:0 0 8px}
.shop-crumbs a{color:var(--muted)}
.shop-crumbs a:hover{color:var(--red)}
.shop-crumbs span{color:var(--red);font-weight:600}
.shop-cart{display:inline-flex;align-items:center;gap:8px;background:var(--red);color:#fff;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:700;white-space:nowrap;transition:.15s ease}
.shop .shop-cart,
.shop .shop-cart:link,
.shop .shop-cart:visited,
.shop .shop-cart:hover,
.shop .shop-cart:active{color:#fff}
.shop-cart:hover{background:var(--red-dark)}
.shop-cart .count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:var(--red);font-size:11px;font-weight:800}

/* Kategorien */
.shop-cats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 24px}
.shop-cat{display:flex;flex-direction:column;gap:7px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;min-width:0;transition:.15s ease}
.shop-cat:hover{border-color:var(--red);box-shadow:0 6px 20px rgba(194,0,21,.08)}
.shop-cat-img{height:96px;display:flex;align-items:center;justify-content:center;background:var(--soft);border-radius:8px;overflow:hidden;padding:6px}
.shop-cat-img img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.shop-cat-name{font-size:13px;font-weight:700;line-height:1.25}
.shop-cat-desc{font-size:11px;line-height:1.35;color:var(--muted)}
.shop-cat-count{font-size:10.5px;font-weight:700;color:var(--red);margin-top:auto}

/* Digital-Abo-Band */
.shop-abo{display:flex;align-items:center;gap:16px;background:#fff1f2;border:1px solid #f4d4d8;border-radius:14px;padding:16px;margin:0 0 28px}
.shop-abo img{width:76px;height:106px;object-fit:contain;background:#fff;border-radius:6px;padding:4px;flex:0 0 auto}
.shop-abo h2{font-size:1.05rem;margin:0 0 3px}
.shop-abo p{font-size:12px;line-height:1.4;color:var(--muted);margin:0 0 8px}
.shop-abo .price{font-size:15px;font-weight:800;color:var(--ink);margin:0}
.shop-abo .price small{font-size:11px;font-weight:500;color:var(--muted)}
.shop-abo .shop-cta{margin-left:auto}

/* Hero (Vorschlag A) */
.shop-hero{display:flex;gap:22px;align-items:center;background:linear-gradient(135deg,#fff1f2,#fff);border:1px solid #f4d4d8;border-radius:16px;padding:22px 24px;margin:0 0 20px}
.shop-hero-main{flex:1 1 auto;min-width:0}
.shop-hero h1{font-size:clamp(1.7rem,3.2vw,2.3rem);margin:0 0 8px}
.shop-hero .shop-lead{max-width:54ch}
.shop-hero-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.shop-hero-side{display:flex;flex-direction:column;gap:14px;align-items:flex-end;flex:0 0 auto}
.shop-hero-covers{display:flex;gap:8px}
.shop-hero-covers img{height:104px;max-width:74px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:6px;padding:3px}

/* Kategorien als Bildkacheln (Vorschlag B) */
.shop-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 28px}
.shop-tile{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;min-width:0;transition:.15s ease}
.shop-tile:hover{border-color:var(--red);box-shadow:0 6px 18px rgba(194,0,21,.07)}
.shop-tile-img{width:96px;height:124px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background:var(--soft);border-radius:8px;overflow:hidden;padding:6px}
.shop-tile-img img{max-width:100%;max-height:100%;object-fit:contain}
.shop-tile-main{min-width:0}
.shop-tile h3{font-size:15px;line-height:1.25;margin:0 0 3px;color:var(--ink)}
.shop-tile p{font-size:12px;line-height:1.35;color:var(--muted);margin:0 0 4px}
.shop-tile .cnt{font-size:11px;font-weight:800;color:var(--red)}

/* Buttons — wie Digital-Abo (Outline), Hover CI-Rot */
.shop-cta{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:transparent;border:1px solid var(--ink);color:var(--ink);border-radius:8px;padding:9px 14px;font-size:12px;font-weight:700;white-space:nowrap;transition:.15s ease}
.shop-cta:hover{background:var(--red);border-color:var(--red);color:#fff}
.shop-btn-ghost{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:9px 13px;font-size:12px;font-weight:600;transition:.15s ease}
.shop-btn-ghost:hover{border-color:var(--red);color:var(--red)}

/* Abschnitt */
.shop-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.shop-section-head h2{font-size:1.25rem;line-height:1.2;letter-spacing:-.02em;margin:0}
.shop-section-head a{font-size:12px;color:var(--muted)}
.shop-section-head a:hover{color:var(--red)}

/* Produktkarten */
.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:12px}
.shop-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0;transition:.15s ease}
.shop-card:hover{border-color:var(--red);box-shadow:0 8px 22px rgba(194,0,21,.09)}
.shop-card-img{height:210px;display:flex;align-items:center;justify-content:center;background:var(--soft);padding:10px}
.shop-card-img img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.shop-card-body{display:flex;flex-direction:column;gap:4px;padding:12px 13px 14px;flex:1 1 auto;min-width:0}
.shop-tag{font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--red)}
.shop-card-title{font-size:14px;font-weight:700;line-height:1.3;margin:0;overflow-wrap:anywhere}
.shop .shop-card-title{font-size:14px;line-height:1.3;letter-spacing:0}
.shop-noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:11px;color:var(--muted);text-align:center;line-height:1.3;padding:0 12px}
.shop-card-title a:hover{color:var(--red-dark)}
.shop-card-sub{font-size:11.5px;line-height:1.35;color:var(--muted);margin:0}
.shop-card-price{font-size:15px;font-weight:800;margin:6px 0 0;color:var(--ink)}
.shop-card-price small{display:block;font-size:10.5px;font-weight:500;color:var(--muted);margin-top:2px}
.shop-card-actions{margin-top:auto;padding-top:10px}
.shop-card-actions .shop-cta{width:100%}

/* Kategorie-Unterseiten */
.shop-subgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.shop-sub{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;min-width:0;transition:.15s ease}
.shop-sub:hover{border-color:var(--red)}
.shop-sub-img{width:66px;height:88px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background:var(--soft);border-radius:6px;overflow:hidden;padding:4px}
.shop-sub-img img{max-width:100%;max-height:100%;object-fit:contain}
.shop-sub-main{min-width:0}
.shop-sub h3{font-size:14px;line-height:1.25;margin:0 0 2px;color:var(--ink)}
.shop-sub p{font-size:11.5px;line-height:1.35;color:var(--muted);margin:0 0 4px}
.shop-sub .count{font-size:10.5px;font-weight:700;color:var(--red)}
.shop-empty{background:#fff;border:1px dashed var(--line);border-radius:12px;padding:28px 20px;text-align:center;color:var(--muted);font-size:14px}
.shop-empty a{color:var(--red);font-weight:600}

/* Produktdetail */
.shop-product{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px;align-items:start}
.shop-product-cover{position:sticky;top:18px;display:flex;flex-direction:column;align-items:center;gap:12px;background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:20px}
.shop-product-cover img{max-width:100%;max-height:430px;object-fit:contain;display:block}
.shop-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.shop-badge{font-size:9.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--red);background:#fff;border:1px solid #f4d4d8;border-radius:999px;padding:4px 9px}
.shop-preview{font-size:12px;font-weight:700;color:var(--red)}
.shop-preview:hover{color:var(--red-dark)}
.shop-product-info{min-width:0}
.shop-product-meta{font-size:12.5px;color:var(--muted);margin:0 0 4px}
.shop-buy{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0 16px}
.shop-price{font-size:27px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.shop-price small{display:block;font-size:11px;font-weight:500;color:var(--muted);letter-spacing:0;margin-top:3px}
.shop-price-sub{font-size:12px;color:var(--muted);margin-top:4px}
.shop-price-total{font-size:13px;color:var(--ink);margin-top:6px}
.shop-price-total strong{font-size:16px;color:var(--red)}
.shop-price-total small{font-size:11px;color:var(--muted)}
#form_order{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}
#form_order label{font-size:12px;font-weight:600}
#form_order input[type="number"]{width:76px;border:1px solid var(--input-border);border-radius:8px;padding:9px 10px;font:inherit;color:var(--ink)}
#form_order input[type="number"]:focus{outline:2px solid var(--red);outline-offset:1px;border-color:var(--red)}
.shop-add{border:1px solid var(--ink);border-radius:8px;background:transparent;color:var(--ink);padding:10px 16px;font:700 13px/1.2 var(--font);cursor:pointer;transition:.15s ease}
.shop-add:hover{background:var(--red);border-color:var(--red);color:#fff}
.shop-add:disabled{opacity:.5;cursor:not-allowed}
.shop-hint{font-size:11px;color:var(--muted);margin-top:6px}
.shop-delivery{font-size:11.5px;color:var(--muted);margin-top:8px}
.shop-warning{font-size:12px;line-height:1.45;color:var(--red);background:#fff1f2;border:1px solid #f4d4d8;border-radius:8px;padding:8px 10px;margin-top:10px}
.shop-facts{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;margin:14px 0;font-size:12.5px}
.shop-facts div{display:flex;gap:6px;min-width:0}
.shop-facts b{min-width:82px;font-weight:600;color:var(--muted)}
.shop-facts span{color:var(--ink);overflow-wrap:anywhere}
.shop-details{border-top:1px solid var(--line);padding:11px 0}
.shop-details summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;font-size:13px;font-weight:700;color:var(--ink)}
.shop-details summary::-webkit-details-marker{display:none}
.shop-details summary::after{content:"+";color:var(--red);font-weight:700}
.shop-details[open] summary::after{content:"−"}
.shop-details-body{padding-top:8px;font-size:13px;line-height:1.6;color:#3d3d3d;overflow-wrap:anywhere}
.shop-product-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 8px}
.shop-shipping{font-size:11.5px;line-height:1.5;color:var(--muted);margin:6px 0 0}
.shop-shipping a{color:var(--red)}
.shop-related{margin-top:30px}

@media (max-width:1100px){
  .shop-cats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:980px){
  .shop-product{grid-template-columns:1fr}
  .shop-product-cover{position:static}
  .shop-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-abo{flex-wrap:wrap}
  .shop-abo .shop-cta{margin-left:0}
  .shop-tiles{grid-template-columns:1fr}
  .shop-hero{flex-direction:column;align-items:flex-start}
  .shop-hero-side{align-items:flex-start}
}
@media (max-width:620px){
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-card-img{height:155px}
  .shop-cats{grid-template-columns:1fr}
  .shop-facts{grid-template-columns:1fr}
  .shop-head{gap:12px;flex-wrap:wrap}
  .shop-head > div:first-child{flex:1 1 100%}
  .shop-cart{width:100%;justify-content:center}
  .shop-subgrid{grid-template-columns:1fr}
  .shop-price{font-size:23px}
}


/* ---------- Warenkorb ---------- */
.cart-list{display:flex;flex-direction:column;gap:10px}
.cart-row{display:grid;grid-template-columns:minmax(0,1fr) 160px 120px 190px 36px;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;transition:.15s ease}
.cart-row:hover{border-color:var(--red)}
/* Kompakte Warenkorb-Zusammenfassung (Bestellübersicht) */
.cart-row.is-summary{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
.cart-row.is-summary .cart-item{flex:1 1 220px;min-width:0}
.cart-row.is-summary .cart-price{flex:0 0 auto}
.cart-row.is-summary .cart-qty{flex:0 0 auto;flex-direction:row;align-items:center;gap:6px}
.cart-row.is-summary .cart-total{flex:0 0 auto;margin-left:auto;text-align:right}
.cart-item .cart-title{font-size:14px;font-weight:700;line-height:1.3;color:var(--ink);text-decoration:none}
.cart-item .cart-title:hover{color:var(--red-dark);text-decoration:underline}
.cart-item .cart-sub{font-size:11.5px;color:var(--muted);margin-top:2px}
.cart-price{font-size:13px;font-weight:600}
.cart-price .line_staffel,
.cart-price .line_mwst,
.cart-total .line_mwst_gesamt,
.cart-total .line_shipment{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:2px}
.cart-total strong{font-size:16px}
.cart-total .line_shipment em{color:var(--red);cursor:pointer;font-style:normal}
.cart-qty{display:flex;flex-direction:column;gap:4px}
.cart-qty label{font-size:11px;font-weight:600;color:var(--muted)}
.cart-qty .input_text{width:72px;border:1px solid var(--input-border);border-radius:8px;padding:8px 10px;font:13px var(--font);color:var(--ink)}
.cart-qty .input_text.alert{border-color:var(--red)}
.cart-remove{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);font-size:20px;line-height:1;cursor:pointer;transition:.15s ease}
.cart-remove:hover{border-color:var(--red);color:var(--red);background:#fff1f2}
.cart-summary{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;margin-top:4px}
.cart-summary-row{display:flex;align-items:baseline;gap:16px;font-size:15px}
.cart-summary-row .cart-count{margin-left:auto;color:var(--muted);font-size:13px}
.cart-summary-row .cart-grandtotal{font-size:22px;color:var(--red)}
.cart-note{font-size:11.5px;color:var(--muted);margin:8px 0 0}
.cart-shipping{font-size:12px;color:var(--muted);margin-top:10px}
.cart-shipping table{border-collapse:collapse;margin-top:6px}
.cart-shipping td{padding:3px 14px 3px 0;border-bottom:1px solid var(--line);font-size:12px}
.cart-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}

/* ---------- Kassenseite (Kundendaten + Bestätigung) ---------- */
.legacy #form_customer,
.legacy #form_checkout{max-width:720px}
.legacy #form_customer fieldset,
.legacy #form_checkout fieldset,
.legacy #form_termination fieldset{border:0;border-radius:0;padding:0;margin:0;background:transparent;min-width:0}
.legacy #form_customer legend,
.legacy #form_checkout legend,
.legacy #form_termination legend{font-size:14px;font-weight:700;color:var(--red);padding:0;margin:0 0 6px}
.legacy #form_customer .label_left,
.legacy #form_checkout .label_left{display:inline-block;width:165px;font-size:12.5px;color:var(--muted);vertical-align:middle}
.legacy #form_customer .input_text,
.legacy #form_customer .select_category,
.legacy #form_checkout .input_text,
.legacy #form_checkout .select_category{border:1px solid var(--input-border);border-radius:8px;padding:8px 10px;font:400 13px var(--font);color:var(--ink);margin:3px 0}
.legacy #form_termination .input_text,
.legacy #form_termination .input_email,
.legacy #form_termination .input_call,
.legacy #form_termination .input_date,
.legacy #form_termination .select_category{border:1px solid var(--input-border);border-radius:8px;padding:8px 10px;font:400 13px var(--font);color:var(--ink);margin:3px 0;width:100%;max-width:340px}
.legacy #form_termination .input_check{accent-color:var(--red);width:auto;max-width:none}
.legacy #form_termination .input_submit{width:auto;height:auto;margin:0;background:var(--red);color:#fff;border:0;border-radius:8px;padding:11px 20px;font:700 14px/1.2 var(--font)}
.legacy #form_termination .input_reset{width:auto;height:auto;margin:0;background:transparent;color:var(--ink);border:1px solid var(--ink);border-radius:8px;padding:10px 16px;font:600 13px/1.2 var(--font)}
.legacy #form_customer input[type=checkbox],
.legacy #form_customer input[type=radio]{accent-color:var(--red)}
.legacy .row_454,
.legacy .row_354{width:auto;max-width:720px}
.legacy .pdata{font-size:13px;margin:5px 0}
.legacy .pdata .label_left{color:var(--muted);width:165px;display:inline-block}

/* ---------- Kasse & Bestellübersicht (v2) ---------- */
.shop-checkout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.shop-checkout-main{min-width:0}
.shop-checkout-side{display:flex;flex-direction:column;gap:16px;min-width:0}

.shop-form{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.shop-form fieldset{border:0;margin:0;padding:0;min-width:0}
.shop-form legend{font-size:1.12rem;font-weight:800;color:var(--red);letter-spacing:-.01em;margin:0 0 6px;padding:0}
.shop-form-hint{font-size:12px;color:var(--muted);margin:0 0 14px}
.shop-form .field{display:grid;grid-template-columns:170px minmax(0,1fr);gap:8px 14px;align-items:center;padding:8px 0}
.shop-form .field + .field{border-top:1px solid var(--soft)}
.shop-form .field > label{font-size:13px;font-weight:600;color:var(--ink);line-height:1.3}
.shop-form .field > label em{color:var(--red);font-style:normal}
.shop-form .field small{font-size:11.5px;color:var(--muted)}
.shop-form .field input,
.shop-form .field select{width:100%;max-width:340px}
.shop-form .field input.input_error,
.shop-form .field select.input_error{border-color:var(--red);background:#fff6f6}
.shop-form .field-note{grid-column:1 / -1;font-size:11.5px;color:var(--muted);margin:-2px 0 4px}
.shop-form .field-check{grid-column:1 / -1;display:flex;gap:10px;align-items:center;padding:10px 0}
.shop-form .field-check input{width:auto;max-width:none}
.shop-form .field-check label{font-size:13px;color:var(--ink);cursor:pointer}
.shop-form .field-check label em{font-style:normal;color:var(--red);text-decoration:underline}
.shop-form-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.shop-form-actions .input_submit,
.shop-form-actions .shop-btn-ghost,
.shop-form-actions .shop-add{flex:0 0 auto;white-space:nowrap}
.shop-form .input_reset{border:1px solid var(--ink);background:transparent;color:var(--ink);border-radius:8px;padding:10px 16px;font:600 13px/1.2 var(--font);cursor:pointer;transition:.15s ease}
.shop-form .input_reset:hover{background:var(--soft)}
.shop-form .input_submit{background:var(--red);color:#fff;border:0;border-radius:8px;padding:11px 20px;font:700 14px/1.2 var(--font);cursor:pointer;transition:.15s ease}
.shop-form .input_submit:hover{background:var(--red-dark)}

.shop-summary{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.shop-summary h2{font-size:1.02rem;font-weight:800;color:var(--red);margin:0 0 10px}
.shop-summary .shop-summary-hint{font-size:12px;color:var(--muted);margin:0 0 4px}
.shop-summary-row{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:6px 0;border-bottom:1px solid var(--soft)}
.shop-summary-row:last-of-type{border-bottom:0}
.shop-summary-row .val{font-weight:700}
.shop-summary-total{display:flex;justify-content:space-between;gap:12px;font-size:15px;font-weight:800;color:var(--ink);padding-top:10px}
.shop-summary-total small{display:block;font-weight:400;font-size:11px;color:var(--muted)}
.shop-summary .shop-cta{width:100%;margin-top:12px}

.shop-checkout-section{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;margin:0 0 16px}
.shop-checkout-section h2{font-size:1.02rem;font-weight:800;color:var(--red);margin:0 0 12px}
.shop-checkout-section p{font-size:13px;line-height:1.6;color:#484848;margin:0}

.shop-pdata{display:grid;grid-template-columns:180px minmax(0,1fr);gap:6px 14px;font-size:13.5px}
.shop-pdata .l{color:var(--muted)}
.shop-pdata .v{color:var(--ink);overflow-wrap:anywhere}

@media (max-width:900px){
  .shop-checkout{grid-template-columns:1fr}
}
@media (max-width:620px){
  .shop-form .field{grid-template-columns:1fr;gap:3px 0}
  .shop-form .field > label{margin-bottom:2px}
  .shop-pdata{grid-template-columns:1fr;gap:2px}
  .shop-form-actions{flex-wrap:wrap}
}

@media (max-width:760px){
  .cart-row{grid-template-columns:1fr 1fr;gap:10px;position:relative;padding-right:44px}
  .cart-item{grid-column:1 / -1}
  .cart-remove{position:absolute;top:10px;right:10px}
  .cart-qty{flex-direction:row;align-items:center;justify-content:flex-start}
}
