/* ============================================================
   Store Catalog — Lockheed Martin style
   White/light theme, clean sidebar + grid, no glass-morphism
   ============================================================ */

/* ── Layout ── */
.store-layout {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ── Sidebar — clean text, no glass morphism ── */
.store-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  z-index: 10;
}

.store-sidebar__title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dark);
  padding: 0;
  margin: 0 0 1rem;
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.store-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-sidebar__item {
  padding: 0.6rem 0;
  border-left: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.2s;
}

.store-sidebar__item:hover {
  color: var(--green);
}

.store-sidebar__item.is-active {
  color: var(--green);
  font-weight: 700;
}

.store-sidebar__item::after {
  content: '›';
  font-size: 1.2rem;
  color: var(--muted);
}

.store-sidebar__item.is-active::after {
  color: var(--green);
}

/* Hide icon and count for cleaner Lockheed Martin look */
.store-sidebar__icon {
  display: none;
}

.store-sidebar__count {
  display: none;
}

.store-sidebar__label {
  flex: 1;
}

/* Sidebar overlay backdrop (mobile) */
.store-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s;
}
.store-sidebar-overlay.is-visible {
  opacity: 1;
}

/* ── Hamburger toggle for sidebar (mobile only) ── */
.store-sidebar-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
}
.store-sidebar-toggle__icon {
  font-size: 1.2rem;
}

/* ── Main content area ── */
.store-main {
  flex: 1;
  min-width: 0;
}

/* ── Search ── */
.store-search {
  position: relative;
  margin-bottom: 1.5rem;
}

.store-search__input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 2.8rem;
  font-size: 1rem;
  border: 1px solid #e8e4de;
  border-radius: 8px;
  background: #fff;
  backdrop-filter: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--text);
}
.store-search__input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(44, 95, 46, 0.12);
}
.store-search__input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.store-search__icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  pointer-events: none;
  opacity: 0.5;
}

.store-search__clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
  padding: 0.25rem;
  line-height: 1;
  display: none;
}
.store-search__clear.is-visible {
  display: block;
}

.store-search__count {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  display: none;
}
.store-search__count.is-visible {
  display: block;
}

/* ── Product Grid ── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ── Product Card — clean white, no glass ── */
.store-card {
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  backdrop-filter: none;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.store-card__image {
  width: 100%;
  height: 220px;
  background: #f5f2ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.store-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

/* Thumbnail variant — used for listening cards with cover art */
.store-card__image--thumb {
  background: #1a1a1a;
  transition: opacity 0.3s ease;
}
.store-card__image--thumb img {
  object-fit: cover;
  padding: 0;
  border-radius: 0;
}
.store-card__image--loading {
  position: relative;
  color: var(--muted, #999);
  font-size: 2.5rem;
  animation: thumbPulse 1.5s ease-in-out infinite;
}
@keyframes thumbPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Product card slideshow */
.store-card__slideshow {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f5f2ed;
  overflow: hidden;
}
.store-card__slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.store-card__slideshow img.is-active {
  opacity: 1;
}
.store-card__dots {
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.3rem;
  z-index: 2;
}
.store-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.2s;
}
.store-card__dot.is-active {
  background: var(--gold, #d4a574);
}

/* Lightbox */
.store-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.store-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.store-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.store-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.store-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.store-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.store-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
}

.store-card__seller {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

.store-card__stock {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  background: rgba(44, 95, 46, 0.1);
  color: var(--green);
}
.store-card__stock--low {
  background: rgba(212, 165, 116, 0.2);
  color: #b8860b;
}

.store-card__action {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.store-card__action--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 8px rgba(44, 95, 46, 0.2);
}
.store-card__action--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 95, 46, 0.3);
}
.store-card__action--secondary {
  background: rgba(44, 95, 46, 0.08);
  color: var(--green);
  border: 1px solid rgba(44, 95, 46, 0.2);
}
.store-card__action--secondary:hover {
  background: rgba(44, 95, 46, 0.14);
}
.store-card__action--amazon {
  background: #ff9900;
  color: #111;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.2);
}
.store-card__action--amazon:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

/* ── Empty state ── */
.store-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.store-empty__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.store-empty__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.store-empty__hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.store-empty__btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.store-empty__btn:hover {
  background: #3a7d3c;
}

/* ── Category header ── */
.store-category-header {
  margin-bottom: 1.25rem;
}
.store-category-header__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}
.store-category-header__desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ── Section spacing ── */
.store-catalog-section {
  padding: 2.5rem 0 3rem;
  background: var(--light, #f9f6f1);
}

/* ── Error state ── */
.store-error {
  text-align: center;
  padding: 3rem 1.5rem;
}
.store-error__btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  border: none;
}

/* ── Mobile responsive ── */
@media (max-width: 767px) {
  .store-layout {
    flex-direction: column;
    padding: 0 16px;
  }

  .store-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    background: #fff;
    border-radius: 0;
    z-index: 100;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 2rem 1.25rem;
    box-shadow: 4px 0 24px rgba(0,0,0,0.1);
  }
  .store-sidebar.is-open {
    left: 0;
  }

  .store-sidebar-overlay {
    display: block;
    pointer-events: none;
  }
  .store-sidebar-overlay.is-visible {
    pointer-events: auto;
  }

  .store-sidebar-toggle {
    display: inline-flex;
  }

  .store-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }

  .store-card__slideshow,
  .store-card__image {
    height: 200px;
  }
  .store-card__arrow {
    opacity: 1; /* Always show on mobile since no hover */
    width: 32px;
    height: 32px;
  }
  .store-card__body {
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .store-sidebar-overlay {
    display: none !important;
  }
}


/* ── Store Hero Impact (combined impact + giving section) ── */
.store-hero-impact {
  position: relative;
  padding: 4rem 0 7rem;
  color: #fff;
  overflow: hidden;
}
.store-hero-impact__bg {
  position: absolute; inset: 0;
  background: url('../images/backgrounds/bible-in-background.jpg') center/cover no-repeat;
}
.store-hero-impact__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
}
.store-hero-impact__fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 150px;
  background: linear-gradient(transparent, var(--light, #f9f6f1));
  z-index: 1;
}
.store-hero-impact__content { position: relative; z-index: 2; text-align: center; }
.store-hero-impact__title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin: 0 0 0.5rem; }
.store-hero-impact__sub { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 1.5rem; line-height: 1.7; }
.store-hero-impact__giving { margin-top: 2rem; }
.store-hero-impact__amounts { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1.5rem; }
.store-hero-impact__amount {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.75rem 1.25rem; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.25);
  color: #fff; text-decoration: none; font-size: 1.1rem; font-weight: 700;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
  min-width: 80px;
}
.store-hero-impact__amount span { font-size: 0.7rem; font-weight: 600; color: var(--gold, #d4a574); }
.store-hero-impact__amount:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); border-color: var(--gold); }
.store-hero-impact__amount--gold { background: var(--gold, #d4a574); border-color: var(--gold); }
.store-hero-impact__amount--gold:hover { background: #c99560; }
.store-hero-impact__methods { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.store-hero-impact__methods a {
  padding: 0.5rem 1rem; border-radius: 20px;
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: 600;
  transition: transform 0.12s, border-color 0.2s;
}
.store-hero-impact__methods a:hover { transform: translateY(-1px); border-color: var(--gold, #d4a574); background: var(--gold, #d4a574); color: #fff; }
@media(max-width:600px) { .store-hero-impact__amounts { flex-direction: column; align-items: stretch; }
  .store-hero-impact__amount { flex-direction: row; justify-content: center; gap: 0.5rem; }
  .store-hero-impact__methods { flex-direction: column; align-items: stretch; }
  .store-hero-impact__methods a { text-align: center; }
}


/* Donate-page impact stats — reused on store page */
.store-hero-impact .donate-impact__wrapper {
  border: 1px solid rgba(212,165,116,0.3);
  border-top: 3px solid var(--gold, #d4a574);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(212,165,116,0.08), 0 8px 40px rgba(0,0,0,0.5);
  padding: 2.5rem 2rem;
}
.store-hero-impact .donate-impact__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
.store-hero-impact .donate-impact__stat {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(212,165,116,0.25);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 0 var(--gold, #d4a574), 0 8px 24px rgba(212,165,116,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-hero-impact .donate-impact__stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--gold, #d4a574), 0 12px 32px rgba(212,165,116,0.4);
}
.store-hero-impact .donate-impact__num {
  display: block;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(2.5rem, 7vw, 4rem);
  color: var(--gold, #d4a574);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.store-hero-impact .donate-impact__label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}
.store-hero-impact .donate-impact__plus {
  font-size: 0.6em;
  vertical-align: super;
  color: rgba(255,255,255,0.5);
}
.store-hero-impact .donate-impact__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.store-hero-impact .donate-impact__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.15);
  text-decoration: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.12s, border-color 0.15s, background 0.15s;
}
.store-hero-impact .donate-impact__social-link:hover {
  transform: translateY(-2px);
  border-color: var(--gold, #d4a574);
  background: rgba(255,255,255,0.05);
}
@media(max-width:720px) {
  .store-hero-impact .donate-impact__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Cursive/elegant language stock tags in store hero */
.store-hero-impact .stock-tag {
  font-family: 'Caveat', cursive;
  font-size: 0.95rem;
  font-weight: 700;
  background: transparent;
  border: 1.5px solid rgba(212,165,116,0.4);
  color: var(--gold, #d4a574);
  padding: 0.4rem 1rem;
  box-shadow: none;
}
.store-hero-impact .stock-tag:hover {
  border-color: var(--gold, #d4a574);
  background: rgba(212,165,116,0.08);
  transform: none;
  box-shadow: none;
}


/* Cursive language tags inside golden impact wrapper */
.store-lang-tag {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold, #d4a574);
  padding: 0.35rem 1rem;
  border: 1.5px solid rgba(212,165,116,0.35);
  border-radius: 20px;
  display: inline-block;
}


/* Store hero verse — elegant cursive */
.store-hero-verse {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 0;
  border: none;
}
.store-hero-verse p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.store-hero-verse cite {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: normal;
  color: var(--gold, #d4a574);
  letter-spacing: 0.04em;
}

/* Modern social buttons */
.store-hero-impact .donate-impact__socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  max-width: 500px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212,165,116,0.15);
}
.store-hero-impact .donate-impact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  border: 1.5px solid rgba(212,165,116,0.2);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.store-hero-impact .donate-impact__social-link:hover {
  transform: translateY(-3px);
  border-color: var(--gold, #d4a574);
  background: rgba(212,165,116,0.1);
  box-shadow: 0 4px 16px rgba(212,165,116,0.2);
}
.store-hero-impact .donate-impact__social-link svg {
  width: 24px;
  height: 24px;
}
@media(max-width:480px) {
  .store-hero-impact .donate-impact__socials { grid-template-columns: repeat(2, 1fr); }
}

/* Bundle promo inside Bibles category */
.store-bundle-promo {
  grid-column: 1 / -1;
  background: #fff;
  border: 2px solid var(--green, #2C5F2E);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 0.5rem;
}
.store-bundle-promo__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green, #2C5F2E);
  margin: 0 0 0.25rem;
}
.store-bundle-promo__desc {
  font-size: 0.85rem;
  color: var(--muted, #666);
  margin: 0 0 1rem;
}
.store-bundle-promo__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.store-bundle-promo__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 1rem 0.75rem;
  border-radius: 10px;
  background: rgba(44,95,46,0.06);
  border: 1.5px solid rgba(44,95,46,0.15);
  text-decoration: none;
  color: var(--text, #2b2b2b);
  text-align: center;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
}
.store-bundle-promo__card:hover {
  transform: translateY(-2px);
  border-color: var(--green, #2C5F2E);
  background: rgba(44,95,46,0.1);
}
.store-bundle-promo__card--featured {
  border-color: var(--green, #2C5F2E);
  background: rgba(44,95,46,0.08);
}
.store-bundle-promo__card strong {
  font-size: 0.95rem;
  color: var(--green, #2C5F2E);
}
.store-bundle-promo__card span {
  font-size: 0.72rem;
  color: var(--muted, #666);
}
@media(max-width:600px) {
  .store-bundle-promo__cards { grid-template-columns: 1fr; }
}

.store-card__stock--out {
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
}
.store-card__action--disabled {
  background: #e8e4de;
  color: var(--muted, #666);
  cursor: not-allowed;
  opacity: 0.7;
}
.store-card__action--disabled:hover {
  transform: none;
  box-shadow: none;
}


/* ── Slideshow arrows ── */
.store-card__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--dark, #1a1a1a);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.store-card__slideshow:hover .store-card__arrow { opacity: 1; }
.store-card__arrow--prev { left: 0.4rem; }
.store-card__arrow--next { right: 0.4rem; }
.store-card__arrow:hover { background: #fff; }

/* ── Native language name ── */
.store-card__native {
  display: block;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gold, #d4a574);
  margin-bottom: 0.3rem;
}

/* ================================================================
   Friends in Jesus — Serif Editorial Design System
   Inherits tokens from .community-dashboard parent
   ================================================================ */

/* ── Section styling ──────────────────────────────────────────── */
#friends-in-jesus {
  background: transparent !important;
  padding: 3rem 0 !important;
}

/* ── Section title ────────────────────────────────────────────── */
#friends-in-jesus .section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

/* ── Store layout override (full-width, no inner sidebar) ─────── */
#friends-in-jesus .store-layout {
  flex-direction: column;
  gap: 1.25rem;
  max-width: none;
  padding: 0;
}
#friends-in-jesus .store-sidebar {
  position: static;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin-bottom: 0.25rem;
}
#friends-in-jesus .store-sidebar__title { display: none; }
#friends-in-jesus .store-sidebar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#friends-in-jesus .store-sidebar__item {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  background: transparent;
  border: 1px solid var(--border-warm);
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.2s ease-out;
}
#friends-in-jesus .store-sidebar__item:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}
#friends-in-jesus .store-sidebar__item.is-active {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}
#friends-in-jesus .store-main { width: 100%; min-width: 0; }

/* ── Search override ──────────────────────────────────────────── */
#friends-in-jesus .store-search {
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  background: var(--card-bg);
  margin-bottom: 1.5rem;
}
#friends-in-jesus .store-search__input {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--fg);
}

/* ── Category header ──────────────────────────────────────────── */
#friends-in-jesus .store-category-header__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--fg);
}
#friends-in-jesus .store-category-header__desc {
  font-family: var(--sans);
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* ── Listen layout container ──────────────────────────────────── */
.listen-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

/* ── Featured Hero Card (Editorial) ───────────────────────────── */
.listen-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--fg, #1A1A1A);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
  border: 1px solid var(--border-warm, #E8E4DF);
  width: 100%;
}
.listen-hero__thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.listen-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listen-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 50%, transparent 100%);
  z-index: 1;
}
.listen-hero__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent-gold, #B8860B);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 3px;
  z-index: 2;
}
.listen-hero__content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem 2rem;
  width: 100%;
}
.listen-hero__eyebrow {
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold-light, #D4A84B);
  margin-bottom: 0.6rem;
  display: block;
}
.listen-hero__title {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.6rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.listen-hero__desc {
  font-family: var(--sans, 'Source Sans 3', system-ui, sans-serif);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.25rem;
  line-height: 1.7;
  max-width: 480px;
}
.listen-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-gold, #B8860B);
  color: #fff;
  font-family: var(--sans, 'Source Sans 3', system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease-out;
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.25);
}
.listen-hero__btn:hover {
  background: var(--accent-gold-light, #D4A84B);
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.35);
  color: #fff;
}

/* ── Shelf rows (Editorial) ────────────────────────────────────── */
.listen-shelf {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}
.listen-shelf__title {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--fg, #1A1A1A);
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-warm, #E8E4DF);
}
.listen-shelf__scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-warm, #E8E4DF) transparent;
}
.listen-shelf__scroll::-webkit-scrollbar { height: 4px; }
.listen-shelf__scroll::-webkit-scrollbar-track { background: transparent; }
.listen-shelf__scroll::-webkit-scrollbar-thumb {
  background: var(--border-warm, #E8E4DF);
  border-radius: 2px;
}

/* ── Shelf Card (Editorial) ───────────────────────────────────── */
.listen-card {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  width: 25%;
  max-width: 260px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-warm, #E8E4DF);
  border-top: 2px solid var(--accent-gold, #B8860B);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease-out;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}
.listen-card:hover {
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.06);
  border-color: var(--accent-gold, #B8860B);
}
.listen-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface-muted, #F5F3F0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-warm, #E8E4DF);
}
.listen-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listen-card__info {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.listen-card__name {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg, #1A1A1A);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listen-card__source {
  font-family: var(--sans, 'Source Sans 3', system-ui, sans-serif);
  font-size: 0.8rem;
  color: var(--fg-muted, #6B6B6B);
  margin: 0;
  line-height: 1.4;
}
.listen-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-warm, #E8E4DF);
  flex-wrap: wrap;
}
.listen-card__pill {
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.6rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.listen-card__pill--spotify {
  background: rgba(29, 185, 84, 0.08);
  color: #1DB954;
}
.listen-card__pill--youtube {
  background: rgba(255, 0, 0, 0.06);
  color: #cc0000;
}
.listen-card__tag {
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.6rem;
  color: var(--fg-muted, #6B6B6B);
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* Styled initial for channels without thumbnail */
.listen-card__thumb--initial {
  background: linear-gradient(135deg, var(--fg, #1A1A1A) 0%, #333 100%);
  animation: none;
}
.listen-card__initial {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent-gold, #B8860B);
  line-height: 1;
}

/* ── Social Promo Banner (Editorial) ──────────────────────────── */
.listen-social-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-warm, #E8E4DF);
  border-top: 2px solid var(--accent-gold, #B8860B);
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}
.listen-social-banner__text {
  flex: 1;
  min-width: 200px;
}
.listen-social-banner__lead {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg, #1A1A1A);
  margin: 0 0 0.25rem;
}
.listen-social-banner__sub {
  font-family: var(--sans, 'Source Sans 3', system-ui, sans-serif);
  font-size: 0.85rem;
  color: var(--fg-muted, #6B6B6B);
  margin: 0;
  line-height: 1.6;
}
.listen-social-banner__links {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.listen-social-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-family: var(--sans, 'Source Sans 3', system-ui, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease-out;
}
.listen-social-banner__link:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.listen-social-banner__link--telegram {
  background: #0088cc;
  color: #fff;
}
.listen-social-banner__link--telegram:hover {
  background: #006da3;
  color: #fff;
}
.listen-social-banner__link--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.listen-social-banner__link--instagram:hover {
  opacity: 0.9;
  color: #fff;
}
.listen-social-banner__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Dark store-grid cards (Partners, Messages, Resources) ────── */
#friends-in-jesus .store-grid .store-card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-warm, #E8E4DF);
  border-top: 2px solid var(--accent-gold, #B8860B);
  border-radius: 8px;
  transition: all 0.2s ease-out;
}
#friends-in-jesus .store-grid .store-card:hover {
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.06);
  border-color: var(--accent-gold, #B8860B);
}
#friends-in-jesus .store-grid .store-card__title {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-weight: 600;
  color: var(--fg, #1A1A1A);
}
#friends-in-jesus .store-grid .store-card__desc {
  color: var(--fg-muted, #6B6B6B);
  font-family: var(--sans, 'Source Sans 3', system-ui, sans-serif);
}
#friends-in-jesus .store-grid .store-card__action--primary {
  background: var(--accent-gold, #B8860B);
  color: #fff;
  border-radius: 6px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .listen-card {
    min-width: 190px;
    width: 38%;
  }
}
@media (max-width: 768px) {
  #friends-in-jesus { padding: 2.5rem 0 !important; }
  .listen-hero { min-height: 240px; }
  .listen-hero__content { padding: 1.75rem 1.25rem 1.5rem; }
  .listen-card {
    min-width: 170px;
    width: 44%;
  }
  .listen-social-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem;
  }
  .listen-social-banner__text { min-width: 0; }
  .listen-social-banner__links { justify-content: center; }
  #friends-in-jesus .store-sidebar__item {
    font-size: 0.68rem;
    padding: 0.45rem 0.85rem;
  }
}
@media (max-width: 480px) {
  .listen-hero {
    min-height: 200px;
    border-radius: 6px;
  }
  .listen-hero__content { padding: 1.25rem 1rem 1rem; }
  .listen-card {
    min-width: 155px;
    width: 65%;
  }
  .listen-shelf__scroll { gap: 0.85rem; }
  .listen-social-banner__link {
    padding: 0.5rem 0.85rem;
    font-size: 0.74rem;
  }
}
