:root {
  --stream-purple: #393287;
  --stream-blue: #3aa7df;
  --stream-ink: #1f2540;
  --stream-muted: #5f6680;
  --stream-line: #dfe9f1;
  --stream-soft: #f5fbff;
  --stream-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body.stream-shop {
  margin: 0;
  color: var(--stream-ink);
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  font-family: Montserrat, Arial, sans-serif;
}

.stream-shop a {
  color: inherit;
}

.shop-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(57, 50, 135, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.shop-header__inner,
.shop-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.shop-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.shop-logo img {
  display: block;
  width: 150px;
  height: auto;
}

.shop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stream-purple);
}

.shop-nav a {
  text-decoration: none;
}

.shop-nav__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stream-purple);
  border-radius: 0;
  padding: 0 20px;
  color: var(--stream-white) !important;
  background: var(--stream-purple);
}

.shop-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 68px;
}

.shop-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(58, 167, 223, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(57, 50, 135, 0.06), rgba(255, 255, 255, 0));
  content: "";
}

.shop-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 54px;
}

.shop-kicker {
  margin: 0 0 14px;
  color: var(--stream-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.shop-hero h1 {
  margin: 0;
  color: var(--stream-purple);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.shop-lede {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--stream-muted);
  font-size: 18px;
  line-height: 1.7;
}

.shop-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.shop-proof li {
  border: 1px solid var(--stream-line);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--stream-purple);
  font-size: 13px;
  font-weight: 600;
}

.shop-product {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
}

.shop-product::before {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(57, 50, 135, 0.14);
  background: rgba(255, 255, 255, 0.65);
  content: "";
}

.shop-product img {
  position: relative;
  width: min(88%, 420px);
  height: auto;
  filter: drop-shadow(0 26px 32px rgba(31, 37, 64, 0.2));
}

.shop-purchase-band {
  padding: 0 0 74px;
}

.shop-purchase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 420px);
  gap: 34px;
  align-items: start;
}

.shop-details,
.shop-cart {
  border: 1px solid var(--stream-line);
  background: var(--stream-white);
}

.shop-details {
  padding: 34px;
}

.shop-details h2,
.shop-cart h2 {
  margin: 0 0 18px;
  color: var(--stream-purple);
  font-size: 27px;
  line-height: 1.18;
}

.shop-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.shop-detail {
  border-top: 1px solid var(--stream-line);
  padding-top: 16px;
}

.shop-detail strong {
  display: block;
  margin-bottom: 6px;
  color: var(--stream-purple);
  font-size: 13px;
  text-transform: uppercase;
}

.shop-detail span,
.shop-details p {
  color: var(--stream-muted);
  font-size: 15px;
  line-height: 1.65;
}

.shop-cart {
  position: sticky;
  top: 104px;
  padding: 30px;
}

.shop-cart__line,
.shop-cart__total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.shop-cart__line {
  border-bottom: 1px solid var(--stream-line);
  padding-bottom: 18px;
  color: var(--stream-muted);
  font-size: 15px;
  line-height: 1.45;
}

.shop-cart__price {
  white-space: nowrap;
  color: var(--stream-purple);
  font-weight: 700;
}

.shop-qty {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  height: 52px;
  margin: 22px 0;
  border: 1px solid var(--stream-purple);
}

.shop-qty button,
.shop-qty input {
  border: 0;
  background: var(--stream-white);
  color: var(--stream-purple);
  font: inherit;
  font-weight: 700;
  text-align: center;
}

.shop-qty button {
  cursor: pointer;
  font-size: 24px;
}

.shop-qty input {
  min-width: 0;
  border-right: 1px solid var(--stream-purple);
  border-left: 1px solid var(--stream-purple);
  font-size: 18px;
}

.shop-cart__total {
  align-items: end;
  margin: 0 0 22px;
  color: var(--stream-purple);
  font-weight: 700;
}

.shop-cart__total span:last-child {
  font-size: 28px;
}

.shop-checkout {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stream-purple);
  padding: 0 22px;
  background: var(--stream-purple);
  color: var(--stream-white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.shop-checkout[aria-disabled="true"] {
  border-color: #a9b5c4;
  background: #a9b5c4;
  cursor: not-allowed;
}

.shop-note {
  margin: 16px 0 0;
  color: var(--stream-muted);
  font-size: 13px;
  line-height: 1.55;
}

.shop-footer {
  border-top: 1px solid var(--stream-line);
  padding: 28px 0;
  color: var(--stream-muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .shop-header__inner,
  .shop-section {
    width: min(100% - 28px, 720px);
  }

  .shop-header__inner {
    min-height: 70px;
  }

  .shop-logo img {
    width: 132px;
  }

  .shop-nav {
    gap: 16px;
    font-size: 13px;
  }

  .shop-nav a:not(.shop-nav__button) {
    display: none;
  }

  .shop-hero {
    padding: 54px 0 44px;
  }

  .shop-hero__grid,
  .shop-purchase {
    grid-template-columns: 1fr;
  }

  .shop-product {
    min-height: 360px;
  }

  .shop-details,
  .shop-cart {
    padding: 24px;
  }

  .shop-cart {
    position: static;
  }
}

@media (max-width: 560px) {
  .shop-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .shop-lede {
    font-size: 16px;
  }
}
