/* Shop uses the public profile's existing appearance tokens. */
.storefront-shop { min-width: 0; }
.shop-block {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: stretch;
  overflow: hidden; min-width: 0; border: var(--link-border-width) solid var(--link-border-color);
  border-radius: var(--card-radius); background: var(--link-bg); color: var(--link-text);
  box-shadow: var(--link-shadow); text-align: left; text-decoration: none;
}
.shop-block__image { display: block; min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.shop-block__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shop-block__copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 7px; padding: clamp(13px, 4vw, 24px); overflow-wrap: anywhere; }
.shop-block__copy h2 { margin: 0 0 5px; font: var(--store-font-weight-strong) clamp(1.03rem, 4vw, 1.35rem)/1.13 var(--store-title-font, var(--store-font)); letter-spacing: -.025em; }
.shop-block__title { font-size: .87rem; line-height: 1.35; }
.shop-block__count { font-size: .75rem; opacity: .72; }
.shop-block__cta { margin-top: 8px; font-size: .82rem; font-weight: var(--store-font-weight-strong); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.shop-block:hover .shop-block__cta { text-decoration-thickness: 2px; }

.shop-page.storefront-shell { width: min(100% - 32px, var(--shop-page-width, 1040px)); padding-top: max(24px, env(safe-area-inset-top)); }
.shop-page__identity { display: flex; min-width: 0; align-items: center; }
.shop-page__creator { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; color: var(--store-text); font-size: .87rem; text-decoration: none; }
.shop-page__creator:hover .shop-page__name { text-decoration: underline; text-underline-offset: 4px; }
.shop-page__name { min-width: 0; overflow-wrap: anywhere; }
.shop-page__avatar { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--store-surface); color: var(--store-text); object-fit: cover; font-weight: var(--store-font-weight-strong); }
.shop-page__heading { padding-block: 42px 25px; }
.shop-page__heading h1, .shop-look-hero h1 { margin: 0; color: var(--store-text); font: var(--store-font-weight-strong) clamp(2rem, 7vw, 3.4rem)/1.08 var(--store-title-font, var(--store-font)); letter-spacing: -.035em; overflow-wrap: anywhere; }
.shop-disclosure { margin: 28px 0 0; color: var(--store-muted); font-size: .72rem; line-height: 1.5; }
.shop-look-grid, .shop-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 14px; margin: 0; padding: 0; list-style: none; }
.shop-look-grid > li, .shop-product-grid > li { min-width: 0; }
.shop-look-card { display: block; min-width: 0; color: var(--store-text); text-decoration: none; }
.shop-look-card__image { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--media-radius); background: var(--store-surface); }
.shop-look-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shop-look-card h2 { margin: 12px 0 0; font: var(--store-font-weight-strong) 1rem/1.25 var(--store-title-font, var(--store-font)); overflow-wrap: anywhere; }
.shop-look-card > p { margin: 5px 0 0; color: var(--store-muted); font-size: .77rem; }
.shop-look-card:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.shop-page.shop-page--look { --shop-page-width: 560px; padding-top: max(16px, env(safe-area-inset-top)); }
.shop-look-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.shop-look-hero h1 { font-size: clamp(2rem, 6vw, 2.5rem); }
.shop-look-hero__image { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--media-radius); background: var(--store-surface); }
.shop-look-hero__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shop-look-hero__copy { min-width: 0; }
.shop-look-hero__description { margin: 12px 0 0; color: var(--store-text); font-size: .94rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.shop-products { margin-top: 28px; }
.shop-products > h2 { margin: 0 0 20px; color: var(--store-text); font: var(--store-font-weight-strong) 1.25rem/1.2 var(--store-title-font, var(--store-font)); }
.shop-product-card { display: flex; height: 100%; min-width: 0; flex-direction: column; color: var(--store-text); text-decoration: none; }
.shop-product-card__image { display: grid; width: 100%; aspect-ratio: 1; flex: 0 0 auto; overflow: hidden; place-items: center; border: 1px solid rgb(17 17 17 / .08); border-radius: var(--media-radius); padding: 10px; background: #fff; }
.shop-product-card__image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.shop-product-card__details { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; padding-top: 12px; overflow-wrap: anywhere; }
.shop-product-card__brand { margin-bottom: 4px; color: var(--store-muted); font-size: .72rem; line-height: 1.3; }
.shop-product-card h3 { margin: 0; font: var(--store-font-weight-strong) .92rem/1.3 var(--store-font); }
.shop-product-card__variant { margin-top: 5px; color: var(--store-muted); font-size: .74rem; line-height: 1.35; }
.shop-product-card__cta { display: inline-flex; min-height: 44px; align-items: center; margin-top: auto; padding-top: 7px; font-size: .76rem; font-weight: var(--store-font-weight-strong); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.shop-product-card:hover .shop-product-card__cta { text-decoration-thickness: 2px; }
.shop-page .storefront-footer { margin-top: 48px; }

@media (min-width: 700px) {
  .shop-page.storefront-shell { width: min(100% - 64px, var(--shop-page-width, 1040px)); padding-top: 34px; }
  .shop-page__heading { padding-block: 58px 32px; }
  .shop-page.shop-page--look { padding-top: 24px; }
  .shop-look-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 23px; }
  .shop-product-card__image { padding: 16px; }
}
@media (min-width: 1000px) {
  .shop-look-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
