/* ================================================================
   SHOP CATALOG — Moon Juice style  (biomentor / myshop)
   ================================================================ */

.shop-section {
  background: #FAF8F3;
  padding-bottom: 80px;
}

/* ── Head ── */
.shop-head {
  text-align: center;
  padding: 36px 0 8px;
  max-width: 640px;
  margin: 0 auto;
}
.shop-head__eyebrow {
  font-family: 'Golos Text', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9B9589;
  margin: 0 0 10px;
}
.shop-head__title {
  font-family: 'Golos Text', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.01em;
  color: #1A1A1A;
  margin: 0 0 10px;
}
.shop-head__count {
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  color: #9B9589;
  margin: 0 0 28px;
}

/* ── Mobile filter toggle ── */
.shop-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1A1A1A;
  background: #fff;
  border: 1px solid #E8E0D4;
  border-radius: 2px;
  padding: 11px 18px;
  cursor: pointer;
  margin: 0 0 20px;
}

/* ── Layout ── */
.shop-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

/* ── Sidebar ── */
.shop-sidebar {
  width: 230px;
  flex-shrink: 0;
}
.shop-sidebar__head { display: none; }

.shop-filter-group { margin-bottom: 28px; }
.shop-filter-group__title {
  font-family: 'Golos Text', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1A1A1A;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EFE9DF;
}

.shop-filter-list { list-style: none; margin: 0; padding: 0; }
.shop-filter-item { margin-bottom: 12px; }
.shop-filter-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Golos Text', sans-serif;
  font-size: 14px;
  color: #3A3530;
  transition: color 140ms;
}
.shop-filter-item label:hover { color: #1A1A1A; }
.shop-filter-item__name { flex: 1; min-width: 0; }
.shop-filter-item__count {
  flex-shrink: 0;
  font-size: 12px;
  color: #9B9589;
  font-variant-numeric: tabular-nums;
}
.shop-filter-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1A1A1A;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Price range filter ── */
.shop-price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-price__dash { color: #9B9589; flex-shrink: 0; }
.shop-price__input {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  height: 38px;
  padding: 0 10px;
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  color: #1A1A1A;
  background: #fff;
  border: 1px solid #E8E0D4;
  border-radius: 2px;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
  transition: border-color 140ms;
}
.shop-price__input::-webkit-outer-spin-button,
.shop-price__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-price__input::placeholder { color: #9B9589; }
.shop-price__input:focus { border-color: #1A1A1A; }
.shop-price__apply {
  margin-top: 12px;
  width: 100%;
  height: 38px;
  font-family: 'Golos Text', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: #1A1A1A;
  border: 1px solid #1A1A1A;
  border-radius: 2px;
  cursor: pointer;
  transition: background 140ms;
}
.shop-price__apply:hover { background: #000; }

.shop-reset-btn {
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  color: #1A1A1A !important;
  border-bottom-color: rgba(26, 26, 26, .4) !important;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 0;
  cursor: pointer;
}
.shop-reset-btn:hover { border-bottom-color: #1A1A1A !important; }

.shop-sidebar__backdrop { display: none; }

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

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid #EFE9DF;
}
.shop-toolbar__count {
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  color: #9B9589;
}
.shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  color: #9B9589;
}
.shop-sort select {
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  color: #1A1A1A;
  background: transparent;
  border: none;
  border-bottom: 1px solid #1A1A1A;
  padding: 2px 4px 4px 0;
  cursor: pointer;
  outline: none;
}

/* ── Grid (reuses .fp-card from homepage.css; 3 cols — narrower than full-width fp-grid) ── */
#shop-grid-wrap { transition: opacity 180ms ease; min-height: 200px; }
.shop-grid.fp-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}

.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}
.shop-empty p {
  font-family: 'Golos Text', sans-serif;
  color: #9B9589;
  margin: 0 0 14px;
}

/* ── Pagination ── */
.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.shop-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border: 1px solid #E8E0D4;
  border-radius: 2px;
  background: #fff;
  color: #6B6560;
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.shop-page-btn:hover { border-color: #1A1A1A; color: #1A1A1A; }
.shop-page-btn.is-active {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1000px) {
  .shop-grid.fp-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
}

@media (max-width: 900px) {
  .shop-price__input { font-size: 16px; }
  .shop-filter-toggle { display: inline-flex; }
  .shop-layout { gap: 0; }

  .shop-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 300px;
    max-width: 84vw;
    background: #fff;
    z-index: 9700;
    padding: 24px 24px 32px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 280ms ease;
  }
  .shop-sidebar.is-open { transform: translateX(0); }
  .shop-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .shop-sidebar__title {
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #1A1A1A;
    margin: 0;
  }
  .shop-sidebar__close {
    background: none;
    border: none;
    color: #6B6560;
    cursor: pointer;
    padding: 4px;
  }

  .shop-sidebar__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, .45);
    z-index: 9650;
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
  }
  .shop-sidebar__backdrop.is-open { opacity: 1; pointer-events: auto; }
}

@media (max-width: 640px) {
  .shop-grid.fp-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 420px) {
  .shop-grid.fp-grid { grid-template-columns: 1fr; }
}
