:root {
  --text-yellow: #ffbd27;
  --font-roboto: Roboto;
}

.y_nav {
  top: 103px !important;
}

/* .y_nav_background{
height: 98px !important; 
} */

.heart {
  z-index: 1;
  position: absolute;
  top: 13px;
  right: 13px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;

  svg{
    transform: scale(1.2);
  }

}




.heart[data-prefix="fas"] {
  color: #de5d54;
}

.heart:hover {
  color: #de5d54;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--Radius-8, 8px);
  align-self: stretch;
  padding: 8px 0 8px 50px;

  color: #363636;
  text-align: center;
  font-family: "Roboto";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;

  span {
    color: var(--text-yellow);
    font-family: "Roboto";
  }
}

#search_box_container {
  padding: 24px 0;
  align-self: stretch;
  width: 87.8%;
}

.y_container #search_box_container .y_search_box .search_box_input {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-around;
  background: #f2f2f2;
  border-radius: 30px;
  padding: 5px;
}

.y_container #search_box_container .y_search_box .global_search {
  margin-left: auto;
  padding: 2px 15px 0 10px;
  color: #c4c4c4;
}

.y_global_search_input::placeholder {
  color: #c4c4c4;
  font-family: "Roboto";
  font-weight: 500;
  line-height: 18px;
  font-size: 14px;
}

.y_global_search_input:hover::placeholder {
  color: #ffbd27;
}

.y_container
  #search_box_container
  .y_search_box
  .search_box_input:focus-within {
  border: 1px solid #ffbd27;
  background-color: #fff;
}

.y_container
  #search_box_container
  .y_search_box
  .search_box_input
  .input_container {
  width: 90%;
}
.y_container
  #search_box_container
  .y_search_box
  .search_box_input
  .input_container
  input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  padding-left: 16px;
}
.y_container #search_box_container .y_search_box .search_box_input button {
  background: transparent;
  border: none;
}
.y_container #search_box_container .y_search_box .search_box_input:hover {
  border: 1px solid #f6ab00;
  background: rgb(255, 255, 255) !important;
}
.y_container
  #search_box_container
  .y_search_box
  .search_box_input:hover
  button {
  color: #f6ab00;
}

.y_container #search_box_container .y_hot_search {
  margin: 5px 15px;
  flex-wrap: wrap;
  gap: 12px;
  background: #fff;
  padding: 16px;
  border-radius: 5px;
  box-shadow: 3px 2px 5.2px 0px rgba(196, 196, 196, 0.12);
  transition: all 0.2s ease;
}
.y_container #search_box_container .y_hot_search .list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  margin-left: 5px;
  gap: 0px 10px;
  cursor: pointer;
}
.y_container #search_box_container .y_hot_search .list .item {
  margin-top: 10px;
  border-radius: 32px;
  background: #f2f2f2;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #363636;
  padding: 4px 8px;
}

.y_container #search_box_container .y_hot_search .list .item:hover {
  background-color: #c4c4c4;
}

.y_hot_search {
  h2 {
    color: #363636;
    font-family: "Roboto";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.25px;
    padding-left: 8px;
  }
}

.y_container #search_box_container .hide {
  display: none;
}

/* body #wrapper .banner_carousel #myanLife_MainVisual {
margin-top: 154px ;
} */

.eg-content {
  height: 80px;
  width: 200px;
  background-color: #f6ab00;
}

.shop_carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0px 50px 0;

  .owl-carousel {
    width: 82%;
  }
}

.shop_carousel .item {
  margin: 3px;
}

.shop_carousel .item img {
  display: block;
  width: 100%;
  height: auto;
}

body #wrapper #myanLife_shop_partner .owl-theme .owl-nav .owl-prev {
  background: #c4c4c4 !important;
  left: 0px !important;
}

body #wrapper #myanLife_shop_partner .owl-theme .owl-nav .owl-next {
  background: #c4c4c4 !important;
  right: -1px !important;
}

body #wrapper #myanLife_shop_partner .shop_partner_content {
  width: 87% !important;
}

.owl-carousel .owl-item:last-child {
  margin-right: 0 !important; /* Remove right margin for the last item */
}

body #wrapper #myanLife_shop_partner .shop_partner_content .owl-nav .owl-prev {
  position: absolute;
  background: #c4c4c4;
  width: 50px;
  font-size: 36px;
  color: rgb(255, 255, 255);
  border: 0;
  border-radius: 5px;
  margin: 0;
  top: 0;
  bottom: 0;
  left: -30px;
  z-index: 10;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
body #wrapper #myanLife_shop_partner .shop_partner_content .owl-nav .owl-next {
  position: absolute;
  background: #c4c4c4;
  width: 50px;
  font-size: 36px;
  color: rgb(255, 255, 255);
  border: 0;
  border-radius: 5px;
  margin: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  right: -30px;
}
body #wrapper #myanLife_shop_partner .shop_partner_content .owl-nav .disabled {
  display: none;
}
body #wrapper .shop_partner_content .owl-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.shop_item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}

.shop_item_img {
  width: 168px;
  height: 168px;
}

.shop_item_img:hover {
  opacity: 0.7;
}

.writer_item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  
}

.writer_item_img {
  width: 168px;
  height: 168px;
  cursor: pointer;
}
.writer-carousel {
  margin-bottom: 20px;
}
.writer_item_hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: none;
  justify-content: center;
  color: black;
  line-height: 16px;
  letter-spacing: 0.15px;
  font-size: 10px;

  p {
    margin-left: 20px;
  }
}

.star_rating {
  margin-left: 20px;
  color: yellow;
}

.writer_item_img:hover .writer_item_hover {
  display: flex;
  flex-direction: column;
}

#myanLife_shop_partner {
  margin-top: 0px !important;
}

body #wrapper #myanLife_shop_partner .shop_partner_content {
  margin: 0px auto !important;
}
.shop_item_text {
  width: 136px;
  z-index: 9;
  margin-top: 220px;
  text-align: center;
  color: #363636;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.shop_carousel {
  /* padding: 30px 157px; */
  gap: 24px;
  align-self: stretch;
}

.shop_header {
  display: flex;
  padding: 24px 0px;
  align-items: center;
  gap: 32px;
  align-self: stretch;

  h1 {
    color: #363636;
    text-align: center;
    font-family: "Roboto";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
  }
}

.shop_header_square {
  display: flex;
  width: 125px;
  height: 24px;
  justify-content: center;
  align-items: flex-start;
  background-color: #ffbd27;
}

.y_navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  gap: 24px;

  text-align: center;
  font-family: "Roboto";
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;

  span {
    text-decoration: none;
    color: #363636;
    cursor: pointer;
  }

  .active {
    color: #ffbd27;
    font-weight: 600;
  }
}

/* start of infinity card */

.infinity-card-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 16px; 
    margin: 10px auto;
    justify-content: center;
    width: 87%;
}

.infinity-card {
  display: inline-block;
  align-items: center;
  justify-content: center;
  margin: 0 0 1em;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;

  .infinity-card-img {
    margin-bottom: 16px;
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    display: inline-block;
    object-fit: cover;
    transition: filter 0.3s ease;
    border-radius: 16px;
  }

  .infinity-card-img:hover,
  .infinity-card-img-container:hover .infinity-card-img {
    filter: brightness(0.5);
  }

  /* .infinity-card-bar-group {
    display: flex;
    align-items: center;
    gap: 8px;
  } */

  .infinity-card-bar-group {
    display: flex;
    align-items: center;
}

.infinity-card-bar-item {
    display: inline-flex;        
    align-items: center;        
    margin-right: 18px;        
}

.infinity-card-bar-item img {
    margin-right: 4px;           
    width: 100%;
    height: 100%;
}

.infinity-card-bar-item:last-child {
    margin-right: 0;            
}

  h3 {
    color: #363636;
    font-family: "Roboto";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
  }

  .infinity-card-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    width: 100%;
  }

  /* .infinity-card-bar-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
  } */

  p {
    color: #c4c4c4;
    padding-top: 2px;
    font-family: "Roboto";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.25px;
  }

  .text--yellow {
    color: #ffbd27;
    font-family: "Roboto";
    font-size: 12px;
  }

  .text--writer {
    color: #363636;
    font-family: "Roboto";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.15px;
  }
}

.img-large{
  height: 352px;
}

.img-medium{
  height: 264px;
}

.img-small{
  height: 198px;
}

.infinity-card-img-container {
  position: relative;

  .img-heart {
    z-index: 1;
    position: absolute;
    top: 28px;
    right: 4px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .img-heart[data-prefix="fas"] {
    color: #de5d54;
  }

  .img-heart:hover {
    color: #de5d54;
  }
  .pink_active{
    color: #de5d54;
  }
}

.infinity-content {
  padding: 0 8px;
}
.infinity-content h3{
  word-wrap: break-word;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* Limits the content to 2 lines */
  overflow: hidden;
  text-overflow: ellipsis; /* Adds '...' to cut-off text */
  line-height: 1.5; /* Adjust the line height for proper spacing */
  max-height: calc(1.5em * 2);
}

/* end of infinity-card */

/* infinity card css */
.infinity-container {
  width: 87%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px;
  justify-content: center;
}

.infinity-item {
  display: flex;
  flex-direction: column;

  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop_header_mobile {
  display: none;
}

/* ad container */
.ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 30px 0;

  img {
    width: 87%;
  }
}

.infinity-div {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 1200px) {
  .infinity-card-bar {
    flex-direction: column-reverse;
    padding: 6px 0;
    gap: 5px;
  }
  .shop_header {
    display: none;
  }
.heart{
 top: 10px;
 right: 10px;
  svg{
      transform: scale(1);
  }
}
  .ad-container img {
    width: 87.5%;
  }

  .shop_header_mobile {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #ffbd27;
    color: white;
    width: 186px;
    height: 46px;
    margin-bottom: 40px;
  }
  .infinity-card-img-container {
    .img-heart {
        
        top: -6px;
        right: -6px;
       
    }
  }
  .infinity-card {
    .infinity-card-img {
       
        border-radius: 9px;
    }
}
  .img-large{
    height: 216px;
  }

  .img-medium{
    height: 162px;
  }

  .img-small{
    height: 121.5px;
  }
}

@media only screen and (max-width: 768px) {
  .infinity-card-wrapper {
    grid-template-columns: repeat(2, 1fr); 
    width: 100%;
}
  .infinity-container {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
  .shop_item_text {
    margin-top: 195px;
  }
  .shop_header_mobile {
    border-radius: 8px;
    height: 46px;
    margin-bottom: 4px;
  }
  .heart {
  
  
    svg{
      transform: scale(1);
    }
  }

  .infinity-card-img-container {
    .img-heart {
        
        top: -6px;
        right: -6px;
       
    }
  }
  .y_container {
    padding: 0 32px;
  }

  .ad-container img {
    width: 100%;
  }

  .shop_carousel .owl-carousel {
    width: clamp(88%, 82vw, 91.5%);
  }

  #search_box_container {
    width: 100%;
  }
  body #wrapper #myanLife_shop_partner .shop_partner_content {
    width: 100% !important;
    margin: 0;
  }
  body
    #wrapper
    #myanLife_shop_partner
    .shop_partner_content
    .shop_partner_item {
    height: 28vw !important;
  }
  .img-large{
    height: 331.041px;
  }

  .img-medium{
    height: 248.339px;
  }

  .img-small{
    height: 186.029px;
  }
}

/* Media query for screen sizes up to 581px */
@media only screen and (max-width: 581px) {
  .infinity-card-wrapper {
    grid-template-columns: repeat(2, 1fr); 
    width: 100%;
}
/* .infinity-container {
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
} */
  #myanLife_shop_partner {
    margin-top: 30px !important;
  }
  body
    #wrapper
    #myanLife_shop_partner
    .shop_partner_content
    .shop_partner_item {
    height: 37vw !important;
  }
  .shop_item_text {
    margin-top: 8px;
  }
  .shop_carousel .owl-carousel {
    width: 80%;
  }
  .y_container {
    padding: 0 16px;
  }
  .y_navbar {
    font-size: 23px;
    line-height: 23px;
  }

  .y_navbar:first-child {
    margin-right: auto;
  }

  .y_navbar:last-child {
    margin-left: auto;
  }

  .shop_carousel {
    margin: 20px 0px 37px 0;
  }
  .shop_header_mobile {
    margin-bottom: 12px;
  }
  .img-large{
    height: 331.041px;
  }

  .img-medium{
    height: 248.339px;
  }

  .img-small{
    height: 186.029px;
  }

  .infinity-card {
    .infinity-card-img {
       
        border-radius: 4px;
    }
}

.infinity-card-img-container {
  .img-heart {
      
      top: -6px;
      right: -6px;
     
  }
}
}

@media only screen and (max-width: 321px) {
  .y_navbar {
    font-size: 18px;
  }
  .y_container {
    padding: 0 8px;
  }
  .img-large{
    height: 181.421px;
  }

  .img-medium{
    height: 136.097px;
  }

  .img-small{
    height:101.95px;
  }
  .infinity-card {
    .infinity-card-img {
       
        border-radius: 4px;
    }
  }
}



body #wrapper .writer_blog_carousel {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  -ms-justify-content: flex-start;
  -o-justify-content: flex-start;
  justify-content: flex-start;
  width: 80%;
  margin: 0px auto;
}
body #wrapper .writer_blog_carousel .shop_partner_item {
  position: relative;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  width: 12.3vw;
  height: 14.3vw;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #363636;
  text-decoration: none;
  outline: none;
}
body #wrapper .writer_blog_carousel .shop_partner_item .imgView {
  width: 100%;
  height: 83%;
  position: absolute;
  top: 0;
  border-radius: 500px;
  overflow: hidden;
}
body #wrapper .writer_blog_carousel .shop_partner_item .imgView:hover {
  opacity: 0.8;
}
body #wrapper .writer_blog_carousel .shop_partner_item .imgView img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: all 0.75s ease;
  -moz-transition: all 0.75s ease;
  -o-transition: all 0.75s ease;
  transition: all 0.75s ease;
}
body #wrapper .writer_blog_carousel .shop_name {
  position: absolute;
  bottom: 0;
  line-height: 23px;
  text-align: center;
  margin-bottom: -20px;
}
body #wrapper .writer_blog_carousel .shop_name h2 {
  color: #000000;
  font-size: 20px;
}

body #wrapper .writer_blog_carousel {
  width: 87% !important;
}

body #wrapper .writer_blog_carousel .owl-nav .owl-prev {
  position: absolute;
  background: #c4c4c4;
  width: 50px;
  font-size: 36px;
  color: rgb(255, 255, 255);
  border: 0;
  border-radius: 5px;
  margin: 0;
  top: 0;
  bottom: 0;
  left: 0px;
  z-index: 10;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
body #wrapper .writer_blog_carousel .owl-nav .owl-next {
  position: absolute;
  background: #c4c4c4;
  width: 50px;
  font-size: 36px;
  color: rgb(255, 255, 255);
  border: 0;
  border-radius: 5px;
  margin: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  right: -1px;
}
body #wrapper .writer_blog_carousel .owl-nav .disabled {
  display: none;
}
body #wrapper .writer_blog_carousel .owl-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

body #wrapper .writer_blog_carousel {
  width: 87% !important;
}
@media (max-width: 1440px) {
  body #wrapper .writer_blog_carousel .shop_partner_item {
    width: 14.1vw;
    height: 16.8vw;
  }
}

@media (max-width: 1200px) {
  body #wrapper .writer_blog_carousel {
    width: 80%;
  }
  body #wrapper .writer_blog_carousel .shop_partner_item {
    width: 14.4vw;
    height: 17.4vw;
  }
}

@media (max-width: 1024px) {
  body #wrapper .writer_blog_carousel .shop_partner_item {
    width: 18vw;
    height: 21vw;
  }
}

@media (max-width: 768px) {
  body #wrapper .writer_blog_carousel {
    width: 90%;
  }
  body #wrapper .writer_blog_carousel .shop_partner_item {
    width: 22vw;
    height: 25.8vw;
  }
}

@media (max-width: 580px) {
  body #wrapper .writer_blog_carousel {
    margin: 30px auto;
    margin-right: 0px;
  }
  body #wrapper .writer_blog_carousel .shop_partner_item {
    width: 33vw;
    height: fit-content;
    margin-top: unset;
    /* margin-bottom: 73px; */
    /* margin-bottom: 70px; */
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
  }
  body #wrapper .writer_blog_carousel .shop_partner_item .imgView {
    flex-direction: column;
    /* position: relative; */
    position: unset;
    min-height: 33vw;
  }
  body #wrapper .writer_blog_carousel .shop_partner_item .shop_name {
    /* bottom: unset; */
    /* top: 130px; */
    /* top: 130px; */
    bottom: 0px;
    flex-direction: column;
    /* position: relative; */
    position: unset;
  }
  body #wrapper .writer_blog_carousel .shop_partner_item .shop_name h2 {
    font-size: 18px;
  }
  .infinity-container {
    gap: 16px;
  }
  .infinity-card{

    .infinity-card-bar-item {
      margin-right: 18px;          /* Space between each icon-number pair */
  }
  }
}

@media (max-width: 320px) {
  body #wrapper .writer_blog_carousel {
    margin: 0px auto;
  }
  body #wrapper .writer_blog_carousel .shop_partner_item {
    height: 49vw;
    margin-top: 13px;
  }
  body #wrapper .writer_blog_carousel .shop_name h2 {
    font-size: 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

.loading-img{
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    display: inline-block;
    border-radius: 20px;
    margin-bottom: 10px;
    background-color: #ededed;
}

.loading-title{
  background-color: #ededed;
  width: 10dvw;
  height: 30px;
  border-radius: 7px;
}

.loading-bar-item{
  background-color: #ededed;
  width: 2dvw;
  height: 20px;
  border-radius: 7px;
}

.loading-writer-name{
  background-color: #ededed;
  width: 6dvw;
  height: 20px;
  border-radius: 7px;
}

.shimmer {
  color: grey;
  display:inline-block;
  -webkit-mask:linear-gradient(-60deg,#000 30%,#0005,#000 70%) right/300% 100%;
  background-repeat: no-repeat;
  animation: shimmer 1.5s infinite;
  font-size: 50px;
}

@keyframes shimmer {
  100% {-webkit-mask-position:left}
}


body #wrapper .notfound {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  margin-bottom: 24px;
}
body #wrapper .notfound .imgView {
  width: 150px;
  margin-right: 24px;
}
body #wrapper .notfound .imgView img {
  width: 100%;
  height: 100%;
}
body #wrapper .notfound .description {
  font-size: 24px;
}
body #wrapper .notfound .description > div .result_data {
  color: rgb(216, 35, 22);
}

#search_result_notfound{
  display: none;
  margin: 100px auto;
}