/* ===== Announcement Section ===== */
.announcement {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.announcement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #a78bfa, #f472b6);
  border-radius: 3px 3px 0 0;
}

.announcement h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.announcement-list {
  list-style: none;
  margin-bottom: 18px;
}

.announcement-list li {
  position: relative;
  padding: 5px 0 5px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.announcement-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.announcement-links {
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.announcement-links p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.7;
}

.announcement-links .warning {
  color: var(--warning);
  font-weight: 600;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--warning-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

/* ===== Shop Section ===== */
.shop-section h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 8px 20px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.category-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.category-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(91, 108, 247, 0.3);
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  position: relative;
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(91, 108, 247, 0.12), 0 2px 6px rgba(0,0,0,0.04);
  transform: translateY(-4px);
}

.product-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.product-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--price-color);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.product-price::before {
  content: "";
  font-size: 15px;
  font-weight: 600;
}

.product-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.product-actions {
  margin-top: auto;
}

.product-actions .btn {
  width: 100%;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

@media (max-width: 768px) {
  .announcement {
    padding: 22px 20px;
    border-radius: var(--radius-lg);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
