
/* body */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Michroma&family=Rajdhani:wght@300;400;500;600;700&display=swap');

body {
  background-color: #f8f9fa;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Rajdhani", sans-serif;
}

/* header */

.navbar-brand img {
  width: 250px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  display: block;
}

/* main */
main {
  padding: 0px;
}

main.cards {
  flex: 1; 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: rgba(0, 78, 100, 0.85);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); 
  backdrop-filter: blur(12px);
  max-width: 350px;
  margin: 40px auto;
  color: white;
  flex-direction: column;
  overflow: hidden;
}


.card-img-container {
  background-color: transparent;
  padding: 10px;
}

.card-img-container img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.card-content {
  padding: 15px;
}

.product-title {
  font-family: "Michroma", sans-serif;
  font-size: 1rem;
  background: linear-gradient(to right, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-weight: 600;
}

.price-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* quantity controls */

.value, #quantity-display, .total-container p{
  font-family: 'JetBrains Mono', monospace;
  color: #FFFFFF;
  font-size: 1rem;
}

.quantity-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  margin: 0;
}

.qty-label{
  margin-top: 15px;
  font-size: 1.2rem;
}

.label, .qty-label{
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.button-group {
  display: flex;
  gap: 5px;
}

.qty-btn {
  background: none;
  color: #FFFFFF;
  border: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  transform: scale(1.3);
}

.qty-btn:active {
  transform: scale(0.9);
}

/* aside */

.total-container {
  padding-top: 30px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 400;
}

.shopping-cart{
  background: linear-gradient(135deg, #00d4ff 0%, #004e64 100%);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.shopping-cart i{
  font-size: 1.1rem;
}

.shopping-cart:hover{
  color: #000;
  transform: translateY(-3px);
}

.shopping-cart:active{
  transform: translateY(1px);
}



/* footer */
footer {
  background-color: #004e64;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: auto;
}