.shop-main { max-width: 1240px; margin: auto; padding: 48px 28px 80px; }
.shop-body input, .shop-body select { box-sizing: border-box; width: 100%; min-width: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-deep); color: var(--text); font: inherit; }
.shop-body input:focus-visible, .shop-body select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shop-body label { display: grid; gap: 8px; }
.shop-heading { display: flex; gap: 36px; align-items: end; justify-content: space-between; margin-bottom: 42px; }
.shop-heading h1 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; margin: 12px 0 0; letter-spacing: -.035em; }
.shop-heading > p { max-width: 360px; color: var(--muted); line-height: 1.7; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.shop-catalog { min-width: 0; }
.shop-filters { display: flex; gap: 12px; align-items: end; margin: 0 0 24px; }
.shop-filters label { max-width: 340px; flex: 1; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shop-product { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.shop-product-link { display: block; text-decoration: none; color: var(--text); }
.shop-product-title { padding: 16px; }
.shop-product-title h2 { font-size: 1rem; line-height: 1.4; margin: 8px 0 0; }
.shop-product-title h2 small { color: var(--muted); font-size: .85em; }
.shop-image { height: 192px; overflow: hidden; background: var(--surface-deep); display: grid; place-items: center; }
.shop-image img { width: auto; height: auto; max-width: min(100%, 256px); max-height: 192px; object-fit: contain; }
.shop-image > span { font-size: 5rem; font-weight: 800; color: var(--muted); opacity: .4; }
.shop-product-actions { padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.shop-price { font-size: 1.25rem; font-weight: 750; }
.shop-basket { position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; box-sizing: border-box; min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); display: grid; gap: 20px; scroll-margin-top: 16px; scrollbar-width: thin; }
.shop-basket h2, .shop-basket h3 { margin-top: 0; }
.shop-basket p, .shop-basket small { line-height: 1.5; }
.shop-basket .shop-basket-line { flex-wrap: wrap; }
.shop-basket-line { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--border); }
.shop-basket-line span { min-width: 0; overflow-wrap: anywhere; }
.shop-basket-line small { display: block; color: var(--muted); margin-top: 5px; }
.shop-checkout { padding-top: 20px; border-top: 1px solid var(--border); }
.shop-checkout form { display: grid; gap: 16px; }
.shop-intents { margin-top: 40px; }
.shop-notice { padding: 18px; background: var(--surface); border-left: 3px solid var(--accent); }
.shop-detail { display: grid; grid-template-columns: minmax(0, 256px) minmax(0, 1fr); gap: 24px; margin: 0; align-items: start; }
.shop-description { line-height: 1.8; }
.shop-detail .shop-image { border-radius: 12px; }
@media (max-width: 1000px) { .shop-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; } .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shop-filters { flex-wrap: wrap; } .shop-detail { grid-template-columns: 1fr; } }
@media (max-width: 850px) { .shop-heading { display: block; } .shop-layout { grid-template-columns: 1fr; } .shop-basket { position: static; max-height: none; overflow: visible; margin-top: 16px; } }
@media (max-width: 540px) { .shop-main { padding: 28px 16px 48px; } .shop-grid { grid-template-columns: 1fr; } .shop-filters label { flex-basis: 100%; max-width: none; } .shop-basket-line { align-items: start; flex-direction: column; } }
