@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: white;
}

.general-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.catalog {
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.catalog-title {
  font-weight: 700;
  font-size: 1.5rem;
  height: 20%;
}

.parfum-title {
    font-size: 100px;
    height: 100%;
    cursor: pointer;
    font-family: "Playfair Display", serif;
}

.titles-section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.arabic-title {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.principal-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-fragance {
    max-height: 50%;
}

.card-img-top {
  width: 40%;  
  height: 150px;
  object-fit: contain;
  border-radius: 0.5rem;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: row;
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.before-price {
    text-decoration: line-through;
    color: #A1A1A1;
    margin-bottom: 0;
    font-size: 0.50rem;
}

.card-text {
    margin: 0;
    font-size: 0.8rem;
}

.title-fragance {
    margin: 0;
    font-size: 0.8rem;
}

.discount-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: black;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.no-stock {
    font-size: small;
    background-color: #999;
    border: none;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.9rem;
  gap: 0.5rem;
}

.price-now {
  font-size: 0.90rem;
  font-weight: 700;
}

.before-price {
  font-size: 0.75rem;
  text-decoration: line-through;
  color: #999;
  margin: 0;
}

.brand-title {
    font-size: 0.8rem;
}

.buy-title {
    font-size: 0.7rem;
    font-weight: 900;
}

.information {
  width: 100%;
  height: 50px;
  color: white;
  background-color: black;
}

.information-icon {
  width: 30px;
  height: 30px;
}

#no-results {
  color: #CCC;
  min-height: 100%;
  display: none;
  text-align: center;
}

#logo {
    width: 700px;
    height: 330px;
    object-fit: cover;
}

#logo-navbar {
  height: 70px;
  object-fit: contain;
}

#searcher {
    border-radius: 15px;
    border: 1px solid #b7b7b7;
    padding: 3px 10px;
}

#searcher:focus {
  border-color: 10px solid #ccc !important;
  outline: none; 
}

@media (max-width: 576px) {
  #logo-navbar {
    height: 60px;
  }
  
  .navbar .w-100 {
    flex-direction: column;
    align-items: stretch;
  }

  .navbar .container-fluid {
    flex-direction: column;
    align-items: stretch;
  }
}