.shop-page{background:#fafbfe}
.shop-header{height:100px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}
.back-link{font-size:14px;font-weight:600;color:var(--muted);padding:12px 0}
.back-link:hover{color:var(--blue)}
.shop-main{padding-top:56px;padding-bottom:80px}
.shop-intro{display:flex;justify-content:space-between;align-items:center;gap:32px;margin-bottom:32px}
.shop-intro h1{font-size:clamp(2.25rem,4vw,3.7rem);line-height:1.07;margin:16px 0 20px;letter-spacing:-.055em}
.shop-intro h1 span{color:var(--blue)}
.shop-description{font-size:16px;max-width:510px}
.shop-price{flex:none;background:#fff2e2;border:1px solid #ffe2bb;border-radius:22px;padding:22px 28px;transform:rotate(2deg);text-align:center}
.shop-price>span{font-size:10px;font-weight:800;letter-spacing:.06em}
.shop-price strong{display:block;font-size:36px;letter-spacing:-.055em;line-height:1.35;color:var(--ink)}
.shop-price small{font-size:12px;color:#745126}
.shop-steps{display:flex;flex-wrap:wrap;gap:16px 36px;padding:19px 0;margin:0 0 40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);list-style:none}
.shop-steps li{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:#526079}
.shop-steps li>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eaf0ff;color:var(--blue);font-size:12px;font-weight:800}
.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:36px}
.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}
.catalog-heading h2{font-size:25px;letter-spacing:-.04em;line-height:1.2}
.catalog-heading>span{font-size:12px;white-space:nowrap;color:var(--muted)}
.shop-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.shop-card{min-width:0;overflow:hidden;border:1px solid #e0e6f1;border-radius:18px;background:white;transition:border-color .2s,box-shadow .2s}
.shop-card.selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.product-image-button{display:block;width:100%;padding:10px 10px 0;background:#fff;text-align:left;position:relative}
.product-image-button img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f1f3f7;border-radius:11px}
.image-hint{position:absolute;bottom:7px;right:17px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fffffff0;color:var(--blue);font-size:18px;line-height:1}
.product-info{padding:16px}
.product-kind{font-size:10px;color:var(--muted);letter-spacing:.07em;text-transform:uppercase}
.product-info h3{font-size:19px;line-height:1.25;letter-spacing:-.025em;margin:5px 0 10px}
.product-price{font-size:16px;font-weight:800;color:var(--ink);margin-bottom:14px}
.product-add{width:100%;min-height:44px;padding:10px;background:var(--pale);color:var(--blue);border-radius:9px;font-size:13px;font-weight:700}
.product-add:hover{background:#e1e9ff}
.quantity-control{display:flex;align-items:center;justify-content:space-between;border:1px solid #cbd6f4;border-radius:9px;min-height:44px;overflow:hidden;background:#f5f7ff}
.quantity-control button{flex:none;width:44px;min-height:44px;background:transparent;color:var(--blue);font-size:22px}
.quantity-control button:disabled{opacity:.35;cursor:default}
.quantity-control input{min-width:0;width:100%;text-align:center;border:0;background:transparent;font:700 16px Arial,sans-serif;color:var(--ink);padding:8px 0;appearance:textfield;-moz-appearance:textfield}
.quantity-control input::-webkit-inner-spin-button,.quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.quantity-control input:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
[hidden]{display:none!important}
.availability-note{font-size:12px;text-align:center;margin-top:22px}
.order-panel{position:sticky;top:24px;background:#fff;border:1px solid #dce4f5;border-radius:22px;padding:26px;box-shadow:0 12px 40px #16244306}
.order-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.order-heading>span:last-child{font-size:12px;color:var(--muted)}
.order-panel h2{font-size:28px;line-height:1.15;letter-spacing:-.045em;margin-bottom:25px}
.order-items{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;max-height:360px;overflow-y:auto;overscroll-behavior:contain}
.empty-order{font-size:14px;line-height:1.65;text-align:center;padding:25px 8px}
.order-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0}
.order-item+.order-item{border-top:1px solid #edf0f6}
.order-item img{width:48px;height:48px;object-fit:contain;border-radius:7px;background:#f1f3f7}
.order-item h3{font-size:13px;font-weight:700;line-height:1.35;letter-spacing:0}
.order-item p{font-size:12px;margin-top:3px}
.remove-item{display:grid;place-items:center;min-width:32px;min-height:44px;background:transparent;color:#68758b;font-size:20px}
.order-subtotal{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
.order-subtotal span{font-size:12px;color:#526079}
.order-subtotal strong{font-size:25px;letter-spacing:-.04em;white-space:nowrap}
.order-delivery{font-size:12px;margin:8px 0 20px}
.order-panel .button{font-size:13px;padding:15px 12px}
.order-panel .button:disabled{background:#e9edf6;color:#66728b;cursor:not-allowed;box-shadow:none;transform:none}
.sales-status{font-size:12px;line-height:1.6;margin-top:12px;color:#657189}
.shop-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:30px;padding-bottom:35px}
.shop-footer .logo{font-size:28px}
.shop-footer p,.shop-footer>span{font-size:12px}
.shop-notice{padding:18px;background:var(--pale);border-radius:10px;font-size:14px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.mobile-order{display:none}
@media(max-width:800px){.shop-page{padding-bottom:90px}.mobile-order{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid var(--line);box-shadow:0 -6px 24px #16244308}.mobile-order>div{display:flex;flex-direction:column;line-height:1.4}.mobile-order span{font-size:11px;color:var(--muted)}.mobile-order strong{font-size:18px;color:var(--ink)}}
.product-dialog{width:min(900px,calc(100% - 32px));max-height:90vh;padding:24px;border:0;border-radius:20px;color:var(--ink);overflow:auto}
.product-dialog::backdrop{background:#101b36b3}
.product-dialog h2{font-size:22px;line-height:1.25;padding-right:38px;margin-bottom:16px}
.product-dialog img{width:100%;max-height:72vh;object-fit:contain;border-radius:10px}
.product-dialog-close{position:absolute;right:12px;top:10px;min-width:44px;min-height:44px;background:transparent;color:var(--ink);font-size:29px}
@media(max-width:1050px){.shop-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px}.order-panel{padding:21px}.shop-products{gap:14px}.product-info{padding:13px}.product-info h3{font-size:17px}.shop-price{padding:20px}}
@media(max-width:800px){.shop-layout{grid-template-columns:1fr;gap:30px}.order-panel{position:static;max-width:540px;width:100%;margin:auto}.order-items{max-height:none}.shop-intro{gap:20px}.shop-price{padding:18px 20px}.shop-intro h1{font-size:2.6rem}}
@media(max-width:600px){.shop-page .wrap{width:calc(100% - 32px)}.shop-header{height:78px;gap:12px}.shop-header .logo{font-size:32px}.back-link{font-size:12px}.shop-main{padding-top:32px;padding-bottom:45px}.shop-intro{display:block;margin-bottom:24px}.shop-intro h1{font-size:clamp(2rem,8.5vw,2.8rem)}.shop-description{font-size:14px}.shop-price{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;margin-top:23px;padding:13px 16px;border-radius:13px;transform:none;text-align:left}.shop-price>span{width:100%;font-size:10px}.shop-price strong{font-size:28px}.shop-price small{font-size:12px}.shop-steps{gap:12px;margin-bottom:28px;padding:16px 0}.shop-steps li{font-size:11px;gap:6px}.shop-steps li>span{width:21px;height:21px}.catalog-heading h2{font-size:22px}.catalog-heading>span{font-size:11px}.shop-products{gap:12px}.shop-card{border-radius:13px}.product-image-button{padding:6px 6px 0}.product-image-button img{border-radius:8px}.image-hint{width:24px;height:24px;right:11px;bottom:5px}.product-info{padding:11px}.product-info h3{font-size:16px;min-height:40px;margin:5px 0 8px}.product-kind{font-size:9px}.product-price{font-size:14px;margin-bottom:11px}.product-add{font-size:12px}.quantity-control button{width:36px}.order-panel{padding:23px}.shop-footer{flex-direction:column;gap:12px;text-align:center;padding-bottom:28px}.product-dialog{padding:18px}.product-dialog h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.shop-page *{scroll-behavior:auto;transition:none}}
