﻿/* Ensure mobile menu toggles correctly */
.tcg-show { display: block !important; }

/* NAV BAR FIXES (no underline, no green hover) */
.tcg-bar .tcg-bar-item,
.tcg-bar .tcg-bar-item:link,
.tcg-bar .tcg-bar-item:visited,
.tcg-bar .tcg-bar-item:hover,
.tcg-bar .tcg-bar-item:active,
.tcg-bar a,
.tcg-bar a:link,
.tcg-bar a:visited,
.tcg-bar a:hover,
.tcg-bar a:active {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
  outline: 0;
  color: inherit;
}

/* PRODUCT MENU (navigation strip at top) */
.product-menu {
  background: #fff;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}
@media (max-width: 992px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product-item img {
  max-width: 80px;
  height: auto;
  margin-bottom: 0.25rem;
}
.resizetext {
  font-size: 0.8rem;
  font-weight: 600;
  color: #396BBA;
  text-align: center;
}

/* PRODUCT LISTINGS (ETBs, boosters, accessories, etc.) */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
}
.listing-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  transition: box-shadow 0.2s ease;
}
.listing-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.listing-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.75rem;
}
.listing-item .resizetext {
  font-size: 0.95rem;
  font-weight: 600;
  color: #396BBA;
}

/* HERO SECTION */
.hero {
  background: #fff;
  padding: 3rem 1rem;
}
.hero-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.hero-image img {
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hero-content { max-width: 500px; }
.hero-content h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #396BBA;
}
.hero-content p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* BUY BUTTONS */
.buy-buttons {
  display: flex;
  gap: 1rem;
}
.buy-buttons a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.buy-buttons a:hover { transform: scale(1.05); }
.amazon-btn { background: #FF9900; color: #fff; }
.amazon-btn:hover { background: #e68a00; color: #fff; }
.gamestop-btn { background: #E60012; color: #fff; }
.gamestop-btn:hover { background: #b0000f; color: #fff; }

/* SET LOGOS GRID */
.set-logos {
  background: #fff;
  padding: 2rem 1rem;
  margin-top: 2rem;
}
.set-logos h2 {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 1.5rem;
  color: #396BBA;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
}
@media (max-width: 992px)  { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .logo-grid { grid-template-columns: 1fr; } }

.logo-grid img {
  max-height: 50px;
  transition: transform 0.2s ease;
}
.logo-grid img:hover { transform: scale(1.1); }

/* FOOTER */
.tcg-footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}
.tcg-footer a { text-decoration: none; }
.tcg-footer a:hover {
  text-decoration: none;
  color: #00ffff; /* aqua hover for footer links */
}