/* Shop catalog — oknaminsk24 */
:root {
  --sh-ink: #152029;
  --sh-muted: #5d6b78;
  --sh-steel: #1f3a52;
  --sh-green: #19b27f;
  --sh-green-deep: #149a74;
  --sh-accent: #e07a1f;
  --sh-font: "Manrope", system-ui, sans-serif;
  --sh-max: 1380px;
}

* { box-sizing: border-box; }

body.shop-page {
  margin: 0;
  font-family: var(--sh-font);
  color: var(--sh-ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(25, 178, 127, 0.12), transparent 55%),
    radial-gradient(700px 360px at 100% 5%, rgba(224, 122, 31, 0.1), transparent 50%),
    linear-gradient(180deg, #f7f3ec 0%, #eef2f6 52%, #f5f1ea 100%);
  min-height: 100vh;
}

.sh-wrap {
  width: min(var(--sh-max), calc(100% - 2rem));
  margin: 0 auto;
}

.sh-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: var(--sh-muted);
}

.sh-crumbs a {
  color: var(--sh-muted);
  text-decoration: none;
}

.sh-crumbs a:hover { color: var(--sh-green-deep); }

.sh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(25, 178, 127, 0.12);
  color: var(--sh-green-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sh-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sh-green);
}

.sh-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s;
}

.sh-btn:hover { transform: translateY(-1px); }

.sh-btn--green {
  background: linear-gradient(90deg, #31a375, #19b27f);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(25, 178, 127, 0.28);
}

.sh-btn--orange {
  background: linear-gradient(90deg, #ef9340, #e07a1f);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(224, 122, 31, 0.28);
}

.sh-btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--sh-ink) !important;
  border: 1px solid rgba(25, 178, 127, 0.35);
}

.sh-btn--sm {
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  font-size: 0.86rem;
  width: 100%;
}

.sh-hero { padding: 1.35rem 0 1.15rem; }

.sh-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--sh-steel);
}

.sh-hero__lead {
  margin: 0 0 1rem;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--sh-muted);
}

.sh-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sh-layout {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 1rem;
}

@media (min-width: 960px) {
  .sh-layout {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.sh-side {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 58, 82, 0.08);
  box-shadow: 0 8px 22px rgba(21, 32, 41, 0.05);
}

.sh-side h2 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--sh-steel);
}

.sh-cats {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sh-cats a.sh-cat {
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.sh-cat {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--sh-ink);
  text-align: left;
  cursor: pointer;
}

.sh-cat:hover {
  background: rgba(25, 178, 127, 0.08);
}

.sh-cat.is-active {
  background: rgba(25, 178, 127, 0.12);
  border-color: rgba(25, 178, 127, 0.28);
  color: var(--sh-green-deep);
}

.sh-cat span {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--sh-muted);
}

.sh-cat.is-active span { color: var(--sh-green-deep); }

.sh-side__links {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(31, 58, 82, 0.08);
  display: grid;
  gap: 0.4rem;
}

.sh-side__links a {
  font-size: 0.88rem;
  color: var(--sh-muted);
  text-decoration: none;
}

.sh-side__links a:hover { color: var(--sh-green-deep); }

.sh-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.sh-count {
  margin: 0;
  font-size: 0.92rem;
  color: var(--sh-muted);
}

.sh-search {
  flex: 1 1 220px;
  max-width: 320px;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 58, 82, 0.14);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.92rem;
  color: var(--sh-ink);
}

.sh-search:focus {
  outline: 2px solid rgba(25, 178, 127, 0.35);
  border-color: rgba(25, 178, 127, 0.45);
}

.sh-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .sh-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .sh-grid { grid-template-columns: repeat(3, 1fr); }
}

.sh-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 58, 82, 0.08);
  box-shadow: 0 10px 28px rgba(21, 32, 41, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.sh-card:hover {
  box-shadow: 0 16px 36px rgba(21, 32, 41, 0.1);
  transform: translateY(-2px);
}

.sh-card.is-hidden { display: none; }

.sh-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 0.35rem;
  background: linear-gradient(180deg, #eef3f6, #f7fafb);
  text-decoration: none;
  overflow: hidden;
}

.sh-card__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.sh-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  padding: 0.9rem 1rem 1.05rem;
}

.sh-card__cat {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sh-green-deep);
}

.sh-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--sh-steel);
}

.sh-card h2 a {
  color: inherit;
  text-decoration: none;
}

.sh-card h2 a:hover { color: var(--sh-green-deep); }

.sh-empty {
  display: none;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--sh-muted);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(31, 58, 82, 0.15);
}

.sh-empty.is-visible { display: block; }

.sh-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 1.35rem 1.4rem;
  border-radius: 20px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(25, 178, 127, 0.22), transparent 55%),
    linear-gradient(120deg, #1a3348, #163d4f);
  color: #fff;
  box-shadow: 0 16px 36px rgba(21, 40, 55, 0.2);
}

.sh-cta h2 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
}

.sh-cta p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.sh-foot {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(31, 58, 82, 0.08);
  font-size: 0.88rem;
  color: var(--sh-muted);
}

.sh-foot__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.sh-foot a {
  color: var(--sh-muted);
  text-decoration: none;
}

.sh-foot a:hover { color: var(--sh-green-deep); }

@media (max-width: 959px) {
  .sh-cats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sh-cat {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-card, .sh-btn { transition: none !important; }
}


.sh-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}
.sh-brands span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(31, 58, 82, 0.06);
  color: var(--sh-steel);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.sh-note {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--sh-muted);
  line-height: 1.45;
}
.sh-note a {
  color: var(--sh-green-deep);
  font-weight: 700;
  text-decoration: none;
}
.sh-note a:hover { text-decoration: underline; }


.sh-cat-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(25, 178, 127, 0.22), transparent 55%),
    linear-gradient(120deg, #1a3348, #163d4f);
  color: #fff;
}
.sh-cat-cta h2 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}
.sh-cat-cta p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  line-height: 1.45;
  font-size: 0.92rem;
}
