/* Juoiup Metal shared localization styles */

/* Hide floating widgets / tracking chrome */
#widgets,
.__widgets,
.__online,
.__online-group,
.__widget_inquiry,
.__top,
.__widget_translate,
[id^="online-"],
[id^="widget-inquiry-"],
[id^="top-"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

a[href*="wa.me"],
a[href*="api.whatsapp"],
a[href*="whatsapp.com"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Brand logos: natural size, no filters */
img.__image-img.logo-on-light,
img.__image-img.logo-on-dark,
.__nav_mobile-logo img.logo-on-light {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  filter: none !important;
}

.logo-on-dark {
  display: none !important;
}

.__nav-outer {
  z-index: 10000;
}

.__nav-dialog {
  z-index: 10001;
}

/* Home industries / case carousel grid fallback */
#list-oU4WKVmjhV,
#list-oU4WKVmjhV .__list-inner,
#list-oU4WKVmjhV .swiper {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

#list-oU4WKVmjhV .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 1px !important;
  transform: none !important;
  transition: none !important;
}

#list-oU4WKVmjhV .__list_item,
#list-oU4WKVmjhV .swiper-slide {
  display: block !important;
  position: relative !important;
  flex: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

#list-oU4WKVmjhV .swiper-slide[class*="swiper-slide-duplicate"] {
  display: none !important;
}

#list-oU4WKVmjhV .swiper-slide.swiper-slide-duplicate-prev[data-swiper-slide-index="5"] {
  display: block !important;
}

#list-oU4WKVmjhV .swiper-button-prev,
#list-oU4WKVmjhV .swiper-button-next {
  display: none !important;
}

@media (max-width: 991px) {
  #list-oU4WKVmjhV .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  #list-oU4WKVmjhV .swiper-wrapper {
    grid-template-columns: 1fr !important;
  }
}

/* Unified simple footer */
.page-footer.simple-footer {
  clear: both;
  background: #121212;
  color: #d7d7d7;
  margin-top: 0;
  padding: 34px 16px 24px;
  font-family: Inter, Arial, sans-serif;
  width: 100%;
}

.page-footer.simple-footer .sf-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-footer.simple-footer .sf-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.page-footer.simple-footer .sf-links a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-footer.simple-footer .sf-links a:hover {
  color: #f03005;
}

.page-footer.simple-footer .sf-copy {
  margin: 18px 0 0;
  color: #a6a6a6;
  font-size: 12px;
  letter-spacing: 0.03em;
}

@media (max-width: 600px) {
  .page-footer.simple-footer {
    padding: 28px 14px 20px;
  }

  .page-footer.simple-footer .sf-links {
    gap: 10px 16px;
  }
}

/* Privacy / Terms / Feedback content */
.legal-wrap {
  background: #fff;
  color: #111;
  padding: 48px 16px 64px;
}

.legal-wrap .legal-inner {
  max-width: 920px;
  width: 100%;
  float: none;
  margin: auto;
  text-align: left;
}

.legal-wrap .legal-inner h1 {
  margin: 0 0 24px;
  font-size: 32px;
  text-align: left;
}

.legal-wrap .legal-inner h2 {
  text-align: left;
}

/* Feedback thank-you page: pin footer to viewport bottom */
body.page-feedback {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

body.page-feedback #app {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

body.page-feedback .legal-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}

body.page-feedback .legal-wrap .legal-inner {
  max-width: 720px;
  text-align: center;
}

body.page-feedback .legal-wrap .legal-inner h1 {
  margin: 0 0 16px;
  font-size: 40px;
  text-align: center;
}

body.page-feedback .legal-wrap .legal-inner p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
}

body.page-feedback .legal-wrap .legal-inner a {
  color: #f03005;
  font-weight: 600;
  text-decoration: none;
}

body.page-feedback #widgets,
body.page-feedback #dialogs {
  display: none !important;
}

body.page-feedback .page-footer.simple-footer {
  margin-top: auto;
  flex-shrink: 0;
}
