@import url("kolory.css");
:root{--cream:#faf6f0;--paper:#fffdf9;--ink:#2a2118;--muted:#736451;--clay:#a64f2e;--moss:#4a6741;--border:#dfd4c5;--soft:#f0e7db;--radius:14px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.65 Nunito,Arial,sans-serif}body:has(dialog[open]){overflow:hidden}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button{color:inherit}img{display:block;max-width:100%}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #385e85;outline-offset:4px}input:focus-visible,select:focus-visible{outline:2px solid #385e85;outline-offset:2px}[hidden]{display:none!important}h1,h2,h3{font-family:Lora,Georgia,serif;font-weight:500;line-height:1.22;margin:0}h1{font-size:clamp(40px,4.6vw,66px);letter-spacing:-2px}h2{font-size:clamp(29px,3vw,40px);letter-spacing:-.8px}h3{font-size:23px}em{color:var(--clay);font-weight:400}p{margin:16px 0}.container{width:min(1160px,calc(100% - 80px));margin:auto}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{display:block;color:var(--clay);font-weight:800;font-size:11px;letter-spacing:1.8px;text-transform:uppercase;margin-bottom:16px}.skip{position:absolute;top:-100px;z-index:100;background:var(--paper);padding:12px}.skip:focus{top:0}.preview-bar{display:flex;justify-content:center;align-items:center;gap:7px;padding:7px 18px;background:#e8e1d6;font-size:11px;color:#564834;text-align:center}.preview-dot{width:6px;height:6px;border-radius:50%;background:var(--clay)}.site-header{position:sticky;top:0;z-index:10;background:#faf6f0f5;border-bottom:1px solid var(--border);backdrop-filter:blur(10px)}.header-inner{min-height:87px;width:min(1280px,calc(100% - 64px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:11px;font:500 19px/1.3 Lora,Georgia,serif;white-space:nowrap}.brand b{font-weight:500;color:var(--clay)}.brand-mark{width:40px;height:40px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center}.header-inner nav{display:flex;gap:32px;font-size:14px}.header-inner nav a{padding:10px 0}.header-inner nav [aria-current]{color:var(--clay);border-bottom:1px solid var(--clay)}.basket-button{background:transparent;display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:30px;min-height:44px;padding:8px 15px;font-size:13px}.basket-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4}.count{background:var(--action-shop);color:#fff;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;font-size:11px}.hero{display:grid;grid-template-columns:1fr 1.04fr;gap:45px;align-items:center;padding-block:58px}.hero-copy p{color:var(--muted);margin:23px 0 26px;font-size:16px}.hero-foot{display:block;font-size:11px;color:var(--muted);margin-top:15px;letter-spacing:.5px}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:48px;padding:12px 24px;border-radius:28px;border:1px solid var(--border);background:transparent;font-weight:700;font-size:14px;text-decoration:none}.button:hover{text-decoration:none;background:var(--soft)}.button.primary{background:var(--action-shop);border-color:var(--action-shop);color:#fff}.button.primary:hover:not(:disabled){background:var(--action-shop-hover);border-color:var(--action-shop-hover)}.full{width:100%}.hero-scene{position:relative;border-radius:48% 48% 12px 12px;overflow:hidden;background:#e9e0d1;min-width:0}.hero-scene>img{width:100%;height:420px;object-fit:cover}.scene-label{position:absolute;bottom:34px;left:0;right:0;text-align:center;font:italic 17px Lora,Georgia,serif;color:#54452f}.image-label{position:absolute;top:24px;right:22px;border-radius:20px;padding:4px 9px;background:#fff9;font-size:10px;color:#655642}.service-strip{border-block:1px solid var(--border)}.services{display:grid;grid-template-columns:repeat(3,1fr);padding-block:22px;gap:24px}.services>div{display:flex;align-items:center;justify-content:center;gap:16px;border-right:1px solid var(--border)}.services>div:last-child{border:0}.service-symbol{font-size:30px;color:var(--moss);line-height:1}.services strong{display:block;font-size:13px;font-weight:800}.services small{font-size:11px;color:var(--muted)}.catalog{padding-block:65px 58px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.results-count{font-size:12px;color:var(--muted);padding-bottom:6px}.filters{display:flex;flex-wrap:wrap;gap:9px;margin:27px 0 30px}.filters button{border:1px solid var(--border);padding:9px 21px;border-radius:25px;background:transparent;font-size:13px;min-height:44px}.filters button:hover{background:var(--soft)}.filters button[aria-pressed=true]{background:var(--action-shop-soft);color:var(--action-shop);border-color:var(--action-shop)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 25px}.product-card{min-width:0;display:flex;flex-direction:column}.product-image{display:block;position:relative;width:100%;padding:0;border:0;border-radius:var(--radius);overflow:hidden;background:var(--soft);aspect-ratio:1.12}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.product-image:hover img{transform:scale(1.035)}.product-image .image-label{top:auto;bottom:12px;right:12px}.product-label{position:absolute;top:14px;left:14px;background:var(--paper);border-radius:20px;padding:4px 11px;font-size:10px;font-weight:700;color:var(--moss)}.product-card h3{font-size:21px;margin:15px 0 5px}.product-name{font:inherit;border:0;background:transparent;padding:0;text-align:left}.product-name:hover{text-decoration:underline}.product-meta{font-size:12px;color:var(--muted);margin:0 0 12px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.product-price{font-size:18px;font-weight:700}.add-button{display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:24px;background:transparent;min-height:43px;padding:9px 15px;font-size:12px}.add-button:hover{background:var(--soft);border-color:#c8b59e}.handmade-note{display:flex;gap:19px;margin-top:42px;padding:25px 30px;background:#f0eadf;border-radius:12px}.note-star{font-size:31px;color:var(--moss);line-height:1.5}.handmade-note strong{font:500 18px Lora,Georgia,serif}.handmade-note p{font-size:13px;color:var(--muted);max-width:840px;margin:7px 0 0}.collection-section{background:#ede9df;border-block:1px solid var(--border);padding-block:55px}.collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:75px}.collection-grid h2{font-size:31px}.collection-grid p{font-size:14px}.collection-grid .small{font-size:12px}.faq{padding-top:10px}.faq details{border-bottom:1px solid #d4cbbb;padding:15px 0}.faq summary{font-size:14px;font-weight:700;padding-right:15px;min-height:34px}.faq p{font-size:13px;color:var(--muted)}.site-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-block:28px;font-size:11px;color:var(--muted)}.site-footer .brand{font-size:16px;color:var(--ink)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:20;background:var(--action-shop);color:#fff;border-radius:12px;padding:14px 23px;box-shadow:0 5px 30px #0002;max-width:calc(100% - 30px);width:max-content;font-size:14px}.toast button{color:#fff;background:none;border:0;text-decoration:underline;padding:3px 8px;font:inherit;font-weight:700}dialog{border:1px solid var(--border);border-radius:18px;background:var(--paper);color:var(--ink);padding:28px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 20px 100px #24190e40}dialog::backdrop{background:#30251888;backdrop-filter:blur(3px)}.cart-dialog{max-width:570px}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.dialog-header .eyebrow{margin:0 0 8px}.dialog-header h2{font-size:30px}.close-dialog{background:transparent;border:1px solid var(--border);width:40px;height:40px;min-width:40px;border-radius:50%;font-size:27px;line-height:1}.product-dialog{max-width:820px;position:fixed;padding:30px}.product-dialog>.close-dialog{position:absolute;right:14px;top:14px;z-index:2;background:var(--paper)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.detail-grid img{border-radius:12px;width:100%}.detail-grid p{font-size:14px;color:var(--muted)}.detail-grid .product-price{display:block;margin:18px 0}.detail-grid .eyebrow{margin-top:15px}.detail-facts{font-size:13px;border-block:1px solid var(--border);padding:12px 0}.detail-facts div{display:flex;justify-content:space-between;gap:20px;margin:4px 0}.detail-facts dd{margin:0}.cart-line{display:grid;grid-template-columns:70px 1fr auto;gap:13px;padding:17px 0;border-bottom:1px solid var(--border);align-items:start}.cart-line img{width:70px;height:74px;object-fit:cover;border-radius:7px}.line-name{font-size:14px;font-weight:700;line-height:1.3}.line-meta{font-size:11px;color:var(--muted);display:block;margin-top:4px}.line-controls{display:flex;align-items:center;gap:12px;margin-top:9px}.line-controls button{border:1px solid var(--border);border-radius:50%;width:30px;height:30px;background:transparent;font-size:17px}.line-controls .remove{font-size:11px;text-decoration:underline;border:none;width:auto;padding:0 4px}.line-price{font-size:14px;font-weight:700;white-space:nowrap}.total-row{display:flex;justify-content:space-between;gap:20px;font-size:15px;margin-top:24px;padding-top:18px;border-top:1px solid var(--border)}.total-row strong{font-size:22px}.empty-cart{text-align:center;padding:28px 15px 38px}.empty-cart p{color:var(--muted);font-size:14px}.text-button{padding:5px 0;border:0;background:transparent;color:var(--action-shop);font-size:13px;min-height:40px}fieldset{border:0;margin:24px 0 16px;padding:0;min-width:0}legend{font:500 20px Lora,Georgia,serif;margin-bottom:15px}.choice{display:flex;gap:12px;align-items:center;border:1px solid var(--border);padding:13px;border-radius:10px;margin:8px 0;cursor:pointer}.choice:has(input:checked){border-color:var(--action-shop);background:var(--action-shop-soft)}.choice input{width:18px;height:18px;accent-color:var(--action-shop);flex-shrink:0}.choice strong{font-size:14px;font-weight:700}.choice small{display:block;font-size:12px;color:var(--muted)}.field{display:block;font-size:13px;font-weight:700;margin:13px 0}.field input,.field select{display:block;width:100%;padding:11px 12px;border:1px solid #cdbfaa;border-radius:7px;background:var(--paper);color:var(--ink);margin-top:5px;font-size:16px;font-weight:400;min-width:0}.info-box{background:var(--soft);border-radius:10px;padding:17px;font-size:13px;margin:16px 0}.info-box p{margin:7px 0 0;color:var(--muted)}.demo-disclosure{font-size:11px;color:var(--muted);padding:12px 0 2px}.success-mark{display:grid;place-items:center;width:58px;height:58px;background:#e1eadb;color:var(--moss);font-size:28px;border-radius:50%;margin:5px 0 25px}#confirmation h3{font-size:29px}#confirmation-message{font-size:15px}#confirmation-next{white-space:pre-line}#results-count{white-space:nowrap}
@media(min-width:1500px){.hero{padding-block:70px}.hero-scene>img{height:445px}}
@media(max-width:1000px){.container{width:calc(100% - 48px)}.header-inner{width:calc(100% - 40px)}.header-inner nav{gap:18px}.brand{font-size:16px}.hero{gap:25px}.hero-scene>img{height:380px}.hero-copy p{font-size:14px}.hero h1{font-size:46px}.services{gap:12px}.services>div{gap:10px}.collection-grid{gap:35px}}
@media(max-width:720px){.preview-detail{display:none}.header-inner{min-height:72px;gap:12px}.header-inner nav{display:none}.brand-mark{width:33px;height:33px}.brand-mark img{width:23px;height:23px}.brand{font-size:15px;gap:7px}.basket-button{padding:7px 10px;gap:6px}.basket-button svg{display:none}.hero{grid-template-columns:1fr;gap:28px;padding-block:35px}.hero h1{font-size:48px;letter-spacing:-1.4px}.hero-copy p{font-size:15px}.hero-scene{border-radius:36% 36% 12px 12px}.hero-scene>img{height:330px}.hero-foot{display:inline-block;margin-left:15px}.services{grid-template-columns:1fr;padding-block:17px;gap:13px}.services>div{justify-content:flex-start;border:0;gap:15px}.services small{font-size:12px}.services strong{font-size:13px}.service-symbol{width:24px;text-align:center;font-size:26px}.services>div>span:last-child{display:flex;flex-wrap:wrap;column-gap:9px;align-items:center}.catalog{padding-block:40px}.section-heading{align-items:flex-start}.section-heading h2{font-size:29px}.results-count{display:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 16px}.product-card h3{font-size:18px}.product-bottom{flex-wrap:wrap}.product-meta{font-size:11px}.product-label{top:10px;left:10px;font-size:9px;padding:3px 8px}.product-image .image-label{font-size:9px;bottom:8px;right:8px}.filters{gap:7px;margin-block:22px}.filters button{padding:8px 16px;font-size:12px}.handmade-note{padding:20px;gap:13px}.collection-grid{grid-template-columns:1fr;gap:15px}.collection-section{padding-block:36px}.site-footer{flex-wrap:wrap}.site-footer .brand{width:100%}.detail-grid{grid-template-columns:1fr}.detail-grid>img{max-height:260px;object-fit:cover}.product-dialog{padding:20px}.product-dialog>.close-dialog{right:10px;top:10px}.scene-label{bottom:24px}.image-label{top:16px;right:16px}}
@media(max-width:400px){.container{width:calc(100% - 32px)}.header-inner{width:calc(100% - 24px)}.brand{font-size:13px}.brand-mark{display:none}.basket-button{font-size:12px}.hero h1{font-size:42px}.hero-foot{display:block;margin-left:0}.product-grid{gap:25px 12px}.add-button{width:100%;justify-content:center;padding-inline:7px}.product-bottom{gap:8px}.product-image{aspect-ratio:.93}.product-card h3{font-size:17px}.product-price{font-size:17px}.product-meta{min-height:36px}.cart-dialog{padding:20px}.cart-line{grid-template-columns:50px 1fr auto;gap:9px}.cart-line img{width:50px;height:62px}.line-controls{gap:7px}.line-price{font-size:12px}.line-name{font-size:13px}}
.shop-breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);padding-top:24px}.shop-breadcrumb a{text-decoration:underline}.shop-breadcrumb+.hero{padding-top:28px}.order-review-line{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border);font-size:14px}.order-review-line small{color:var(--muted)}.order-review-line strong{white-space:nowrap}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-image img{transition:none}}
#cart-title:focus{outline:none}.order-review-facts{margin:4px 0 0;font-size:14px}.order-review-facts div{display:flex;justify-content:space-between;gap:16px;padding:6px 0}.order-review-facts dt{color:var(--muted)}.order-review-facts dd{margin:0;text-align:right;overflow-wrap:anywhere;font-weight:700}
.line-controls button{width:36px;height:36px}.line-controls .remove{font-size:12px;min-height:36px}.add-button{background:var(--action-shop);border-color:var(--action-shop);color:#fff;font-weight:700}.add-button:hover:not(:disabled){background:var(--action-shop-hover);border-color:var(--action-shop-hover)}.button:disabled,.add-button:disabled{background:var(--action-disabled-bg);color:var(--action-disabled-text);border-color:var(--action-disabled-bg);opacity:1}
@media(max-width:720px){.shop-breadcrumb+.hero{padding-top:18px}.hero{gap:20px;padding-bottom:24px}.hero h1{font-size:40px}.hero-copy p{margin:16px 0 20px}.hero-scene{border-radius:28px 28px 12px 12px}.hero-scene>img{height:190px}.scene-label{display:none}}
/* System wyglądu wspólny ze stroną główną: siatka 1080 px, rytm 72 px, przyciski 54/44 px */
.container{width:min(1080px,calc(100% - 48px))}
.eyebrow{font-size:12px;letter-spacing:1.6px;margin-bottom:12px}
.button{gap:12px;min-height:54px;padding:0 30px;border-width:2px;font-size:15px;font-weight:800;border-radius:999px}

.hero{padding-block:56px 64px}.hero-scene>img{height:380px}
.service-strip{background:var(--paper)}.services{padding-block:20px}
.catalog{padding-block:72px}
.filters{margin:24px 0 32px}.filters button{font-weight:700;padding-inline:20px}
.product-grid{gap:44px 24px}.product-card h3{margin:16px 0 4px}.product-meta{font-size:13px;margin-bottom:14px}
.add-button{min-height:44px;padding:0 18px;font-size:13px;border-width:2px;border-radius:999px}
.handmade-note{margin-top:48px;padding:24px 28px;align-items:flex-start}
.collection-section{padding-block:72px}.collection-grid{gap:64px}.collection-grid p{font-size:15px}.faq summary{font-size:15px;min-height:44px;display:flex;align-items:center}.faq p{font-size:14px}
.site-footer{background:var(--ink);color:#b0a090;padding:0;font-size:13px;display:block}
.site-footer .container{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding-block:36px}
.site-footer .brand{color:#fff;font-size:17px}.site-footer a:hover{color:#fff}
.cart-dialog .button.full{min-height:54px}
@media(max-width:720px){.container{width:calc(100% - 40px)}.catalog,.collection-section{padding-block:48px}.product-grid{gap:32px 14px}.add-button{width:100%;justify-content:center}.product-bottom{gap:10px}.site-footer .container{flex-direction:column;align-items:flex-start;gap:6px}}
.faq summary{list-style:none;justify-content:space-between;gap:16px;padding-right:0}.faq summary::-webkit-details-marker{display:none}.faq summary::after{content:'+';flex-shrink:0;width:28px;height:28px;display:grid;place-items:center;border:1px solid #cbbda9;border-radius:50%;font-weight:400;color:var(--clay)}.faq details[open] summary::after{content:'−'}
#confirmation-message{font-weight:700}
@media(max-width:720px){.hero{padding-block:18px 32px}.hero-scene>img{height:190px}}
@media(max-width:720px){.filters{flex-wrap:wrap;overflow:visible;margin-inline:0;padding:0}.filters button{flex-shrink:0;min-height:44px;padding-inline:12px}}

/* Krótka góra sklepiku: nagłówek, zasady odbioru, kategorie i produkty. */
.catalog-compact{padding-block:32px 56px}
.catalog-compact h1{font-size:40px;letter-spacing:-1px}
.shop-intro{margin:8px 0 12px;color:var(--muted);font-size:15px}
.shop-pickup{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;font-size:13px;font-weight:700;color:var(--moss)}
.shop-pickup span+span::before{content:'·';margin-right:18px;color:var(--muted)}
.catalog-compact .filters{margin-block:22px 24px}
@media(max-width:720px){.catalog-compact{padding-block:24px 40px}.catalog-compact h1{font-size:34px;letter-spacing:-.6px}.shop-intro{font-size:14px;margin-bottom:10px}.shop-pickup{font-size:12px;gap:2px 12px}.shop-pickup span+span::before{margin-right:12px}.catalog-compact .filters{margin-block:18px 20px}}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.shop-intro-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.shop-intro-row .shop-intro{margin-top:0}
/* Product photos stay in the existing product dialog. */
#product-dialog{max-width:1040px;padding:12px 28px 28px;scroll-padding:60px 0 90px}
#product-dialog .product-dialog-bar{position:sticky;top:0;z-index:5;height:44px;display:flex;justify-content:flex-end;margin:0 -12px 12px;pointer-events:none}
#product-dialog .product-dialog-bar .close-dialog{position:static;background:var(--paper);width:44px;height:44px;min-width:44px;pointer-events:auto}
#product-dialog .detail-grid{clear:both;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-rows:auto 1fr;gap:0 30px;align-items:start}
#product-dialog .product-gallery{grid-row:1 / 3;min-width:0}
#product-dialog .detail-copy{min-width:0}
#product-dialog #detail-title{font-size:clamp(28px,3vw,38px);line-height:1.17;letter-spacing:-.5px;margin:0 0 18px}
#product-dialog .detail-buy{grid-column:2;align-self:start;padding-top:4px;background:var(--paper)}
.gallery-frame{position:relative;aspect-ratio:1;background:#efeae2;border-radius:12px;overflow:hidden}
.gallery-stage{height:100%;width:100%;overflow:hidden}
.gallery-view{width:100%;height:100%;border:0;background:transparent;padding:0;display:block;touch-action:pan-y pinch-zoom;cursor:zoom-in}
#product-dialog .gallery-photo{width:100%;height:100%;max-height:none;object-fit:contain;border-radius:0}
.gallery-zoom-hint{position:absolute;right:12px;top:12px;padding:5px 10px;background:#fffdf9ed;border-radius:20px;font-size:11px;color:var(--ink)}
.gallery-arrow{position:absolute;top:calc(50% - 22px);width:44px;height:44px;display:grid;place-content:center;border:1px solid var(--border);border-radius:50%;background:#fffdf9f2;font-size:30px;line-height:1;color:var(--ink)}
.gallery-prev{left:10px}.gallery-next{right:10px}.gallery-arrow:disabled{opacity:.35;cursor:default}
.gallery-counter{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#fffdf9eb;color:var(--ink);font-size:12px;border-radius:16px;padding:3px 12px;pointer-events:none}
.gallery-thumbs{display:flex;gap:9px;overflow-x:auto;padding:12px 3px 5px;scrollbar-width:thin}
.gallery-thumb{width:64px;height:64px;min-width:64px;padding:3px;border:2px solid transparent;background:#efeae2;border-radius:8px}
#product-dialog .gallery-thumb img{width:100%;height:100%;object-fit:contain;border-radius:4px}
.gallery-thumb[aria-current=true]{border-color:var(--action-shop);background:var(--paper)}
.product-gallery button:focus-visible{outline:3px solid #385e85;outline-offset:2px}
.gallery-error{font-size:13px!important;margin:10px 0}.gallery-retry,.gallery-back{min-height:44px;border:1px solid var(--border);background:var(--paper);color:var(--ink);border-radius:24px;padding:8px 16px}
.gallery-back{margin-bottom:14px}.product-gallery [hidden]{display:none!important}
#product-dialog.gallery-zoomed .detail-copy,#product-dialog.gallery-zoomed .detail-buy{display:none}
#product-dialog.gallery-zoomed .detail-grid{display:block}
#product-dialog.gallery-zoomed .gallery-frame{aspect-ratio:auto;height:min(68dvh,800px)}
#product-dialog.gallery-zoomed .gallery-stage{overflow:auto;overscroll-behavior:contain}
#product-dialog.gallery-zoomed .gallery-view{cursor:zoom-out;width:170%;height:170%;touch-action:pan-x pan-y pinch-zoom}
#product-dialog.gallery-zoomed .gallery-zoom-hint{display:none}
@media(max-width:720px){
 #product-dialog{padding:10px 18px 0;max-height:calc(100dvh - 20px);width:calc(100% - 20px)}
 #product-dialog .product-dialog-bar{margin-right:-7px}
 #product-dialog .detail-grid{grid-template-columns:minmax(0,1fr);display:grid;gap:18px}
 #product-dialog .product-gallery{grid-row:auto}
 #product-dialog .detail-buy{grid-column:1;position:sticky;bottom:0;padding:12px 0 max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--border);z-index:3;display:flex;gap:16px;align-items:center}
 #product-dialog .detail-buy .product-price{font-size:20px;white-space:nowrap;margin:0}
 #product-dialog .detail-buy .button{min-height:48px;padding:10px 14px;font-size:14px}
 #product-dialog #detail-title{font-size:29px;margin:2px 0 14px}
 #product-dialog .gallery-frame{max-height:46dvh;aspect-ratio:1;width:100%}
 #product-dialog.gallery-zoomed .gallery-frame{max-height:none;height:65dvh}
 .gallery-thumb{width:56px;height:56px;min-width:56px}
}
@media(max-height:600px){#product-dialog .detail-buy{position:static}}

/* Zakup jest główną akcją; powrót, ilość i zamknięcie są pomocnicze. */
#cart-step{color:var(--action-shop)}
.text-button:hover{color:var(--action-shop-hover);text-decoration:underline}
.button.primary:active:not(:disabled),.add-button:active:not(:disabled){background:var(--action-shop-hover);border-color:var(--action-shop-hover)}

/* Krok 3: produkty przewijają się, kwota i potwierdzenie pozostają widoczne. */
.cart-dialog[open][data-stage=confirmation]{display:flex;flex-direction:column;padding:0;overflow:hidden;max-width:660px;max-height:calc(100dvh - 32px)}
.cart-dialog[data-stage=confirmation] .dialog-header{flex:none;margin:0;padding:24px 28px 18px;border-bottom:1px solid var(--border);align-items:center}
.cart-dialog[data-stage=confirmation] .dialog-header h2{font-size:29px;line-height:1.2}
#confirmation{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.review-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:4px 28px 18px;scrollbar-width:thin;scroll-padding:12px}
.review-scroll:focus-visible{outline:2px solid #385e85;outline-offset:-3px}
#confirmation .order-review-line{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 0;font-size:15px;line-height:1.4}
.order-review-line img{width:52px;height:56px;object-fit:cover;border-radius:7px}
#confirmation .order-review-line small{display:block;font-size:12px;margin-top:3px}
.review-pickup{display:flex;flex-direction:column;gap:2px;padding:16px 0;font-size:13px;border-bottom:1px solid var(--border)}
.review-label{font-size:12px;color:var(--muted)}
#confirmation-next{font-size:15px;font-weight:700;white-space:normal}
.review-contact{padding-top:12px;font-size:13px;color:var(--muted)}
#order-review-customer{margin:2px 0 0;line-height:1.45;overflow-wrap:anywhere}
#order-review-customer span{display:block}
.review-contact .text-button{min-height:36px;padding:5px 0;font-size:12px;text-decoration:underline}
.confirmation-actions{flex:none;padding:16px 28px 18px;border-top:1px solid var(--border);background:var(--paper);box-shadow:0 -5px 18px #33291e08}
.review-total{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;line-height:1.35}
.review-total>div>span{display:block;font-size:16px;font-weight:700}
.review-total small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
#confirmation-message{font-size:26px;white-space:nowrap;margin:0;line-height:1.2}
#order-confirmation-help{font-size:12px;line-height:1.5;text-align:center;color:var(--muted);margin:10px 0 0}
#order-availability{font-size:13px;line-height:1.4;margin:0 0 10px;color:#8c3426;max-height:70px;overflow:auto}
#order-sent-message{overflow-wrap:anywhere}
@media(max-width:600px){
 .cart-dialog[open][data-stage=confirmation]{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}
 .cart-dialog[data-stage=confirmation] .dialog-header{padding:18px 18px 14px;gap:12px}
 .cart-dialog[data-stage=confirmation] .dialog-header h2{font-size:25px;letter-spacing:-.5px}
 .cart-dialog[data-stage=confirmation] .dialog-header .eyebrow{font-size:10px;margin-bottom:5px}
 .review-scroll{padding:0 18px 10px}
 #confirmation .order-review-line{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:13px 0;font-size:14px}
 .order-review-line img{width:44px;height:50px}
 .confirmation-actions{padding:14px 18px max(14px,env(safe-area-inset-bottom))}
 #confirmation-message{font-size:24px}
 .review-total{margin-bottom:12px}
 #place-order{font-size:15px;padding-inline:12px;min-height:54px}
 #order-confirmation-help{font-size:11px;margin-top:8px}
}
@media(max-height:550px){
 .cart-dialog[data-stage=confirmation] .dialog-header{padding-block:10px}
 .confirmation-actions{padding-top:10px;padding-bottom:10px}
 .review-total{margin-bottom:8px}
}
.confirmation-page{max-width:640px;padding-block:48px}
.confirmation-page h1{font-size:clamp(28px,5vw,36px);letter-spacing:-.7px}
.confirmation-page ul{padding-left:22px;margin-block:24px}
.confirmation-page li{padding-block:6px}
#confirm-order{margin-top:28px}
#confirm-order .button{position:relative;width:100%;flex-direction:column;gap:2px;min-height:66px;transition:transform .12s,background-color .15s}
#confirm-order .button small{font-size:12px;font-weight:400}
#confirm-order .button[aria-busy=true] small{display:none}
#confirm-order .confirm-spinner{position:absolute;right:20px;top:calc(50% - 10px)}
#confirm-order .button:active:not(:disabled){transform:scale(.98)}
#confirm-order .button[aria-busy=true]{opacity:1;cursor:wait;background:var(--action-shop);border-color:var(--action-shop);color:#fff}
.confirm-spinner{display:none;flex:none;width:20px;height:20px;border:2px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:confirm-spin .75s linear infinite}
[aria-busy=true] .confirm-spinner{display:block}
.confirm-payment{font-size:13px;text-align:center;margin-top:8px;color:var(--muted)}
#confirm-progress{min-height:48px;font-size:14px;line-height:1.5;text-align:center;color:var(--muted)}
@keyframes confirm-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.confirmation-page{padding-block:28px}}
@media(prefers-reduced-motion:reduce){#confirm-order .button{transition:none}.confirm-spinner{animation:none}}
