/* ==========================================================
   BrickPi3 Accessories Page – Styles
   ========================================================== */

/* ---- Page Hero ---- */
.acc-hero {
  background: linear-gradient(135deg, var(--dark3) 0%, var(--dark) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}
.acc-hero .section-tag {
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.acc-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.acc-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- Accessories Grid ---- */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* ---- Accessory Card ---- */
.acc-card {
  background: var(--white);
  border: 2px solid var(--light2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.acc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.acc-img-wrap {
  width: 100%;
  height: 220px;
  background: var(--light2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.acc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.acc-img-placeholder {
  background: var(--light2);
}
.acc-img-icon {
  font-size: 4rem;
  opacity: .45;
}

.acc-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.acc-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
}
.acc-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 12px;
  line-height: 1;
}
.acc-desc {
  font-size: .93rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.acc-includes {
  list-style: none;
  margin-bottom: 16px;
}
.acc-includes li {
  font-size: .88rem;
  color: var(--text-muted);
  padding: 4px 0 4px 22px;
  position: relative;
  border-bottom: 1px solid var(--light2);
}
.acc-includes li::before {
  content: '›';
  position: absolute;
  left: 6px;
  color: var(--red);
  font-weight: 800;
}
.acc-compat {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.acc-compat strong { color: var(--text); }

.acc-coming-soon {
  font-size: .85rem;
  color: #1b4332;
  background: #f0faf4;
  border: 1px solid #b7e4c7;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: auto;
}
