/* General Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #121212;
  color: #f5f5f5;
  margin: 0;
  padding: 0;
}

h1, h2 {
  font-weight: 500;
  color: #f5f5f5;
}

/* Header Styles */
header {
  background-color: #1f1f1f;
  color: #f5f5f5;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 i {
  color: #e91e63;
}

nav button {
  margin: 0 10px;
  padding: 10px;
  background-color: #333;
  color: #e91e63;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

nav button:hover {
  background-color: #e91e63;
  color: #fff;
  transform: scale(1.05);
}

#search {
  margin-top: 10px;
  padding: 8px;
  width: 90%;
  max-width: 400px;
  background-color: #333;
  color: #f5f5f5;
  border: 1px solid #555;
  border-radius: 6px;
}

/* Main Section Styles */
main {
  padding: 20px;
}

section {
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  background-color: #1f1f1f;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

/* Product and Cart Item Styles */
.product {
  background-color: #333;
  color: #f5f5f5;
  border-radius: 8px;
  padding: 16px;
  margin: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 200px;
  display: inline-block;
  text-align: center;
  vertical-align: top;
}

.product:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.5);
}

.product img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}

.product h3 {
  font-weight: bold;
  font-size: 1.2em;
  color: #e91e63;
  margin-bottom: 8px;
}

.product p {
  color: #bbb;
}

.product button {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #e91e63;
  color: #f5f5f5;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.3s ease;
}

.product button:hover {
  background-color: #ff6090;
}

/* Cart Section */
#cart-list p {
  color: #bbb;
  font-style: italic;
}

/* Profile Section */
form {
  display: flex;
  flex-direction: column;
}

form label {
  margin: 10px 0 5px;
  color: #f5f5f5;
}

form input, form textarea {
  padding: 10px;
  background-color: #333;
  color: #f5f5f5;
  border: 1px solid #555;
  border-radius: 6px;
  outline: none;
}

form input:focus, form textarea:focus {
  border-color: #e91e63;
}

form button {
  margin-top: 15px;
  padding: 10px;
  background-color: #e91e63;
  color: #f5f5f5;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #ff6090;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: #1f1f1f;
  color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  text-align: center;
}

.modal-content h2 {
  color: #e91e63;
  margin-bottom: 10px;
}

.modal-content label {
  display: block;
  margin-top: 10px;
  text-align: left;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  background-color: #333;
  color: #f5f5f5;
  border: 1px solid #555;
  border-radius: 6px;
}

.modal-content button {
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #e91e63;
  color: #f5f5f5;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.modal-content button:hover {
  background-color: #ff6090;
}

.modal-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
  color: #e91e63;
  transition: color 0.3s ease;
}

.modal-content .close:hover {
  color: #ff6090;
}
