/* ============================================================
   DIGI-TECH SOLUTION — Products Page Styles
   ============================================================ */

/* ===== PAGE HERO ===== */
.products-hero {
  background: linear-gradient(130deg, var(--dark), var(--brown));
  padding: 72px 0 60px; text-align: center;
  position: relative; overflow: hidden;
}
.products-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fbb349' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.products-hero h1 {
  font-family: var(--font-display); font-size: clamp(32px,5vw,56px);
  font-weight: 800; color: var(--white); margin-bottom: 14px;
  position: relative; z-index: 1;
}
.products-hero p {
  color: rgba(255,255,255,.7); font-size: 17px;
  max-width: 560px; margin: 0 auto; line-height: 1.7;
  position: relative; z-index: 1;
}

/* ===== STORE SECTION ===== */
.store-section { padding: 88px 0; background: var(--bg-light); }

/* Store cards */
.store-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 80px; }
.store-card {
  border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: .3s;
}
.store-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.15); }
.store-card.amz-card { background: linear-gradient(135deg, #1a1a1a, #2d2d2d); }
.store-card.ebay-card { background: linear-gradient(135deg, #003087, #0064D2); }
.store-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.store-logo-big {
  font-family: var(--font-ui); font-size: 36px; font-weight: 800;
  margin-bottom: 12px; letter-spacing: -1px;
}
.store-logo-big.amz { color: #FF9900; }
.store-logo-big .e{color:#E53238} .store-logo-big .b{color:#5bc4f5}
.store-logo-big .a2{color:#F5AF02} .store-logo-big .y{color:#86B817}
.store-card h3 { font-family: var(--font-ui); font-weight: 700; font-size: 18px; color: var(--white); margin-bottom: 10px; }
.store-card p  { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; margin-bottom: 22px; flex: 1; }
.store-nums { display: flex; gap: 22px; margin-bottom: 24px; }
.sn-val { font-family: var(--font-ui); font-weight: 800; font-size: 20px; color: var(--gold); }
.sn-lbl { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 3px; }
.store-visit-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--gold); color: var(--dark);
  font-family: var(--font-ui); font-weight: 700; font-size: 13.5px;
  padding: 13px 24px; border-radius: 9px;
  text-decoration: none; transition: .25s; align-self: flex-start;
}
.store-visit-btn:hover { background: var(--white); color: var(--dark); transform: translateX(4px); }

/* ===== PRODUCT GRID ===== */
.prod-section-head { margin-top: 72px; }
.prod-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center; }
.filter-btn {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  padding: 9px 20px; border-radius: 30px;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-muted); cursor: pointer; transition: .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.prod-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* Product cards */
.prod-thumb {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: .3s; cursor: pointer; position: relative;
}
.prod-thumb:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(251,179,73,.2); }
.prod-img {
  height: 180px; display: flex; align-items: center;
  justify-content: center; font-size: 54px; position: relative;
}
.bg1 { background: linear-gradient(135deg, #fdf6e3, #fbefac); }
.bg2 { background: linear-gradient(135deg, #f0f8ff, #ddeeff); }
.bg3 { background: linear-gradient(135deg, #f5f5f5, #e8e8e8); }
.bg4 { background: linear-gradient(135deg, #fff5f5, #ffe8e8); }
.prod-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; letter-spacing: .5px;
}
.badge-hot  { background: var(--gold);   color: var(--dark); }
.badge-new  { background: var(--dark);   color: var(--gold); }
.badge-sale { background: #e53238;       color: var(--white); }
.prod-mp-icons { position: absolute; top: 10px; right: 10px; display: flex; gap: 4px; }
.mpi {
  width: 24px; height: 24px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.mpi.amz  { background: #FF9900; color: var(--white); }
.mpi.ebay { background: #0064D2; color: var(--white); }
.prod-info { padding: 16px; }
.prod-cat-lbl { font-size: 10px; font-family: var(--font-ui); font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.prod-name    { font-family: var(--font-ui); font-weight: 700; font-size: 13px; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.prod-btns { display: flex; gap: 6px; }
.pb {
  flex: 1; font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  padding: 8px; border-radius: 7px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 5px; transition: .2s; text-decoration: none;
}
.pb.amz-pb  { background: #FF9900; color: var(--white); }
.pb.amz-pb:hover  { background: #e68a00; }
.pb.ebay-pb { background: #0064D2; color: var(--white); }
.pb.ebay-pb:hover { background: #0053b0; }
.pb.full { flex: unset; width: 100%; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .store-cards { grid-template-columns: 1fr; }
  .prod-grid   { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .prod-grid { grid-template-columns: 1fr 1fr; }
}
