/* Bagniari UI – detail produktu (v15). 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}
.bg-notes a{color:#e3916c;text-decoration:underline;white-space:nowrap}

/* Buy box v7: kompaktný riadok – cena vľavo, množstvo + tlačidlo vpravo, bez širokého rámika */
html body .p-info-wrapper .buy-box .bottom{background:none!important;border:0!important;border-top:1px solid #ece6e0!important;border-radius:0!important;box-shadow:none!important;padding:16px 0 4px!important;margin:6px 0 0!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:12px 14px!important}
html body .p-info-wrapper .buy-box .bottom .p-final-price-wrapper{flex:0 0 auto!important;width:auto!important;margin:0 10px 0 0!important;padding:0!important;text-align:left!important;align-self:center!important;min-width:0}
html body .p-info-wrapper .buy-box .bottom .price-final,html body .p-info-wrapper .buy-box .bottom .price-final-holder{font-size:30px!important;font-weight:700!important;line-height:1.1!important;color:#2b2622!important;text-align:left!important;white-space:nowrap}
html body .p-info-wrapper .buy-box .bottom .price-measure:empty{display:none}
html body .p-info-wrapper .buy-box .bottom .add-to-cart{flex:0 0 auto!important;width:auto!important;display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:10px!important;margin:0!important}
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 96px!important;width:96px!important;height:52px!important;border:1.5px solid #e4ddd6!important;border-radius:12px!important;overflow:hidden;background:#fff!important;display:flex!important;align-items:center;justify-content:space-between}
html body .p-info-wrapper .buy-box .bottom .add-to-cart .quantity input,html body .p-info-wrapper .buy-box .bottom .add-to-cart .quantity button{border:0!important;background:#fff!important;height:100%!important}
html body .p-info-wrapper .buy-box .bottom .add-to-cart .quantity input{width:30px!important;min-width:0!important;padding:0!important;text-align:center!important;flex:1 1 auto}
html body .p-info-wrapper .buy-box .bottom .add-to-cart .quantity button{width:28px!important;min-width:0!important;padding:0!important;flex:0 0 28px}
html body .p-info-wrapper .buy-box .bottom .add-to-cart .add-to-cart-button{flex:0 0 auto!important;width:auto!important;min-width:0!important;height:52px!important;min-height:52px!important;padding:0 28px!important;margin:0!important;border:0!important;border-radius:12px!important;background:#009901!important;color:#fff!important;font-size:16px!important;font-weight:700!important;letter-spacing:.01em;text-transform:none!important;white-space:nowrap;min-width:180px!important;box-shadow:0 4px 12px rgba(0,153,1,.22);display:flex!important;align-items:center;justify-content:center;gap:10px;transition:transform .1s,background .2s}
html body .p-info-wrapper .buy-box .bottom .add-to-cart .add-to-cart-button:hover{background:#008a01!important}
html body .p-info-wrapper .buy-box .bottom .add-to-cart .add-to-cart-button:active{transform:scale(.98)}
html body .p-info-wrapper .buy-box .bottom > :not(.p-final-price-wrapper):not(.add-to-cart){order:9;flex:1 1 100%}
.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}
.p-info-wrapper .up-product-wrapper.up-upsell-wrapper{margin-top:12px!important}
@media (max-width:480px){
html body .p-info-wrapper .buy-box .bottom{gap:10px!important}
html body .p-info-wrapper .buy-box .bottom .price-final,html body .p-info-wrapper .buy-box .bottom .price-final-holder{font-size:24px!important}
html body .p-info-wrapper .buy-box .bottom .p-final-price-wrapper{margin-right:2px!important}
html body .p-info-wrapper .buy-box .bottom .add-to-cart{flex:1 1 auto!important}
html body .p-info-wrapper .buy-box .bottom .add-to-cart .quantity{flex-basis:88px!important;width:88px!important}
html body .p-info-wrapper .buy-box .bottom .add-to-cart .add-to-cart-button{flex:1 1 auto!important;min-width:0!important;padding:0 14px!important;font-size:15px!important}
}

/* 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}
}

/* 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}

/* Cross-sell pri produkte (napr. Yuna sada – sáčky navíc): rovnaký štýl ako odporúčania, a keď je, všeobecné odporúčania sa neukážu (nie dvakrát) */
.p-info-wrapper .buy-box:has(.up-type-product_cross) .up-upsell-wrapper{display:none!important}
.p-info-wrapper .up-container.up-type-product_cross{background:#faf7f4!important;border:1px solid #ece6e0!important;border-radius:14px!important;padding:16px 16px 10px!important;margin:8px 0 4px!important;box-shadow:none!important}
html body .up-container.up-type-product_cross h2.up-products-header{color:#2b2622!important;-webkit-text-fill-color:#2b2622!important;background:none!important;position:static!important;font-size:16px!important;font-weight:600!important;line-height:1.35!important;padding:0 0 10px!important;margin:0!important;text-transform:none!important}
.p-info-wrapper .up-type-product_cross .up-product{background:#fff!important;border:1px solid #ece6e0!important;border-radius:12px!important;box-shadow:none!important;margin:0 0 8px!important;padding:10px 12px!important}
.p-info-wrapper .up-type-product_cross input.up-product-selector{accent-color:#e3916c;width:20px;height:20px}
.p-info-wrapper .up-type-product_cross .up-price-value{font-weight:700;color:#2b2622}
.p-info-wrapper .up-type-product_cross .up-quantity{border:1px solid #e4ddd6!important;border-radius:8px!important;background:#fff!important}
.p-info-wrapper .up-type-product_cross .up-add-to-cart-prompt{font-size:12px!important;color:#7a726b!important;margin:2px 0 0!important}
.bg-cross-sub{font-size:13px;color:#6b635c;line-height:1.45;margin:-4px 0 10px}

/* Výhody predplatného pod kartami */
.bg-ben{background:#faf7f4;border-radius:12px;padding:10px 14px;margin-top:2px}
.bg-ben ul{list-style:none;margin:0 0 6px;padding:0;display:flex;flex-wrap:wrap;gap:4px 16px}
.bg-ben li{position:relative;padding-left:20px;font-size:13px;color:#4a433d;line-height:1.5;margin:0}
.bg-ben li:before{content:"";position:absolute;left:0;top:3px;width:14px;height:14px;border-radius:50%;background:#e3916c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center/9px}
.bg-ben a{font-size:13px;color:#e3916c;text-decoration:underline;font-weight:600}
.bg-cross-hint{display:block;font-size:12px;color:#7a726b;margin-top:2px}

/* Úvodní stránka: skrytý nadpis „Vítejte v BagniariStore.cz!“ (H1 pre vyhľadávače zostáva) */
.welcome-wrapper .welcome > .h1{display:none!important}
