/* ==========================================================================
   T-02 — the Shelves shop page. One labelled shelf per category.
   ========================================================================== */

/* — hero — */
.es-shop-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--es-paper);
  border-bottom: 1px solid var(--es-rule);
}
.es-shop-hero__watermark {
  position: absolute; left: 34px; bottom: -30px;
  font-family: var(--es-font-script); font-size: 180px; line-height: 0.9;
  color: var(--es-brass-600); opacity: 0.06; pointer-events: none;
}
.es-shop-hero__copy {
  position: relative;
  padding: var(--es-space-8) 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.es-shop-hero__copy h1 { font-size: clamp(34px, 3.8vw, 52px); }
.es-shop-hero__lede {
  font-family: var(--es-font-display);
  font-size: 17.5px; line-height: 1.7; color: var(--es-ink-soft); max-width: 46ch;
}
.es-shop-hero__actions { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.es-shop-hero__media { position: relative; overflow: hidden; min-height: 340px; }
.es-shop-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* — jump bar — */
.es-shop-jump {
  display: flex; align-items: center; gap: var(--es-space-5);
  padding: 0 44px; min-height: 58px;
  background: var(--es-paper); border-bottom: 1px solid var(--es-rule);
  font-size: 13.5px;
  position: sticky; top: 0; z-index: 30;
  overflow-x: auto;
}
.es-shop-jump__label {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--es-umber-600); white-space: nowrap;
}
.es-shop-jump__links { display: flex; gap: 22px; }
.es-shop-jump__links a {
  color: var(--es-umber-800); white-space: nowrap;
  padding: 18px 0 16px; border-bottom: 1px solid transparent;
}
.es-shop-jump__links a:hover { border-bottom-color: var(--es-gold); }
.es-shop-jump__result { margin-left: auto; color: var(--es-ink-soft); white-space: nowrap; }

/* — shelves — */
.es-shelf {
  padding: var(--es-space-7) 44px;
  border-bottom: 1px solid var(--es-rule);
  background: var(--es-paper);
  scroll-margin-top: 70px;
}
.es-shelf--alt { background: var(--es-paper-alt); }
.es-shelf__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 26px;
}
.es-shelf__head > div { display: flex; flex-direction: column; gap: 6px; }
.es-shelf__kicker {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--es-umber-600);
}
.es-shelf__head h2 { font-size: 30px; }
.es-shelf__head p { font-size: 14.5px; color: var(--es-ink-soft); max-width: 560px; line-height: 1.65; }
.es-shelf__head .es-link-rule { white-space: nowrap; }

.es-shelf__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--es-space-5) 20px;
}
.es-shelf__item { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.es-shelf__media {
  position: relative; display: block;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--es-canvas);
  border-radius: var(--es-radius-md);
}
.es-shelf__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.es-shelf__media:hover img { transform: scale(1.03); }
.es-shelf__name {
  font-family: var(--es-font-display); font-size: 16px; line-height: 1.3;
  color: var(--es-ink);
}
.es-shelf__name:hover { color: var(--es-umber-700); }
.es-shelf__buy {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: auto;
}
.es-shelf__buy .es-price,
.es-shelf__buy .price { font-size: 16px; color: var(--es-umber-700); }
.es-shelf__cta {
  font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--es-umber-800); border-bottom: 1px solid var(--es-gold);
  padding-bottom: 2px;
}
.es-shelf__cta:hover { color: var(--es-ink); }

/* — bundle band — */
.es-shop-bundle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: var(--es-space-7) 44px;
  background: var(--es-umber-600); color: var(--es-paper);
}
.es-shop-bundle__copy { display: flex; flex-direction: column; gap: 14px; }
.es-shop-bundle__copy .es-eyebrow-sm { color: var(--es-umber-300); }
.es-shop-bundle__copy h2 { font-size: clamp(28px, 3vw, 38px); color: var(--es-umber-100); }
.es-shop-bundle__copy p { font-size: 15.5px; line-height: 1.75; color: var(--es-umber-200); max-width: 46ch; }
.es-shop-bundle__copy .es-btn { align-self: flex-start; }
.es-shop-bundle__media { overflow: hidden; border-radius: var(--es-radius-md); max-height: 340px; }
.es-shop-bundle__media img { width: 100%; height: 100%; object-fit: cover; }

/* — responsive — */
@media (max-width: 1024px) {
  .es-shelf__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .es-shop-hero { grid-template-columns: 1fr; }
  .es-shop-hero__copy { padding: var(--es-space-6) 20px; }
  .es-shop-jump { padding: 0 20px; gap: 16px; }
  .es-shop-jump__result { display: none; }
  .es-shelf { padding: var(--es-space-6) 20px; }
  .es-shelf__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .es-shelf__row { grid-template-columns: repeat(2, 1fr); gap: var(--es-space-4) 12px; }
  .es-shop-bundle { grid-template-columns: 1fr; padding: var(--es-space-6) 20px; gap: 24px; }
}
