.topnav-text {
  font-family: "Google Sans", sans-serif;
  color: #fff;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
p,
a,
li,
span,
label,
input,
textarea,
button,
.text-md {
  font-size: clamp(14px, 1.8vw, 16px);
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
.display-xl,
.text-banner {
  font-size: clamp(36px, 6vw, 72px);
}

h2,
h3,
h4,
.flat-title .title,
.tf-page-title .title,
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  overflow-wrap: break-word;
}

h5,
h6,
.card-product .name-product,
.entry_title,
.text-xl {
  font-size: clamp(16px, 2.5vw, 22px);
  overflow-wrap: break-word;
}

.text-sm,
small,
.breadcrumb-item,
.entry-tag,
.badge {
  font-size: clamp(12px, 1.5vw, 14px);
}

.tf-btn,
.gold-btn,
button,
.btn {
  font-size: clamp(15px, 2vw, 18px);
}

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

#header.header-default {
  position: fixed !important;
  top: 38px !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.tf-topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 1051;
}

#header.header-default .wrapper-header {
  background: #fff;
}

body {
  padding-top: 125px;
}

@media (max-width: 1199px) {
  body {
    padding-top: 126px;
  }

  .tf-topbar {
    display: none !important;
  }

  #header.header-default {
    top: 0 !important;
  }

  #header.header-default .wrapper-header {
    min-height: 118px;
  }

  #header.header-default .logo-header img {
    width: 92px;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}

.text-banner {
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  background: #a4895c;
  background: linear-gradient(to right, #a4895c 0%, #ecce95 50%, #a4895c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-align: left;
  filter: drop-shadow(3px 4px 2px rgba(0, 0, 0, 0.5));
}

.sub-banner {
  font-family: "Google Sans", sans-serif;
  font-size: clamp(14px, 2.2vw, 20px);
  padding-top: clamp(10px, 2vw, 20px);
  padding-bottom: clamp(18px, 3.5vw, 36px);
}

.cate-full-slide.wg-cls.asp-1 .image {
  aspect-ratio: 1 / 1;
}

.cate-full-slide .image > img {
  object-fit: cover;
}

.cate-full-slide .cls-product-name {
  margin-bottom: 10px;
  color: #fff;
  font-family: "Google Sans", sans-serif;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.home-tight-gutters .wg-cls.style-abs::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.48) 48%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.home-tight-gutters .wg-cls.style-abs .cls-content,
.home-tight-gutters .wg-cls.style-abs .cls-btn {
  z-index: 2;
}

.featured-product .card-product-info {
  align-items: center;
  text-align: center;
}

.featured-product {
  padding: 0px 0px 22px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dadada;
  overflow: hidden;
}

.featured-product .card-product-wrapper {
  /* aspect-ratio: 450 / 560; */
  border-radius: 0;
  background: #fff;
}

.featured-product .product-img {
  align-items: center;
  justify-content: center;
}

.featured-product .card-product-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-product .on-sale-wrap {
  top: 10;
  left: 10;
  right: auto;
  z-index: 25;
}

.featured-product .on-sale-item {
  min-width: 44px;
  height: 27px;
  padding: 0 10px;
  border-radius: 3px;
  background: #dac49b;
  color: #2f1d10;
  font-size: 13px;
  line-height: 27px;
}

.featured-product .card-product-info {
  padding-top: 16px;
  padding-bottom: 0;
  gap: 8px;
}

.card-product .card-product-info .cate-product,
.card-product .card-product-info .catename-product,
.card-product .card-product-info .name-product {
  width: 70%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.card-product .card-product-info {
  min-width: 0;
}

.featured-product .catename-product {
  color: #dac49b !important;
}

.featured-product .name-product,
.featured-product .price-wrap {
  text-align: center;
}

.featured-product .name-product {
  font-size: clamp(16px, 2.5vw, 22px);
  line-height: 1.35;
}

.featured-product .price-wrap {
  margin-bottom: 0;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.35;
}

.promotion-swiper-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.promotion-swiper-wrap {
  position: relative;
}

.promotion-swiper-section .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.promotion-banner-image {
  overflow: hidden;
  border-radius: 25px;
}

.promotion-banner-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.promotion-swiper-section .nav-swiper {
  background: rgba(218, 196, 155, 0.75);
  border-color: transparent;
}

.promotion-swiper-section .nav-swiper:hover {
  background: #dac49b;
}

.popular-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
}

.popular-products-grid > .swiper-slide {
  width: auto !important;
  height: auto;
  display: flex;
}

.home-tight-gutters .popular-products-grid > .swiper-slide > .card-product,
.home-tight-gutters .swiper-wrapper > .swiper-slide > .featured-product {
  width: 100%;
  height: 100%;
}

.home-tight-gutters .featured-product {
  display: flex;
  flex-direction: column;
}

.home-tight-gutters .featured-product .card-product-wrapper {
  aspect-ratio: 1 / 1.18;
  flex-shrink: 0;
}

.home-tight-gutters .featured-product .card-product-info {
  flex: 1 1 auto;
}

.home-tight-gutters .featured-product .price-wrap {
  margin-top: auto;
}

.recommended-products-section .swiper-wrapper {
  align-items: stretch;
  padding-bottom: clamp(14px, 2vw, 24px);
}

.recommended-products-section .swiper-slide {
  height: auto !important;
  display: flex;
}

.recommended-products-section .card-product {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.recommended-products-section .card-product-wrapper {
  flex: 0 0 auto;
}

.recommended-products-section .card-product-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.recommended-products-section .price-wrap {
  margin-top: auto;
}

.recommended-products-section .sw-pagination-seller {
  margin-top: clamp(12px, 2vw, 22px) !important;
}

.gold-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: max-content;
  min-width: clamp(200px, 60vw, 300px);
  height: clamp(48px, 8vw, 62px);
  margin: clamp(24px, 5vw, 52px) auto;
  padding: 0 clamp(16px, 4vw, 32px);

  border-radius: 999px;
  border: 1px solid #f6e4b8;

  background: var(--gold-gradient);

  color: #fff;
  font-size: clamp(15px, 3.5vw, 22px);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 0 rgba(95, 61, 15, 0.35),
    0 12px 18px rgba(0, 0, 0, 0.22);

  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.35);
}

.section-border::after {
  content: "";
  display: block;
  width: 90vw;
  max-width: 90%;
  height: 2px;
  margin: 40px auto 0;
  background: #fff;
}

.tf-page-title {
  background: #dac49b;
}

.tf-page-title .breadcrumb-list {
  flex-wrap: wrap;
  row-gap: 6px;
}

.tf-page-title .box-title .title,
.tf-page-title .breadcrumb-list .breadcrumb-item {
  color: var(--primary) !important;
}

.tf-page-title .breadcrumb-list .breadcrumb-item {
  font-weight: 600;
}

.tf-page-title .breadcrumb-list .dot span {
  background: var(--primary);
}

.s-blog-grid-v2.sec-blog {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.s-blog-grid-v2 .entry_image a {
  cursor: pointer;
}

.s-blog-grid-v2 .entry_image {
  margin-bottom: 12px !important;
}

.s-blog-grid-v2 .entry-tag {
  margin-bottom: 6px !important;
}

.s-blog-grid-v2 .entry_title {
  margin-bottom: 8px !important;
  line-height: 1.35;
}

.s-blog-grid-v2 .entry_sub {
  margin-bottom: 16px !important;
  line-height: 1.65;
}

.s-blog-grid-v2 .blog-item {
  height: 100%;
}

.howto-card-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}

.about-testimonial-swiper {
  overflow: hidden;
}

.about-testimonial-section {
  width: 100vw;
  min-height: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(48px, 6vw, 80px) !important;
  padding-bottom: clamp(48px, 6vw, 80px) !important;
}

.about-testimonial-section .container {
  width: 100%;
  max-width: none !important;
  padding-left: clamp(16px, 6vw, 96px) !important;
  padding-right: clamp(16px, 6vw, 96px) !important;
}

.about-testimonial-swiper .swiper-wrapper {
  align-items: stretch;
}

.about-testimonial-swiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

.about-testimonial-swiper .box-testimonial-quote {
  width: min(100%, 920px);
  height: 100%;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 12px;
  background: #fff;
}

.about-testimonial-swiper .sw-dot-default {
  margin-top: 24px;
}

.about-page .flat-title-2,
.about-page .box-title,
.about-page .box-text,
.about-page .row > [class*="col-"] {
  min-width: 0;
}

.about-page .box-text p,
.about-page .flat-title p,
.about-page .list-esd p,
.about-page .box-testimonial-quote p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: anywhere;
}

.about-page .image,
.about-page .banner-about {
  max-width: 100%;
}

.about-page .flat-title-2 {
  display: block !important;
}

.about-page .flat-title-2 .box-title,
.about-page .flat-title-2 .box-text {
  width: 100%;
  max-width: 100%;
}

.about-page .flat-title-2 .box-text {
  margin-top: 24px;
}

.video-collection-section {
  position: relative;
  width: 100%;
  height: clamp(320px, 50vh, 100vh);
  min-height: clamp(280px, 45vh, 560px);
  padding: 0;
  overflow: hidden;
}

.video-collection-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.video-collection-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-collection-media .simpleParallax {
  width: 100%;
  height: 100%;
}

.video-collection-media .simpleParallax video {
  height: 100%;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 92px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%);
  transition:
    opacity 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.video-play-btn span {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid #fff;
  transform: translate(-50%, -50%);
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%) scale(1.04);
}

.video-collection-section.is-playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .video-collection-section {
    height: clamp(240px, 40vh, 320px);
    min-height: auto;
  }

  .video-play-btn {
    min-width: 54px !important;
    min-height: 54px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .video-play-btn span {
    position: static !important;
    transform: translate(2px, 0) !important;
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
  }
}

@media (min-width: 768px) {
  .popular-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .popular-products-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* On mobile/tablet, limit the grid items shown (hide items after index 6 on mobile, index 9 on tablet) to avoid endless page scrolls */
@media (max-width: 767px) {
  .popular-products-grid > .swiper-slide:nth-child(n + 5) {
    display: none !important;
    /* show only 4 items (2 rows of 2 columns) on mobile */
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .popular-products-grid > .swiper-slide:nth-child(n + 7) {
    display: none !important;
    /* show only 6 items (2 rows of 3 columns) on tablet */
  }
}

/* Reverted custom mobile banner overrides */

.home-tight-gutters #wrapper > section:not(.tf-slideshow) .container,
.home-tight-gutters #wrapper > .flat-spacing-7 .container,
.home-tight-gutters #wrapper > .pt-24 .container,
.home-tight-gutters #wrapper > .flat-spacing-2 .container,
.home-tight-gutters #wrapper > .line-top .container,
.home-tight-gutters #wrapper > section:not(.tf-slideshow) .container-full,
.home-tight-gutters #wrapper > .flat-spacing-7 .container-full,
.home-tight-gutters #wrapper > .pt-24 .container-full,
.home-tight-gutters #wrapper > .flat-spacing-2 .container-full,
.home-tight-gutters #wrapper > .line-top .container-full,
.home-tight-gutters #wrapper > section:not(.tf-slideshow) .container-2,
.home-tight-gutters #wrapper > .flat-spacing-7 .container-2,
.home-tight-gutters #wrapper > .pt-24 .container-2,
.home-tight-gutters #wrapper > .flat-spacing-2 .container-2,
.home-tight-gutters #wrapper > .line-top .container-2,
.home-tight-gutters #wrapper > section:not(.tf-slideshow) .container-3,
.home-tight-gutters #wrapper > .flat-spacing-7 .container-3,
.home-tight-gutters #wrapper > .pt-24 .container-3,
.home-tight-gutters #wrapper > .flat-spacing-2 .container-3,
.home-tight-gutters #wrapper > .line-top .container-3,
.home-tight-gutters #wrapper > section:not(.tf-slideshow) .container-4,
.home-tight-gutters #wrapper > .flat-spacing-7 .container-4,
.home-tight-gutters #wrapper > .pt-24 .container-4,
.home-tight-gutters #wrapper > .flat-spacing-2 .container-4,
.home-tight-gutters #wrapper > .line-top .container-4,
.home-tight-gutters #wrapper > section:not(.tf-slideshow) .container-5,
.home-tight-gutters #wrapper > .flat-spacing-7 .container-5,
.home-tight-gutters #wrapper > .pt-24 .container-5,
.home-tight-gutters #wrapper > .flat-spacing-2 .container-5,
.home-tight-gutters #wrapper > .line-top .container-5,
.home-tight-gutters #wrapper > section:not(.tf-slideshow) .container-6,
.home-tight-gutters #wrapper > .flat-spacing-7 .container-6,
.home-tight-gutters #wrapper > .pt-24 .container-6,
.home-tight-gutters #wrapper > .flat-spacing-2 .container-6,
.home-tight-gutters #wrapper > .line-top .container-6,
.home-tight-gutters #wrapper > section:not(.tf-slideshow) .container-7,
.home-tight-gutters #wrapper > .flat-spacing-7 .container-7,
.home-tight-gutters #wrapper > .pt-24 .container-7,
.home-tight-gutters #wrapper > .flat-spacing-2 .container-7,
.home-tight-gutters #wrapper > .line-top .container-7 {
  max-width: none !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

@media (min-width: 768px) {
  .home-tight-gutters #wrapper > section:not(.tf-slideshow) .container,
  .home-tight-gutters #wrapper > .flat-spacing-7 .container,
  .home-tight-gutters #wrapper > .pt-24 .container,
  .home-tight-gutters #wrapper > .flat-spacing-2 .container,
  .home-tight-gutters #wrapper > .line-top .container {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }
}

@media (min-width: 1200px) {
  .home-tight-gutters #wrapper > section:not(.tf-slideshow) .container,
  .home-tight-gutters #wrapper > .flat-spacing-7 .container,
  .home-tight-gutters #wrapper > .pt-24 .container,
  .home-tight-gutters #wrapper > .flat-spacing-2 .container,
  .home-tight-gutters #wrapper > .line-top .container {
    padding-left: 120px !important;
    padding-right: 120px !important;
  }
}

.site-footer {
  background: #dac49b;
  color: #3a2115;
  overflow-x: hidden;
}

.site-footer .container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.footer-main {
  padding: 78px 0 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.45fr 1fr 0.9fr;
  gap: 54px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 24px;
  color: #321b10;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.footer-info {
  display: grid;
  gap: 10px;
  color: rgba(58, 33, 21, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.footer-info p {
  margin: 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 38px 0 0;
  padding: 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #4b3023;
  font-size: 24px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-social a:hover {
  color: #000;
  transform: translateY(-2px);
}

.footer-social span {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.footer-col:nth-child(2),
.footer-col:nth-child(3) {
  text-align: center;
}

.footer-marketplace {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.footer-marketplace-link {
  display: block;
  width: min(100%, 344px);
}

.footer-marketplace-link img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-phone-list {
  display: grid;
  gap: 18px;
  width: min(100%, 222px);
  margin-left: auto;
  margin-right: auto;
}

.footer-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 82px;
  padding: 16px 22px;
  border: 2px solid transparent;
  border-radius: 15px;
  background:
    linear-gradient(#000, #000) padding-box,
    var(--gold-gradient) border-box;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  box-shadow:
    0 0 0 4px rgba(118, 83, 26, 0.18),
    0 8px 16px rgba(68, 43, 9, 0.32);
  white-space: nowrap;
}

.footer-phone-btn:hover {
  color: #fff;
  box-shadow:
    0 0 0 5px rgba(118, 83, 26, 0.24),
    0 10px 18px rgba(68, 43, 9, 0.38);
}

.footer-smartphone-icon {
  position: relative;
  flex: 0 0 auto;
  width: 27px;
  height: 42px;
  border: 4px solid #fff;
  border-radius: 5px;
}

.footer-smartphone-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.footer-qr {
  text-align: center;
}

.footer-qr img {
  display: block;
  width: min(100%, 150px);
  height: auto;
  margin: 0 auto;
  padding: 5px;
  border: 2px solid transparent;
  border-radius: 6px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gold-gradient) border-box;
  box-shadow: 0 3px 12px rgba(79, 50, 10, 0.3);
}

.footer-line-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-top: 26px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 4px;
  background:
    linear-gradient(#000, #000) padding-box,
    var(--gold-gradient) border-box;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(79, 50, 10, 0.32);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 15px 0;
  text-align: center;
}

.site-footer .footer-bottom p {
  margin: 0;
  color: #3a3329;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 1199px) {
  .footer-main {
    padding: clamp(36px, 6vw, 64px) 0 clamp(44px, 7vw, 72px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 42px);
  }

  .footer-marketplace-link,
  .footer-phone-list {
    width: min(100%, clamp(260px, 40vw, 320px));
  }
}

@media (max-width: 767px) {
  .site-footer .container {
    padding-left: clamp(12px, 4vw, 18px);
    padding-right: clamp(12px, 4vw, 18px);
  }

  .footer-main {
    padding: clamp(28px, 6vw, 48px) 0 clamp(36px, 8vw, 56px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 42px);
    text-align: center;
  }

  .footer-title {
    margin-bottom: clamp(10px, 2vw, 18px);
    font-size: clamp(18px, 4vw, 22px);
  }

  .footer-info {
    font-size: clamp(12px, 2.5vw, 13.5px);
    gap: clamp(6px, 1.5vw, 10px);
  }

  .footer-social {
    justify-content: center;
    margin-top: clamp(18px, 3.5vw, 28px);
  }

  .footer-marketplace {
    justify-items: center;
    gap: clamp(10px, 2vw, 18px);
  }

  .footer-marketplace-link {
    width: min(100%, clamp(240px, 50vw, 340px));
  }

  .footer-phone-list {
    width: min(100%, clamp(240px, 50vw, 320px));
    margin: 0 auto;
    gap: clamp(10px, 2vw, 18px);
  }

  .footer-phone-btn {
    justify-content: center;
    min-height: clamp(52px, 8vw, 68px);
    padding: clamp(8px, 2vw, 14px) clamp(12px, 3vw, 18px);
    font-size: clamp(15px, 3.5vw, 18px);
    gap: clamp(8px, 2vw, 14px);
    border-radius: clamp(8px, 2vw, 12px);
  }

  .footer-smartphone-icon {
    width: clamp(18px, 3vw, 24px);
    height: clamp(28px, 5vw, 38px);
    border-width: clamp(2px, 0.5vw, 3px);
  }

  .footer-qr img {
    width: min(100%, clamp(110px, 25vw, 152px));
  }

  .footer-line-id {
    margin-top: clamp(10px, 2vw, 18px);
    font-size: clamp(10px, 2.2vw, 11px);
    padding: 5px clamp(8px, 2vw, 11px);
  }
}

/* ─── Search Modal overflow / clipping fixes ─── */
.popup-search .featured-product {
  display: block;
  padding: 15px 0 25px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.popup-search .swiper-slide {
  height: auto;
}

.popup-search .card-product {
  width: 100%;
  max-width: 240px;
  height: 100%;
  margin: 0 auto;
}

.popup-search .card-product-wrapper {
  aspect-ratio: 1 / 1;
  max-height: 220px;
  margin-bottom: clamp(16px, 2.5vw, 26px) !important;
}

.popup-search .card-product-wrapper .product-img {
  height: 100%;
}

.popup-search .card-product-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.popup-search .card-product-info {
  padding: 0 8px 0 !important;
  gap: 6px;
}

.popup-search .card-product-info .name-product {
  width: 90%;
  max-width: 90%;
  min-height: auto;
  font-size: clamp(13px, 2.4vw, 16px);
  line-height: 1.35;
}

/* On desktop sizes, make overflow visible so shadows and badges are not clipped */
@media (min-width: 992px) {
  .popup-search .featured-product,
  .popup-search .swiper,
  .popup-search .card-product {
    overflow: visible !important;
  }
}

/* On mobile/tablet, let Swiper handle containment normally so items stay inside screen edges */
@media (max-width: 991.98px) {
  .popup-search .swiper {
    overflow: hidden !important;
    padding-left: 4px;
    padding-right: 4px;
  }

  .popup-search .card-product {
    max-width: 180px;
    overflow: hidden;
  }

  .popup-search .card-product-wrapper {
    max-height: 164px;
    margin-bottom: 14px !important;
  }
}

/* ─── Product card — equal height & name truncation ─── */
.card-product.card-product-size {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-product-size .card-product-wrapper {
  flex: 0 0 auto;
}

.card-product-size .name-product {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
  /* reserves space for exactly 2 lines */
}

.card-product-size .card-product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /* lets the info section stretch to fill card height */
}

.card-product-size .price-wrap {
  margin-top: auto;
  /* pushes price to the bottom of the info block */
}

/* ===== Contact Page ===== */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-surface, #f5f5f5);
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--main-color, #a4895c);
}

.contact-line-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-surface, #f8f8f8);
  border: 1px solid rgba(0, 0, 0, 0.07);
  margin-top: 8px;
}

.contact-line-qr {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.contact-form-wrap .form-control,
.contact-form-wrap textarea.form-control {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap textarea.form-control:focus {
  border-color: var(--main-color, #a4895c);
  box-shadow: 0 0 0 3px rgba(164, 137, 92, 0.12);
  outline: none;
}

@media (max-width: 767px) {
  .contact-info-wrap,
  .contact-form-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .contact-line-qr {
    width: 56px;
    height: 56px;
  }
}

/* ===== Product Detail Page ===== */
.product-detail-gallery {
  max-width: 560px;
  margin: 0 auto;
}

.product-detail-gallery .flat-wrap-media-product {
  max-width: 560px;
  margin: 0 auto;
}

.product-detail-gallery .tf-product-media-main .item {
  aspect-ratio: 1 / 1.12;
  border-radius: 8px;
  background: #fff;
}

.product-detail-gallery .tf-product-media-main .item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-detail-gallery .tf-product-media-thumbs {
  max-width: 560px;
  margin: 14px auto 0;
}

.product-detail-gallery .tf-product-media-thumbs .swiper-slide .item {
  height: 120px;
  border-radius: 6px;
  background: #fff;
}

.product-detail-gallery .tf-product-media-thumbs .swiper-slide .item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.product-detail-cart {
  display: grid;
  gap: 10px;
}

.product-detail-cart-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.product-detail-cart .wg-quantity {
  flex-shrink: 0;
  height: 52px;
}

.product-detail-add-cart {
  flex: 1 1 auto;
  min-height: 52px;
  justify-content: center;
}

.product-detail-cart-message {
  min-height: 20px;
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}

button.remove-cart {
  padding: 0;
  border: 0;
  background: transparent;
}

.tf-mini-cart-info .js-cart-remove.icon-close {
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: var(--primary, #3f2715);
  color: #fff;
  font-size: 10px;
}

.tf-mini-cart-info .js-cart-remove.icon-close::before {
  display: block;
  line-height: 1;
}

@media (max-width: 991px) {
  .product-detail-gallery,
  .product-detail-gallery .flat-wrap-media-product,
  .product-detail-gallery .tf-product-media-thumbs {
    max-width: 468px;
  }

  .product-detail-gallery .tf-product-media-thumbs .swiper-slide .item {
    height: 102px;
  }
}

@media (max-width: 767px) {
  .about-page,
  .about-page #wrapper,
  .about-page #wrapper > section {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
  }

  .about-page .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: hidden;
  }

  .about-page .flat-title-2,
  .about-page .box-title,
  .about-page .box-text,
  .about-page .image,
  .about-page .banner-about,
  .about-page #wrapper > section img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-page p,
  .about-page h1,
  .about-page h2,
  .about-page h3,
  .about-page h4,
  .about-page h5,
  .about-page h6 {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: calc(100vw - 32px) !important;
  }

  body.about-page #wrapper > section * {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .product-detail-gallery,
  .product-detail-gallery .flat-wrap-media-product,
  .product-detail-gallery .tf-product-media-thumbs {
    max-width: min(100%, 416px);
  }

  .product-detail-gallery .tf-product-media-main .item img {
    padding: 12px;
  }

  .product-detail-gallery .tf-product-media-thumbs .swiper-slide .item {
    height: 88px;
  }

  .product-detail-cart-row {
    flex-direction: column;
  }

  .product-detail-cart .wg-quantity,
  .product-detail-add-cart {
    width: 100%;
  }
}

/* สลับ state: loading <-> results <-> empty <-> featured */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.25s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* การ์ดผลลัพธ์ไล่โผล่ทีละใบ */
.stagger-enter-active {
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.stagger-enter-from {
  opacity: 0;
  transform: translateY(12px);
}
.stagger-leave-active {
  transition: opacity 0.2s ease;
  position: absolute;
}
.stagger-leave-to {
  opacity: 0;
}
.stagger-move {
  transition: transform 0.4s ease;
}

/* skeleton loading แทน spinner */
.card-product-skeleton {
  height: 260px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.2s ease-in-out infinite;
}
@keyframes skeleton-shine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.nav-icon-item {
  position: relative;
  display: inline-block;
}

.nav-icon-item #_GlobalCartCount {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background-color: #e53e3e;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  box-sizing: border-box;
}
