/* Lepivá lišta s cenou a tlačítkem (detail produktu, mobil + od v2 i PC) — dreamy.cz
   v2 2026-11-05: varianta pro PC (od 768 px) místo fixní lišty doplňku Pobo (fix-header), který končí.
   Styl webu: Rubik, rámeček #e3e1e7, akcent #d90074, tyrkys dostupnosti #5abab7. */
.dsb{display:none}
@media (max-width:767px){
  .dsb{display:block;position:fixed;left:0;right:0;bottom:0;z-index:990;background:#fff;border-top:1px solid #e3e1e7;
    box-shadow:0 -6px 20px -10px rgba(20,17,24,.35);font-family:Rubik,sans-serif;color:#141118;
    padding:8px 12px calc(8px + env(safe-area-inset-bottom));transform:translateY(110%);transition:transform .25s ease;visibility:hidden}
  .dsb.dsb--on{transform:none;visibility:visible}
  .dsb-row{display:flex;align-items:center;gap:12px}
  .dsb-info{flex:1 1 auto;min-width:0}
  .dsb-price{font-size:18px;font-weight:600;line-height:1.2;white-space:nowrap}
  .dsb-price small{font-size:13px;font-weight:400;color:#6b6470}
  .dsb-sub{font-size:12.5px;line-height:1.3;color:#6b6470;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  /* stejné jako hlavní tlačítko na detailu (produkt.css): #d90074, rádius 14 px, Rubik 600 */
  .dsb .dsb-btn{flex:0 0 auto;margin:0;height:48px;padding:0 20px;border:0;border-radius:14px;background:#d90074;color:#fff;
    font:600 16px/1 Rubik,sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 10px 22px -12px rgba(217,0,116,.7);-webkit-appearance:none;appearance:none}
  .dsb .dsb-btn:active{background:#b8005f}
  .dsb .dsb-btn--pick{background:#fff;color:#d90074;box-shadow:inset 0 0 0 1.5px #d90074}
  .dsb .dsb-btn[disabled]{opacity:.4;box-shadow:none}
  .dsb-date{display:flex;align-items:flex-start;gap:6px;margin:0 0 6px;font-size:12.5px;line-height:1.3;color:#141118}
  .dsb-date svg{flex:0 0 16px;height:16px;color:#5abab7}
  /* místo pro lištu na konci stránky + Smartsupp bublina nad lištu (má inline bottom:24px) */
  body.dsb-on{padding-bottom:84px}
  body.dsb-date-on.dsb-on{padding-bottom:108px}
  #smartsupp-widget-container [data-testid="widgetButtonFrame"]{transition:bottom .25s ease}
  body.dsb-on #smartsupp-widget-container [data-testid="widgetButtonFrame"],body.dsb-on #chat-application{bottom:92px!important}
  body.dsb-date-on.dsb-on #smartsupp-widget-container [data-testid="widgetButtonFrame"],body.dsb-date-on.dsb-on #chat-application{bottom:116px!important}
  /* jen jedna lišta: skrýt starší spodní lišty (Shoptet .fixed-cart-line, Pobo #js-plugin-header, Dreamy .dz-sticky-cta z produkt_1.js) */
  body.dsb-ready .fixed-cart-line,body.dsb-ready #js-plugin-header,body.dsb-ready .dz-sticky-cta{display:none!important}
}
/* datum doručení (lišta i pod dostupností na detailu) */
.dsb-b,.dsb-date b,.dsb-infodate b{font-weight:600}
.dsb-dim{color:#6b6470}
.dsb-xmas{display:block;color:#d90074;font-weight:500}
.dsb-infodate{display:flex;align-items:flex-start;gap:8px;margin:2px 0 8px;font:14px/1.4 Rubik,sans-serif;color:#141118}
.dsb-infodate svg{flex:0 0 20px;height:20px;color:#5abab7}
.p-info-wrapper > .dsb-infodate{order:5 !important}
/* zvýraznění řádku s výběrem varianty po kliknutí na „Vybrat rozměr“ */
@keyframes dsbFlash{0%,100%{box-shadow:0 0 0 0 rgba(217,0,116,0)}30%{box-shadow:0 0 0 3px rgba(217,0,116,.55)}}
tr.dsb-flash td select,.dsb-flash select{animation:dsbFlash 1.6s ease 1;border-color:#d90074!important}
tr.dsb-flash .db2bcfg-chip,tr.dsb-flash .custom-variants .variant{animation:dsbFlash 1.6s ease 2;border-color:#d90074!important}

/* ---------- v2: PC (od 768 px) — spodní lišta s náhledem, názvem, datem, cenou a tlačítkem ---------- */
@media (min-width:768px){
  .dsb{display:block;position:fixed;left:0;right:0;bottom:0;z-index:990;background:#fff;border-top:1px solid #e3e1e7;
    box-shadow:0 -6px 20px -10px rgba(20,17,24,.35);font-family:Rubik,sans-serif;color:#141118;padding:10px 24px;
    transform:translateY(110%);transition:transform .25s ease;visibility:hidden}
  .dsb.dsb--on{transform:none;visibility:visible}
  .dsb-in{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:20px}
  .dsb-img{flex:0 0 56px;width:56px;height:56px;border-radius:10px;object-fit:contain;background:#f6f4f7}
  .dsb-name{flex:1 1 auto;min-width:0}
  .dsb-name b{display:block;font-size:16px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dsb-name span{display:block;font-size:13px;line-height:1.3;color:#6b6470;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dsb-pc-date{flex:0 1 auto;display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.3;max-width:260px}
  .dsb-pc-date svg{flex:0 0 18px;height:18px;color:#5abab7}
  .dsb-pc-price{flex:0 0 auto;text-align:right}
  .dsb-pc-price .dsb-price{font-size:20px;font-weight:600;line-height:1.2;white-space:nowrap}
  .dsb-pc-price .dsb-price small{font-size:13px;font-weight:400;color:#6b6470}
  .dsb-pc-price .dsb-sub{font-size:12.5px;color:#6b6470;white-space:nowrap}
  .dsb .dsb-btn{flex:0 0 auto;margin:0;height:48px;padding:0 28px;border:0;border-radius:14px;background:#d90074;color:#fff;
    font:600 16px/1 Rubik,sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 10px 22px -12px rgba(217,0,116,.7);-webkit-appearance:none;appearance:none}
  .dsb .dsb-btn:hover{background:#b8005f}
  .dsb .dsb-btn--pick{background:#fff;color:#d90074;box-shadow:inset 0 0 0 1.5px #d90074}
  .dsb .dsb-btn--pick:hover{background:#fdf0f6}
  .dsb .dsb-btn[disabled]{opacity:.4;box-shadow:none}
  body.dsb-on{padding-bottom:80px}
  #smartsupp-widget-container [data-testid="widgetButtonFrame"]{transition:bottom .25s ease}
  body.dsb-on #smartsupp-widget-container [data-testid="widgetButtonFrame"],body.dsb-on #chat-application{bottom:92px!important}
  /* jen jedna lišta: dokud běží doplněk Pobo, jeho horní lištu skrýt */
  body.dsb-ready #js-plugin-header,body.dsb-ready .fixed-cart-line{display:none!important}
}
@media (min-width:768px) and (max-width:1023px){ .dsb-pc-date{display:none} }
