/* ============================================================
   shop.css — shop/gallery page
   ============================================================ */

/* ---------- Hero ---------- */
.shop-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(57, 113, 177, 0.16);
  text-align: center;
}

.shop-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.shop-title span { color: var(--blue); }

.shop-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ---------- Section ---------- */
.shop-section {
  padding: 40px 0 70px;
}

/* ---------- Filters ---------- */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg,
    rgba(7, 20, 34, 0.85),
    rgba(5, 14, 24, 0.85));
}

.chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(56, 129, 210, 0.30);
  background: rgba(4, 12, 21, 0.6);
  color: #d5e6f6;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: 0.25s ease;
}

.chip:hover {
  border-color: var(--blue);
  color: #fff;
}

.chip--active {
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 140, 255, 0.35);
}

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

/* ---------- Product card ---------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg,
    rgba(7, 20, 34, 0.95),
    rgba(5, 14, 24, 0.95));
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 140, 255, 0.16);
}

/* ---------- Card accent line (matches featured section style) ---------- */
.card-accent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px 8px;
}

.accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: dotPulse 2s ease-in-out infinite;
}

.accent-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    var(--blue) 0%,
    rgba(22, 162, 255, 0.30) 40%,
    transparent 100%);
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.8; }
}

/* ---------- Image ---------- */
.product-thumb {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: radial-gradient(circle at center,
    rgba(14, 111, 255, 0.10),
    #07131f 70%);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.product-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 72px;
  font-weight: 800;
  color: rgba(22, 162, 255, 0.20);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 140, 255, 0.40);
}

.product-badge--out {
  left: auto;
  right: 12px;
  background: linear-gradient(90deg, #ff4d4d, #b91c1c);
  box-shadow: 0 4px 14px rgba(255, 77, 77, 0.40);
}

/* ---------- Body ---------- */
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 20px 20px;
}

.product-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #fff;
}
.product-name a { transition: color 0.2s ease; }
.product-name a:hover { color: var(--blue); }

.product-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 16px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(56, 129, 210, 0.18);
  margin-top: auto;
}

.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.4px;
}

.product-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(22, 162, 255, 0.10);
  border: 1px solid rgba(22, 162, 255, 0.35);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 600;
  transition: 0.25s ease;
}
.product-btn:hover {
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(0, 140, 255, 0.40);
}

/* ---------- Empty state ---------- */
.shop-empty {
  text-align: center;
  padding: 80px 20px;
}
.empty-icon { font-size: 52px; margin-bottom: 12px; opacity: 0.6; }
.shop-empty h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.shop-empty p {
  color: var(--text-soft);
  margin-bottom: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .shop-title { font-size: 34px; }
  .shop-grid  { grid-template-columns: 1fr; }
  .product-thumb { height: 200px; }
  .shop-filters { padding: 12px; gap: 8px; }
  .chip { padding: 8px 14px; font-size: 12.5px; }
}