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


body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #792626, #aa3838);
      margin: 0;
      padding: 0;
      text-align: center;
    }

    .navbar {
  display: flex;
  justify-content: center;
  align-items: center; 
  flex-wrap: wrap;
  position: fixed;
  top: 2.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  z-index: 1000;
}


.navbar a {
  font-size: 16px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.5s ease;
  border-radius: 8px;
}

.dropdown .dropbtn {
  min-height: 0px; /* ensures consistent visuals, but won't move surrounding items down */
  box-sizing: border-box;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  position: relative;
  bottom: 5px;
}



.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red; 
}

.dropdown-content a {
  float: none;
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #575656;
}
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 12px;
  z-index: 1;
  flex-direction: column;
  padding: 5px 0;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.navbar .dropbtn {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;         /* ensure all text is same */
  font-size: 16px;              /* match link font-size */
  color: white;               /* same color as links */
  background: rgba(0, 0, 0, 0.6);          /* same background styling */     
  padding: 12px 20px;           /* same spacing */
  border-radius: 8px;           /* match anchor border radius */
  cursor: pointer;              /* pointer on hover */
  transition: background 0.5s ease;
  backdrop-filter: blur(10px);   /* inherit blur effect */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  
}

/* Hover effect consistent with a:hover */
.navbar .dropbtn:hover,
.navbar a:hover {
  background-color: red;
}

    .cart-container {
      position: fixed;
      top: 150px;
      right: 10px;
      background: #4c1f1e;
      padding: 10px 15px;
      border-radius: 10px;
      box-shadow: 0 0 12px #FFFFFF;
      z-index: 9999;
      color: #ffffff;
    }

    .cart-link {
      background: #ff0000;
      color: black;
      padding: 6px 12px;
      border-radius: 6px;
      margin-left: 10px;
      text-decoration: none;
      font-weight: bold;
    }

    .cart-link:hover {
      background: #FFFFFF;
    }

    .product {
      max-width: 420px;
      margin: 120px auto 60px;
      background: #502525;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 0 25px rgba(0,0,0,0.8);
    }

    .product img {
      width: 100%;
      border-radius: 8px;
    }

    .product h2 {
      font-size: 24px;
      margin: 20px 0 10px;
      color: #000000;
    }

    .price {
      color: #2ecc71;
      font-size: 1.8rem;
      margin: 10px 0;
    }

    .product p {
      font-size: 15px;
      color: #ccc;
    }

    select, button {
      margin-top: 10px;
      padding: 10px;
      width: 100%;
      border-radius: 6px;
      border: none;
      font-size: 1rem;
    }

    button:hover {
      background: #cc2e2e;
    }

h4 {
    color: white
  }

/* Label style */
.deck-label {
  display: block;
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #ff1414;
  font-weight: bold;
}

/* Select box style */
#deck-size {
  background: #1c1c1c;
  color: #ff3f3f;
  border: 2px solid #ffffff;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#deck-size:hover {
  background: #292929;
  border-color: #ffffff;
}

#cart-container {
      position: fixed;
      top: 150px;
      right: 10px;
      background: #4c1f1e;
      padding: 10px 15px;
      border-radius: 10px;
      box-shadow: 0 0 12px #FFFFFF;
      z-index: 9999;
      color: #ffffff;
    }

    .cart-link {
      background: #ff0000;
      color: black;
      padding: 6px 12px;
      border-radius: 6px;
      margin-left: 10px;
      text-decoration: none;
      font-weight: bold;
    }

    .cart-link:hover {
      background: #FFFFFF;
    }

    /* make the product container relative so our arrow can sit on it */
.product .image-container {
  position: relative;
  display: inline-block;
}

/* style & position the circular arrow */
#next-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #000;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}
#next-btn:hover {
  background: #222;
}
#next-btn i {
  font-size: 1.5rem;
  color: #3fff43; /* neon green arrow */
}

/* fade transition on the image */
.product .image-container img {
  display: block;
  transition: opacity 0.5s ease;
}
  
    @media (max-width: 600px) {
      .product {
        margin-top: 140px;
        margin-left: 20px;
        margin-right: 20px;
      }
     #cart-container {
    position: fixed;
    top: auto;
    bottom: 5px;
    left: 0;
    right: 0;
    background: #4c1f1e;
      padding: 10px 15px;
      border-radius: 10px;
      box-shadow: 0 0 12px #ffffff;
      z-index: 9999;
      color: #ffffff;
    }

  .cart-link {
    margin-left: 20px;
  }
  
.navbar a, .dropdown .dropbtn {
    font-size: 14px;
    padding: 10px 12px;
  }

  .dropdown-content {
    min-width: 140px;
  }

}
    