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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #285056;
  color: #ffffff;
}

.main-layout {
  background-color: #285056;
  min-height: 100vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #285056;
}
.navbar__left img {
  width: 100px;
  cursor: pointer;
}
.navbar__center {
  text-align: center;
}

.navbar-title {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.navbar-merchant-name {
  font-size: 0.9rem;
  opacity: 0.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.input-search-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.input-search {
  width: 100%;
  padding: 10px 40px 10px 15px;
  background-color: #1e3d41;
  border: none;
  color: #ffffff;
  border-radius: 5px;
}

.input-search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-column {
  flex: 1;
  min-width: 250px;
}

.product {
  background-color: #1e3d41;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.product:hover {
  transform: scale(1.05);
}

.product__media-container {
  background-color: #1e3d41;
}

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

.product__details {
  padding: 15px;
}

.product__details__name {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.product__details__price {
  font-weight: bold;
  font-size: 1.2rem;
}

.product__details__price s {
  font-size: 14px;
  font-weight: 100;
}

/* Product Modal */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 40px 0; /* Adds spacing at the top and bottom */
}

.product-modal.show {
  display: flex;
}

.product-modal-content {
  background: #fff;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Adds some depth */
  max-height: 90vh; /* Prevents the modal from being too large */
  overflow-y: auto; /* Allows scrolling if content is too long */
}

.product-modal-image {
  max-width: 70%;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
}

.product-modal-title {
  color: #1e3d41;
}

.product-modal-description {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #285056;
}

.pay-button {
  background-color: #1e3d41;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.pay-button:hover {
  background-color: #2c6268;
}
