/* =========================================================
   Dr. Austin — Products (Shop) Page Styles
   Visual reference: products secondary-page reference image
   Breadcrumb · Title · Stage filter · Product cards · Responsive
   ========================================================= */

.shop-main {
  background: #fff;
}

.shop-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 44px 0 120px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--navy); }
.crumb-sep { color: #b9c0cf; }
.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Title ---------- */
.shop-head h1 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(30px, 2.6vw, 46px);
  font-weight: 600;
  line-height: 1.15;
  text-align: left;
}
.shop-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Stage filter ---------- */
.stage-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 44px;
}
.stage-filter button {
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: #4a5677;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.stage-filter button:hover {
  border-color: var(--yellow-strong);
  color: var(--ink);
}
.stage-filter button.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

/* ---------- Product cards ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.shop-card {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.shop-card.is-hidden { display: none; }

/* Upper half: product shot on soft yellow */
.shop-media {
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--cream-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 40px 38px;
}
.shop-media img {
  width: min(320px, 74%);
  height: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Lower half: copy on white */
.shop-body {
  padding: 26px 30px 30px;
}
.shop-body h3 {
  margin: 0 0 12px;
  color: #233563;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  min-height: 46px;
}
.shop-body > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.shop-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shop-buy strong {
  color: #1d2d59;
  font-size: 21px;
  font-weight: 600;
  white-space: nowrap;
}
.shop-now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.shop-now:hover {
  background: var(--yellow-strong);
  color: var(--ink);
  transform: scale(1.04);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .shop-media { padding: 36px 30px 30px; }
  .shop-media img { width: 70%; height: 240px; }
}

@media (max-width: 900px) {
  .shop-inner { padding: 30px 0 64px; }
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shop-card { max-width: 480px; margin: 0 auto; }
  .shop-media { padding: 28px 24px 24px; }
  .shop-media img { width: 62%; height: 210px; }
  .stage-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 22px 0 32px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .stage-filter::-webkit-scrollbar { display: none; }
  .stage-filter button { flex: none; }
}

@media (max-width: 520px) {
  .shop-head h1 { font-size: 26px; }
  .shop-body { padding: 20px 22px 24px; }
  .shop-body h3 { font-size: 15px; min-height: 0; }
  .shop-media img { width: 66%; height: 190px; }
  .shop-buy strong { font-size: 18px; }
  .shop-now { height: 38px; padding: 0 18px; font-size: 12px; }
}
