/* Nova performance and responsive refinements */
html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

img,
video,
svg {
  max-width: 100%;
}

img,
video {
  height: auto;
}

body {
  overflow-x: hidden;
}

.logo-header .logo,
.footer-logo img {
  display: block;
  width: auto;
  max-width: min(180px, 52vw);
  height: auto;
}

.wrap-slider {
  position: relative;
  overflow: hidden;
}

.wrap-slider > picture {
  width: 100%;
  height: 100%;
  display: block;
}

.wrap-slider > img,
.wrap-slider > picture > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tf-slideshow .box-content h1 {
  overflow-wrap: anywhere;
}

.tf-grid-layout,
.grid-layout,
.card-product-wrapper,
.collection-item,
.blog-article-item,
.brand-item {
  min-width: 0;
}

.collection-image img,
.blog-article-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.card-product .product-img {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.card-product .img-product,
.card-product .img-hover,
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.tf-table-page-cart,
.tf-cart-item,
.cart-item,
.table-cart {
  max-width: 100%;
}

.tf-page-title .heading,
.flat-title .title,
.tf-product-info-title,
.product-title,
.blog-detail-main .title {
  overflow-wrap: anywhere;
}

.blog-article-content {
  max-width: 980px;
  margin: 0 auto;
  color: #111;
  font-size: 18px;
  line-height: 1.75;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4,
.blog-article-content h5,
.blog-article-content h6 {
  color: #111;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 1.6em 0 .55em;
  overflow-wrap: anywhere;
}

.blog-article-content h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.blog-article-content h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.blog-article-content h3 {
  font-size: clamp(22px, 2.3vw, 28px);
}

.blog-article-content h4 {
  font-size: 22px;
}

.blog-article-content h5 {
  font-size: 19px;
}

.blog-article-content h6 {
  font-size: 17px;
}

.blog-article-content p,
.blog-article-content ul,
.blog-article-content ol,
.blog-article-content blockquote,
.blog-article-content figure {
  margin: 0 0 1em;
}

.blog-article-content ul,
.blog-article-content ol {
  padding-left: 1.4em;
}

.blog-article-content li {
  margin: .3em 0;
}

.blog-article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.4em auto;
  border-radius: 10px;
}

.blog-article-content > :first-child {
  margin-top: 0;
}

@media (max-width: 991px) {
  .wrapper-header {
    min-height: 64px;
  }

  .nav-icon {
    gap: 12px !important;
  }

  .tf-top-bar_wrap {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .tf-top-bar_item {
    justify-content: center;
  }

  .tf-slideshow .box-content .container {
    padding-inline: 20px;
  }

  .tf-slideshow .box-content h1 {
    font-size: clamp(32px, 12vw, 58px);
    line-height: 1.05;
  }

  .tf-slideshow .box-content p {
    font-size: 15px;
    line-height: 1.5;
  }

  .blog-article-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .tf-shop-control {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-bottom-wrap {
    justify-content: center !important;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .px_15 {
    padding-inline: 12px;
  }

  .logo-header .logo {
    max-width: min(150px, 48vw);
  }

  .nav-account,
  .nav-wishlist {
    display: none;
  }

  .tf-slideshow .tf-btn {
    min-height: 44px;
    padding: 11px 18px;
  }

  .card-product .list-product-btn,
  .card-product .product-btn-main {
    transform: none;
    opacity: 1;
  }

  .tf-product-info-price {
    flex-wrap: wrap;
  }
}
