/* Bagniari UI – detail produktu (v5). Načítané v hlavičke, aby sa grafika ukázala hneď bez preblikávania. */

/* Pôvodný výber variantu skryjeme hneď; keby JS zlyhal, po 2,5 s sa ukáže späť */
.p-info-wrapper tr.variant-list:not(.bg-hidden),.p-info-wrapper tr:has(#simple-variants-select):not(.bg-hidden){visibility:hidden;animation:bgShow 0s 2.5s forwards}
@keyframes bgShow{to{visibility:visible}}
.bg-hidden{position:absolute!important;left:-9999px!important;opacity:0!important}

/* Karty variantov */
.bg-var{display:flex;flex-direction:column;gap:10px;margin:4px 0 8px;width:100%}
.bg-opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1.5px solid #e4ddd6;border-radius:12px;padding:14px 16px;background:#fff;cursor:pointer;font:inherit;color:#2f2f2f;transition:border-color .15s,background .15s;-webkit-tap-highlight-color:transparent}
.bg-opt:hover{border-color:#e3916c}
.bg-opt.on{border-color:#e3916c;background:#fdf5f1}
.bg-opt.off{opacity:.45;cursor:not-allowed}
.bg-r{width:18px;height:18px;border-radius:50%;border:2px solid #c9c2bb;flex:none;box-sizing:border-box}
.bg-opt.on .bg-r{border:6px solid #e3916c}
.bg-t{flex:1;font-size:15px;font-weight:600;line-height:1.3}
.bg-t em{font-style:normal;background:#e3916c;color:#fff;font-size:12px;font-weight:600;border-radius:20px;padding:2px 8px;margin-left:4px;white-space:nowrap}
.bg-t small{display:block;font-weight:400;font-size:13px;color:#7a726b;margin-top:2px}
.bg-p{font-size:16px;font-weight:700;white-space:nowrap;text-align:right}
.bg-p s{display:block;font-weight:400;color:#9a928b;font-size:12px}
.bg-notes{font-size:13px;color:#7a726b;line-height:1.45;padding:2px 4px 0}

/* Buy box: cena hore vľavo, pod ňou množstvo + veľké tlačidlo */
.p-info-wrapper .buy-box .bottom{background:#fff;border:1px solid #ece6e0;border-radius:16px;padding:18px;display:flex;flex-direction:column;align-items:stretch;gap:14px;box-shadow:0 2px 12px rgba(60,40,30,.05)}
.p-info-wrapper .buy-box .bottom .p-final-price-wrapper{text-align:left!important;margin:0!important;padding:0!important;width:auto!important}
.p-info-wrapper .buy-box .bottom .price-final,.p-info-wrapper .buy-box .bottom .price-final-holder{font-weight:700!important}
.p-info-wrapper .buy-box .bottom .price-final{font-size:28px;line-height:1.15;color:#2b2622;text-align:left}
.p-info-wrapper .buy-box .bottom .add-to-cart{display:flex!important;align-items:stretch;gap:10px;margin:0!important;width:100%}
html body .p-info-wrapper .buy-box .bottom .add-to-cart .quantity{position:relative!important;inset:auto!important;top:0!important;right:auto!important;left:auto!important;margin:0!important;flex:0 0 112px;width:112px;height:56px;border:1.5px solid #e4ddd6;border-radius:12px;overflow:hidden;background:#fff;display:flex!important;align-items:center;justify-content:space-between}
.p-info-wrapper .buy-box .bottom .quantity input,.p-info-wrapper .buy-box .bottom .quantity button{border:0!important;background:#fff!important;height:100%!important}
.p-info-wrapper .buy-box .bottom .add-to-cart-button{flex:1 1 auto;height:56px;min-height:56px;margin:0!important;border:0;border-radius:12px;background:#009901;color:#fff;font-size:16px;font-weight:700;letter-spacing:.02em;text-transform:none;box-shadow:0 6px 16px rgba(0,153,1,.25);transition:transform .1s,box-shadow .2s,background .2s;display:flex;align-items:center;justify-content:center;gap:10px}
.p-info-wrapper .buy-box .bottom .add-to-cart-button:hover{background:#008a01;box-shadow:0 8px 20px rgba(0,153,1,.32)}
.p-info-wrapper .buy-box .bottom .add-to-cart-button:active{transform:scale(.98)}
.p-info-wrapper .buy-box .bottom .add-to-cart-button:before,#js-plugin-header .add-to-cart-button:before{content:"";width:20px;height:20px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") no-repeat center/contain}

/* Lepiaca lišta dole (mobil): cena + zelené tlačidlo, chat posunutý nad lištu */
#js-plugin-header .add-to-cart-button{background:#009901!important;border:0!important;border-radius:12px!important;font-size:15px!important;text-transform:none!important;display:flex!important;align-items:center;justify-content:center;gap:8px}
@media (max-width:767px){
#js-plugin-header .plugin-fixed-header__container{display:flex!important;align-items:center;gap:12px;padding:10px 14px!important}
#js-plugin-header .plugin-fixed-header__price{display:block!important;font-size:19px;font-weight:700;white-space:nowrap;color:#2b2622;margin:0!important}
#js-plugin-header .plugin-fixed-header__basket{flex:1 1 auto;margin:0!important}
#js-plugin-header .add-to-cart-button{width:100%!important;height:50px!important;min-height:50px!important}
body:has(#js-plugin-header) #supportBox-iframe{bottom:72px!important}
.bg-opt{padding:12px 14px}.bg-t{font-size:14px}
.p-info-wrapper .buy-box .bottom{padding:16px}
.p-info-wrapper .buy-box .bottom .price-final{font-size:26px}
}

/* Doporučujeme přikoupit */
.p-info-wrapper .up-container.up-type-product_upsell{background:#faf7f4!important;border:1px solid #ece6e0!important;border-radius:14px!important;padding:18px 18px 8px!important;margin-top:18px}
html body .up-container.up-type-product_upsell h2.up-products-header.products-related-header{color:#2b2622!important;-webkit-text-fill-color:#2b2622!important;background:none!important;position:static!important;font-size:16px!important;font-weight:600!important;padding:0 0 10px!important;margin:0!important;text-transform:none!important}
.p-info-wrapper .up-container .up-product{background:#fff!important;border:1px solid #ece6e0!important;border-radius:12px!important;box-shadow:none!important;margin-bottom:10px!important}
.p-info-wrapper .up-container select{border:1px solid #e4ddd6!important;border-radius:8px!important;background-color:#fff!important}
.p-info-wrapper .up-container button,.p-info-wrapper .up-container .btn{border:1.5px solid #e3916c!important;color:#e3916c!important;background:#fff!important;border-radius:8px!important}
.p-info-wrapper .up-container button:hover,.p-info-wrapper .up-container .btn:hover{background:#e3916c!important;color:#fff!important}

/* Vrácení zboží */
#goody-do-wrapper{order:9}.bg-vr{max-width:400px;margin:32px auto -24px;padding:20px 24px;background:#f7f4f1;border-radius:12px;font-size:15px}.bg-vr h2{font-size:20px;margin:0 0 12px}.bg-vr ol{margin:0 0 10px;padding-left:20px}.bg-vr li{margin:0 0 8px}.bg-vr p{margin:0;font-size:14px;color:#6b6b6b}.bg-vr a{text-decoration:underline;color:inherit}
