.shop-preview-note{background:#eee4f5;color:#51306f;padding:14px 20px;text-align:center;margin:0}
.shop-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:28px;align-items:start;padding-bottom:60px}
.shop-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.shop-product,.shop-cart{background:#fff;border:1px solid #d9c4e7;border-radius:24px;padding:24px}
.shop-product h2,.shop-cart h2{font-size:1.5rem;color:#71499a;margin:12px 0}
.shop-product:first-child{grid-column:1/-1}.shop-covers{display:flex;justify-content:center;gap:22px;background:#f7f1fb;border-radius:16px;padding:22px}.shop-covers img{height:220px;width:auto;max-width:42%;object-fit:contain;filter:drop-shadow(3px 6px 5px #30213f30)}
.shop-format{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.shop-format span{padding:7px 12px;border-radius:20px;background:#eee4f5;color:#51306f;font-size:.9rem}.shop-format span:first-child{font-weight:700}
.shop-price{font-size:1.6rem;font-weight:700}.shop-quantity{display:flex;align-items:center;gap:16px;margin:16px 0}.shop-quantity button{min-width:44px;min-height:44px;border:1px solid #d9c4e7;background:#fff;border-radius:10px}.shop-total{border-top:1px solid #d9c4e7;padding-top:18px;display:flex;justify-content:space-between;gap:12px}.shop-cart .button{width:100%;margin-top:18px}.shop-cart small{display:block;margin-top:12px}.shop-remove{background:none;border:0;text-decoration:underline;color:#71499a;padding:8px 0}.shop-placeholder{padding:32px 10px;background:#f7f1fb;border-radius:14px;text-align:center;color:#71499a;font-size:2rem}.shop-muted{color:#706879}.shop-product button:disabled,.shop-cart button:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:850px){.shop-layout{grid-template-columns:1fr}}@media(max-width:520px){.shop-catalog{grid-template-columns:1fr}.shop-covers img{height:170px}}

.shop-product{display:flex;flex-direction:column;align-items:flex-start}.shop-product .shop-covers,.shop-product .shop-placeholder{width:100%}.shop-product .shop-placeholder{min-height:264px;display:grid;place-content:center}.shop-product .button{margin-top:auto}.shop-product .text-button{margin-top:14px}.shop-product [data-feedback]:empty{display:none}

/* Compact cart beside the catalogue. */
.shop-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 24px; }
.shop-cart { padding: 18px; border-radius: 18px; }
.shop-cart h2 { font-size: 1.2rem; margin: 0 0 14px; }
.shop-cart p, .shop-cart strong { font-size: .9rem; }
.shop-cart p { margin: 10px 0; }
.shop-cart small { font-size: .75rem; line-height: 1.5; margin-top: 9px; }
.shop-cart .shop-quantity { gap: 12px; margin: 12px 0; }
.shop-cart .shop-total { padding-top: 12px; }
.shop-cart .button { min-height: 44px; padding: 10px 12px; font-size: .85rem; margin-top: 12px; }
.shop-cart .shop-remove { font-size: .8rem; }
@media (max-width: 850px) { .shop-layout { grid-template-columns: minmax(0, 1fr); } .shop-cart { width: 100%; } }

/* Four equal catalogue slots; the printed set spans two. */
.shop-catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.shop-product:first-child { grid-column: auto; }
.shop-product.shop-product-wide { grid-column: span 2; }
.shop-product { padding: 16px; min-width: 0; }
.shop-product h2 { font-size: 1.08rem; line-height: 1.35; }
.shop-product p { font-size: .85rem; overflow-wrap: anywhere; }
.shop-product .shop-price { font-size: 1.15rem; }
.shop-product .shop-covers, .shop-product .shop-placeholder { height: 190px; min-height: 190px; padding: 12px; }
.shop-product .shop-covers { gap: 8px; align-items: center; }
.shop-product .shop-covers img { height: 166px; width: auto; max-width: 100%; object-fit: contain; }
.shop-product .shop-covers img:not(:only-child) { max-width: 46%; }
.shop-product .shop-placeholder { font-size: 1.2rem; }
.shop-product .button { width: 100%; padding: 10px 8px; font-size: .8rem; min-height: 44px; }
.shop-product .text-button { font-size: .8rem; }
.shop-product .shop-format span { font-size: .8rem; }
@media (max-width: 1100px) { .shop-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shop-product.shop-product-wide { grid-column: auto; } }
@media (max-width: 520px) { .shop-catalog { grid-template-columns: minmax(0, 1fr); } }
.checkout-dialog{width:min(560px,calc(100% - 32px));max-height:90vh;border:0;border-radius:20px;padding:28px;color:#453747;background:#fffdfa;font-family:inherit;box-sizing:border-box}.checkout-dialog::backdrop{background:#24182b99}.checkout-dialog form{display:grid;gap:16px}.checkout-dialog label{display:grid;gap:6px;font-weight:600}.checkout-dialog input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:12px;border:1px solid #cabbd5;border-radius:9px;font:inherit}.checkout-dialog small{line-height:1.5}.checkout-dialog .checkout-consent{display:flex;align-items:flex-start;font-size:.85rem;font-weight:400;gap:10px}.checkout-close{justify-self:end;border:0;background:none;font-size:26px;cursor:pointer}.cart-line{border-bottom:1px solid #e8dfee;padding:12px 0}.cart-line strong{font-size:.9rem}
/* Checkout tiskanih kompleta */
.shop-cart select{display:block;width:100%;padding:12px;border:1px solid #d4c6df;border-radius:10px;background:white;color:#382746;margin-top:8px}.shop-cart [data-lines] button{min-width:42px;min-height:42px;margin:0 8px 10px 0;border:1px solid #d4c6df;border-radius:9px;background:#f5effb;font-size:20px}.checkout-dialog{max-height:90dvh;overflow:auto}.checkout-dialog [hidden]{display:none!important}#print-boxnow-map{min-height:440px;width:100%}#print-boxnow-map iframe{width:100%;min-height:440px;border:0}.checkout-dialog small{display:block;margin:12px 0}.checkout-dialog [data-summary]{font-weight:700;color:#703ea0}

/* Brief confirmation after adding the printed set. */
.cart-toast{position:fixed;z-index:120;top:max(92px,calc(env(safe-area-inset-top) + 78px));left:50%;display:flex;align-items:center;gap:11px;max-width:calc(100vw - 32px);padding:12px 17px;border:1px solid #cce6d3;border-radius:14px;background:#fff;box-shadow:0 8px 28px #24182b26;color:#294c34;font:inherit;font-size:.95rem;font-weight:600;line-height:1.35;opacity:0;pointer-events:none;transform:translate(-50%,-8px);transition:opacity .18s ease,transform .18s ease;box-sizing:border-box}
.cart-toast[hidden]{display:none}
.cart-toast.is-visible{opacity:1;transform:translate(-50%,0)}
.cart-toast-icon{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#e3f3e7;color:#258044;font-size:1rem;font-weight:900}
@media(prefers-reduced-motion:reduce){.cart-toast{transition:none}}

/* Promo kod in the cart */
.promo-box{margin:14px 0;border:1px solid #d9c4e7;border-radius:12px;padding:10px 12px}.promo-box summary{cursor:pointer;color:#71499a;font-weight:600}.promo-controls{padding-top:10px}.promo-controls label{display:block;font-size:.85rem;margin-bottom:5px}.promo-row{display:flex;gap:6px;flex-wrap:wrap}.promo-row input{min-width:0;flex:1;padding:9px;border:1px solid #d4c6df;border-radius:8px;text-transform:uppercase}.promo-row button{border:1px solid #d4c6df;border-radius:8px;padding:8px 10px;background:#f5effb;color:#51306f;font:inherit;font-size:.82rem;cursor:pointer}.promo-controls [data-promo-message]{font-size:.82rem;color:#51306f;margin:8px 0 0}.shop-cart [data-discount-row] strong{color:#258044}

/* Promo kod in the cart */
.promo-box{margin:14px 0;border:1px solid #d9c4e7;border-radius:12px;padding:10px 12px}.promo-box summary{cursor:pointer;color:#71499a;font-weight:600}.promo-controls{padding-top:10px}.promo-controls label{display:block;font-size:.85rem;margin-bottom:5px}.promo-row{display:flex;gap:6px;flex-wrap:wrap}.promo-row input{min-width:0;flex:1;padding:9px;border:1px solid #d4c6df;border-radius:8px;text-transform:uppercase}.promo-row button{border:1px solid #d4c6df;border-radius:8px;padding:8px 10px;background:#f5effb;color:#51306f;font:inherit;font-size:.82rem;cursor:pointer}.promo-controls [data-promo-message]{font-size:.82rem;color:#51306f;margin:8px 0 0}.shop-cart [data-discount-row] strong{color:#258044}

.pdf-store-section{background:#faf6fc;border-top:1px solid #e7d9ef}
.pdf-store-section h2{margin-top:8px}
.pdf-store-intro{max-width:760px;color:#706879;line-height:1.65}
.pdf-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:28px 0}
.pdf-product .shop-covers{min-height:240px;display:grid;place-items:center;background:#f7f1fb;border-radius:16px;padding:16px}
.pdf-product .shop-covers img{max-height:220px;width:auto;max-width:100%;object-fit:contain}
.pdf-product h3{font-size:1.18rem;color:#71499a;margin:12px 0}
.pdf-product .button{margin-top:auto}
.pdf-product{display:flex;flex-direction:column;align-items:stretch}
.pdf-shop-cart{max-width:760px;margin:35px auto 0;background:#fff;border:1px solid #d9c4e7;border-radius:20px;padding:24px;box-shadow:0 12px 35px #30213f12}
.pdf-shop-cart h2{font-size:1.4rem;color:#71499a}
.pdf-cart-line{padding:16px 0;border-bottom:1px solid #e8e1ec}
.pdf-cart-line label{display:block;margin-top:12px;font-weight:650}
.pdf-cart-line input{display:block;box-sizing:border-box;width:100%;max-width:480px;margin-top:6px;padding:11px;border:1px solid #cabbd9;border-radius:9px;font:inherit}
.pdf-cart-line small{display:block;margin-top:7px;color:#71499a}
.pdf-shop-cart .shop-total{border-top:1px solid #d9c4e7;padding-top:16px;display:flex;justify-content:space-between}
.pdf-shop-cart [data-pdf-status]{min-height:1.5em}
@media(max-width:520px){.pdf-shop-cart{padding:18px}.pdf-product .shop-covers{min-height:210px}}

/* Unified printed + PDF catalogue and one shared basket */
.shop-layout{grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:22px}
.shop-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.pdf-product-grid{display:contents}
.shop-product,.shop-cart{min-width:0}
.shop-product{padding:18px}
.shop-product .shop-covers{min-height:190px}
.shop-product .shop-covers img{max-width:100%;object-fit:contain}
.shop-cart{position:sticky;top:100px;max-height:calc(100vh - 120px);overflow:auto}
.shop-cart [data-shipping-controls][hidden],.shop-cart [hidden]{display:none!important}
.unified-qty{display:flex;align-items:center;gap:12px;margin-top:12px}
.unified-qty button{min-width:40px;min-height:40px;border:1px solid #d9c4e7;border-radius:9px;background:#f7f1fb;font-size:20px}
.pdf-cart-line label{display:grid;gap:6px;margin:8px 0}
.pdf-cart-line input{width:100%;box-sizing:border-box;padding:10px;border:1px solid #d4c6df;border-radius:8px;font:inherit}
.unified-checkout-dialog h3{margin:8px 0}
@media(max-width:850px){.shop-layout{grid-template-columns:1fr}.shop-cart{position:static;max-height:none}}
@media(max-width:560px){.shop-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-product{padding:12px;border-radius:16px}.shop-product .shop-covers{min-height:135px}.shop-product .shop-covers img{height:132px}.shop-product h2{font-size:1.05rem}.shop-product>p:not(.product-kicker):not(.shop-price):not(.shop-muted){font-size:.84rem;line-height:1.4}.shop-product .shop-price{font-size:1.2rem}.shop-product .button{width:100%;padding:10px 8px;font-size:.84rem}.shop-product .text-button{font-size:.8rem}}

/* Shared cart layout: side-by-side products, full-width basket below. */
.shop-layout{grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.shop-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.shop-product.shop-product-wide,.shop-product:first-child{grid-column:auto;min-width:0}
.pdf-product-grid{display:contents}
.shop-cart{position:static;top:auto;width:100%;max-height:none;overflow:visible;box-sizing:border-box;padding:22px;border-radius:20px;scroll-margin-top:100px}
.shop-cart h2{font-size:1.4rem;margin:0 0 16px}
.shop-cart [data-cart-lines]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px}
.shop-cart .cart-line{min-width:0;box-sizing:border-box;padding:16px;border:1px solid #e8dfee;border-radius:14px;background:#fff}
.shop-cart .cart-line strong{font-size:1rem;line-height:1.4}
.shop-cart .pdf-cart-line label{display:grid;gap:7px;margin:12px 0 8px}
.shop-cart .pdf-cart-line input{max-width:none;min-height:46px}
.shop-cart [data-shipping-controls]{max-width:520px;margin-top:18px}
.shop-cart .promo-box{max-width:520px}
.shop-cart .shop-total{font-size:1.1rem}
.shop-cart [data-checkout]{max-width:520px;min-height:50px;font-size:1rem}
#kosarica{scroll-margin-top:100px}
@media(max-width:560px){.shop-layout{gap:18px}.shop-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-product.shop-product-wide,.shop-product:first-child{grid-column:auto}.shop-product{padding:12px;border-radius:16px}.shop-product .shop-covers{min-height:135px}.shop-product .shop-covers img{height:132px}.shop-cart{padding:16px;border-radius:16px}.shop-cart [data-cart-lines]{grid-template-columns:1fr}.shop-cart .cart-line{padding:14px}}
@media(max-width:360px){.shop-catalog{grid-template-columns:1fr}}
