/* D-01: согласованная композиция; поверхность из общего glass-рецепта. */
.home-page__content > .store-shelf {
  box-sizing: border-box;
  width: min(100% - 80px, var(--content-max));
  margin: clamp(32px, 4vw, 48px) auto 24px;
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 8px 24px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-surface);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(110%);
}
.home-page__content > .store-shelf > div { display: contents; }
.home-page__content > .store-shelf > div > strong {
  grid-column: 1 / -1;
  display: block;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
}
.home-page__content > .store-shelf p { line-height: 1.65; margin-top: 8px; }
.home-page__content > .store-shelf > div > p { grid-column: 1 / -1; }
.home-page__content > .store-shelf > div > p:last-child { grid-column: 1; margin-top: 16px; }
.home-page__content > .store-shelf .store-shelf-product {
  grid-column: 1 / -1;
  margin-top: 16px;
  gap: 20px;
  min-width: 0;
  max-width: 650px;
  border-radius: 8px;
}
.home-page__content > .store-shelf .store-shelf-product img {
  width: 96px;
  flex: 0 0 96px;
}
.home-page__content > .store-shelf .store-shelf-product span { min-width: 0; }
.home-page__content > .store-shelf .store-shelf-product strong {
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.home-page__content > .store-shelf .store-shelf-product small { line-height: 1.6; }
.home-page__content > .store-shelf > div > p > a,
.home-page__content > .store-shelf > div > p > a:visited {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
  max-width: 100%;
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.home-page__content > .store-shelf > div > p > a:hover {
  color: var(--color-text);
  text-decoration-thickness: 2px;
}
.home-page__content > .store-shelf .home-header-action {
  display: inline-flex;
  justify-self: start;
  margin-top: 16px;
  min-height: 44px;
  max-width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}
.home-page__content > .store-shelf .home-header-action:visited { color: var(--color-primary); }
.home-page__content > .store-shelf .home-header-action:hover {
  color: var(--color-text);
  border-color: var(--color-primary);
}
.home-page__content > .store-shelf a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 6px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .home-page__content > .store-shelf { width: min(100% - 64px, var(--content-max)); }
}
@media (max-width: 900px) {
  .home-page__content > .store-shelf { grid-template-columns: minmax(0, 1fr); }
  .home-page__content > .store-shelf .home-header-action { justify-self: start; margin-top: 8px; }
}
@media (max-width: 767px) {
  .home-page__content > .store-shelf { width: min(100% - 40px, var(--content-max)); }
}
@media (max-width: 480px) {
  .home-page__content > .store-shelf .store-shelf-product { align-items: start; gap: 14px; }
  .home-page__content > .store-shelf .store-shelf-product img { width: 64px; flex-basis: 64px; }
  .home-page__content > .store-shelf .home-header-action { width: 100%; }
}
