.shop-page { max-width: 1320px; margin: auto; padding: 12px 40px 72px; color: #162135; }
.shop-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-sidebar { padding: 22px 20px; border: 1px solid #e5eaf1; border-radius: 12px; background: #fbfcfe; }
.shop-sidebar-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 24px; }.shop-sidebar-heading .icon { width: 19px; height: 19px; color: var(--blue); }.shop-sidebar-heading h2 { margin: 0; font-size: 15px; }
.shop-filter-form fieldset { padding: 0 0 22px; margin: 0 0 22px; border: 0; border-bottom: 1px solid #e6ebf2; min-width: 0; }
.shop-filter-form legend { width: 100%; padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 700; }.shop-filter-form legend span { float: right; font-size: 10px; color: #8190a6; font-weight: 400; }
.shop-filter-options { max-height: 272px; overflow-y: auto; scrollbar-width: thin; padding: 3px; margin: -3px; }
.shop-check { display: flex; align-items: center; gap: 9px; min-height: 36px; cursor: pointer; font-size: 12px; line-height: 1.4; color: #4e5e76; }
.shop-check input { flex-shrink: 0; accent-color: var(--blue); width: 16px; height: 16px; margin: 0; cursor: pointer; }.shop-check span { flex: 1; overflow-wrap: anywhere; }.shop-check small { color: #8c98aa; font-size: 11px; }.shop-check:has(:checked) { color: var(--blue); font-weight: 600; }
.shop-filter-note { color: #728095; font-size: 12px; }.shop-price-inputs { display: flex; align-items: flex-end; gap: 6px; }.shop-price-inputs label { flex: 1; min-width: 0; color: #728095; font-size: 11px; }.shop-price-inputs > span { margin-bottom: 14px; color: #a3adbd; font-size: 11px; }
.shop-price-inputs input { display: block; width: 100%; height: 40px; margin-top: 8px; padding: 0 7px; border: 1px solid #dce3ed; border-radius: 7px; background: #fff; color: #253550; font-size: 12px; appearance: textfield; }.shop-price-inputs input::-webkit-inner-spin-button, .shop-price-inputs input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.shop-price-error { color: #b42318; font-size: 12px; line-height: 1.5; margin-bottom: 0; }
.shop-filter-actions { display: grid; gap: 8px; }.shop-apply { justify-content: center; min-height: 42px; font-size: 12px; border-radius: 8px; }.shop-reset { min-height: 36px; border: 0; background: transparent; color: #728095; font-size: 12px; }.shop-reset:hover { color: var(--blue); }
.shop-results { min-width: 0; }.shop-results:focus { outline: none; }.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-bottom: 20px; }.shop-toolbar p { margin: 0; color: #758197; font-size: 13px; line-height: 1.5; }.shop-toolbar p strong { color: #253550; }
.shop-tools { display: flex; align-items: center; gap: 12px; }.shop-sort { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 12px; color: #758197; }.shop-sort select { min-height: 42px; max-width: 210px; padding: 0 26px 0 12px; font: inherit; color: #253550; border: 1px solid #e0e6ef; border-radius: 8px; background: #fff; cursor: pointer; }.shop-sort select:focus-visible { outline: 3px solid #80a4ff; outline-offset: 2px; }
.shop-filter-toggle { display: none; }
.shop-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 22px; }.shop-chip { display: inline-flex; gap: 6px; align-items: center; max-width: 100%; overflow-wrap: anywhere; padding: 8px 10px; border: 1px solid #dce6ff; background: #f0f5ff; color: #174db7; font-size: 11px; border-radius: 6px; }.shop-chip .icon { width: 13px; height: 13px; flex-shrink: 0; }.shop-chip:hover { background: #e2ecff; }.shop-clear-all { padding: 10px 4px; font-size: 11px; color: #728095; text-decoration: underline; }
.shop-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shop-results .product-visual .store-photo { max-width: 100%; }
.shop-results .product-card { overflow: hidden; border-radius: 11px; }.shop-results .product-visual { height: 216px; padding: 26px 22px 12px; }.shop-results .product-info { padding: 8px 18px 18px; }.shop-results .product-brand { font-size: 10px; margin-bottom: 9px; }.shop-results .product-name { font-size: 14px; line-height: 1.5; min-height: 42px; }.shop-results .product-price { margin: 20px 0 14px; font-size: 25px; }.shop-results .add-button { min-height: 42px; font-size: 12px; gap: 9px; }.shop-results .add-button .icon { width: 21px; height: 21px; }
.shop-empty { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; min-height: 330px; padding: 40px 24px; border: 1px dashed #dce4f0; border-radius: 12px; background: #fbfcfe; }.shop-empty > .icon { color: #8da6cd; width: 36px; height: 36px; margin-bottom: 20px; }.shop-empty h2 { font-size: 20px; margin: 0; }.shop-empty p { color: #728095; font-size: 14px; line-height: 1.6; margin: 12px 0 24px; }.shop-empty .primary-button { font-size: 13px; }
.shop-filter-dialog { position: fixed; inset: 0 auto 0 0; height: 100dvh; width: min(360px, 92vw); max-width: none; max-height: none; margin: 0; padding: 0 24px 20px; border: 0; color: #162135; background: #fff; overscroll-behavior: contain; }.shop-filter-dialog::backdrop { background: #0c19356b; backdrop-filter: blur(2px); }.shop-dialog-heading { position: sticky; top: 0; z-index: 1; background: #fff; display: flex; justify-content: space-between; align-items: center; min-height: 78px; margin-bottom: 14px; border-bottom: 1px solid #e6ebf2; }.shop-dialog-heading h2 { font-size: 19px; margin: 0; }.shop-dialog-heading .icon { width: 23px; height: 23px; }
body:has(.shop-filter-dialog[open]) { overflow: hidden; }
@media (min-width: 1024px) and (max-width: 1199px) { .shop-page { padding-inline: 24px; }.shop-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }.shop-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.shop-sort > span { display: none; } }
@media (max-width: 1023px) {
  .shop-page { padding: 8px 18px 45px; }.shop-layout { display: block; }.shop-sidebar { display: none; }.shop-toolbar { display: block; margin-bottom: 20px; }.shop-toolbar p { margin-bottom: 16px; }.shop-tools { justify-content: space-between; gap: 8px; }.shop-sort > span { display: none; }.shop-sort select { max-width: 205px; min-height: 44px; font-size: 12px; }
  .shop-filter-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; color: #263952; background: #fff; border: 1px solid #dce3ed; border-radius: 8px; font-size: 13px; }.shop-filter-toggle .icon { width: 18px; height: 18px; color: var(--blue); }.shop-filter-toggle span { display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 20px; background: var(--blue); color: white; font-size: 10px; }
  .shop-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.shop-results .product-visual { height: clamp(142px, 30vw, 260px); padding: 24px 13px 8px; }.shop-results .product-info { padding: 8px 12px 14px; }.shop-results .product-name { font-size: 13px; min-height: 58px; }.shop-results .product-price { font-size: 23px; margin: 14px 0 12px; }.shop-results .product-brand { font-size: 9px; }.shop-results .favorite-button { width: 36px; height: 36px; padding: 8px; }.shop-results .favorite-button .icon { width: 19px; height: 19px; }.shop-results .add-button { min-height: 44px; }
  .shop-filter-dialog .shop-check { min-height: 44px; font-size: 14px; }.shop-filter-dialog .shop-check input { width: 18px; height: 18px; }.shop-filter-dialog legend { font-size: 14px; }.shop-filter-dialog .shop-price-inputs input { height: 46px; font-size: 16px; }.shop-filter-dialog .shop-filter-actions { position: sticky; bottom: -20px; padding: 16px 0 max(12px, env(safe-area-inset-bottom)); margin-top: -1px; background: #fff; border-top: 1px solid #e6ebf2; }.shop-filter-dialog .shop-apply { min-height: 46px; font-size: 14px; }.shop-filter-dialog .shop-reset { min-height: 44px; }.shop-filter-dialog .shop-filter-options { max-height: 290px; }
  .shop-chip, .shop-clear-all { min-height: 40px; }.shop-chip .icon { width: 16px; height: 16px; }
}
@media (max-width: 359px) { .shop-page { padding-inline: 12px; }.shop-sort select { max-width: 173px; padding-left: 8px; padding-right: 18px; font-size: 11px; }.shop-filter-toggle { padding: 0 9px; gap: 5px; }.shop-results .product-grid { gap: 8px; }.shop-results .product-info { padding-inline: 9px; }.shop-results .product-price { font-size: 21px; } }
.shop-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:30px;font-size:13px;color:#6f8098}.shop-pagination a{display:flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #dfe6f1;border-radius:8px;color:#0647ef}.shop-results .add-button:disabled{background:#edf1f7;color:#8190a5;cursor:not-allowed;box-shadow:none}
