/* Pizza Doy – V50: moderne Kasse + neue untere Leiste (Webseite) */

/* ================= KASSE ================= */
.pd-checkout{background:var(--pd-bg2,#f6f6f8)}
.pd-checkout .shadow-xs.bg-white,.pd-checkout .rounded-2xl.bg-white{background:var(--pd-card,#fff) !important;border-radius:22px !important;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.05) !important;border:1px solid var(--pd-line,#ececf0) !important}
.pd-checkout .p-4.mb-6.rounded-2xl{padding:20px 18px !important}
.pd-checkout h4.font-medium,.pd-checkout h4.capitalize.font-medium{font-size:18px !important;font-weight:800 !important;letter-spacing:-.01em;color:var(--pd-tx,#1b1b1f) !important;margin-bottom:12px !important}

/* Adresse: Knöpfe ruhig, Karte klar markiert */
.pd-checkout .velmld-parent button{background:var(--pd-bg2,#f6f6f8) !important;color:var(--pd-tx,#1b1b1f) !important;border:1px solid var(--pd-line,#ececf0) !important;
  font-size:13px !important;font-weight:700 !important;padding:7px 12px !important;border-radius:999px !important;text-transform:none !important}
.pd-checkout .velmld-parent button i{color:var(--pd-o,#9a3d20) !important}
.pd-checkout .grid.active-group{grid-template-columns:1fr !important}
.pd-checkout .grid.active-group > label{padding:14px 16px !important;border-radius:16px !important;border:1.5px solid var(--pd-line,#ececf0) !important;background:var(--pd-card,#fff) !important;transition:border-color .15s,background .15s}
.pd-checkout .grid.active-group > label.active,.pd-checkout .grid.active-group > label:has(input:checked){border-color:var(--pd-o,#9a3d20) !important;background:var(--pd-o-soft,#f8ece7) !important}
.pd-checkout .grid.active-group > label .text-xs{font-size:14px !important}
.pd-checkout .grid.active-group > label .flex.items-center.gap-2{color:var(--pd-tx,#1b1b1f) !important;font-weight:800}
.pd-checkout .grid.active-group > label .flex.items-center.gap-2 i,.pd-checkout .grid.active-group > label .icon-location1{color:var(--pd-o,#9a3d20) !important}
.pd-checkout .grid.active-group > label .text-\[\#1F1F39\]{color:var(--pd-tx2,#5e6069) !important}

/* Lieferzeit: große Kacheln nebeneinander */
.pd-checkout .pd-time-options{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important;gap:10px !important}
.pd-checkout .pd-time-options > label{width:100% !important;padding:14px 16px !important;border-radius:16px !important;border:1.5px solid var(--pd-line,#ececf0) !important;
  background:var(--pd-card,#fff) !important;align-items:center !important;gap:10px !important}
.pd-checkout .pd-time-options > label:has(input:checked){border-color:var(--pd-o,#9a3d20) !important;background:var(--pd-o-soft,#f8ece7) !important}
.pd-checkout .pd-time-options dt{font-size:15px !important;font-weight:800 !important;white-space:normal !important;margin-bottom:2px !important}
.pd-checkout .pd-time-options dd{font-size:13.5px !important;color:var(--pd-tx2,#5e6069) !important;white-space:normal !important}

/* Warenkorb-Übersicht */
.pd-checkout .col-12.md\:col-5 h3.text-center{font-size:18px !important;font-weight:800 !important;text-align:left !important;margin-bottom:14px !important}
.pd-checkout .flex.items-center.rounded-2xl.w-fit.mx-auto{width:100% !important;padding:4px !important;border-radius:14px !important;background:var(--pd-bg2,#f2f2f4) !important;margin-bottom:16px !important}
.pd-checkout .flex.items-center.rounded-2xl.w-fit.mx-auto > div{flex:1 1 0}
.pd-checkout .flex.items-center.rounded-2xl.w-fit.mx-auto label{display:block !important;text-align:center !important;padding:10px 0 !important;border-radius:11px !important;font-size:15px !important;font-weight:800 !important}
.pd-checkout .pl-3{padding-left:0 !important}
.pd-checkout .pl-3 > div{padding:12px 0 !important;margin:0 !important;border-bottom:1px solid var(--pd-line,#ececf0) !important}
.pd-checkout .pl-3 > div:last-child{border-bottom:0 !important}
.pd-checkout .pl-3 img{width:56px !important;height:56px !important;border-radius:12px !important;object-fit:cover}
.pd-checkout .pl-3 h3.absolute{top:40px !important;left:30px !important;right:auto !important;width:auto !important;min-width:26px !important;height:22px !important;line-height:18px !important;
  padding:0 6px !important;font-size:12px !important;font-weight:800 !important;border-radius:999px !important;background:var(--pd-card,#fff) !important;color:var(--pd-tx,#1b1b1f) !important;
  border:1.5px solid var(--pd-line,#e2e2e6) !important;box-shadow:0 2px 6px rgba(0,0,0,.12);z-index:1}
.pd-checkout .pl-3 h3.absolute::after{content:"\00d7"}
.pd-checkout .pl-3 .w-full > span{font-size:15px !important;font-weight:700 !important;color:var(--pd-tx,#1b1b1f) !important}
.pd-checkout .pl-3 .w-full > p{font-size:13px !important;color:var(--pd-tx2,#5e6069) !important;margin:1px 0 3px !important;text-transform:none !important}
.pd-checkout .pl-3 .w-full > h4{font-size:14px !important;font-weight:800 !important;color:var(--pd-tx,#1b1b1f) !important}

/* Summen */
.pd-checkout .rounded-xl.mb-6.border{border:0 !important;background:var(--pd-bg2,#f6f6f8) !important;border-radius:16px !important}
.pd-checkout .rounded-xl.mb-6.border ul{border-color:var(--pd-line,#e6e6ea) !important}
.pd-checkout .rounded-xl.mb-6.border li,.pd-checkout .rounded-xl.mb-6.border .flex{font-size:14.5px}
.pd-checkout .pd-place-order{border-radius:16px !important;height:56px !important;font-size:17px !important;font-weight:800 !important;box-shadow:0 8px 20px rgba(154,61,32,.28) !important}

html.pd-dark .pd-checkout .grid.active-group > label.active,html.pd-dark .pd-checkout .grid.active-group > label:has(input:checked),
html.pd-dark .pd-checkout .pd-time-options > label:has(input:checked){background:var(--pd-o-soft,#2a1913) !important}

/* ================= UNTERE LEISTE (nur Webseite, nicht in der App) ================= */
html.pd-tabbar nav.fixed.bottom-0.lg\:hidden{display:none !important}
#pd-tabbar{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:9000;height:66px;display:flex;align-items:center;justify-content:space-between;
  padding:0 6px;border-radius:26px;background:rgba(255,255,255,.86);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);
  border:1px solid rgba(0,0,0,.06);box-shadow:0 10px 30px rgba(0,0,0,.14);font-family:Rubik,system-ui,sans-serif}
#pd-tabbar a{flex:1 1 0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:54px;border-radius:20px;
  color:#1b1b1f;text-decoration:none;font-size:10.5px;font-weight:700;letter-spacing:-.02em;white-space:nowrap;-webkit-tap-highlight-color:transparent;transition:background .2s,color .2s}
#pd-tabbar a svg{width:24px;height:24px}
#pd-tabbar a.on{color:var(--pd-o,#9a3d20);background:rgba(154,61,32,.09)}
#pd-tabbar a:active{transform:scale(.95)}
#pd-tabbar .bd{position:absolute;top:2px;left:calc(50% + 3px);min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#e5322d;color:#fff;
  font-size:10px;font-weight:800;line-height:16px;text-align:center;border:2px solid #fff;box-sizing:content-box}
#pd-tabbar .bd.pop{animation:pdTabPop .35s ease}
@keyframes pdTabPop{40%{transform:scale(1.35)}}
html.pd-dark #pd-tabbar{background:rgba(28,29,34,.88);border-color:rgba(255,255,255,.08)}
html.pd-dark #pd-tabbar a{color:#ececf0}
html.pd-dark #pd-tabbar a.on{color:#f0a37f;background:rgba(240,163,127,.12)}
html.pd-dark #pd-tabbar .bd{border-color:#1c1d22}
@media(min-width:1024px){#pd-tabbar{display:none}html.pd-tabbar nav.fixed.bottom-0.lg\:hidden{display:none !important}}
html.pd-tabbar .pd-co-bar{bottom:calc(84px + env(safe-area-inset-bottom,0px)) !important}
html.pd-tabbar body{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px)) !important}
@media(min-width:1024px){html.pd-tabbar .pd-co-bar{bottom:0 !important}html.pd-tabbar body{padding-bottom:0 !important}}

/* Konto-Menü */
#pd-acc{position:fixed;inset:0;z-index:9500;background:rgba(17,17,17,.45);display:flex;align-items:flex-end;justify-content:center}
#pd-acc .sh{width:100%;max-width:480px;background:var(--pd-card,#fff);color:var(--pd-tx,#1b1b1f);border-radius:22px 22px 0 0;padding:10px 12px calc(14px + env(safe-area-inset-bottom,0px))}
#pd-acc .gr{width:40px;height:5px;border-radius:9px;background:#d9d9de;margin:4px auto 10px}
#pd-acc .hi{font-size:17px;font-weight:800;padding:4px 10px 10px}
#pd-acc a,#pd-acc button{display:flex;align-items:center;gap:12px;width:100%;padding:14px 10px;border:0;background:none;color:inherit;font:600 16px Rubik,system-ui,sans-serif;
  text-align:left;text-decoration:none;border-radius:12px;cursor:pointer}
#pd-acc a:active,#pd-acc button:active{background:var(--pd-bg2,#f6f6f8)}
#pd-acc .ic{width:24px;text-align:center;font-size:18px}
#pd-acc .out{color:#dc2626}

/* V51: Leiste ausblenden, solange ein Fenster offen ist (Artikel, Gutschein, Adresse, Warenkorb …) */
html.pd-modal-open #pd-tabbar{display:none !important}
html.pd-tabbar:has(.modal.active) #pd-tabbar,html.pd-tabbar:has(#cart.active) #pd-tabbar{display:none !important}

/* V52: Rechtshinweis über „Zahlungspflichtig bestellen“ */
.pd-legalhint{font-size:12.5px;line-height:1.45;color:var(--pd-tx2,#5e6069);text-align:center;margin:0 4px 8px}
.pd-legalhint a{color:var(--pd-o,#9a3d20);font-weight:700;text-decoration:underline}
.pd-co-bar .pd-legalhint{background:var(--pd-card,#fff);border-radius:12px;padding:6px 10px;margin:0 0 8px;box-shadow:0 2px 10px rgba(0,0,0,.06)}
