* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Roboto", sans-serif;
  background-color: #f0f2f5;
  color: #333;
  margin: 0;
  padding: 0;
  height: 100%;
}

#product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #333;
}

.product-card p {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.product-card a {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.product-card a:hover {
  background-color: #0056b3;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-button {
  margin-bottom: 20px; /* Add space between button and currency selector */
}

.currency-selector-container {
  margin-top: 10px; /* Add some space above the currency selector */
}

#currency-selector {
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  color: #333;
}
/* Product Details Page Styles */
.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  margin-top: 100px;
}

.product-header h1 {
  font-size: 3rem;
  color: #333;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#product-details {
  display: flex;
  gap: 2rem;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

#product-details img {
  width: 50%;
  max-height: 600px;
  object-fit: cover;
}

#product-details .product-info {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#product-details h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

#product-details p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 2rem;
}

#product-details .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
}

#product-details .buy-button {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#product-details .buy-button:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Product Details */
@media (max-width: 1024px) {
  .product-container {
    padding: 3rem 1.5rem;
  }

  #product-details {
    flex-direction: column;
    gap: 2rem;
  }

  #product-details img {
    width: 100%;
    max-height: 400px;
  }

  #product-details .product-info {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  #product-details h2 {
    font-size: 2rem;
  }

  #product-details p {
    font-size: 1rem;
  }

  #product-details .price {
    font-size: 1.8rem;
  }

  #product-details .buy-button {
    font-size: 1.1rem;
    padding: 0.9rem 1.8rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  #product-details {
    flex-direction: column;
  }

  #product-details img {
    width: 100%;
  }
}

/* Hero Section Improvements */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/hat1.jpg"); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 1;
  padding: 2rem;
  /* background-color: rgba(0, 0, 0, 0.5); Semi-transparent overlay */
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }
}

/* Merch Categories Section */
#merch-categories {
  padding: 4rem 2rem;
  background-color: #f8f8f8;
}

.category-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-item {
  flex: 1;
  max-width: 300px;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateY(-10px);
}

.category-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-item span {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Header visibility */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

#main-header.hidden {
  transform: translateY(-100%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .category-container {
    flex-direction: column;
    align-items: center;
  }

  .category-item {
    max-width: 100%;
  }
}

.featured-products {
  margin-top: 2rem;
}

.featured-products h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.featured-product {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  padding: 1rem;
  text-align: center;
}

.featured-product img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.featured-product h3 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.featured-product .price {
  font-weight: bold;
  color: #007bff;
}

/* Replace the existing footer styles with these new styles */

.footer-content {
  background-color: #222;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  margin-top: 100px;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
}

.footer-social {
  margin-bottom: 1rem;
}

.social-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 0.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 1;
}

.facebook {
  background-image: url("path/to/facebook-icon.png");
}
.twitter {
  background-image: url("path/to/twitter-icon.png");
}
.instagram {
  background-image: url("path/to/instagram-icon.png");
}
.youtube {
  background-image: url("path/to/youtube-icon.png");
}

.footer-copyright {
  font-size: 0.8rem;
  color: #ccc;
}

/* Responsive design for footer */
@media (max-width: 768px) {
  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }

  .footer-social {
    margin-top: 1rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    max-width: 95%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-header {
  background-color: #000;
  color: #fff;
  padding: 2px 0;
}

.color-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
}

.color-option.selected {
  border-color: #000;
}

.product-options {
  margin-top: 20px;
}

.product-options label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

#size-select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.color-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.color-option.selected {
  border-color: #007bff;
}

/* Cart Page Styles */
.cart-container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 200px;
}

.cart-container h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  color: #2c3e50;
  font-weight: 600;
}

.cart-items {
  margin-bottom: 40px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-info {
  flex-grow: 1;
  margin-left: 30px;
}

.cart-item-info h3 {
  margin: 0;
  font-size: 1.2em;
  color: #2c3e50;
  font-weight: 600;
}

.cart-item-info .price {
  margin-top: 10px;
  font-size: 1.1em;
  color: #3498db;
  font-weight: 600;
}

.remove-button {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.remove-button:hover {
  background-color: #c0392b;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px;
  background-color: #ecf0f1;
  border-radius: 15px;
}

.cart-total {
  font-size: 1em;
  color: #2c3e50;
  font-weight: 600;
}

.checkout-button {
  padding: 15px 30px;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.checkout-button:hover {
  background-color: #27ae60;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cart-container {
    padding: 20px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item img {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
  }

  .cart-item-info {
    margin-left: 0;
  }

  .cart-summary {
    flex-direction: column;
    gap: 20px;
  }
}

/* Add these styles at the end of your merch.css file */

.checkout-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.checkout-container h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  color: #2c3e50;
  font-weight: 600;
}

#checkout-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
  font-size: 1em;
}

.submit-order {
  padding: 15px 30px;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-order:hover {
  background-color: #27ae60;
  transform: translateY(-3px);
}

#order-summary {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .checkout-container {
    padding: 20px;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 40px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#checkout-form {
  display: grid;
  gap: 20px;
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
  font-size: 1em;
}

.submit-order {
  padding: 15px 30px;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-order:hover {
  background-color: #27ae60;
  transform: translateY(-3px);
}

#order-summary {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

#order-summary p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 20px;
  }
}

/* Add this to your existing styles in merch.css */

.payment-info {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payment-info h4 {
  color: #495057;
  font-size: 1.1em;
  margin-bottom: 15px;
  border-bottom: 1px solid #ced4da;
  padding-bottom: 10px;
}

.payment-info p {
  margin: 10px 0;
  font-size: 0.95em;
  color: #495057;
  line-height: 1.5;
}

.payment-info p strong {
  color: #212529;
  font-weight: 600;
}

.payment-info .account-details {
  background-color: #e9ecef;
  border-radius: 6px;
  padding: 15px;
  margin-top: 15px;
}

.payment-info .account-details p {
  margin: 5px 0;
}

.payment-info .or-separator {
  text-align: center;
  margin: 15px 0;
  color: #6c757d;
  font-weight: 600;
}

.payment-info .shipping-info {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #ced4da;
}

.payment-info .shipping-info p {
  color: #6c757d;
  font-style: italic;
}

/* Add these new styles for better responsiveness */

@media (max-width: 768px) {
  .payment-info {
    padding: 15px;
  }

  .payment-info h4 {
    font-size: 1em;
  }

  .payment-info p {
    font-size: 0.9em;
  }
}

#success-modal .modal-content {
  background-color: #f0f8ff; /* Light blue background */
  border: 1px solid #4caf50; /* Green border */
  text-align: center;
  margin-top: 350px;
}

#success-modal h2 {
  color: #4caf50; /* Green text for the header */
  text-align: center;
}

#success-modal p {
  text-align: center;
  margin-bottom: 20px;
}

#success-ok-button {
  background-color: #4caf50; /* Green background for the button */
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
  width: 100%;
}

#success-ok-button:hover {
  background-color: #45a049; /* Darker green on hover */
}

/* Add this to your existing styles in merch.css */

.payment-info .disclaimer {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 4px;
  padding: 10px;
  margin-top: 15px;
  color: #856404;
  font-size: 0.9em;
}

.payment-info .disclaimer strong {
  color: #856404;
}
