/* Shared merchandising layout; all brand colors and type come from the shop. */
.de-shop .bb-storefront-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(24px, 5vw, 80px);
  padding-block: 16px 24px;
}

.de-shop .bb-storefront-hero--text {
  grid-template-columns: 1fr;
}

.de-shop .bb-storefront-copy {
  min-width: 0;
}

.de-shop .bb-storefront-copy .de-shop-eyebrow { margin: 0; }

.de-shop .bb-storefront-copy h1 {
  margin: 12px 0 24px;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.93;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.de-shop .bb-storefront-description {
  max-width: 35ch;
  margin-bottom: 28px;
  font-size: 1.125rem;
}

.de-shop .bb-storefront-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--de-shop-gold);
  color: #15120b;
  font-weight: 700;
  text-decoration: none;
}

.de-shop .bb-storefront-cta:hover {
  background: var(--de-shop-text);
  color: #15120b;
}

.de-shop .bb-storefront-feature {
  --bb-storefront-art-size: clamp(240px, 30vw, 370px);

  display: grid;
  gap: 12px;
  width: min(100%, var(--bb-storefront-art-size));
  justify-self: center;
  min-width: 0;
}

.de-shop .bb-storefront-feature-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
}

.de-shop .bb-storefront-feature-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.de-shop .bb-storefront-slide {
  display: grid;
  justify-items: center;
  gap: 16px;
  flex: 0 0 100%;
  min-width: 0;
}

/* Match Home's browser-owned smooth scrolling, momentum and snap geometry. */
.de-shop .bb-storefront-feature.is-enhanced .bb-storefront-track {
  position: relative;
  display: flex;

  /* A small gutter keeps fractional snap rounding from exposing a neighbor. */
  gap: 2px;
  overflow: auto hidden;
  clip-path: inset(0);
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.de-shop .bb-storefront-track::-webkit-scrollbar { display: none; }

.de-shop .bb-storefront-feature.is-enhanced .bb-storefront-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Keep the keyboard ring inside the clipped snap window, as Home does. */
.de-shop .bb-storefront-slide a:focus-visible { outline-offset: -3px; }

.de-shop .bb-storefront-feature [hidden] {
  display: none;
}

.de-shop .bb-storefront-feature-image {
  display: block;
  width: 100%;
}

.de-shop .bb-storefront-feature img {
  display: block;
  width: 100%;
  height: var(--bb-storefront-art-size);
  object-fit: contain;
  background: transparent;
  border-radius: 4px;
  mask-image: linear-gradient(to right, transparent, #000 8px, #000 calc(100% - 8px), transparent),
    linear-gradient(to bottom, #000, #000 calc(100% - 8px), transparent);
  mask-composite: intersect;
}

.de-shop .bb-storefront-feature-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  max-width: 100%;
  padding: 10px 20px;
  border: 1px solid var(--de-shop-line);
  border-radius: 4px;
  color: var(--de-shop-text);
  font-weight: 600;
  text-decoration: none;
}

.de-shop .bb-storefront-feature-caption:hover {
  border-color: var(--de-shop-gold);
  color: var(--de-shop-gold);
}

.de-shop .bb-storefront-price {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
}

.de-shop .bb-storefront-controls {
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  margin: 4px auto 0;
}

/* Compact marker groups stay centered; long lists retain native scrolling. */
.de-shop .bb-storefront-indicators {
  flex: 0 1 auto;
  justify-content: safe center;
  overflow: auto hidden;
}

.de-shop .bb-storefront-controls.de-spotlight-controls button {
  border-radius: 50%;
}

.de-shop .bb-storefront-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 48px;
}

.de-shop .bb-storefront-collections a {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--de-shop-line);
  border-radius: 999px;
  text-decoration: none;
}

.de-shop .bb-storefront-section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.de-shop .bb-storefront-section-heading h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.de-shop .bb-storefront-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.de-shop .bb-storefront-products a {
  display: block;
  text-decoration: none;
}

.de-shop .bb-storefront-product-image {
  display: block;
  margin-bottom: 16px;
  background: transparent;
}

.de-shop .bb-storefront-product-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
}

.de-shop .bb-storefront-product-title {
  display: block;
  font-size: 1.35rem;
  line-height: 1.15;
  font-family: var(--de-shop-heading);
  font-weight: 600;
}

.de-shop .bb-storefront-product-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--de-shop-gold);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.de-shop .bb-storefront-spotlight {
  margin-bottom: 56px;
}

.de-shop .bb-storefront-catalog-heading {
  scroll-margin-top: 90px;
}

.de-shop .bb-storefront-catalog-heading h2 {
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  .de-shop .bb-storefront-hero {
  grid-template-columns: 1fr;
  padding-top: 8px;
  gap: 28px;
}

  .de-shop .bb-storefront-copy h1 {
  font-size: clamp(3.75rem, 16vw, 6rem);
}

  .de-shop .bb-storefront-feature {
  --bb-storefront-art-size: 260px;
}

  .de-shop .bb-storefront-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
}

  .de-shop .bb-storefront-collections {
  gap: 8px;
  padding-bottom: 32px;
}

  .de-shop .bb-storefront-collections a {
  gap: 20px;
  padding-inline: 16px;
}
}

/* Shared Look purchasing controls inherit this shop's brand palette. */
.bb-look-purchase {
  --bb-look-surface: #100e0c;
  --bb-look-ink: #f6f2ea;
  --bb-look-accent: var(--de-shop-gold);
}
