.shop-page {
  background: var(--warm-white);
}

.shop-page .site-header {
  background: rgba(23, 63, 74, 0.18);
}

.shop-page .site-header.scrolled {
  background: rgba(23, 63, 74, 0.97);
}

.shop-cart-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--burgundy-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.shop-cart-button:hover {
  transform: translateY(-2px);
  background: var(--sand);
}

.shop-cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  background: var(--burgundy-dark);
  color: var(--white);
  font-size: 11px;
}

.shop-cart-button-mobile {
  display: none;
}

.shop-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--burgundy);
  color: var(--white);
}

.shop-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 53, 63, 0.99) 0%, rgba(36, 79, 89, 0.92) 50%, rgba(46, 84, 91, 0.3) 100%),
    linear-gradient(0deg, rgba(14, 40, 47, 0.35), transparent 55%);
  content: "";
}

.shop-hero-photo {
  position: absolute;
  inset: 0 0 0 42%;
  background: url("assets/lexid-office.png") center / cover no-repeat;
  filter: saturate(0.62) contrast(0.96);
}

.shop-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 80px;
  padding-top: 105px;
}

.shop-hero-content {
  max-width: 790px;
}

.shop-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(47px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.shop-hero-lead {
  max-width: 650px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.shop-hero-button {
  border-color: var(--sand);
  background: var(--sand);
  color: var(--burgundy-dark);
}

.shop-hero-note {
  align-self: end;
  margin-bottom: 64px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.shop-hero-note p {
  margin: 50px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.shop-hero-note strong {
  color: var(--white);
}

.shop-hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 110px;
  align-items: center;
  gap: 55px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.shop-hero-bottom a {
  margin-left: auto;
  color: var(--white);
  text-decoration: none;
}

.shop-catalog {
  background: var(--white);
}

.shop-widget-shell {
  padding-top: 8px;
}

#lexid-shop {
  min-height: 260px;
}

.shop-loading,
.shop-message {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.shop-message-error {
  color: #9f2d36;
}

.shop-catalog .sw-root {
  --sw-bg: #ffffff;
  --sw-surface: #f1f4f2;
  --sw-text: #24363b;
  --sw-muted: #647579;
  --sw-border: rgba(36, 65, 72, 0.16);
  --sw-accent: #315d68;
  --sw-accent-contrast: #ffffff;
  --sw-radius: 0px;
  --sw-shadow: none;
  font-family: var(--sans);
}

.shop-catalog .sw-toolbar {
  padding: 24px;
  border-width: 1px 0;
}

.shop-catalog .sw-card,
.shop-catalog .sw-item__gallery,
.shop-catalog .sw-item__info,
.shop-catalog .sw-cart__item,
.shop-catalog .sw-summary,
.shop-catalog .sw-content {
  box-shadow: none;
}

.shop-catalog .sw-card {
  border-top: 3px solid var(--burgundy);
}

.shop-catalog .sw-card__body {
  padding: 19px;
}

.shop-catalog .sw-card__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
}

.shop-catalog .sw-card__price {
  color: var(--burgundy);
  font-size: 18px;
}

.shop-catalog .sw-btn {
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
}

.shop-catalog .sw-input,
.shop-catalog .sw-select {
  border-radius: 0;
}

.shop-help {
  background: var(--warm-white);
}

.shop-help-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: start;
  gap: 60px;
}

.shop-help-grid h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.shop-help-grid>div p {
  margin: 4px 0 24px;
  color: var(--muted);
}

.shop-help .text-button {
  color: var(--burgundy-dark);
}

@media (max-width: 1120px) {
  .shop-hero-grid {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 45px;
  }
}

@media (max-width: 780px) {
  .shop-page .header-inner>.shop-cart-button {
    margin-left: auto;
  }

  .shop-page .menu-button {
    margin-left: 0;
  }

  .shop-cart-button-mobile {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 6px;
  }

  .shop-hero {
    min-height: 690px;
  }

  .shop-hero-photo {
    inset: 0;
    background-position: 65% center;
  }

  .shop-hero::before {
    background: linear-gradient(90deg, rgba(17, 53, 63, 0.97), rgba(34, 75, 84, 0.7));
  }

  .shop-hero-grid {
    display: block;
    width: calc(100% - 32px);
    min-height: auto;
    padding-top: 145px;
  }

  .shop-hero h1 {
    font-size: 42px;
  }

  .shop-hero-lead {
    font-size: 17px;
  }

  .shop-hero-note {
    display: none;
  }

  .shop-hero-bottom {
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    min-height: 95px;
  }

  .shop-hero-bottom p {
    display: none;
  }

  .shop-hero-bottom a {
    margin-left: 0;
  }

  .shop-help-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .shop-catalog .sw-toolbar {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .shop-page .header-inner>.shop-cart-button {
    min-width: 42px;
    padding: 7px;
    color: transparent;
    gap: 0;
    font-size: 0;
  }

  .shop-page .header-inner>.shop-cart-button .shop-cart-count {
    font-size: 11px;
  }

  .shop-hero h1 {
    font-size: 36px;
  }

  .shop-hero-lead {
    margin-top: 22px;
  }
}
