/* Small practical details for the nursery-album storefront. */
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.plain-button{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.favorites-count{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 4px;margin-left:3px;border:1px solid var(--line);border-radius:50%;font-size:10px;font-weight:700}
.album-nav{gap:clamp(13px,1.65vw,26px)}
.hero-purchase{display:grid;gap:6px;margin:-6px 0 23px;font-size:12px;line-height:1.65;color:var(--ink)}
.hero-purchase>span:first-child{font-weight:800}
.hero-purchase>span:last-child{max-width:390px;font-size:11px}
.shop-card{position:relative;min-width:0}
.save-product{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:44px;height:44px;padding:10px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);cursor:pointer;flex-shrink:0;transition:background .15s,color .15s}
.save-product svg{width:23px;height:23px;flex-shrink:0}
.shop-card>.save-product{position:absolute;right:12px;top:15px;z-index:2;box-shadow:0 2px 7px #26354a0a}
.save-product .save-caption{display:none}
.save-product[aria-pressed=true]{color:#a15f53;background:#f5e3db;border-color:#d9b5a7}
.save-product[aria-pressed=true] path{fill:currentColor;stroke:currentColor}
.save-product:hover{border-color:currentColor}
.save-with-caption{width:auto;padding-inline:13px;border-radius:15px;font-size:12px}
.save-with-caption .save-caption{display:inline}
.collection-note{max-width:660px;margin-bottom:25px}
.saved-empty{max-width:650px;padding:35px}
.empty-heart{font-size:48px;line-height:1.2;display:block;color:var(--accent);margin-bottom:16px}
.saved-empty h2{font-size:30px;line-height:1.4}
.saved-empty p{margin-block:15px 22px}
.recent-section .section-heading{align-items:center}
.recent-section .plain-button{font-size:13px;color:var(--muted);white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.product-detail{grid-template-columns:1fr 1fr;gap:0 42px}
.product-overview{grid-column:2;grid-row:1;min-width:0;margin-bottom:18px}
.product-overview h1{font-size:38px;line-height:1.3;letter-spacing:-.055em;margin:12px 0 10px;overflow-wrap:anywhere}
.product-overview .product-kind{margin:0 0 12px;font-size:15px}
.product-price-row{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.product-price-row .product-price{margin:0;font-size:32px}
.product-order-note{font-size:12px!important;color:var(--muted);margin:10px 0 0}
.product-gallery{grid-column:1;grid-row:1/3;min-width:0}
.product-info{grid-column:2;grid-row:2;min-width:0}
.product-info>p{margin-top:0}
.gallery-main{height:460px;border-radius:100px 100px 24px 24px;background:var(--surface)}
.gallery-main>img,.gallery-main>.shop-photo-pesochnye-sny,.gallery-main>.shop-photo-pesochnye-sny[data-photo-index="1"]{width:100%;height:100%;object-fit:contain;object-position:center}
.gallery-main>.shop-photo-pesochnye-sny{object-fit:cover;object-position:18% 50%}
.gallery-main>.shop-photo-pesochnye-sny[data-photo-index="1"]{object-position:82% 50%}
.gallery-thumbs{align-items:flex-start;gap:12px;margin-top:14px}
.gallery-thumb{position:relative;width:91px;height:90px;overflow:hidden;border-radius:14px;background:var(--surface);padding:0}
.gallery-thumb>img{height:64px;object-fit:cover}
.gallery-thumb>span{display:block;padding:4px 2px;font-size:9px;line-height:1.2;text-align:center;color:var(--ink);background:var(--surface);position:absolute;bottom:0;left:0;right:0}
.gallery-hint{font-size:11px;color:var(--muted);margin-top:10px}
.gallery-main>img.detail-crop,.detail-crop{object-fit:cover!important;transform:scale(2.3);transform-origin:50% 50%}
.detail-crop.detail-pesochnye-sny{transform-origin:17% 50%;object-position:18% 50%!important}
.detail-crop.detail-pervaya-ekspeditsiya{transform-origin:43% 32%;object-position:40% 32%!important}
.detail-crop.detail-myatnyy-den{transform-origin:75% 38%;object-position:75% 38%!important;transform:scale(1.9)}
.detail-crop.detail-teplyy-veter{transform-origin:48% 31%;object-position:48% 31%!important;transform:scale(1.9)}
.detail-crop.detail-oblako{transform-origin:25% 28%;object-position:25% 28%!important}
.detail-crop.detail-pervyy-sneg{transform-origin:40% 30%;object-position:40% 30%!important;transform:scale(1.9)}
.detail-crop.detail-malenkoe-chudo{transform-origin:43% 46%;object-position:43% 46%!important}
.image-stage{height:65vh;overflow:hidden;border-radius:15px;background:var(--surface)}
.image-stage>img{width:100%;height:100%;object-fit:contain}
.gallery-arrows{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.gallery-arrows>span{font-size:13px;text-align:center}
.gallery-arrows .chip{min-width:44px;min-height:40px}
.size-tools{display:flex;flex-wrap:wrap;align-items:center;gap:13px 22px;font-size:13px;margin:23px 0 18px}
.size-tools .plain-button{font-size:14px;font-weight:700}
#model-measurements,#product-request{scroll-margin-top:16px}
.model-measures{border-block:1px dashed var(--line);padding:16px 0;margin:0}
.model-measures summary{display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;font-size:14px;font-weight:700;list-style:none}
.model-measures summary::-webkit-details-marker{display:none}
.model-measures table{margin-top:18px;min-width:0;font-size:12px}
.model-measures caption{padding:0 0 12px;text-align:left;color:var(--muted);font-size:11px}
.model-measures th,.model-measures td{padding:10px 8px}
.model-measures th{white-space:normal;line-height:1.6}
.model-measures>p{font-size:12px;line-height:1.8;margin-bottom:0}
.model-measures .selected-size{background:var(--pale);font-weight:800}
.product-request{margin-top:24px}
.product-request h2{font-size:27px}
.request-summary,.form-expect{grid-column:1/-1;margin:0!important;line-height:1.8;overflow-wrap:anywhere}
.request-summary{font-size:12px!important;border:1px dashed var(--line);border-radius:13px;padding:11px 13px}
.form-expect{font-size:11px!important;color:var(--muted)}
.lead-form .form-status{padding:12px 14px;border-radius:12px;font-size:13px!important;line-height:1.8;overflow-wrap:anywhere}
.lead-form .form-status:empty{padding:0}
.form-status[data-state=error]{background:#fae7e0;color:#843c30;border:1px solid #e4b4a7}
.form-status[data-state=success]{background:#e7eee4;color:#354d37;border:1px solid #b3c8ac}
.form-status[data-state=pending]{background:var(--pale);color:var(--ink)}
.lead-form button:disabled{cursor:wait;opacity:.75}
.lead-form button:disabled:not([aria-busy]){cursor:default}
.size-helper{width:min(510px,calc(100% - 32px));max-height:calc(100dvh - 36px);padding:33px;overflow-y:auto;border:1px solid var(--line);border-radius:28px;background:var(--surface);color:var(--ink)}
.size-helper::backdrop{background:#18243980;backdrop-filter:blur(3px)}
.size-helper-close{position:absolute;right:15px;top:15px;z-index:3}
.size-helper h2{font-size:30px;margin:10px 35px 12px 0;line-height:1.4}
.size-helper>p{font-size:14px;line-height:1.8}
.size-helper form{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px;margin-top:24px}
.size-helper label{font-size:12px;line-height:1.7}
.size-helper label .muted{font-size:10px;display:block}
.size-helper input{margin-top:7px;width:100%}
.size-helper form .btn{grid-column:1/-1;justify-content:center}
.size-helper .size-recommendation{background:var(--pale);padding:15px;border-radius:15px;margin:22px 0 16px;font-size:13px}
.size-helper>.btn{width:100%;justify-content:center}
.size-helper .helper-note{font-size:11px;color:var(--muted);margin:16px 0 0}
.size-helper button:disabled{opacity:.5;cursor:default}
.model-detail-block{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:45px;padding-top:15px}
.detail-photo-frame{height:330px;border-radius:26px 70px 26px 26px;overflow:hidden;background:var(--pale)}
.detail-photo-frame>img{width:100%;height:100%;object-fit:cover}
.model-detail-block h2{font-size:30px;line-height:1.4;margin:10px 0 16px}
.model-detail-block h3{font-size:19px;margin:24px 0 10px}
.model-detail-block p{font-size:14px;line-height:1.9}
.product-dock{display:none}
.delivery-guide .table-wrap{border:1px solid var(--line);border-radius:22px;overflow-x:auto;background:var(--surface)}
.delivery-guide table{min-width:0;width:100%;font-size:14px;margin:0}
.delivery-guide caption{padding:18px;text-align:left;font-size:13px;color:var(--muted)}
.delivery-guide td,.delivery-guide th{padding:16px 20px}
.delivery-guide td:nth-child(n+2){white-space:nowrap}
.delivery-note{font-size:12px;line-height:1.9;margin:18px 0 26px;max-width:850px;color:var(--muted)}
.delivery-methods{margin-bottom:22px}
.delivery-methods .panel h3{font-size:23px}
html[data-theme=dark] .save-product[aria-pressed=true]{color:#edc0b4;background:#51404a;border-color:#9a7473}
html[data-theme=dark] .form-status[data-state=error]{background:#4a3034;color:#f7c7bc;border-color:#8d5c5c}
html[data-theme=dark] .form-status[data-state=success]{background:#293f37;color:#d1e5c8;border-color:#627f65}
@media(min-width:1450px){.nursery-hero{grid-template-rows:minmax(350px,auto) 165px}}
@media(max-width:1180px){.album-nav{gap:16px;font-size:12px}.product-detail{gap:0 30px}.product-overview h1{font-size:33px}.gallery-main{height:400px}}
@media(max-width:900px){.album-nav{gap:12px;font-size:11px}.product-detail{gap:0 24px}.product-overview h1{font-size:28px}.product-price-row .product-price{font-size:27px}.save-with-caption .save-caption{display:none}.save-with-caption{width:42px;padding:9px;border-radius:50%}.gallery-main{height:340px}.gallery-thumb{width:76px;height:85px}.gallery-thumb>span{font-size:8px}.gallery-hint{font-size:10px}.model-detail-block{gap:28px}.model-detail-block h2{font-size:26px}.detail-photo-frame{height:310px}.product-request .lead-form{grid-template-columns:1fr}.product-request .lead-form>label{grid-column:1/-1!important}}
@media(max-width:650px){
 .hero-letter p{margin-bottom:17px}.hero-purchase{font-size:12px;margin:0 0 20px;gap:7px}.hero-purchase>span:last-child{font-size:11px;max-width:270px}
 .shop-card>.save-product{right:8px;top:12px;width:39px;height:39px;padding:9px}.save-product svg{width:21px;height:21px}
 .product-detail{display:grid;grid-template-columns:1fr;gap:22px}
 .product-overview{grid-column:1;grid-row:1;margin:0}
 .product-overview h1{font-size:29px;line-height:1.35;margin:9px 0}
 .product-overview .product-kind{font-size:14px;margin-bottom:12px}
 .product-price-row .product-price{font-size:29px}.product-order-note{font-size:11px!important}
 .save-with-caption{width:auto;border-radius:13px}.save-with-caption .save-caption{display:inline;font-size:11px}
 .product-gallery{grid-column:1;grid-row:2}.product-info{grid-column:1;grid-row:3}
 .gallery-main{height:285px;border-radius:60px 60px 20px 20px}
 .gallery-thumb{width:88px;height:88px}.gallery-thumb>span{font-size:9px}.gallery-hint{font-size:11px}
 .product-info>p{font-size:14px}.size-tools{gap:14px;font-size:12px;margin-top:19px}.size-tools .plain-button{font-size:14px}
 #model-measurements,#product-request{scroll-margin-top:16px}
 .product-request .lead-form{grid-template-columns:1fr 1fr}.product-request .lead-form>label:nth-of-type(1),.product-request .lead-form>label:nth-of-type(2){grid-column:auto!important}.product-request .lead-form>label:nth-of-type(3),.product-request .lead-form>label:nth-of-type(4){grid-column:1/-1!important}
 .model-measures table{font-size:12px}.model-measures th,.model-measures td{padding:10px 7px}
 .model-detail-block{grid-template-columns:1fr;gap:23px;padding-top:0}.detail-photo-frame{height:255px;border-radius:23px 55px 23px 23px}.model-detail-block h2{font-size:28px}.model-detail-block h3{margin-top:17px}
 body:has(.product-dock){padding-bottom:88px}
 .product-dock{position:fixed;inset:auto 0 0;z-index:45;background:var(--surface);border-top:1px solid var(--line);padding:12px 20px calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 -3px 18px #25364a08}
 .product-dock>div{display:grid;gap:2px;flex-shrink:0}.product-dock strong{font-size:18px}.product-dock [data-dock-selection]{font-size:10px;color:var(--muted)}
 .product-dock .btn{font-size:12px;padding:12px 15px;gap:12px;min-height:44px}
 body:has(dialog[open]) .product-dock{display:none}
 .size-helper{padding:28px 23px;border-radius:24px}.size-helper h2{font-size:27px}.size-helper form{gap:15px 11px}.size-helper label{font-size:12px}.size-helper input{font-size:16px}.size-helper .helper-note{font-size:11px}
 .image-stage{height:60dvh}#image-dialog{padding-inline:10px}.gallery-arrows>span{font-size:12px}
 .recent-section .section-heading{display:flex;align-items:flex-start;gap:15px;flex-wrap:wrap}.recent-section .plain-button{font-size:12px}
 .saved-empty{padding:27px 23px}.saved-empty h2{font-size:27px}.saved-empty p,.collection-note{font-size:14px}
 .delivery-guide .section-heading h2{font-size:27px}.delivery-guide table{font-size:12px}.delivery-guide caption{font-size:12px;padding:15px}.delivery-guide td,.delivery-guide th{padding:12px 9px}.delivery-guide th{font-size:11px;white-space:normal}.delivery-guide td:first-child{min-width:110px}.delivery-note{font-size:12px}
}
@media(max-width:360px){.product-overview h1{font-size:26px}.save-with-caption .save-caption{display:none}.gallery-main{height:250px}.product-dock{padding-inline:16px;gap:10px}.product-dock .btn{font-size:11px;padding-inline:12px;gap:8px}.product-dock strong{font-size:17px}.size-helper form{grid-template-columns:1fr}.size-helper label .muted{display:inline}.product-request .lead-form{grid-template-columns:1fr}.product-request .lead-form>label{grid-column:1!important}}
