.shop-controls,
.shop-grid,
.shop-status,
.shop-dialog {
  --shop-blue: var(--blue, #0649df);
  --shop-ink: var(--ink, #0a1e50);
  --shop-yellow: var(--yellow, #eaff52);
  color: var(--shop-ink);
  font-family: var(--font-body, 'Manrope', sans-serif);
}

.shop-controls *,
.shop-grid *,
.shop-dialog * { box-sizing: border-box; }
.shop-controls button,
.shop-grid button,
.shop-dialog button,
.shop-controls input { font: inherit; }
.shop-controls button,
.shop-grid button,
.shop-dialog button { cursor: pointer; }
.shop-controls svg,
.shop-grid svg,
.shop-dialog svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.shop-controls :focus-visible,
.shop-grid :focus-visible,
.shop-dialog :focus-visible { outline: 3px solid var(--shop-blue); outline-offset: 5px; }
.shop-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; }

.shop-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 8px 0 29px; }
.shop-toolbar-side { display: flex; align-items: center; gap: 20px; flex: 1 1 320px; justify-content: flex-end; }
.shop-bag { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 13px; color: var(--shop-blue); background: var(--shop-yellow); border: 1px solid var(--shop-blue); border-radius: 3px; white-space: nowrap; font-size: 12px !important; font-weight: 700 !important; }
.shop-bag svg { width: 18px; height: 18px; }
.shop-bag strong { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--shop-blue); color: #fff; font-size: 10px; }
.shop-commerce-note { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 15px; border: 1px solid rgba(6, 73, 223, .3); background: #fff; font-size: 12px; line-height: 1.5; }
.shop-commerce-note[hidden] { display: none; }
.shop-commerce-note button { padding: 7px 12px; border: 1px solid var(--shop-blue); border-radius: 2px; background: #fff; color: var(--shop-blue); font-size: 11px !important; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.shop-filter { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px; color: var(--shop-blue); background: transparent; border: 1px solid var(--shop-blue); border-radius: 3px; font-size: 12px !important; line-height: 1.4; font-weight: 700 !important; letter-spacing: .015em; transition: background .18s ease, color .18s ease; }
.shop-filter svg { width: 15px; height: 15px; }
.shop-filter[aria-pressed='true'] { color: #fff; background: var(--shop-blue); }
.shop-filter:hover { background: var(--shop-yellow); color: var(--shop-ink); }
.shop-search { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--shop-blue); color: var(--shop-blue); width: 265px; flex: 0 1 265px; }
.shop-search svg { width: 20px; height: 20px; }
.shop-search input { display: block; min-width: 0; width: 100%; min-height: 24px; padding: 0 4px; border: 0; border-radius: 0; outline: 0; color: var(--shop-ink); background: transparent; font-size: 13px; }
.shop-search input::placeholder { color: var(--shop-ink); opacity: .7; }
.shop-search:focus-within { border-bottom-width: 2px; padding-bottom: 9px; }

.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.shop-card { min-width: 0; overflow: hidden; border: 1px solid rgba(6, 73, 223, .27); border-radius: 3px; background: #fff; }
.shop-card-visual { position: relative; background: #fff; border-bottom: 1px solid rgba(6, 73, 223, .17); }
.shop-photo-button { display: block; width: 100%; padding: 14px 22px 2px; border: 0; background: #fff; overflow: hidden; }
.shop-photo-button img { display: block; width: 100%; height: clamp(280px, 32vw, 420px); object-fit: contain; transition: transform .4s cubic-bezier(.2, .75, .3, 1); }
.shop-photo-button:hover img { transform: scale(1.035) rotate(-1.5deg); }
.shop-age { position: absolute; top: 22px; left: 23px; width: 36px; height: 36px; border: 1px solid var(--shop-blue); border-radius: 50%; display: grid; place-items: center; color: var(--shop-blue); background: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.shop-favorite { display: grid; place-items: center; width: 43px; height: 43px; padding: 9px; border: 1px solid rgba(6, 73, 223, .25); border-radius: 50%; background: #fff; color: var(--shop-blue); position: absolute; right: 21px; top: 19px; transition: background .18s ease, transform .18s ease; }
.shop-favorite:hover { background: var(--shop-yellow); transform: rotate(-7deg); }
.shop-favorite[aria-pressed='true'] svg { fill: var(--shop-blue); }
.shop-card-info { padding: 25px 27px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.shop-card-kicker { margin: 0 0 5px !important; color: var(--shop-blue); font-size: 10px; line-height: 1.6; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.shop-card-kicker span { padding: 0 5px; opacity: .55; }
.shop-card h3 { margin: 0 !important; color: var(--shop-blue); font-family: var(--font-display, 'Oswald', sans-serif); font-size: clamp(32px, 3.5vw, 45px); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; text-transform: uppercase; }
.shop-card-detail { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; padding: 8px 0 8px 3px; color: var(--shop-blue); background: transparent; border: 0; border-bottom: 1px solid var(--shop-blue); font-size: 11px !important; font-weight: 700 !important; line-height: 1.4; text-align: left; }
.shop-card-detail svg { width: 20px; height: 20px; transition: transform .18s ease; }
.shop-card-detail:hover svg { transform: translateX(4px); }
.shop-purchase { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 27px 22px; border-top: 1px solid rgba(6, 73, 223, .17); }
.shop-price { display: block; color: var(--shop-blue); font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
.shop-stock { display: block; min-height: 15px; margin-top: 5px; color: var(--shop-ink); font-size: 10px; line-height: 1.5; opacity: .6; }
.shop-stock.is-available { opacity: 1; }
.shop-stock.is-available::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--shop-blue); vertical-align: 2px; }
.shop-buy { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 45px; padding: 12px 17px; color: #fff; background: var(--shop-blue); border: 1px solid var(--shop-blue); border-radius: 2px; font-size: 11px !important; font-weight: 700 !important; white-space: nowrap; }
.shop-buy svg { width: 18px; height: 18px; }
.shop-buy:hover { background: var(--shop-ink); }
.shop-buy:disabled { opacity: .4; cursor: not-allowed; }
.shop-status { margin-top: 14px; font-size: 11px; line-height: 1.5; opacity: .65; }
.shop-empty { grid-column: 1 / -1; min-height: 350px; padding: 65px 24px; border: 1px solid rgba(6, 73, 223, .27); text-align: center; background: #fff; }
.shop-empty-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 13px; border: 1px solid var(--shop-blue); border-radius: 50%; color: var(--shop-blue); }
.shop-empty h3 { margin: 0 0 9px; font-family: var(--font-display, 'Oswald', sans-serif); font-size: 30px; line-height: 1.2; text-transform: uppercase; color: var(--shop-blue); }
.shop-empty p { margin: 0 auto 22px; max-width: 440px; font-size: 13px; line-height: 1.7; }
.shop-reset { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--shop-blue); border-radius: 2px; background: var(--shop-blue); color: #fff; font-size: 12px !important; font-weight: 700 !important; }

html.shop-dialog-open { overflow: hidden; }
.shop-dialog { position: fixed; inset: 0; width: min(1060px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--shop-blue); border-radius: 3px; background: #fff; overflow: auto; overscroll-behavior: contain; }
.shop-dialog::backdrop { background: rgba(0, 21, 70, .72); backdrop-filter: blur(4px); }
.shop-dialog-close { position: absolute; top: 17px; right: 17px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 9px; border: 1px solid var(--shop-blue); border-radius: 50%; color: var(--shop-blue); background: #fff; }
.shop-dialog-close:hover { background: var(--shop-yellow); }
.shop-dialog-layout { display: grid; grid-template-columns: 1fr 1fr; }
.shop-gallery { padding: 40px 24px 29px; background: #fff; border-right: 1px solid rgba(6, 73, 223, .2); }
.shop-gallery-main { position: relative; }
.shop-gallery-main > img { display: block; width: 100%; height: 385px; object-fit: contain; }
.shop-gallery-main .shop-favorite { top: 0; right: 0; }
.shop-thumbnails { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.shop-thumbnail { width: 94px; padding: 5px 5px 9px; border: 1px solid rgba(6, 73, 223, .2); border-radius: 2px; color: var(--shop-ink); background: #fff; font-size: 10px !important; transition: border-color .18s ease; }
.shop-thumbnail img { display: block; width: 100%; height: 70px; margin-bottom: 5px; object-fit: contain; }
.shop-thumbnail[aria-pressed='true'] { border: 2px solid var(--shop-blue); padding: 4px 4px 8px; color: var(--shop-blue); font-weight: 700 !important; }
.shop-thumbnail:hover { border-color: var(--shop-blue); }
.shop-dialog-info { padding: 57px 39px 35px; }
.shop-dialog-kicker { margin: 0 0 5px; font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .12em; color: var(--shop-blue); font-weight: 700; }
.shop-dialog-info > h2 { margin: 0 0 15px; font-family: var(--font-display, 'Oswald', sans-serif); font-size: 65px; font-weight: 600; letter-spacing: -.04em; text-transform: uppercase; line-height: 1.05; color: var(--shop-blue); }
.shop-dialog-description { margin: 0 0 24px; max-width: 360px; font-size: 13px; line-height: 1.8; }
.shop-specs { margin: 0 0 28px; font-size: 11px; line-height: 1.5; }
.shop-specs > div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid rgba(6, 73, 223, .2); }
.shop-specs > div:last-child { border-bottom: 1px solid rgba(6, 73, 223, .2); }
.shop-specs dt { opacity: .65; }
.shop-specs dd { margin: 0; text-align: right; font-weight: 700; }
.shop-stores > h3 { margin: 0 0 5px; font-family: var(--font-display, 'Oswald', sans-serif); font-size: 25px; font-weight: 600; letter-spacing: -.02em; text-transform: uppercase; line-height: 1.2; color: var(--shop-blue); }
.shop-stores > p { margin: 0 0 17px; font-size: 11px; line-height: 1.6; }
.shop-stores .shop-purchase { margin: 20px 0; padding: 0 0 20px; border-top: 0; border-bottom: 1px solid rgba(6, 73, 223, .2); }
.shop-stores .shop-other-stores { margin-bottom: 10px; }
.shop-store { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 13px; border: 1px solid var(--shop-blue); border-radius: 2px; color: var(--shop-blue); background: #fff; text-decoration: none; transition: background .18s ease; }
.shop-store strong { display: block; font-size: 12px; line-height: 1.5; font-weight: 800; }
.shop-store small { display: block; font-size: 8px; line-height: 1.5; margin-top: 2px; }
.shop-store svg { width: 19px; height: 19px; }
.shop-store[hidden] { display: none; }
.shop-store:hover { background: var(--shop-yellow); color: var(--shop-ink); }
.shop-store-primary { padding: 13px 16px; color: #fff; background: var(--shop-blue); }
.shop-store-primary strong { font-size: 14px; }
.shop-store-primary small { font-size: 10px; opacity: .8; }
.shop-store-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 9px; }

@media (max-width: 1000px) {
  .shop-card-info { padding: 22px; align-items: flex-start; flex-direction: column; gap: 13px; }
  .shop-card-detail { width: 100%; }
  .shop-purchase { padding: 18px 22px 22px; }
  .shop-gallery { padding: 40px 18px 25px; }
  .shop-gallery-main > img { height: 335px; }
  .shop-dialog-info { padding: 58px 27px 30px; }
  .shop-store-pair { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .shop-controls { flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 22px; }
  .shop-toolbar-side { flex: none; justify-content: space-between; gap: 14px; }
  .shop-filters { gap: 6px; }
  .shop-filter { padding: 9px 13px; min-height: 40px; font-size: 11px !important; }
  .shop-search { width: auto; flex: 1; }
  .shop-grid { gap: 14px; }
  .shop-photo-button { padding: 28px 10px 2px; }
  .shop-photo-button img { height: clamp(210px, 42vw, 300px); }
  .shop-age { top: 14px; left: 13px; width: 28px; height: 28px; font-size: 10px; }
  .shop-favorite { top: 10px; right: 10px; width: 35px; height: 35px; padding: 8px; }
  .shop-card-info { padding: 17px 14px; gap: 13px; }
  .shop-card h3 { font-size: 33px; }
  .shop-card-kicker { font-size: 8px; letter-spacing: .02em; }
  .shop-card-kicker span { padding: 0 2px; }
  .shop-card-detail { gap: 5px; font-size: 10px !important; }
  .shop-card-detail svg { width: 17px; height: 17px; }
  .shop-card .shop-purchase { padding: 17px 14px; flex-direction: column; align-items: stretch; gap: 12px; }
  .shop-card .shop-buy { width: 100%; }
  .shop-card .shop-price { font-size: 21px; }
  .shop-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .shop-dialog-layout { grid-template-columns: 1fr; }
  .shop-dialog-close { top: 12px; right: 12px; }
  .shop-gallery { padding: 55px 20px 23px; border-right: 0; border-bottom: 1px solid rgba(6, 73, 223, .2); }
  .shop-gallery-main > img { height: min(65vw, 340px); }
  .shop-gallery-main .shop-favorite { top: 0; right: 0; width: 40px; height: 40px; }
  .shop-thumbnails { margin-top: 10px; }
  .shop-thumbnail { width: 82px; }
  .shop-thumbnail img { height: 58px; }
  .shop-dialog-info { padding: 28px 24px; }
  .shop-dialog-info > h2 { font-size: 57px; }
  .shop-dialog-description { max-width: none; }
  .shop-store-pair { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-photo-button img { height: 285px; }
  .shop-store-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-photo-button img,
  .shop-favorite,
  .shop-card-detail svg,
  .shop-filter,
  .shop-thumbnail,
  .shop-store { transition: none; }
  .shop-photo-button:hover img,
  .shop-favorite:hover,
  .shop-card-detail:hover svg { transform: none; }
}
