/* ==========================================
   HARRY CASTANER — Shop Page Styles
   ========================================== */

/* ---- SHOP HERO ---- */
.shop-hero {
  min-height: 52vh; display: flex; align-items: flex-end;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
}
.shop-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(var(--blue-rgb),0.12) 0%, transparent 70%);
  pointer-events: none;
}
.shop-hero-inner { padding-top: 60px; padding-bottom: 0; position: relative; z-index: 2; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.15em; color: var(--blue); text-decoration: none;
  text-transform: uppercase; margin-bottom: 28px;
  transition: color 0.2s, gap 0.2s;
}
.back-link:hover { color: var(--cyan); gap: 12px; }

.shop-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800; line-height: 1.06;
  color: var(--white); letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.shop-title em { font-style: normal; color: var(--blue); }

.shop-subtitle {
  font-size: 16px; color: var(--mid); line-height: 1.75;
  max-width: 580px; margin-bottom: 48px;
}

/* ---- FILTER TABS ---- */
.filter-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 28px 0 40px; border-top: 1px solid var(--border);
}
.filter-btn {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--dim); background: transparent;
  border: 1px solid var(--border); border-radius: 40px;
  padding: 10px 22px; cursor: pointer;
  transition: all 0.25s; letter-spacing: 0.02em;
}
.filter-btn:hover { color: var(--white); border-color: var(--border2); background: rgba(var(--blue-rgb),0.06); }
.filter-btn.active {
  color: var(--bg); background: var(--blue); border-color: var(--blue);
  box-shadow: 0 0 20px rgba(var(--blue-rgb),0.4);
}

/* ---- SHOP SECTIONS ---- */
.shop-section { padding: 80px 0; }
.shop-section + .shop-section { padding-top: 40px; }

/* ---- CATEGORY HEADER ---- */
.shop-cat-header {
  display: flex; align-items: center; gap: 24px; margin-bottom: 48px;
}
.shop-cat-icon {
  width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0;
  background: rgba(var(--blue-rgb),0.1); border: 1px solid rgba(var(--blue-rgb),0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.shop-cat-title {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; color: var(--white); letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.shop-cat-desc { font-size: 14px; color: var(--mid); }

/* ---- SHOP GRID ---- */
.shop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

/* ---- SHOP CARD ---- */
.shop-card {
  background: rgba(15,22,36,0.7); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 36px 30px; display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
}
.shop-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.shop-card:hover {
  border-color: rgba(var(--blue-rgb),0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--blue-rgb),0.08);
}
.shop-card:hover::before { opacity: 1; }

.shop-card--featured {
  border-color: rgba(var(--blue-rgb),0.3);
  background: linear-gradient(160deg, rgba(17,29,53,0.85), rgba(9,14,26,0.85));
}
.shop-card--featured::before { opacity: 0.7; }

.sc-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bg); background: var(--blue);
  padding: 5px 12px; border-radius: 40px;
}

.sc-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.sc-icon { font-size: 32px; flex-shrink: 0; }
.sc-price-wrap { text-align: right; }
.sc-price {
  display: block; font-family: var(--font-display); font-size: 24px;
  font-weight: 800; color: var(--white); letter-spacing: -0.02em; line-height: 1;
}
.sc-price-note { font-size: 10px; color: var(--dim); font-family: var(--font-mono); letter-spacing: 0.08em; }

.shop-card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: var(--white); letter-spacing: -0.01em; line-height: 1.2;
}
.shop-card p { font-size: 13.5px; color: var(--mid); line-height: 1.7; }

.sc-features {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin: 4px 0; flex: 1;
}
.sc-features li {
  font-size: 12.5px; color: var(--light); padding-left: 18px; position: relative;
}
.sc-features li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--blue); font-size: 11px;
}

.sc-result {
  font-family: var(--font-mono); font-size: 11px; color: var(--blue);
  letter-spacing: 0.06em; padding-top: 12px;
  border-top: 1px solid var(--border);
}

.sc-cta {
  margin-top: 4px; align-self: flex-start; width: 100%; text-align: center;
  justify-content: center;
}

/* ---- HIDDEN FOR FILTER ---- */
.shop-section.hidden { display: none; }
.shop-card.hidden { display: none; }

/* ---- BOTTOM CTA ---- */
.shop-bottom-cta {
  padding: 100px 0;
  background: var(--bg-2); border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.shop-bottom-cta::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb),0.08) 0%, transparent 65%);
  pointer-events: none;
}
.sbc-inner {
  text-align: center; max-width: 560px; margin: 0 auto; position: relative; z-index: 1;
}
.sbc-inner h2 {
  font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px;
}
.sbc-inner p { font-size: 15px; color: var(--mid); margin-bottom: 36px; line-height: 1.7; }
.sbc-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.sbc-note { font-size: 12px; color: var(--dim); font-style: italic; }

/* ---- SHOP NAV ACTIVE ---- */
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 8px; }
  .filter-btn { font-size: 12px; padding: 9px 16px; }
  .shop-cat-header { flex-direction: column; gap: 16px; }
}
