main {
  min-height: 80vh;
}

a {
  text-decoration: none;
}

.rating span {
  margin: 0.1rem;
}

.rating i {
  color: #f8e825;
}

.rating-text {
  font-size: 0.8rem;
  font-weight: 600;
  padding-left: 0.5rem;
}

.product-title {
  height: 2.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-img {
  width: 237px;
  height: 237px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

table td,
table th {
  text-align: center;
  vertical-align: middle;
}

.review {
  margin-top: 30px;
}

.review h2 {
  font-size: 24px;
  background: #f4f4f4;
  padding: 10px;
  border: 1px solid #ddd;
}

.carousel-caption {
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.carousel-item img {
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.blog-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-card {
  width: 100%;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.about-cover {
  min-height: 360px;
  background-position: center;
  background-size: cover;
  border-radius: 0.25rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.about-cover-content {
  width: 100%;
  padding: 3rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
}

.about-cover-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0;
}

.about-section-img,
.home-about-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0.25rem;
  display: block;
}

.about-copy {
  color: #5f6770;
  font-size: 1.05rem;
  line-height: 1.8;
}

.admin-preview-img {
  max-width: 260px;
  max-height: 150px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .blog-masonry {
    grid-template-columns: 1fr;
  }

  .about-cover {
    min-height: 260px;
  }

  .about-cover-content {
    padding: 2rem;
  }
}

.navbar .dropdown-menu {
  background-color: #212529;
  border-color: rgba(255, 255, 255, 0.15);
}

.navbar .dropdown-item {
  color: #fff;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: #fff;
  background-color: #3c4c5d;
}

.navbar .admin-dropdown-menu.show {
  animation: adminDropdownSlide 180ms ease-out;
  transform-origin: top center;
}

@keyframes adminDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
