/* css custom form search */
.searchform-wrapper {
  max-width: 701px;
  margin: auto;
}

.searchform-wrapper input {
  border-radius: 5px !important;
  min-height: 45px;
}

.top-popup {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  height: 90px;
  background: #ffff;
  color: #000;
  z-index: 9999;
  transition: top 0.4s ease;
}

.top-popup.active {
  top: 0;
}

.top-popup-content {
  max-width: 1200px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 20px;
}

.close-btn {
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
  position: absolute;
  right: 65px;
  top: 20px;
}

.autocomplete-suggestions {
  position: absolute;
}

/* end form search */
/* Grid areas */
.cat {
  position: relative;
  overflow: hidden;

}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  border: 6px solid #fff;
}

.cat h3 {
  position: absolute;
  bottom: 50px;
  left: 15px;
  background: #fff;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  border: 6px solid #fff;
  width: fit-content;

  margin-bottom: 0;
}

.category-grid .category-item:nth-child(4) h3,
.category-grid .category-item:nth-child(5) h3,
.category-grid .category-item:nth-child(6) h3 {
  right: 0;
  left: unset;
  bottom: 35px;
}

/* Layout theo vị trí */
.category-item img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

.parent {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  max-width: 1320px;
  margin: auto;
}

.parent div {}

.div1 {
  grid-column: span 3 / span 3;
}

.div2 {
  grid-column: span 2 / span 2;
}

.div3 {
  grid-column: span 4 / span 4;
  grid-column-start: 6;
}

.div4 {
  grid-column: span 3 / span 3;
  grid-row-start: 2;
}

.div5 {
  grid-column: span 4 / span 4;
  grid-column-start: 4;
  grid-row-start: 2;
}

.div6 {
  grid-row-start: 2;
  grid-column: span 2 / span 2;
}

.category-item:nth-child(1) img,
.category-item:nth-child(3) img {
  border-radius: 30px 30px 100px;
}

.category-item:nth-child(2) img {
  border-radius: 30px 30px 30px 100px;
}

.category-item:nth-child(n + 4) img {
  border-radius: 100px 30px 30px;
}

.category-grid .category-item:nth-child(1),
.category-grid .category-item:nth-child(2),
.category-grid .category-item:nth-child(3) {
  padding-left: 40px;
}

.category-grid .category-item:nth-child(4),
.category-grid .category-item:nth-child(5),
.category-grid .category-item:nth-child(6) {
  padding-right: 40px;
  margin-top: 15px;
}

/* icon button */
.icon-button {
  width: 140px;
  padding: 10px;
  position: relative;
  border-radius: 50%;
  display: inline-block;
}

.category-section .icon-button {
  position: absolute;
  top: -7%;
  left: 50%;
  transform: translate(-50%, -7%);
}

.text-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  background: transparent;
  border-radius: 100%;
  animation: identifier 20s linear infinite;
  text-align: center;
}

.border-white {
  border-color: rgb(255 255 255 / 1);

}

@keyframes identifier {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}

.badge__emoji {
  display: block;
  margin: 0;
  animation: identifier 20s linear infinite;
  animation-direction: reverse;
  transition: all .3s;
}

.text-row.border-white .text__char {
  color: #000;
}

.icon-button {
  position: absolute;
  top: -31%;
  left: 50%;
  transform: translate(-50%, -7%);
}

.text__char {
  display: block;
  position: absolute;
  top: 0;
  left: calc(50% - 70px);
  height: 70px;
  width: 140px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  transform-origin: bottom center;
  transform: rotate(var(--char-rotate));
  color: #000;
}

/* logo animation */
.icon-button-logo {
  width: 140px;
  padding: 10px;
  position: relative;
  border-radius: 50%;
  display: inline-block;
}

.video-section .icon-button-logo {
  transform: scale(1.3);
}

.text-row-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  background: transparent;
  border-radius: 100%;
  animation: identifier_logo 20s linear infinite;
  text-align: center;
}

@keyframes identifier_logo {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}

.badge__emoji__logo {
  display: block;
  margin: 0;
  animation: identifier_logo 20s linear infinite;
  animation-direction: reverse;
  transition: all .3s;
}

.text-row-logo.border-white .text__char__logo {
  color: #000;
}

.text__char__logo {
  display: block;
  position: absolute;
  top: 0;
  left: calc(50% - 70px);
  height: 70px;
  width: 140px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 19px;
  transform-origin: bottom center;
  font-weight: bold;
  transform: rotate(var(--char-rotate--logo));
  color: #000;
}

.text-row-logo:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 50%;
  border: 28px solid #fff;
}

.icon-button-logo {
  transform: scale(1.3);
  z-index: 999;
}

.row_s2 .text-row:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 50%;
  border: 25px solid #fff;
}

.row_msmajsiajs {
  position: relative;
}