/**
 * Just Been Laid Ltd — shared shop catalog styles
 * Used on produce, merchandise, coaching, and homepage wayfinding.
 */

.jbl-shop-page {
  background: var(--jbl-cream, #f5f0e8);
  color: var(--jbl-ink, #1e2420);
}

.jbl-shop-page__inner {
  max-width: var(--jbl-container, 1320px);
  width: 100%;
  margin: 0 auto;
  padding: 48px clamp(24px, 4vw, 64px) 64px;
}

.jbl-shop-page__header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.jbl-shop-page__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jbl-gold, #c9a84c);
  margin: 0 0 8px;
  font-weight: 600;
}

.jbl-shop-page__title {
  font-family: var(--jbl-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 600;
}

.jbl-shop-page__intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(30, 36, 32, 0.82);
  margin: 0;
}

.jbl-shop-page__note {
  margin-top: 32px;
  font-size: 0.9375rem;
  color: rgba(30, 36, 32, 0.7);
  text-align: center;
}

.jbl-shop-page__note a {
  color: var(--jbl-ink, #1e2420);
  font-weight: 600;
}

/* Marketing group (produce page) */
.jbl-shop-group {
  margin-bottom: 64px;
  scroll-margin-top: 88px;
  padding-top: 8px;
  border-top: 1px solid rgba(30, 36, 32, 0.08);
}

.jbl-shop-group:first-child {
  border-top: 0;
  padding-top: 0;
}

.jbl-shop-group__title {
  font-family: var(--jbl-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

.jbl-shop-category {
  margin-bottom: 40px;
}

.jbl-shop-category__title {
  font-family: var(--jbl-font-body, "Source Sans 3", sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: rgba(30, 36, 32, 0.55);
  text-align: center;
}

/* Product grid — Shopify-style */
.jbl-shop-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 24px;
  justify-content: center;
  max-width: 1200px;
}

.jbl-shop-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 100%;
}

.jbl-shop-card__media {
  position: relative;
  margin: 0 0 14px;
  border-radius: 4px;
  overflow: hidden;
  background: #f3efe8;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.jbl-shop-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.jbl-shop-card:hover .jbl-shop-card__media img {
  transform: scale(1.04);
}

.jbl-shop-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.jbl-shop-card__body {
  flex: 1;
  padding: 0 2px;
}

.jbl-shop-card__name {
  font-family: var(--jbl-font-body, "Source Sans 3", sans-serif);
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 4px;
  font-weight: 600;
  color: var(--jbl-ink, #1e2420);
}

.jbl-shop-card__meta {
  font-size: 0.8125rem;
  color: rgba(30, 36, 32, 0.55);
  margin: 0 0 8px;
  line-height: 1.4;
}

.jbl-shop-card__price {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--jbl-ink, #1e2420);
  margin: 0;
}

.jbl-shop-card__price .jbl-price-was {
  font-weight: 400;
  font-size: 0.8125rem;
  color: rgba(30, 36, 32, 0.45);
  text-decoration: line-through;
  margin-right: 4px;
}

.jbl-shop-card__footer {
  margin-top: 12px;
  padding: 0 2px;
}

.jbl-offer-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--jbl-ink, #1e2420);
  color: #fff;
  padding: 4px 8px;
  border-radius: 2px;
}

.jbl-shop-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid rgba(30, 36, 32, 0.2);
  border-radius: 4px;
  background: #fff;
  color: var(--jbl-ink, #1e2420);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jbl-shop-card__btn:hover {
  background: var(--jbl-ink, #1e2420);
  border-color: var(--jbl-ink, #1e2420);
  color: #fff;
}

.jbl-shop-card__btn:focus-visible {
  outline: 2px solid var(--jbl-gold, #c9a84c);
  outline-offset: 2px;
}

/* Homepage coaching promo */
.jbl-coaching-promo {
  background: #fff;
  padding: 56px 24px 64px;
}

.jbl-coaching-promo__inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.jbl-coaching-promo__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jbl-gold, #c9a84c);
  margin: 0 0 10px;
  font-weight: 600;
}

.jbl-coaching-promo__title {
  font-family: var(--jbl-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--jbl-ink, #1e2420);
}

.jbl-coaching-promo__intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(30, 36, 32, 0.78);
  margin: 0 0 20px;
}

.jbl-coaching-promo__points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.jbl-coaching-promo__points li {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(30, 36, 32, 0.85);
  padding-left: 1.1rem;
  position: relative;
}

.jbl-coaching-promo__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jbl-gold, #c9a84c);
}

.jbl-coaching-promo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  background: var(--jbl-ink, #1e2420);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.jbl-coaching-promo__cta:hover {
  background: #2d3530;
}

.jbl-coaching-promo__cta:focus-visible {
  outline: 2px solid var(--jbl-gold, #c9a84c);
  outline-offset: 2px;
}

.jbl-coaching-promo__media {
  border-radius: 4px;
  overflow: hidden;
  background: var(--jbl-cream, #f5f0e8);
}

.jbl-coaching-promo__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .jbl-coaching-promo__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .jbl-coaching-promo__media {
    order: -1;
  }

  .jbl-coaching-promo__media img {
    min-height: 260px;
  }
}

/* Homepage featured products */
.jbl-featured {
  background: var(--jbl-cream, #f5f0e8);
  padding: 56px 24px 64px;
}

.jbl-featured__inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(24px, 4vw, 64px);
}

.jbl-featured__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.jbl-featured__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jbl-gold, #c9a84c);
  margin: 0 0 8px;
  font-weight: 600;
}

.jbl-featured__title {
  font-family: var(--jbl-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 10px;
  font-weight: 600;
}

.jbl-featured__intro {
  margin: 0;
  color: rgba(30, 36, 32, 0.75);
  line-height: 1.6;
  font-size: 1.0625rem;
}

.jbl-featured__loading,
.jbl-featured__note {
  text-align: center;
  color: rgba(30, 36, 32, 0.65);
  font-size: 0.9375rem;
}

.jbl-featured__note a {
  color: var(--jbl-ink, #1e2420);
  font-weight: 600;
}

.jbl-featured__cta-wrap {
  text-align: center;
  margin-top: 40px;
}

.jbl-featured__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  background: var(--jbl-ink, #1e2420);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.jbl-featured__cta:hover {
  background: #2d3530;
}

.jbl-featured__cta:focus-visible {
  outline: 2px solid var(--jbl-gold, #c9a84c);
  outline-offset: 2px;
}

#jbl-featured-catalog .jbl-shop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
  width: 100%;
}

@media (max-width: 1100px) {
  #jbl-featured-catalog .jbl-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #jbl-featured-catalog .jbl-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
}

/* Homepage wayfinding */
.jbl-wayfinding {
  background: var(--jbl-cream, #f5f0e8);
  padding: 56px 24px 64px;
}

.jbl-wayfinding__inner {
  max-width: var(--jbl-container, 1320px);
  margin: 0 auto;
}

.jbl-wayfinding__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.jbl-wayfinding__title {
  font-family: var(--jbl-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 10px;
  font-weight: 600;
}

.jbl-wayfinding__intro {
  margin: 0;
  color: rgba(30, 36, 32, 0.75);
  line-height: 1.6;
}

.jbl-wayfinding__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jbl-wayfinding__card {
  display: block;
  background: #fff;
  border: 1px solid rgba(30, 36, 32, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jbl-wayfinding__card:hover {
  box-shadow: 0 10px 32px rgba(30, 36, 32, 0.1);
  transform: translateY(-2px);
}

.jbl-wayfinding__card:focus-visible {
  outline: 2px solid var(--jbl-gold, #c9a84c);
  outline-offset: 2px;
}

.jbl-wayfinding__card img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.jbl-wayfinding__card-body {
  padding: 16px 18px 20px;
}

.jbl-wayfinding__card-title {
  font-family: var(--jbl-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.15rem;
  margin: 0 0 6px;
  font-weight: 600;
}

.jbl-wayfinding__card-text {
  font-size: 0.8125rem;
  color: rgba(30, 36, 32, 0.65);
  margin: 0;
  line-height: 1.45;
}

/* Admin grouped sections */
.shop-section-group {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.shop-section-group__title {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a6f2e;
  margin: 0 0 8px;
  padding: 0 4px;
  font-weight: 700;
}

.shop-section-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {
  .jbl-shop-page__inner {
    padding: 32px 16px 48px;
  }

  .jbl-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    max-width: none;
  }

  .jbl-shop-card__name {
    font-size: 0.9375rem;
  }

  .jbl-shop-card__btn {
    font-size: 0.75rem;
    padding: 10px 12px;
  }
}

/* Farm photography strips — single row, image-as-tile, full bleed */
.jbl-photo-strip {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
  padding: clamp(28px, 4vw, 48px) 0;
  background: var(--jbl-cream, #f5f0e8);
}

.jbl-photo-strip__inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 20px);
  height: clamp(220px, 24vw, 360px);
  overflow: hidden;
}

.jbl-photo-strip__item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  height: 100%;
  display: grid;
  border-radius: 14px;
  overflow: hidden;
  background: var(--jbl-parchment-soft, #ddd8cc);
}

.jbl-photo-strip__item img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Phone screenshots: dfe24cf7, 07e6c920, 24c7cf03, 38aa0d73, 68f5fbbd — future crop candidates */

.jbl-photo-strip--count-1 .jbl-photo-strip__inner {
  height: clamp(280px, 32vw, 420px);
}

.jbl-photo-strip--count-1 .jbl-photo-strip__item {
  flex: 1 1 100%;
  max-width: 100%;
}

.jbl-photo-strip--count-2 .jbl-photo-strip__item {
  flex: 1 1 0;
}

.jbl-photo-strip--count-3 .jbl-photo-strip__inner {
  height: clamp(260px, 28vw, 380px);
}

.jbl-photo-strip--count-3 .jbl-photo-strip__item {
  flex: 1 1 0;
}

.jbl-photo-strip--count-5 .jbl-photo-strip__inner {
  height: clamp(240px, 22vw, 340px);
}

.jbl-photo-strip--count-5 .jbl-photo-strip__item {
  flex: 1 1 0;
}

@media (max-width: 720px) {
  .jbl-photo-strip {
    padding: 24px 0 32px;
  }

  .jbl-photo-strip__inner {
    gap: 10px;
    height: clamp(160px, 36vw, 240px);
  }

  .jbl-photo-strip--count-1 .jbl-photo-strip__inner {
    height: clamp(200px, 44vw, 300px);
  }

  .jbl-photo-strip--count-3 .jbl-photo-strip__inner,
  .jbl-photo-strip--count-5 .jbl-photo-strip__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    overflow: visible;
  }

  .jbl-photo-strip--count-3 .jbl-photo-strip__item,
  .jbl-photo-strip--count-5 .jbl-photo-strip__item {
    height: clamp(130px, 34vw, 200px);
  }

  .jbl-photo-strip--count-3 .jbl-photo-strip__item:last-child {
    grid-column: 1 / -1;
    width: min(100%, 320px);
    justify-self: center;
  }

  .jbl-photo-strip--count-5 .jbl-photo-strip__item:nth-child(5) {
    grid-column: 1 / -1;
    width: min(100%, 320px);
    justify-self: center;
  }

  .jbl-photo-strip__item {
    border-radius: 12px;
  }
}

/* Catalog group / category hero images (produce page) */
.jbl-shop-group__hero,
.jbl-shop-category__banner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 21 / 9;
  max-height: 280px;
}

.jbl-shop-group__hero img,
.jbl-shop-category__banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Produce & merchandise page sections — centred column */
.produce-v1__inner,
.merch-v1__inner {
  max-width: var(--jbl-container, 1320px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.produce-v1__header,
.merch-v1__header,
.produce-shop__header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.produce-v1__header {
  max-width: 640px;
}

.merch-v1__header {
  max-width: 680px;
}

.produce-shop__header {
  max-width: 560px;
}

.produce-shop__lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.produce-why {
  text-align: center;
  max-width: 960px;
  margin: 48px auto 0;
  border-left: none;
  border-top: 3px solid var(--jbl-gold, #c9a84c);
}

.produce-why__title {
  text-align: center;
}

.produce-why__list li {
  text-align: center;
  padding-left: 0;
  padding-top: 1.1rem;
}

.produce-why__list li::before {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.produce-v1__note,
.merch-v1__note {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

#jbl-product-catalog,
#jbl-merch-catalog,
#jbl-coaching-catalog {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#jbl-coaching-catalog .jbl-shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  width: 100%;
}

#jbl-coaching-catalog .jbl-shop-card__media {
  border-radius: 50%;
  max-width: min(100%, 220px);
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  padding: 0;
}

#jbl-coaching-catalog .jbl-shop-card__media img {
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 900px) {
  #jbl-coaching-catalog .jbl-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #jbl-coaching-catalog .jbl-shop-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: min(100%, 360px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  #jbl-coaching-catalog .jbl-shop-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  #jbl-coaching-catalog .jbl-shop-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}
