.shop-page {
  --shop-navy: #112f59;
  --shop-ink: #18365c;
  --shop-muted: #62758b;
  --shop-line: #dbe5f0;
  --shop-gold: #ffbd20;
  background: #f4f7fb;
  color: var(--shop-ink);
  font: 16px/1.5 'Inter', Arial, sans-serif;
}
.shop-page *, .shop-page *::before, .shop-page *::after { box-sizing: border-box; }
.shop-page a { text-decoration: none; }
.shop-page :is(a, button, input, select):focus-visible { outline: 3px solid #f4ad0c; outline-offset: 3px; }
.shop-container { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }

.shop-intro {
  background: radial-gradient(circle at 84% 0%, #24578d 0%, transparent 38%), linear-gradient(112deg, #0d2648, #173c6d);
  color: #fff;
  border-bottom: 4px solid var(--shop-gold);
}
.shop-intro__inner { min-height: 184px; padding: 28px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.shop-eyebrow { margin: 0 0 7px; color: #1f69ab; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.shop-intro .shop-eyebrow { color: #ffce59; display: flex; align-items: center; gap: 9px; }
.shop-intro .shop-eyebrow span { width: 20px; height: 2px; background: currentColor; }
.shop-intro h1 { max-width: 820px; margin: 0; font: 800 clamp(28px, 3.1vw, 42px)/1.14 'Poppins', 'Inter', Arial, sans-serif; letter-spacing: -.035em; }
.shop-intro__inner > div > p:last-child { max-width: 730px; margin: 9px 0 0; color: #d0dff0; font-size: 15px; }
.shop-intro__cart { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 43px; flex: 0 0 auto; padding: 10px 16px; border: 1px solid #7695b7; border-radius: 10px; color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.shop-intro__cart:hover { background: #fff; color: var(--shop-navy); }

.shop-catalog { padding: 18px 0 54px; }

.shop-filters { display: grid; grid-template-columns: minmax(240px, 1.7fr) minmax(260px, 1.35fr) minmax(170px, .8fr) auto; gap: 14px; align-items: end; padding: 18px; border: 1px solid var(--shop-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(21, 56, 96, .045); }
.shop-filters label, .shop-filters fieldset { min-width: 0; }
.shop-filters__search, .shop-filters__sort { display: grid; gap: 7px; color: var(--shop-ink); font-size: 12px; font-weight: 800; }
.shop-filters__input-wrap { position: relative; display: block; }
.shop-filters__input-wrap i { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); color: #5c7895; font-size: 14px; }
.shop-filters :is(input, select) { width: 100%; height: 42px; border: 1px solid #ccd9e8; border-radius: 8px; background: #f9fbfd; color: var(--shop-ink); font: 500 13px 'Inter', Arial, sans-serif; }
.shop-filters input { padding: 0 11px; }
.shop-filters__search input { padding-left: 38px; }
.shop-filters input::placeholder { color: #8a9aad; }
.shop-filters select { padding: 0 9px; cursor: pointer; }
.shop-filters__price { display: flex; align-items: end; gap: 7px; margin: 0; padding: 0; border: 0; }
.shop-filters__price legend { width: 100%; margin-bottom: 7px; padding: 0; font-size: 12px; font-weight: 800; }
.shop-filters__price label { flex: 1; display: block; }
.shop-filters__price label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shop-filters__dash { padding-bottom: 10px; color: #8091a5; }
.shop-filters__submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 17px; border: 0; border-radius: 8px; background: var(--shop-gold); color: #112d52; font: 800 13px 'Inter', Arial, sans-serif; cursor: pointer; white-space: nowrap; }
.shop-filters__submit:hover { background: #efa909; }
.shop-alert { margin: 12px 0 0; padding: 10px 13px; border-radius: 8px; background: #fff0e9; color: #8e331f; font-size: 13px; }
.shop-results { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; }
.shop-results p { margin: 0; color: var(--shop-muted); font-size: 13px; }
.shop-results p strong { color: var(--shop-ink); }
.shop-results a { color: #12518a; font-size: 12px; font-weight: 800; }
.shop-results a i { margin-left: 4px; }

.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shop-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--shop-line); border-radius: 15px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.shop-card:hover { transform: translateY(-3px); border-color: #bbcee4; box-shadow: 0 18px 38px rgba(18, 48, 87, .1); }
.shop-card__media { position: relative; height: 205px; margin: 11px 11px 0; overflow: hidden; border-radius: 10px; background: #f3f7fc; }
.shop-card__media > a { display: grid; place-items: center; width: 100%; height: 100%; }
.shop-card__media img { width: 100%; height: 100%; padding: 14px; object-fit: contain; }
.shop-card__placeholder { display: grid; place-items: center; gap: 8px; color: #849ab1; font-size: 12px; font-weight: 700; }
.shop-card__placeholder i { font-size: 35px; }
.shop-card__availability { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border: 1px solid #c5e7d3; border-radius: 6px; background: #f1fcf5; color: #17703d; font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.shop-card__availability--out { border-color: #eadbdc; background: #fff3f2; color: #a0443d; }
.shop-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
.shop-card h3 { min-height: 45px; margin: 0 0 7px; padding: 0; color: var(--shop-ink); font: 800 16px/1.35 'Poppins', 'Inter', Arial, sans-serif; }
.shop-card h3 a { color: inherit; }
.shop-card h3 a:hover { color: #1766a9; }
.shop-card__description { display: -webkit-box; min-height: 42px; margin: 0 0 15px; overflow: hidden; color: var(--shop-muted); font-size: 12px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.shop-card__price-row { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid #edf1f6; }
.shop-card__price-row > div { display: grid; gap: 2px; }
.shop-card__price-row span { color: var(--shop-muted); font-size: 11px; }
.shop-card__price-row strong { color: #123d71; font: 800 24px/1.2 'Poppins', 'Inter', Arial, sans-serif; letter-spacing: -.025em; }
.shop-favorite { margin: 0; }
.shop-favorite button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--shop-line); border-radius: 8px; background: #fff; color: #5c7491; cursor: pointer; }
.shop-favorite button:hover, .shop-favorite button.is-saved { border-color: #f0bcc3; background: #fff3f4; color: #c4314c; }
.shop-add { margin-top: 13px; }
.shop-add > label { display: block; margin-bottom: 6px; color: var(--shop-muted); font-size: 11px; font-weight: 700; }
.shop-add__actions { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 8px; }
.shop-add__actions input { width: 100%; height: 39px; padding: 0 4px; border: 1px solid var(--shop-line); border-radius: 8px; color: var(--shop-ink); text-align: center; }
.shop-add__actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 8px 10px; border: 0; border-radius: 8px; background: #153d70; color: #fff; font: 800 12px 'Inter', Arial, sans-serif; cursor: pointer; }
.shop-add__actions button:hover { background: #0d2f59; }
.shop-add__actions button:disabled { opacity: .65; cursor: wait; }
.shop-card__unavailable { display: grid; place-items: center; min-height: 39px; margin-top: 13px; border-radius: 8px; background: #edf2f6; color: #6b7c8e; font-size: 12px; font-weight: 700; }
.shop-card__details { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 11px; color: #15528d; font-size: 12px; font-weight: 800; }
.shop-card__details:hover { text-decoration: underline; }
.shop-card__feedback { min-height: 0; margin: 0; color: #137442; font-size: 11px; font-weight: 700; }
.shop-card__feedback:not(:empty) { margin-top: 8px; }
.shop-card__feedback.is-error { color: #a13b34; }
.shop-card__feedback a { color: inherit; text-decoration: underline; }

.shop-empty { display: grid; justify-items: center; gap: 8px; padding: 54px 20px; border: 1px solid var(--shop-line); border-radius: 14px; background: #fff; text-align: center; }
.shop-empty > i { color: #5c87b0; font-size: 30px; }
.shop-empty h3 { margin: 3px 0 0; font-size: 19px; }
.shop-empty p { margin: 0; color: var(--shop-muted); font-size: 13px; }
.shop-empty a { margin-top: 9px; padding: 10px 15px; border-radius: 8px; background: var(--shop-navy); color: #fff; font-size: 12px; font-weight: 800; }
.shop-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.shop-pagination a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 38px; min-height: 38px; padding: 8px 12px; border: 1px solid var(--shop-line); border-radius: 8px; background: #fff; color: var(--shop-ink); font-size: 12px; font-weight: 800; }
.shop-pagination a:hover, .shop-pagination a.is-current { border-color: var(--shop-navy); background: var(--shop-navy); color: #fff; }

@media (max-width: 1050px) {
  .shop-filters { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .shop-container { width: min(100% - 28px, 470px); }
  .shop-intro__inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 15px; padding: 23px 0; }
  .shop-intro h1 { font-size: 28px; }
  .shop-intro__inner > div > p:last-child { font-size: 13px; }
  .shop-catalog { padding: 14px 0 40px; }
  .shop-filters { grid-template-columns: 1fr; padding: 14px; }
  .shop-filters__submit { width: 100%; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card__media { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-card { transition: none; }
}
