.store-page-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(47, 117, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #f5f8ff 0%, #eef3fb 100%);
  color: #12233f;
}

.store-page-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 20px clamp(16px, 3vw, 38px) 56px;
  display: grid;
  gap: 20px;
}

.store-minimal-header,
.store-products-section {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce7fb;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(17, 34, 68, 0.08);
}

.store-minimal-header {
  position: relative;
  min-height: 270px;
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
}

.store-minimal-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(17, 56, 124, 0.9), rgba(47, 117, 255, 0.78)),
    var(--store-banner-image, none);
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.store-minimal-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(8, 30, 72, 0.22));
}

.store-minimal-header > * {
  position: relative;
  z-index: 2;
}

.store-header-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.store-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.store-live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
  font-weight: 800;
}

.store-header-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(24px, 5vw, 46px);
}

.store-header-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.store-logo-frame {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  border-radius: 28px;
  padding: 9px;
  background: linear-gradient(180deg, #2f75ff 0%, #1f5fe4 100%);
  box-shadow: 0 18px 36px rgba(31, 95, 228, 0.2);
}

.store-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.22);
}

.store-copy {
  min-width: 0;
}

.store-title {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.store-tagline {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.55;
}

.store-address {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.6;
}

.store-header-side {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 420px;
}

.store-info-chip,
.store-follow-button,
.store-chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.store-info-chip {
  background: rgba(255, 255, 255, 0.14);
}

.store-follow-button {
  cursor: pointer;
  background: #ffffff;
  color: #1e57c8;
  box-shadow: 0 14px 26px rgba(17, 34, 68, 0.14);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.store-chat-button {
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff, #edf5ff);
  color: #1e57c8;
  box-shadow: 0 14px 26px rgba(17, 34, 68, 0.14);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.store-chat-button:hover {
  transform: translateY(-1px);
  background: #eff5ff;
}

.store-follow-button:hover {
  transform: translateY(-1px);
  background: #eff5ff;
}

.store-follow-button.is-following {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.store-follow-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.store-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: clamp(24px, 4vw, 38px);
}

.store-hero-stats article {
  min-height: 86px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.store-hero-stats strong {
  display: block;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1;
  font-weight: 900;
}

.store-hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 800;
}

.store-products-section {
  padding: clamp(22px, 3vw, 34px);
}

.store-products-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
}

.store-section-title {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #102a5c;
}

.store-products-subtitle {
  margin-top: 8px;
  color: #687b9f;
  line-height: 1.6;
}

.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-search-field,
.store-sort-select {
  min-height: 46px;
  border-radius: 16px;
  border: 1px solid #d8e5ff;
  background: #f8fbff;
}

.store-search-field {
  min-width: min(430px, 100%);
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.store-search-field input,
.store-sort-select {
  width: 100%;
  background: transparent;
  color: #14305f;
  font-size: 0.94rem;
}

.store-search-field input::placeholder {
  color: #92a6c9;
}

.store-sort-select {
  min-width: 160px;
  padding: 0 14px;
}

.store-loading-grid,
.store-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.store-loading-card {
  height: 314px;
  border-radius: 24px;
  background: linear-gradient(90deg, #eef3fb 25%, #f8fbff 50%, #eef3fb 75%);
  background-size: 200% 100%;
  animation: storeShimmer 1.6s linear infinite;
}

@keyframes storeShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.store-product-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid #dce7fb;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 14px 34px rgba(17, 34, 68, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
  padding: 12px;
  gap: 12px;
}

.store-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(17, 34, 68, 0.1);
}

.store-product-thumb {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid #e5eefc;
  border-radius: 20px;
  display: grid;
  place-items: center;
  padding: 14px;
}

.store-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-product-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #1e57c8;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(17, 34, 68, 0.08);
}

.store-product-chip.is-offer {
  color: #a75700;
}

.store-product-body {
  padding: 0 5px 4px;
  display: grid;
  gap: 6px;
}

.store-product-title {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
  color: #112f63;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-product-price {
  color: #1b58cf;
  font-size: 1.36rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.store-empty-state {
  grid-column: 1 / -1;
  padding: 30px 22px;
  border-radius: 22px;
  border: 1px dashed #c9daf8;
  background: linear-gradient(180deg, #f9fbff 0%, #eff5ff 100%);
  text-align: center;
}

.store-empty-state strong {
  display: block;
  color: #113069;
  font-size: 1.08rem;
}

.store-empty-state span {
  display: block;
  margin-top: 8px;
  color: #5f7399;
  line-height: 1.65;
}

.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;
}

@media (max-width: 760px) {
  .store-page-shell {
    padding: 14px 12px 40px;
    gap: 14px;
  }

  .store-minimal-header,
  .store-products-section {
    padding: 16px;
    border-radius: 22px;
  }

  .store-header-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .store-header-side {
    width: 100%;
    justify-content: flex-start;
  }

  .store-hero-stats {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .store-search-field {
    min-width: 100%;
  }

  .store-sort-select {
    min-width: 100%;
  }

  .store-loading-grid,
  .store-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .store-product-card {
    border-radius: 18px;
    padding: 8px;
    gap: 8px;
  }

  .store-product-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
  }

  .store-product-thumb img {
    object-fit: cover;
  }

  .store-product-title {
    font-size: 0.84rem;
    min-height: 2.5em;
  }

  .store-product-price {
    font-size: 1.05rem;
  }
}

@media (max-width: 460px) {
  .store-loading-grid,
  .store-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .store-logo-frame {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .store-products-section {
    padding: 14px 12px;
  }

  .store-products-head {
    gap: 12px;
  }

  .store-product-card {
    border-radius: 16px;
    padding: 7px;
    gap: 7px;
  }

  .store-product-thumb {
    border-radius: 13px;
    padding: 0;
  }

  .store-product-body {
    padding: 0 2px 2px;
    gap: 5px;
  }

  .store-product-title {
    font-size: 0.72rem;
    min-height: 2.5em;
  }

  .store-product-price {
    font-size: 0.96rem;
  }
}
