@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v22/pxiByp8kv8JHgFVrLDz8V1s.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v22/pxiEyp8kv8JHgFVrFJA.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v22/pxiByp8kv8JHgFVrLGT9V1s.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v22/pxiByp8kv8JHgFVrLEj6V1s.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v22/pxiByp8kv8JHgFVrLCz7V1s.ttf) format('truetype');
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin: 0;
}
.product-card {
  list-style: none;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.product-card .product-top {
  line-height: 0;
}
.product-card .product-top img {
  width: 100%;
}
.product-card .product-details {
  padding: 5px;
  font-size: 16px;
}
.product-card .product-details .price.hidden {
  display: none;
}
.product-card .product-details .product-name {
  display: flex;
  min-height: 48px;
  align-items: center;
}
.product-card .product-details .product-name span {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  max-height: 48px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card .product-details .product-price {
  font-weight: 700;
  font-size: 17px;
}
.product-card .product-details .price.hidden {
  display: none;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.popup-container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  max-width: 350px;
  width: 90%;
}
.popup-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.popup-buttons button {
  flex: 1;
  min-width: 148px;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}
body .mobile {
  display: none;
}
body .content-wrapper {
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}
body .primary-button {
  background-color: #356ff7;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  transition: all ease 0.5s;
  text-decoration: none;
  font-size: 14px;
}
body .primary-button:hover {
  background-color: #1e4ab1;
}
body .secondary-button {
  background-color: #fff;
  border: 1px solid #1e4ab1;
  color: #1e4ab1;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  transition: all ease 0.5s;
  text-decoration: none;
}
body .secondary-button:hover {
  background-color: #1e4ab1;
  color: #fff;
}
body .title-home {
  color: #1e4ab1;
  position: relative;
  margin-bottom: 15px;
}
body .title-home::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  background-color: #1e4ab1;
  height: 2px;
}
body .title-home span {
  position: relative;
  z-index: 1;
  padding-right: 10px;
  background-color: #fff;
}
body .swiper-container {
  position: relative;
}
body .swiper-container .swiper-button-next,
body .swiper-container .swiper-button-prev {
  background-color: #356ff7;
  color: #fff;
  width: 40px;
  top: calc(50% - 20px);
  height: 40px;
  border-radius: 50%;
  transition: all ease 0.5s;
}
body .swiper-container .swiper-button-next:hover,
body .swiper-container .swiper-button-prev:hover {
  background-color: #1e4ab1;
}
body .swiper-container .swiper-button-next::after,
body .swiper-container .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}
body .swiper-container .swiper-pagination .swiper-pagination-bullet-active {
  background: #1e4ab1;
}
body header {
  background-color: #fff;
  padding: 10px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
body header .content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body header .content-wrapper .logo-container a {
  display: block;
  line-height: 0;
}
body header .content-wrapper .logo-container a img {
  max-width: 120px;
}
body main > .content-wrapper {
  margin: 30px auto;
}
body .main-slider {
  overflow: hidden;
}
body .main-slider img {
  width: 100%;
}
body .family-slider {
  padding-bottom: 30px;
}
body .family-slider .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
body .family-slider .swiper-slide img {
  border-radius: 50%;
}
body .family-slider .swiper-slide a {
  text-decoration: none;
}
body .family-slider .swiper-slide .family-name {
  text-align: center;
  color: #0f0f0f;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 47px;
}
body .family-slider .swiper-slide .family-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  max-height: 48px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body .product-slider {
  padding-bottom: 40px;
}
body .product-slider .swiper-slide {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
body footer {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}
body footer .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
body footer .row img.footer-logo {
  display: block;
  max-width: 200px;
  margin: auto;
  width: 100%;
}
body footer .row .footer-col {
  width: 25%;
  min-width: 200px;
  padding: 0 20px;
}
body footer .row h4 {
  color: #0f0f0f;
}
body footer .row ul li {
  list-style: none;
}
body footer .row ul li a {
  color: #0f0f0f;
  text-decoration: none;
}
body footer .row .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
body footer .row .social-links a {
  background-color: #1e4ab1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 60%;
  color: #fff;
  text-decoration: none;
  transition: all ease 0.5s;
}
body footer .row .social-links a:hover {
  animation: bounce 0.6s ease infinite;
}
body footer .bottom-footer {
  background-color: #1e4ab1;
  padding: 15px 5px;
  text-align: center;
  color: #fff;
}
@media (max-width: 600px) {
  body .mobile {
    display: block;
  }
  body .desktop {
    display: none;
  }
  body header .content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  body header .content-wrapper .logo-container img {
    max-width: 100px;
  }
  body header .content-wrapper .user-icon-container {
    min-width: 100px;
    display: flex;
    justify-content: center;
  }
  body main > .content-wrapper {
    padding: 0 10px;
  }
  body .swiper-container {
    position: relative;
  }
  body .swiper-container .swiper-button-next,
  body .swiper-container .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
  body .swiper-container .swiper-button-next::after,
  body .swiper-container .swiper-button-prev::after {
    font-size: 13px;
  }
  body footer.footer .row {
    gap: 10px;
  }
  body footer.footer .row .footer-col {
    width: 100%;
    text-align: center;
  }
  body footer.footer .row img.footer-logo {
    max-width: 180px;
  }
}
