@font-face {
  font-family: 'Kingthings Trypewriter 2';
  src: url('fonts/Kingthings-Trypewriter 2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  color: #ddd;
  font-family: 'Kingthings Trypewriter 2', monospace;
  margin: 0;
  line-height: 1.5;
}

/* Header */
header {
  background: #111;
  text-align: center;
  padding: 25px 20px 20px;
  border-bottom: 4px solid #b71c1c;
}

.logo {
  max-width: 320px;
  width: 90%;
  height: auto;
  margin: 0 auto 15px;
}

header p {
  font-size: 1.15rem;
  letter-spacing: 3px;
  color: #aaa;
  margin: 12px 0 0;
  text-transform: uppercase;
}

/* Navigation */
nav {
  background: #1a1a1a;
  padding: 14px 0;
  text-align: center;
  border-bottom: 2px solid #b71c1c;
}

nav a {
  color: #ccc;
  font-size: 1.1rem;
  margin: 0 20px;
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

nav a:hover,
nav a.current {
  color: #b71c1c;
}

/* Cart button */
paypal-cart-button {
  display: block;
  margin: 12px auto 0;
  max-width: 180px;
}

/* Zines Store Grid */
.zines {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

#zines.releases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Individual Zine Card */
.release {
  background: #1a1a1a;
  border: 3px solid #600;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.release:hover {
  border-color: #b71c1c;
}

/* 🔻 IMAGE SIZE FIX */
.release img {
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto 14px;
  border: 2px solid #333;
}

/* Sold Out Overlay */
.soldout {
  opacity: 0.35;
  pointer-events: none;
}

.soldout::after {
  content: "SOLD OUT";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Kingthings Trypewriter 2', monospace;
  font-size: 2.1rem;
  font-weight: bold;
  letter-spacing: 6px;
  color: #b71c1c;
  pointer-events: none;
  z-index: 10;
}

/* Card text */
.release h2 {
  font-size: 1.55rem;
  color: #b71c1c;
  letter-spacing: 3px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.release h3 {
  font-size: 1.1rem;
  color: #eee;
  margin: 0 0 12px;
  line-height: 1.3;
}

.info {
  color: #ccc;
  font-size: 0.98rem;
  margin: 8px 0 12px;
  line-height: 1.5;
}

.stock {
  font-size: 1.25rem;
  color: #b71c1c;
  letter-spacing: 2px;
  margin: 6px 0 12px;
}

.price {
  background: #111;
  border: 3px solid #b71c1c;
  color: #fff;
  padding: 10px 18px;
  font-size: 1.25rem;
  letter-spacing: 2px;
  display: inline-block;
  margin: 8px 0 12px;
  text-align: center;
  width: 100%;
}

/* Buy Section */
.buy-section {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buy-btn {
  width: 100%;
  display: block;
  background: #b71c1c;
  color: #000;
  border: 3px solid #fff;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.buy-btn:hover {
  background: #000;
  color: #b71c1c;
  border-color: #b71c1c;
}

/* PayPal buttons */
paypal-add-to-cart-button,
paypal-cart-button {
  width: 100% !important;
  display: block !important;
  box-shadow: none !important;
  border: none !important;
  background: none !important;
}

/* Intro text */
.zines-intro {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Footer */
footer {
  background: #111;
  color: #777;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.95rem;
  border-top: 2px solid #b71c1c;
}

footer a {
  color: #b71c1c;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 22px 20px 18px;
  }

  .logo {
    max-width: 280px;
  }

  nav a {
    margin: 0 12px;
    font-size: 1rem;
  }

  #zines.releases {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .release {
    padding: 14px;
  }

  .zines-intro {
    font-size: 1.05rem;
  }
}