.banner__policy .container .image {
  max-height: 432px;
  height: auto;
  overflow: hidden;
}

.banner__policy .container .image img {
  width: 100%;
  max-height: 432px;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
}
.content__policy {
  padding: 42px 0 104px 0;
}
.content__policy .container {
  display: grid;
  grid-template-columns: 3.5fr 8.5fr;
  gap: 48px;
}

.policy__sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 32px;
  border: 1px solid var(--primary-grey-200, #eeeeee);
  padding: 12px;
  align-self: start;
}

.policy__link {
  text-decoration: none;
  color: #9e9e9e;
  padding: 16px 24px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  border-radius: 48px;
  transition: color 0.3s, background-color 0.3s;
}

.policy__link h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.policy__link:hover {
  color: #212121;
}

.policy__link.active {
  color: #212121;
  font-weight: 700;
  background-color: #f5f5f5;
}

.policy__link.disabled {
  color: #999;
  pointer-events: none;
}

.policy__link.disabled {
  color: #999;
  pointer-events: none;
}

.policy__editor {
  font-size: 16px;
  line-height: 1.6;
}

@media screen and (max-width: 1037px) {
  .content__policy .container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }
}

@media screen and (max-width: 768px) {
  .content__policy {
    padding: 40px 10px;
  }
  .content__policy .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.tag__product {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  color: #6c757d;
}
.tag__product a {
  text-decoration: none;
  color: #6c757d;
  font-size: 16px;
}
.product-desc {
  font-size: 16px;
}
.single-product .main-image img {
  max-width: 100%;
  height: 100% !important;
  -o-object-fit: cover;
  object-fit: cover !important;
  border-radius: 16px;
  margin: 0;
}

.brand__product {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand__product p {
  color: #9e9e9e;
  font-family: Inter;
  font-weight: 400;
  font-size: 12px;
  line-height: 136%;
  text-align: justify;
}
.brand__product .brand__item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand__product .brand__item img {
  width: 24px;
  height: 24px;
  object-fit: cover;
}
.brand__product .brand__item a {
  color: #212121;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: justify;
  text-decoration: none;
}

/* update service home */
.service__home {
  padding: 72px 0;
}
.service__home .container {
  display: grid;
  grid-template-columns: 6fr 3fr 3fr;
  gap: 24px;
  align-items: center;
}
.service__home__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 408px;
  background: #f5f5f5;
  padding: 32px;
  align-items: flex-start;
  border-radius: 24px;
}
.service__home__item > a {
  padding: 8px 12px;
  text-decoration: none;
  color: #212121;
  font-weight: 400;
  font-size: 12px;
  line-height: 136%;
  text-transform: uppercase;
  background: #ffffff;
  border-radius: 16px;
}

.service__home__item .content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.service__home__item .content .title a {
  font-family: Inter;
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
  color: #212121;
  text-decoration: none;
  text-transform: capitalize;
}

.service__home__item .content p {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #616161;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service__home__item .content > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 24px;
  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #ffffff;
  text-transform: uppercase;
  background: #efb403;
  text-decoration: none;
}
.service__home__item .content a span img {
  width: 16px;
  height: 16px;
}
.service__home__image {
  height: 408px;
}
.service__home__image img {
  width: 100%;
  object-fit: cover;
  height: 100%;
  border-radius: 24px;
}

@media screen and (max-width: 992px) {
  .service__home {
    padding: 0;
  }
  .service__home .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }

  .service__home__item {
    grid-column: 1 / span 12; 
  }

  .service__home__image:nth-child(2) {
    grid-column: 1 / span 6;
  }

  .service__home__image:nth-child(3) {
    grid-column: 7 / span 6; 
  }
}
#section-other-services h3 {
  font-size: 28px;
}
@media screen and (max-width: 768px) {
  .service__home {
    padding: 40px 0;
  }
  .service__home__image {
    height: 246px;
  }
  #single-service .container .row .single-content h1 {
    font-size: 24px;
  }
  #section-other-services h3 {
    font-size: 22px;
  }
}

.wc-block-components-address-form__postcode {
  display: none;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.loader-wrapper.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader {
    position: relative;
    overflow: hidden;
    width: 120px; 
    height: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    width: 80px; 
    height: auto;
    display: block;
    image-rendering: optimizeQuality;
    -webkit-user-drag: none;
    user-select: none;
}

.loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 50%, rgba(255, 255, 255, 0.5) 70%, transparent 100%); /* Trắng tinh ở đầu, mờ ở cuối */
    animation: sweepFade 3.5s linear infinite;
    z-index: 1;
}
.copyright .info a {
  text-decoration: none;
  color: #757575;
  font-size: 12px;
}
@keyframes sweepFade {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(0%); 
    }
}

img.loader-logo[alt] {
    text-indent: -9999px;
}

.woocommerce .loader::before {
    display: none !important;
}

