.shop-page{max-width:1180px;margin:0 auto;padding:54px 24px 90px}.shop-intro{max-width:680px;margin-bottom:38px}.shop-intro h1{font-size:clamp(38px,5vw,64px);margin:12px 0}.shop-intro p{font-size:18px;color:var(--muted)}.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:32px;align-items:start}.shop-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px}.shop-product{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.shop-product img,.shop-product__empty{display:block;width:100%;aspect-ratio:1.2;object-fit:cover;background:#f3e8e3}.shop-product__empty{display:grid;place-items:center;font:42px Georgia,serif;color:#a98588}.shop-product__body{padding:18px}.shop-product h2{font:24px Georgia,serif;margin:0 0 12px}.shop-product__body p{margin:0 0 14px}.shop-product button{width:100%}.shop-cart{position:sticky;top:20px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.shop-cart h2{font:30px Georgia,serif;margin:0 0 16px}.shop-cart__row{display:grid;grid-template-columns:1fr auto;gap:6px;padding:12px 0;border-bottom:1px solid var(--line)}.shop-cart__row strong{grid-column:2}.shop-cart__row button{border:0;background:none;color:#925f66;text-decoration:underline;cursor:pointer}.shop-cart__total{display:flex;justify-content:space-between;margin:20px 0;font-size:20px}.shop-form label{display:block;margin:12px 0;font-size:14px;font-weight:600}.shop-form input{display:block;width:100%;margin-top:5px;padding:12px;border:1px solid #cdbab4;border-radius:5px;background:#fff}.shop-form button{width:100%;margin-top:15px}.shop-note{font-size:13px;color:var(--muted);line-height:1.5}.shop-error{color:#a12828}.shop-success{background:#f7e9e5;padding:30px;border-radius:10px;max-width:650px}@media(max-width:760px){.shop-layout{grid-template-columns:1fr}.shop-cart{position:static}.shop-page{padding:32px 16px 65px}}
.shop-form .shop-agree{display:flex;align-items:flex-start;gap:10px;font-weight:400}.shop-form .shop-agree input{width:auto;margin:3px 0 0;flex:none}.shop-product__description{white-space:pre-line;color:var(--muted);font-size:14px;line-height:1.5}
.shop-products{grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr))}
.shop-product img{width:calc(100% - 36px);height:230px;aspect-ratio:auto;object-fit:contain;box-sizing:border-box;margin:18px 18px 0;padding:10px;border-radius:6px;background:#faf6f2}
.shop-cart__row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}
.shop-cart__row .shop-cart__name{grid-column:1/-1;font-size:14px}
.shop-cart__controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.shop-cart__quantity{display:inline-flex;align-items:center;border:1px solid #d8c2bd;border-radius:6px;overflow:hidden;background:#fff}
.shop-cart__row .shop-cart__quantity button{width:38px;height:40px;border:0;border-radius:0;background:#faf4f1;color:#47373a;text-decoration:none;font-size:21px;line-height:1}
.shop-cart__row .shop-cart__quantity button:disabled{opacity:.4;cursor:not-allowed}
.shop-cart__quantity input{width:48px;height:40px;padding:4px;border:0;border-radius:0;background:#fff;text-align:center;font-size:16px;appearance:textfield}
.shop-cart__quantity input::-webkit-inner-spin-button,.shop-cart__quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.shop-cart__row .shop-cart__delete{padding:7px 0;text-decoration:underline;font-size:13px;white-space:nowrap}
.shop-cart__amount{justify-self:end;font-weight:600}
.shop-page .shop-product button.shop-product__image-button{display:block;position:relative;width:calc(100% - 36px);margin:18px 18px 0;padding:0;appearance:none;border:0;border-radius:6px;background:#faf6f2;box-shadow:none;cursor:zoom-in;overflow:hidden;line-height:0}
.shop-page .shop-product button.shop-product__image-button img{display:block;width:100%;height:230px;margin:0;padding:10px;border:0;border-radius:6px;object-fit:contain;background:#faf6f2}
.shop-product__zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #e3d5d0;border-radius:50%;background:#fffdfa;color:#6d5057;box-shadow:0 2px 8px #47373a1a;line-height:1}
.shop-product__image-button:hover .shop-product__zoom{background:#f5eae7}
.shop-product__new{position:absolute;top:12px;left:12px;padding:8px 11px;border-radius:4px;background:#956a70;color:#fff;font:700 11px Arial,sans-serif;letter-spacing:.08em;line-height:1;text-transform:uppercase;box-shadow:0 2px 8px #47373a20}
.shop-detail>p:first-child{margin:0 0 30px}.shop-detail>p:first-child a{color:#815b61}
.shop-detail__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);gap:clamp(32px,5vw,70px);align-items:start}
.shop-product__link{color:inherit;text-decoration:none}.shop-product__link:hover,.shop-product__details-link:hover{text-decoration:underline}.shop-product__details-link{display:block;margin:0 0 18px;color:#815b61;font-weight:600}.shop-product__availability{font-size:13px;color:#815b61}
.shop-detail__main{display:block;width:100%;padding:18px;border:1px solid #e3d5d0;border-radius:10px;background:#fffdfa;cursor:zoom-in;text-align:right;color:#815b61}
.shop-detail__main img{display:block;width:100%;height:min(55vw,550px);object-fit:contain}
.shop-detail__main span{font-size:13px}
.shop-detail__thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.shop-detail__thumbs button{width:82px;height:82px;padding:5px;border:1px solid #e3d5d0;border-radius:6px;background:#fffdfa;cursor:pointer}
.shop-detail__thumbs button[aria-pressed="true"]{border:2px solid #956a70}
.shop-detail__thumbs img{width:100%;height:100%;object-fit:contain}
.shop-detail__info h1{font:clamp(38px,4vw,58px)/1.08 Georgia,serif;margin:10px 0 20px}
.shop-detail__price{font-size:25px;margin:0 0 8px}.shop-detail__availability{color:#815b61;margin:0 0 28px}
.shop-detail__description{line-height:1.7;color:#5d4b4c}.shop-detail__description h2{font:28px Georgia,serif;margin:30px 0 10px;color:#47373a}.shop-detail__description p{margin:0 0 17px}.shop-detail__description li{margin:5px 0}
.shop-detail__info>a.button{display:inline-block;text-decoration:none}.shop-detail__info>.shop-note{margin:12px 0 30px}.shop-detail__new{display:inline-block;padding:8px 11px;background:#956a70;color:#fff;border-radius:4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:760px){.shop-detail__layout{grid-template-columns:1fr}.shop-detail__main img{height:75vw}.shop-detail__info h1{font-size:40px}}
.shop-product__image-button:focus-visible,.shop-image-dialog__close:focus-visible{outline:3px solid #925f66;outline-offset:3px}
.shop-image-dialog{position:fixed;max-width:min(900px,92vw);max-height:90vh;padding:24px;border:1px solid #d8c2bd;border-radius:10px;background:#fffaf7;color:#47373a;box-shadow:0 20px 70px #47373a55;text-align:center}
.shop-image-dialog::backdrop{background:rgba(35,25,29,.75)}
.shop-image-dialog img{display:block;max-width:100%;max-height:calc(90vh - 100px);margin:auto;object-fit:contain}
.shop-image-dialog p{margin:12px 0 0;font:20px Georgia,serif}
.shop-image-dialog__close{position:absolute;top:8px;right:8px;z-index:1;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#47373a;font-size:28px;line-height:1;cursor:pointer}
