/* ===========================================================
   Downloads page — extends styles.css + product.css
=========================================================== */

/* ---------- Hero banner (same as products.css — repeated here
   since downloads.html doesn't load products.css) ---------- */
.products-hero { position: relative; overflow: hidden; background: #141414; }
.products-hero .hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.products-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #141414 38%, rgba(20,20,20,.55) 62%, rgba(20,20,20,.15) 85%);
}

.section-heading-bar {
  border-left: 4px solid #E01B3D;
  padding-left: 12px;
}

/* ---------- Top feature boxes ---------- */
.feature-box {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* ---------- Brochure card ---------- */
.brochure-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.brochure-card:hover {
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  transform: translateY(-3px);
}
.brochure-thumb {
  position: relative;
  height: 150px;
  overflow: hidden;
}
.brochure-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brochure-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,.92);
  border-radius: 8px;
  padding: 6px 9px;
  max-width: calc(100% - 20px);
}
.brochure-badge .badge-logo {
  color: #E01B3D;
  font-weight: 900;
  font-style: italic;
  font-size: 13px;
  line-height: 1;
}
.brochure-badge .badge-label {
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  line-height: 1.2;
  color: #111827;
  margin-top: 3px;
}
.brochure-body {
  padding: 14px 16px 16px;
}
.brochure-title {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
  margin-bottom: 6px;
}
.brochure-desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ---------- Worksheet card ---------- */
.worksheet-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease;
}
.worksheet-card:hover {
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  transform: translateY(-3px);
}
.worksheet-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: #FCE8EA;
  display: flex;
  align-items: center;
  justify-content: center;
}
.worksheet-icon svg {
  width: 24px;
  height: 24px;
  color: #E01B3D;
}
.worksheet-title {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
  margin-bottom: 6px;
}
.worksheet-desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ---------- PDF row (shared by both card types) ---------- */
.pdf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #f3f4f6;
  padding-top: 12px;
}
.pdf-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
}
.pdf-info svg {
  width: 16px;
  height: 16px;
  color: #E01B3D;
}
.pdf-download-btn {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: #FCE8EA;
  color: #E01B3D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease;
}
.pdf-download-btn:hover {
  background: #E01B3D;
  color: #fff;
}
.pdf-download-btn svg {
  width: 15px;
  height: 15px;
}

/* ---------- Back to top button ---------- */
#backToTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  background: #E01B3D;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 50;
}
#backToTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}