/* PriceMe — beauty.css */

/* ── HERO ── */
.be-hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2D1A2E 100%);
  padding: 32px 0 28px;
}

.be-hero-inner {
  display: flex; flex-direction: column; gap: 24px;
}

.be-hero-badge {
  display: inline-block;
  background: rgba(219,39,119,0.15);
  border: 1px solid rgba(219,39,119,0.3);
  color: #DB2777; font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}

.be-hero-title {
  font-size: 22px; font-weight: 800; color: #fff;
  line-height: 1.2; margin-bottom: 10px;
  white-space: nowrap;
}
.be-hero-pink { color: #DB2777; }
.be-hero-sub  { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 16px; }

.be-search-form { margin-bottom: 0; }
.be-search-box {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 8px;
  padding: 6px 6px 6px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-width: 600px;
}

/* Hero right */
.be-hero-right { display: flex; flex-direction: column; gap: 10px; }

.be-hero-stats {
  display: flex; gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; overflow: hidden;
}
.be-stat {
  flex: 1; padding: 12px 10px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.be-stat:last-child { border-right: none; }
.be-stat-num   { font-size: 20px; font-weight: 800; color: #DB2777; line-height: 1; }
.be-stat-label { font-size: 10px; color: rgba(255,255,255,0.45); margin-top: 3px; }

.be-feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 12px;
}

/* ── CATEGORY BAR ── */
.be-cat-bar {
  background: #1A1A1A; padding: 10px 0;
  border-bottom: 1px solid #2A2A2A;
  position: sticky; top: 56px; z-index: 50;
}
.be-cat-pills {
  display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
}
.be-cat-pills::-webkit-scrollbar { display: none; }
.be-cat-pill {
  background: #2A2A2A; border: 1px solid #3A3A3A;
  border-radius: 20px; padding: 6px 14px;
  font-size: 12px; font-weight: 500; color: #aaa;
  white-space: nowrap; flex-shrink: 0;
  text-decoration: none; transition: all 0.15s;
}
.be-cat-pill:hover, .be-cat-pill.active {
  background: #DB2777; border-color: #DB2777; color: #fff;
}

/* ── SECTION ── */
.be-section { padding: 20px 0 40px; background: #F5F5F5; }

/* ── PRODUCT GRID ── */
.be-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ── PRODUCT CARD ── */
.be-card {
  background: #fff; border: 1px solid #E8E8E8;
  border-radius: 14px; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.be-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }

.be-card-img {
  position: relative; aspect-ratio: 1;
  background: #F9F0F5;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.be-card-img img { width: 100%; height: 100%; object-fit: cover; }
.be-card-img-placeholder { font-size: 52px; opacity: 0.3; }

.be-badge-featured {
  position: absolute; top: 8px; left: 8px;
  background: #DB2777; color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 2px 8px; border-radius: 10px;
}
.be-badge-discount {
  position: absolute; top: 8px; right: 8px;
  background: #E8400C; color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: 4px;
}

.be-card-info { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }

.be-card-cat    { font-size: 9px; color: #DB2777; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.be-card-brand  { font-size: 10px; color: #888; font-weight: 600; }
.be-card-name   { font-size: 13px; font-weight: 700; color: #1A1A1A; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.be-card-skin   { font-size: 10px; color: #888; }
.be-card-ingredient { font-size: 10px; color: #888; }

.be-card-best-price {
  display: flex; align-items: baseline; gap: 6px;
  flex-wrap: wrap; margin-top: 4px;
}
.be-card-price    { font-size: 16px; font-weight: 800; color: #DB2777; }
.be-card-mrp      { font-size: 11px; color: #aaa; text-decoration: line-through; }
.be-card-platform { font-size: 10px; color: #888; margin-left: auto; }

/* Compare prices row */
.be-compare {
  display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px;
}
.be-compare-btn {
  font-size: 10px; font-weight: 600;
  padding: 4px 8px; border-radius: 6px;
  border: 1px solid;
  text-decoration: none; transition: opacity 0.15s;
  white-space: nowrap;
}
.be-compare-btn:hover { opacity: 0.75; }

/* Local shop button */
.be-local-btn {
  display: block; margin-top: 8px;
  background: #F5F5F5; border: 1px solid #E8E8E8;
  border-radius: 7px; padding: 7px 10px;
  font-size: 11px; font-weight: 600; color: #555;
  text-align: center; text-decoration: none;
  transition: all 0.15s;
}
.be-local-btn:hover { background: #1A1A1A; color: #fff; border-color: #1A1A1A; }

/* ── TABLET 640px+ ── */
@media (min-width: 640px) {
  .be-hero-title { font-size: 32px; }
  .be-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── DESKTOP 1024px+ ── */
@media (min-width: 1024px) {
  .be-hero-inner { flex-direction: row; align-items: flex-start; gap: 40px; }
  .be-hero-left  { flex: 1; }
  .be-hero-right { flex: 1; }
  .be-hero-title { font-size: 40px; }
  .be-grid { grid-template-columns: repeat(4, 1fr); }
  .be-stat-num { font-size: 24px; }
}

@media (min-width: 1400px) {
  .be-grid { grid-template-columns: repeat(5, 1fr); }
}
