/* Košík: pole pro slevový kupón vždy viditelné (i na mobilu), zlatý rámeček v barvách webu (#ad8330).
   Nahráno ve Shoptetu jako /user/documents/upload/sw-kupon-13.css, v záhlaví jen odkaz. */
.cart-summary .discount-coupon-checkbox{display:none!important}
.cart-summary .discount-coupon{display:flex!important;flex-direction:column;justify-content:center;opacity:1!important;visibility:visible!important;width:auto!important;height:auto!important;background:rgba(173,131,48,.07)!important;border:1.5px solid rgba(173,131,48,.5)!important;border-radius:20px!important;padding:24px 28px!important;box-sizing:border-box;margin-bottom:16px}
@media (min-width:768px){.cart-summary .discount-coupon{height:100%!important;margin-bottom:0}}
.cart-summary .discount-coupon .h4{color:#1b1b1b!important;font-size:17px!important;font-weight:600!important;text-align:left!important;margin:0 0 4px!important}
.cart-summary .discount-coupon .h4 strong{color:#ad8330!important}
.cart-summary .discount-coupon:not(:has(.applied-coupon)) .h4:first-child:after{content:"Máte kód z newsletteru nebo akce? Zadejte ho tady.";display:block;font-size:13px;font-weight:400;color:#6b6b6b;margin-top:4px}

/* formulář pro vložení kódu – jen ten, ne tlačítko pro odebrání vloženého kupónu */
.cart-summary .discount-coupon form[action*="addDiscountCoupon"]{display:flex!important;width:100%!important;max-width:none!important;gap:10px;margin:14px 0 0!important}
.cart-summary .discount-coupon form[action*="addDiscountCoupon"] input{flex:1 1 auto!important;min-width:0!important;height:48px!important;margin:0!important;border:1px solid rgba(173,131,48,.4)!important;border-radius:24px!important;background:#fff!important;box-shadow:none!important;padding:0 20px!important;font-size:16px!important}
.cart-summary .discount-coupon form[action*="addDiscountCoupon"] input:focus{border-color:#ad8330!important;box-shadow:0 0 0 3px rgba(173,131,48,.15)!important;outline:none!important}
.cart-summary .discount-coupon form[action*="addDiscountCoupon"] .btn{flex:0 0 auto!important;height:48px!important;padding:0 24px!important;background:#ad8330!important;border:0!important;color:#fff!important;border-radius:24px!important;font-weight:600!important}
.cart-summary .discount-coupon form[action*="addDiscountCoupon"] .btn:hover{background:#946e25!important}

/* vložený kupón */
.cart-summary .discount-coupon .applied-coupon{margin-top:12px}
.cart-summary .discount-coupon .applied-coupon strong{color:#1b1b1b}
.cart-summary .discount-coupon .applied-coupon form .btn{background:#ad8330!important}

/* sleva z kupónu u položek košíku: jeden zelený štítek „Sleva 25 %“ (stejná zelená jako „Ušetříte“).
   Buňka má popisek „Sleva“ (šablona ho na počítači skrývá) a hodnotu – štítek jen na hodnotě, popisek schovat.
   Nulovou slevu (akce 1+1) skryje sw-kosik-7.js třídou sw-zero. */
.cart-table .p-discount span:not(:last-child),.cart-table .p-discount-content span:not(:last-child){display:none!important}
.cart-table .p-discount span:last-child,.cart-table .p-discount-content span:last-child{color:#569c34!important;font-weight:700!important;border-bottom:0!important;text-decoration:none!important;background:rgba(86,156,52,.12);border-radius:12px;padding:3px 10px;white-space:nowrap}
.cart-table .p-discount span:last-child:before,.cart-table .p-discount-content span:last-child:before{content:"Sleva ";font-weight:600}
.cart-table .sw-zero{display:none!important}

/* pořadí v košíku: termín doručení a souhrn s tlačítkem „Pokračovat“ hned pod položkami, doporučené produkty až pod ním */
#cart-wrapper .cart-content:has(> .cart-summary){display:flex;flex-direction:column}
#cart-wrapper .cart-content:has(> .cart-summary) > .text-center,#cart-wrapper .cart-content > .cart-summary{order:1}
#cart-wrapper .cart-content > .products-cart-heading,#cart-wrapper .cart-content > .products-cart{order:2}
#cart-wrapper .cart-content > .products-cart-heading{margin-top:40px}

/* doprava od … v souhrnu – vložená do řádků cen, aby lícovala s „Celkem za zboží“ (doplňuje sw-kosik-7.js) */
.price-wrapper .sw-ship-l{color:#1b1b1b!important;align-self:center}
.price-wrapper .sw-ship-v{background:none!important;align-self:center}
.price-wrapper .sw-ship-v > span,.sw-ship-mini b{display:inline-flex;align-items:center;gap:5px;color:#ad8330!important;font-weight:700!important;background:rgba(173,131,48,.12);border-radius:10px;padding:2px 9px;white-space:nowrap}
.price-wrapper .sw-ship-v.free > span,.sw-ship-mini b.free{color:#569c34!important;background:rgba(86,156,52,.12)}
.sw-ship-v svg,.sw-ship-mini svg{width:15px;height:15px;flex:none}
.sw-ship-mini{display:flex;justify-content:center;align-items:center;gap:8px;font-size:13px;color:#3a3a3a;margin:2px 0 12px}

/* loga plateb a Heureka pod tlačítkem „Pokračovat“ */
.sw-trust{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:16px;font-size:11px;color:#7c7e8f}
.sw-pay{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:12px}
.sw-pay span{flex:none;display:inline-flex;align-items:center;justify-content:flex-start!important;height:22px;overflow:hidden;background:none!important;border:0!important;padding:0!important}
.sw-pay img{flex:none!important;height:22px!important;width:auto!important;max-width:none!important;display:block!important;margin:0!important;object-fit:fill!important;mix-blend-mode:multiply}
/* Apple Pay: obrázek má kolem loga bílý okraj – zobrazit jen logo (výřez), stejně velké jako Google Pay */
.sw-pay .sw-p-apple{width:35px}
.sw-pay .sw-p-apple img{height:25px!important;width:94px!important;margin:-2px 0 0 -30px!important}
.sw-pay .sw-p-google img{width:42px!important}
.sw-hk{display:flex;align-items:center;gap:5px;white-space:nowrap}
.sw-hk i{font-style:normal;color:#ad8330;letter-spacing:1px;font-size:13px}
.sw-hk b{color:#3a3a3a}

/* přilepené tlačítko „Pokračovat“ v košíku a objednávce, když originál není vidět */
.sw-sticky{position:fixed;left:0;right:0;bottom:0;z-index:9990;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 -4px 18px rgba(0,0,0,.08);display:flex;align-items:center;gap:12px;transform:translateY(110%);transition:transform .25s ease}
.sw-sticky.on{transform:none}
.sw-sticky .sw-s-sum{font-size:12px;color:#7c7e8f;line-height:1.2;white-space:nowrap}
.sw-sticky .sw-s-sum b{display:block;font-size:17px;color:#1b1b1b}
.sw-sticky button{flex:1;height:50px;border:0;border-radius:25px;background:#ad8330;color:#fff;font-size:17px;font-weight:600;cursor:pointer}
@media (min-width:768px){.sw-sticky{left:50%;right:auto;width:520px;bottom:16px;border-radius:30px;transform:translate(-50%,140%)}.sw-sticky.on{transform:translate(-50%,0)}}

/* ===== rekapitulace objednávky (krok 1 a 2) – jedna karta jako účtenka ===== */
.order-summary.sw-recap .recapitulation-single,.order-summary.sw-recap .recapitulation-single *{font-style:normal!important}
.order-summary.sw-recap .recapitulation-single{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:5px 0}
.order-summary.sw-recap .recapitulation-single > span:first-child{display:none!important}
.order-summary.sw-recap .recapitulation-single strong{display:flex!important;justify-content:space-between;align-items:baseline;gap:12px;width:100%;font-weight:400!important;color:#3a3a3a!important}
.order-summary.sw-recap .recapitulation-single strong:before{content:attr(data-sw-label);color:#7c7e8f;margin-right:-6px;white-space:nowrap}
.order-summary.sw-recap .recapitulation-single strong [data-testid="recapItemPrice"]{order:2;margin-left:auto;color:#1b1b1b!important;font-weight:600;text-transform:none!important;white-space:nowrap}
.order-summary.sw-recap .recapitulation-single strong [data-testid="recapItemPrice"].sw-free{color:#569c34!important}
.order-summary.sw-recap .sw-row{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:inherit;color:#3a3a3a}
.order-summary.sw-recap .sw-row b{color:#1b1b1b;font-weight:600;white-space:nowrap}
.order-summary.sw-recap .sw-coupon,.order-summary.sw-recap .sw-coupon *{font-style:normal!important}
.order-summary.sw-recap .sw-coupon{display:flex!important;justify-content:space-between;gap:12px;color:#569c34!important;font-weight:600}
.order-summary.sw-recap .sw-coupon .sw-save{color:#569c34;font-weight:700;white-space:nowrap}
.order-summary.sw-recap .sw-fees{border-top:1px solid rgba(0,0,0,.08);margin-top:10px;padding-top:8px}
.order-summary.sw-recap .order-summary-bottom .discount-price strong{color:#569c34!important}

/* doručení s adresou a odkazem Změnit (krok 2) */
.sw-deliver{background:#fff;border:1px solid rgba(173,131,48,.35);border-radius:16px;padding:14px 16px;margin:14px 0;font-size:14px;line-height:1.45;color:#3a3a3a}
.sw-deliver .sw-d-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.sw-deliver .sw-d-h b{color:#1b1b1b}
.sw-deliver .sw-d-h a{color:#ad8330;font-weight:600;text-decoration:underline;font-size:13px}
.sw-deliver .sw-d-date{color:#569c34;font-weight:600}

/* poslední krok: jedna zelená karta – položky, platba, cena, tlačítko, loga, souhlasy; doručení nad ní */
.sw-step2col{display:flex;flex-direction:column}
.sw-step2col > .sw-deliver{order:-1;margin:0 0 14px}
.sw-step2col > .order-summary{order:0}.sw-step2col > .next-step{order:2}.sw-step2col > .consents{order:4}
.sw-step2col .order-summary-top{margin-bottom:0!important;border-radius:20px 20px 0 0!important;padding-bottom:12px!important}
.sw-step2col .order-summary-bottom{border-radius:0!important;border-top:1px solid rgba(0,0,0,.08);padding-top:16px!important}
.sw-step2col > .next-step{border-radius:0!important;padding-bottom:6px!important}
.sw-step2col > .next-step{display:flex!important;flex-direction:column!important;align-items:stretch!important}
.sw-step2col > .next-step .next-step-finish{order:1}.sw-step2col > .next-step .sw-trust{order:2;margin-top:12px}.sw-step2col > .next-step .next-step-back{order:3;align-self:center}
.sw-step2col > .next-step .next-step-back{margin:14px auto 0!important}
.sw-step2col > .consents{font-size:12px!important;line-height:1.45!important;color:#7c7e8f!important;margin:0!important;padding-top:8px!important}
.sw-step2col > .consents *{font-size:12px!important}
.sw-step2col > .consents a{color:#7c7e8f!important}
.sw-step2col > .consents.sw-last{border-radius:0 0 20px 20px!important;padding-bottom:18px!important}
.next-step-finish .order-button-text .sw-btn-price{font-weight:700}
