body {
  margin: 0;
  font-family: 'Cardo', serif;
  background-color: #0d0a1a;
  background-image: url('backgrounds/pattern.png');
  background-size: 300px 300px;
  background-repeat: repeat;
  color: #c2b280;
  padding: 2rem;
}

.container {
  max-width: 800px;
  margin: auto;
}

nav {
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.card {
  background: rgba(13, 10, 26, 0.85);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #c2b280;
  font-family: 'Cardo', serif;
  font-size: 1.1rem;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: #c2b280;
}

.card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #c2b280;
  font-family: 'Cinzel Decorative', serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card p, .card li {
  font-size: 1.1rem;
  color: #c2b280;
}

img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #444;
}

button, select {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem;
  padding: 0.4rem 0.75rem;
  color: #c2b280;
  background-color: rgba(13, 10, 26, 0.85);
  border: 1px solid #c2b280;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(194, 178, 128, 0.3);
  transition: box-shadow 0.2s ease-in-out;
}

select:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(194, 178, 128, 0.7);
}

.controls {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

header {
  text-align: center;
}

header p {
  font-family: 'Cardo', serif;
  font-size: 1rem;
  color: #c2b280;
  margin-top: 0.5rem;
}

nav button {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #c2b280;
  background: transparent;
  border: 1px solid #c2b280;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

nav button:hover {
  background-color: #c2b280;
  color: #0d0a1a;
}

header img {
  border: none;
  border-radius: 0;
}

.logo {
  width: 512px;
  height: 341px;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: 0;
}

.character-profile {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  background: rgba(13, 10, 26, 0.85);
  border: 1px solid #c2b280;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 2rem;
}

.character-profile img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border: 1px solid #c2b280;
  border-radius: 0.5rem;
}

.character-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.character-details h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: #c2b280;
  text-transform: uppercase;
}

.character-details p {
  font-family: 'Cardo', serif;
  font-size: 1.25rem;
  margin: 0.25rem 0;
  color: #c2b280;
}

.character-description {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #c2b280;
  font-family: 'Cardo', serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #c2b280;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .store-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.store-product {
  background: rgba(13, 10, 26, 0.85);
  border: 1px solid #c2b280;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  color: #c2b280;
}

.store-product img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border: 1px solid #444;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.store-product h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.store-product p {
  font-family: 'Cardo', serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.store-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


#cartPreview {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: rgba(13, 10, 26, 0.95);
  color: #c2b280;
  border: 1px solid #c2b280;
  border-radius: 0.5rem;
  padding: 1rem;
  max-width: 250px;
  font-family: 'Cardo', serif;
  font-size: 0.95rem;
  z-index: 1000;
}

#cartPreview ul {
  padding-left: 1rem;
  margin: 0.5rem 0;
}

#cartPreview li {
  margin-bottom: 0.25rem;
}


/* Style PayPal buttons to match site */
.store-product form input[type="submit"] {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  padding: 0.4rem 1rem;
  background-color: rgba(13, 10, 26, 0.85);
  color: #c2b280;
  border: 1px solid #c2b280;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.store-product form input[type="submit"]:hover {
  background-color: #c2b280;
  color: #0d0a1a;
}
