/* ============================================================
   GLOBAL LAYOUT + TYPOGRAPHY
============================================================ */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f7f7f7;
  color: #222;
}

h1,
h2,
h3 {
  font-weight: 700;
  margin: 0 0 10px;
}

.section {
  max-width: 1800px;
  margin: 50px auto;
  padding: 0 20px;
}

.section-intro {
  color: #555;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  background: linear-gradient(135deg, #ffb347, #ff5f6d);
  color: #fff;
  padding: 70px 20px;
  text-align: center;
  border-bottom: 4px solid rgba(0, 0, 0, 0.1);
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
}

.hero-actions {
  margin-top: 25px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.15s ease;
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn.direct {
  background: #0078ff;
  color: #fff;
}
.btn.direct:hover {
  background: #005fcc;
}

.btn.ebay {
  background: #e53238;
  color: #fff;
}
.btn.etsy {
  background: #f45800;
  color: #fff;
}

.btn.mega-buy {
  background: #d63b3b;
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}
.btn.mega-buy:hover {
  background: #b92f2f;
}

/* ============================================================
   PACK WRAPPER (5, 10, 20 packs)
============================================================ */
.pack-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.pack-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.pack-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* ============================================================
   PACK GRID LAYOUTS (outer)
============================================================ */

/* 5‑packs → 2 packs per row */
#packs-5-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* 10‑packs → 1 per row */
#packs-10-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* 20‑packs → 1 per row */
#packs-20-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* ============================================================
   INTERNAL PACK THUMBNAIL GRIDS
============================================================ */

/* 5‑pack → 5 images per row */
.pack-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* 10‑pack → 10 images per row */
.pack-grid-10 {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}

/* 20‑pack → 10 images per row */
.pack-grid-20 {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}

.pack-item img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.pack-item img:hover {
  transform: scale(1.05);
}

/* ============================================================
   PRICE + MARKET BUTTONS
============================================================ */
.price {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 20px 0 10px;
  text-align: center;
}

.market-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* ============================================================
   MEGA PACK FRAME
============================================================ */
.mega-frame {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
}

.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

/* ============================================================
   MEGA PACK GRID (10 images per row)
============================================================ */

.mega-item {
  background: #fafafa;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.mega-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.mega-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mega-item img:hover {
  transform: scale(1.05);
}

.mega-item h3 {
  font-size: 0.9rem;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-item .price {
  font-size: 1.1rem;
  font-weight: 700;
}

.mega-pack-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 20px;
}

/* ============================================================
   LIGHTBOX
============================================================ */
#lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  min-width: 450px;
  min-height: 450px;

  border-radius: 12px;
}

.mega-pack-cta {
  text-align: center;
  margin: 40px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px; /* controls spacing between price, badge, button */
}

.mega-pack-price {
  font-size: 2rem;
  font-weight: 800;
  color: #d63b3b;
}

.mega-pack-savings {
  background: #ffe8e8;
  color: #b92f2f;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
}

.mega-pack-cta .btn.small.direct {
  padding: 12px 22px;
  font-size: 1rem;
  border-radius: 8px;
}
/* ============================================================
   SINGLE IMAGE — ORIGINAL SIZE
   ============================================================ */

.single-spotlight-frame {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px auto;
  background: #fafafa;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.single-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* ============================================================
   PACK LAYOUTS — MATCH FRONT PAGE
   ============================================================ */

/* 5‑packs → 2 cards per row */
#packs-5-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* 10‑packs → 1 per row */
#packs-10-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* 20‑packs → 1 per row */
#packs-20-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Mega pack → 1 per row */
#mega-pack {
  margin-top: 40px;
}

/* ============================================================
   INTERNAL THUMBNAIL GRIDS — MATCH FRONT PAGE
   ============================================================ */

.pack-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.pack-grid-10 {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}

.pack-grid-20 {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}

.mega-pack-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}
