/* Top Soldas layout — isolated to the dedicated ultimo/topsoldas theme. */
:root {
  --ts-ink: #111214;
  --ts-ink-soft: #1b1c1f;
  --ts-orange: #f47a00;
  --ts-orange-deep: #d85c00;
  --ts-orange-pale: #fff1e3;
  --ts-cream: #f7f5f1;
  --ts-paper: #fff;
  --ts-gray-100: #f1f1ef;
  --ts-gray-200: #dfdfdc;
  --ts-gray-500: #6b6c70;
  --ts-text: #242527;
  --ts-radius: 20px;
  --ts-shadow: 0 22px 60px rgba(12,12,13,.12);
}

body {
  color: var(--ts-text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.cms-topsoldas-home .main-before-top-container {
  display: none !important;
}

body.cms-topsoldas-home .preface .the-slideshow-wrapper-outer {
  display: none !important;
}

.ts-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header and search ------------------------------------------------------- */
.header-container,
.header-primary-container {
  background: var(--ts-paper) !important;
}

.header-primary.header.container,
.nav.container {
  width: min(1440px, calc(100% - 48px));
  max-width: none;
}

.header-primary.header.container {
  min-height: 366px;
  padding: 0 !important;
}

.header-regular .hp-blocks-holder {
  display: grid !important;
  grid-template-columns: 330px minmax(400px, 1fr) 285px;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  width: 100%;
  min-height: 312px;
}

.header-regular .hp-blocks-holder > .hp-block {
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}

.header-regular .logo-wrapper--regular,
.header-regular .logo-wrapper--regular .logo,
.header-regular .logo-wrapper--regular a {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  width: 100% !important;
  height: 306px !important;
  margin: 0 !important;
}

.header-regular .logo-wrapper--regular img {
  width: 304px !important;
  max-width: 304px !important;
  height: 304px !important;
  max-height: 304px !important;
  object-fit: contain;
}

.header-regular .search-wrapper-centered {
  overflow: visible !important;
}

#search_mini_form,
#search_mini_form .form-search {
  width: 100% !important;
  height: 60px !important;
  max-width: none !important;
}

#search_mini_form .form-search {
  position: relative;
  display: block;
}

#search_mini_form #search {
  box-sizing: border-box;
  float: none !important;
  width: 100% !important;
  height: 60px !important;
  padding: 0 128px 0 54px !important;
  color: var(--ts-ink) !important;
  background: #f5f5f3 !important;
  border: 1px solid #d7d7d2 !important;
  border-radius: 999px !important;
  box-shadow: none;
  font-size: 16px !important;
  line-height: 60px !important;
  transition: border-color .16s ease, box-shadow .16s ease;
}

#search_mini_form #search:focus {
  border: 2px solid var(--ts-orange) !important;
  box-shadow: 0 0 0 4px rgba(244,122,0,.12);
  outline: none;
}

#search_mini_form #search::placeholder {
  color: #747579;
  opacity: 1;
}

#search_mini_form .ts-search-icon {
  position: absolute;
  z-index: 3;
  top: 19px;
  left: 22px;
  width: 17px;
  height: 17px;
  border: 2px solid var(--ts-ink);
  border-radius: 50%;
  pointer-events: none;
}

#search_mini_form .ts-search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 8px;
  height: 2px;
  background: var(--ts-ink);
  border-radius: 2px;
  transform: rotate(45deg);
}

#search_mini_form .button {
  position: absolute !important;
  z-index: 4;
  top: 6px !important;
  right: 6px !important;
  width: auto !important;
  min-width: 108px;
  height: 48px !important;
  padding: 0 22px !important;
  color: var(--ts-ink) !important;
  background: var(--ts-orange) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800;
  line-height: 48px !important;
  transition: background .16s ease, transform .16s ease;
}

#search_mini_form .button::before {
  content: none !important;
  display: none !important;
}

#search_mini_form .button:hover {
  background: var(--ts-orange-deep) !important;
  transform: translateY(-1px);
}

#search_mini_form .button span,
#search_mini_form .button span span {
  display: block !important;
  height: auto !important;
  padding: 0 !important;
  color: inherit !important;
  background: none !important;
  line-height: inherit !important;
}

#search_autocomplete {
  z-index: 1200 !important;
  top: 68px !important;
  left: 0 !important;
  width: 100% !important;
  overflow: hidden;
  background: var(--ts-paper) !important;
  border: 1px solid var(--ts-gray-200) !important;
  border-radius: 16px;
  box-shadow: var(--ts-shadow);
}

#search_autocomplete ul {
  margin: 0;
  padding: 8px !important;
}

#search_autocomplete li {
  padding: 11px 13px !important;
  color: var(--ts-text);
  border: 0 !important;
  border-radius: 9px;
}

#search_autocomplete li:hover,
#search_autocomplete li.selected {
  background: var(--ts-orange-pale) !important;
}

.header-regular .user-menu {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 20px;
  color: var(--ts-ink);
}

.header-regular .top-links,
.header-regular .top-links a,
.header-regular #mini-cart .mini-cart-heading,
.header-regular #mini-cart .mini-cart-heading .label {
  color: #292a2d !important;
}

.header-regular .top-links a:hover,
.header-regular #mini-cart .mini-cart-heading:hover,
.header-regular #mini-cart .mini-cart-heading:hover .label {
  color: var(--ts-orange) !important;
}

.header-regular #mini-cart .mini-cart-heading .icon,
.header-regular #mini-cart .mini-cart-heading .count {
  color: var(--ts-orange) !important;
}

.nav-container {
  background: var(--ts-paper) !important;
  border-top: 1px solid #e6e3de;
  border-bottom: 1px solid #e6e3de;
  box-shadow: 0 5px 18px rgba(17,18,20,.06) !important;
}

.nav-container .nav {
  background: transparent !important;
}

#nav > li > a,
.nav-regular .nav-item > a {
  min-height: 54px !important;
  color: #292a2d !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 54px !important;
}

#nav > li > a:hover,
#nav > li.active > a,
.nav-regular .nav-item > a:hover {
  color: var(--ts-orange) !important;
  background: transparent !important;
  box-shadow: inset 0 -3px 0 var(--ts-orange);
}

@media (min-width: 961px) {
  .header-regular .header-container3 {
    position: relative;
  }

  .header-regular:not(.sticky-header) .nav-container {
    position: absolute !important;
    z-index: 20;
    top: 312px;
    right: 0;
    left: 0;
    height: 54px;
    background: transparent !important;
    border: 0;
    box-shadow: none !important;
  }

  .header-regular .nav.container {
    box-sizing: border-box;
    height: 54px;
    padding-right: 341px !important;
    padding-left: 384px !important;
  }

  .header-regular .nav.container > .inner-container {
    border-top: 1px solid #e6e3de;
  }

  .header-regular:not(.sticky-header) .search-wrapper-centered,
  .header-regular:not(.sticky-header) .user-menu {
    transform: translateY(-42px);
  }

  .header-regular:not(.sticky-header) #nav {
    display: flex !important;
    height: 54px !important;
  }

  .header-regular:not(.sticky-header) #nav > li {
    flex: 1 1 0;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: 54px !important;
  }

  .header-regular:not(.sticky-header) #nav > li > a {
    box-sizing: border-box;
    width: 100%;
    height: 54px !important;
    min-height: 54px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    white-space: nowrap;
    text-align: center;
  }

  .header-regular.sticky-header .nav-container {
    position: fixed !important;
    z-index: 1000;
    top: 0 !important;
    right: 0;
    left: 0;
    background: var(--ts-paper) !important;
    border-bottom: 1px solid #e6e3de;
    box-shadow: 0 5px 18px rgba(17,18,20,.08) !important;
  }

  .header-regular.sticky-header .nav.container {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

/* Home canvas ------------------------------------------------------------- */
body.cms-topsoldas-home .wrapper {
  background: var(--ts-paper) none !important;
}

body.cms-topsoldas-home .main-container,
body.cms-topsoldas-home .main.container,
body.cms-topsoldas-home .main .inner-container,
body.cms-topsoldas-home .col-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.cms-topsoldas-home .breadcrumbs,
body.cms-topsoldas-home .page-title,
body.cms-topsoldas-home .newsletter-social-container {
  display: none !important;
}

.ts-home,
.ts-home * {
  box-sizing: border-box;
}

.ts-home {
  color: var(--ts-text);
  background: var(--ts-paper);
  font-size: 16px;
  line-height: 1.5;
}

.ts-home img {
  display: block;
  max-width: 100%;
}

.ts-shell {
  width: min(1420px, calc(100% - 48px));
  margin-inline: auto;
}

.ts-eyebrow {
  margin: 0 0 18px;
  color: var(--ts-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ts-eyebrow--dark {
  margin-bottom: 10px;
  color: var(--ts-orange-deep);
}

.ts-hero {
  position: relative;
  overflow: hidden;
  color: var(--ts-paper);
  background:
    radial-gradient(circle at 76% 45%, rgba(244,122,0,.19), transparent 24%),
    linear-gradient(112deg, #0b0b0c 0%, #171719 58%, #202124 100%);
}

.ts-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(115deg, transparent 0 49%, rgba(255,255,255,.05) 49.3%, transparent 49.7%),
    linear-gradient(65deg, transparent 0 61%, rgba(255,255,255,.035) 61.2%, transparent 61.6%);
  background-size: 170px 170px, 230px 230px;
  pointer-events: none;
}

.ts-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.06fr) minmax(420px,.94fr);
  align-items: center;
  min-height: 620px;
  gap: clamp(48px,7vw,112px);
  padding-block: 68px;
}

.ts-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.ts-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ts-paper);
  font-size: clamp(48px,5.2vw,82px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: none;
}

.ts-hero h1 em {
  display: block;
  margin-top: 8px;
  color: var(--ts-orange);
  font-style: normal;
}

.ts-hero__intro {
  max-width: 670px;
  margin: 28px 0 0;
  color: #c7c8ca;
  font-size: 18px;
  line-height: 1.65;
}

.ts-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.ts-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.ts-button--primary {
  color: var(--ts-ink) !important;
  background: var(--ts-orange);
}

.ts-button--primary:hover {
  background: #ff8f1b;
}

.ts-button--ghost {
  color: var(--ts-paper) !important;
  border-color: rgba(255,255,255,.35);
}

.ts-button--ghost:hover {
  color: var(--ts-ink) !important;
  background: var(--ts-paper);
  border-color: var(--ts-paper);
}

.ts-button--light {
  color: var(--ts-ink) !important;
  background: var(--ts-paper);
}

.ts-button--light:hover {
  color: var(--ts-paper) !important;
  background: var(--ts-ink);
}

.ts-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: #e3e3e3;
  font-size: 12px;
  font-weight: 700;
}

.ts-hero__checks li {
  position: relative;
  padding-left: 19px;
}

.ts-hero__checks li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--ts-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(244,122,0,.12);
}

.ts-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 490px;
}

.ts-hero__halo {
  position: absolute;
  width: min(42vw,560px);
  aspect-ratio: 1;
  border: 1px solid rgba(244,122,0,.42);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(244,122,0,.045), 0 0 0 78px rgba(244,122,0,.025);
}

.ts-hero__spark {
  position: absolute;
  width: 3px;
  height: 74px;
  background: linear-gradient(transparent,var(--ts-orange),transparent);
  filter: drop-shadow(0 0 6px var(--ts-orange));
  transform-origin: center;
}

.ts-hero__spark--one { top: 6%; right: 20%; transform: rotate(42deg); }
.ts-hero__spark--two { right: 6%; bottom: 21%; height: 52px; transform: rotate(76deg); }
.ts-hero__spark--three { left: 11%; bottom: 9%; height: 42px; transform: rotate(-58deg); }

.ts-hero-product {
  position: relative;
  z-index: 2;
  width: min(440px,100%);
  margin: 0;
  padding: 20px;
  color: var(--ts-text);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 32px;
  box-shadow: 0 38px 90px rgba(0,0,0,.38);
  transform: rotate(1.5deg);
}

.ts-hero-product__badge {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  padding: 7px 11px;
  color: var(--ts-paper);
  background: var(--ts-ink);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ts-hero-product img {
  width: 100%;
  height: 306px;
  padding: 10px;
  object-fit: contain;
  border-radius: 22px;
}

.ts-hero-product > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 18px;
  padding: 12px 10px 8px;
}

.ts-hero-product p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ts-orange-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ts-hero-product strong {
  max-width: 260px;
  color: var(--ts-ink);
  font-size: 17px;
  line-height: 1.25;
}

.ts-hero-product a {
  color: var(--ts-orange-deep);
  font-size: 12px;
  font-weight: 800;
}

.ts-benefits {
  background: var(--ts-paper);
  border-bottom: 1px solid var(--ts-gray-200);
}

.ts-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.ts-benefits article {
  display: flex;
  align-items: center;
  min-height: 110px;
  gap: 16px;
  padding: 20px 28px;
  border-right: 1px solid var(--ts-gray-200);
}

.ts-benefits article:first-child { padding-left: 0; }
.ts-benefits article:last-child { padding-right: 0; border-right: 0; }
.ts-benefits article > span { color: var(--ts-orange); font-size: 12px; font-weight: 900; }
.ts-benefits strong { display: block; color: var(--ts-ink); font-size: 14px; }
.ts-benefits p { margin: 3px 0 0; color: var(--ts-gray-500); font-size: 12px; }

.ts-section {
  /* Mantém as seções consecutivas visualmente próximas, sem colar conteúdo. */
  padding-block: 32px;
}

.ts-categories { background: var(--ts-cream); }
.ts-products { background: var(--ts-paper); }

.ts-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.ts-section-heading h2,
.ts-expert h2 {
  margin: 0;
  color: var(--ts-ink);
  font-size: clamp(32px,3.3vw,50px);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-transform: none;
}

.ts-section-heading > a {
  padding-bottom: 5px;
  color: var(--ts-orange-deep);
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.ts-category-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.ts-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 272px;
  padding: 28px;
  overflow: hidden;
  color: var(--ts-text);
  background: var(--ts-paper);
  border: 1px solid var(--ts-gray-200);
  border-radius: var(--ts-radius);
  box-shadow: 0 12px 36px rgba(15,15,16,.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ts-category-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 24px solid var(--ts-orange-pale);
  border-radius: 50%;
  transition: transform .22s ease;
}

.ts-category-card:hover {
  color: var(--ts-text);
  border-color: rgba(244,122,0,.5);
  box-shadow: var(--ts-shadow);
  transform: translateY(-5px);
  text-decoration: none;
}

.ts-category-card:hover::after { transform: scale(1.12); }
.ts-category-card--orange { color: var(--ts-paper); background: var(--ts-orange); border-color: var(--ts-orange); }
.ts-category-card--orange:hover { color: var(--ts-paper); }
.ts-category-card--orange::after { border-color: rgba(255,255,255,.18); }
.ts-category-card__index { position: relative; z-index: 1; color: var(--ts-orange-deep); font-size: 12px; font-weight: 900; }
.ts-category-card--orange .ts-category-card__index { color: var(--ts-ink); }
.ts-category-card > div { position: relative; z-index: 1; max-width: 230px; }
.ts-category-card strong,
.ts-category-card div span { display: block; }
.ts-category-card strong { color: var(--ts-ink); font-size: 22px; line-height: 1.1; letter-spacing: -.025em; }
.ts-category-card--orange strong { color: var(--ts-paper); }
.ts-category-card div span { margin-top: 10px; color: var(--ts-gray-500); font-size: 13px; }
.ts-category-card--orange div span { color: rgba(255,255,255,.8); }
.ts-category-card b { position: absolute; z-index: 2; right: 22px; bottom: 20px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--ts-paper); background: var(--ts-ink); border-radius: 50%; }
.ts-category-card--orange b { color: var(--ts-ink); background: var(--ts-paper); }

/* Native Ultimo carousel, visually integrated ---------------------------- */
.ts-native-products > .section-title {
  display: none !important;
}

.ts-native-products .itemslider-wrapper {
  margin: 0 !important;
}

.ts-native-products .owl-wrapper-outer {
  padding: 8px 0 32px;
}

.ts-native-products .owl-item {
  padding: 0 9px;
}

.ts-native-products .item {
  box-sizing: border-box;
  min-height: 455px;
  padding: 14px 14px 18px !important;
  background: var(--ts-paper);
  border: 1px solid var(--ts-gray-200);
  border-radius: var(--ts-radius);
  transition: box-shadow .18s ease, transform .18s ease;
}

.ts-native-products .item:hover {
  box-shadow: var(--ts-shadow);
  transform: translateY(-4px);
}

.ts-native-products .product-image-wrapper {
  width: 100% !important;
  max-width: none !important;
  min-height: 270px;
  overflow: hidden;
  background: var(--ts-gray-100);
  border-radius: 14px;
}

.ts-native-products .product-image {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 270px;
}

.ts-native-products .product-image img {
  width: 84% !important;
  max-width: 230px !important;
  height: 240px !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .22s ease;
}

.ts-native-products .item:hover .product-image img { transform: scale(1.045); }

.ts-native-products .product-name {
  min-height: 52px;
  margin: 18px 4px 8px !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none !important;
}

.ts-native-products .product-name a { color: var(--ts-ink) !important; }
.ts-native-products .product-name a:hover { color: var(--ts-orange-deep) !important; }

.ts-native-products .price-box {
  margin: 8px 4px 0 !important;
  color: var(--ts-gray-500);
  font-size: 11px;
  line-height: 1.35;
}

.ts-native-products .price-box .price,
.ts-native-products .price-box strong {
  color: var(--ts-ink) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

.ts-native-products .discounted-price-separator { margin-block: 3px; }
.ts-native-products .owl-controls { margin-top: 4px; }
.ts-native-products .owl-page span { background: #bbb !important; }
.ts-native-products .owl-page.active span { background: var(--ts-orange) !important; }
.ts-native-products .owl-buttons .owl-prev,
.ts-native-products .owl-buttons .owl-next { color: var(--ts-paper) !important; background: var(--ts-ink) !important; border-radius: 50% !important; }
.ts-native-products .owl-buttons .owl-prev:hover,
.ts-native-products .owl-buttons .owl-next:hover { background: var(--ts-orange) !important; }

.ts-expert {
  padding-block: 40px;
  color: var(--ts-paper);
  background: radial-gradient(circle at 89% 35%,rgba(0,0,0,.23),transparent 22%), var(--ts-orange);
}

.ts-expert__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.ts-expert .ts-eyebrow { color: var(--ts-ink); }
.ts-expert h2 { color: var(--ts-paper); }

/* Footer identity --------------------------------------------------------- */
.footer-container,
.footer-bottom-container {
  color: #bfc0c2 !important;
  background: #0b0b0c !important;
}

.footer-bottom.footer.container {
  width: min(1420px, calc(100% - 48px));
  max-width: none;
  min-height: 78px;
  padding-block: 26px !important;
}

.footer-bottom .copyright { color: #a9aaad !important; }

@media (max-width: 1180px) {
  .header-primary.header.container {
    min-height: 270px;
  }

  .header-regular .hp-blocks-holder,
  .header-container3 .hp-blocks-holder {
    position: relative;
    grid-template-columns: 280px minmax(0,1fr);
    gap: 24px;
    min-height: 270px;
  }

  .header-regular .logo-wrapper--regular,
  .header-regular .logo-wrapper--regular .logo,
  .header-regular .logo-wrapper--regular a {
    height: 260px !important;
  }

  .header-regular .logo-wrapper--regular img {
    width: 256px !important;
    max-width: 256px !important;
    height: 256px !important;
    max-height: 256px !important;
  }

  .header-regular .top-links .links > li:first-child { display: none; }
  .ts-benefits article { padding-inline: 20px; }
}

@media (max-width: 1180px) and (min-width: 961px) {
  .header-regular:not(.sticky-header) .nav-container {
    top: 188px;
  }

  .header-regular .nav.container {
    padding-right: 5px !important;
    padding-left: 309px !important;
  }

  .header-regular:not(.sticky-header) .search-wrapper-centered {
    grid-column: 2;
    transform: none;
  }

  .header-regular:not(.sticky-header) .user-menu {
    position: absolute;
    z-index: 5;
    top: 20px;
    right: 0;
    width: 210px !important;
    transform: none !important;
  }
}

@media (max-width: 960px) and (min-width: 770px) {
  .header-primary.header.container {
    padding-block: 12px 16px !important;
  }

  .header-regular .hp-blocks-holder {
    grid-template-columns: 280px 1fr 210px;
    min-height: 350px;
  }

  .header-regular .hp-blocks-holder > .search-wrapper-centered {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-regular .user-menu {
    grid-column: 3;
    grid-row: 1;
  }

  .ts-hero__inner {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 70px;
  }

  .ts-hero__visual { min-height: 440px; }
  .ts-hero__halo { width: min(72vw,520px); }
  .ts-category-grid { grid-template-columns: repeat(2,1fr); }
  .ts-benefits__grid { grid-template-columns: repeat(2,1fr); }
  .ts-benefits article:nth-child(2) { border-right: 0; }
  .ts-benefits article:nth-child(-n+2) { border-bottom: 1px solid var(--ts-gray-200); }
  .ts-benefits article:nth-child(3) { padding-left: 0; }
}

@media (max-width: 769px) {
  .header-primary.header.container,
  .nav.container {
    width: calc(100% - 28px);
  }

  .header-primary.header.container {
    min-height: 0;
    padding: 10px 0 14px !important;
  }

  .header-mobile .hp-blocks-holder {
    min-height: 330px;
  }

  .header-mobile .logo-wrapper--mobile {
    height: 200px !important;
  }

  .header-mobile .logo-wrapper--mobile .logo,
  .header-mobile .logo-wrapper--mobile img {
    width: 196px !important;
    max-width: 196px !important;
    height: 196px !important;
    max-height: 196px !important;
    object-fit: contain;
  }

  .header-mobile .skip-link {
    color: #292a2d !important;
    background: var(--ts-paper) !important;
    border-color: #e6e3de !important;
  }

  .header-mobile .skip-link:hover,
  .header-mobile .skip-link.skip-active {
    color: var(--ts-orange) !important;
    background: var(--ts-orange-pale) !important;
  }

  .header-mobile .skip-search {
    display: none !important;
  }

  .header-mobile .skip-nav,
  .header-mobile .skip-account,
  .header-mobile #mini-cart .mini-cart-heading {
    width: 33.3333% !important;
  }

  .header-mobile #header-search {
    display: block !important;
    clear: both;
    width: 100% !important;
    height: 54px !important;
    margin-top: 10px !important;
    padding: 0 !important;
  }

  .header-mobile #search_mini_form,
  .header-mobile #search_mini_form .form-search,
  .header-mobile #search_mini_form #search {
    height: 54px !important;
  }

  .header-mobile #search_mini_form #search {
    padding-right: 58px !important;
    line-height: 54px !important;
    font-size: 14px !important;
  }

  .header-mobile #search_mini_form .ts-search-icon {
    top: 16px;
  }

  .header-mobile #search_mini_form .button {
    top: 5px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    overflow: hidden;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 44px !important;
  }

  .header-mobile #search_mini_form .button::before {
    content: "→" !important;
    display: block !important;
    color: var(--ts-paper);
    font-size: 20px;
    line-height: 44px;
  }

  .ts-shell { width: calc(100% - 28px); }
  .ts-hero__inner { grid-template-columns: 1fr; gap: 42px; min-height: auto; padding-block: 58px 64px; }
  .ts-hero h1 { font-size: clamp(42px,13vw,62px); }
  .ts-hero__intro { font-size: 16px; }
  .ts-hero__actions { align-items: stretch; flex-direction: column; }
  .ts-hero__actions .ts-button { width: 100%; }
  .ts-hero__checks { gap: 12px 18px; }
  .ts-hero__visual { min-height: 360px; }
  .ts-hero__halo { width: min(88vw,430px); }
  .ts-hero-product { padding: 14px; border-radius: 24px; }
  .ts-hero-product img { height: 250px; }
  .ts-hero-product > div { grid-template-columns: 1fr; }
  .ts-hero-product a { margin-top: 10px; }

  .ts-benefits__grid { grid-template-columns: 1fr; }
  .ts-benefits article,
  .ts-benefits article:first-child,
  .ts-benefits article:last-child {
    min-height: 88px;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ts-gray-200);
  }
  .ts-benefits article:last-child { border-bottom: 0; }

  .ts-section { padding-block: 28px; }
  .ts-section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .ts-category-grid { grid-template-columns: 1fr; }
  .ts-category-card { min-height: 230px; }

  .ts-native-products .owl-item { padding: 0 6px; }
  .ts-native-products .item { min-height: 380px; padding: 10px 10px 14px !important; }
  .ts-native-products .product-image-wrapper,
  .ts-native-products .product-image { min-height: 190px; }
  .ts-native-products .product-image img { height: 180px !important; }
  .ts-native-products .product-name { min-height: 56px; font-size: 13px !important; }
  .ts-native-products .price-box .price,
  .ts-native-products .price-box strong { font-size: 16px !important; }

  .ts-expert { padding-block: 36px; }
  .ts-expert__inner { align-items: flex-start; flex-direction: column; gap: 30px; }
  .ts-expert .ts-button { width: 100%; }
  .footer-bottom.footer.container { width: calc(100% - 28px); }
}

@media (max-width: 359px) {
  .ts-native-products .owl-item { padding: 0 4px; }
  .ts-native-products .item { min-height: 350px; }
  .ts-native-products .product-image-wrapper,
  .ts-native-products .product-image { min-height: 160px; }
  .ts-native-products .product-image img { height: 150px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ts-home *,
  .ts-home *::before,
  .ts-home *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Rodapé exclusivo da Top Soldas — escopo restrito ao tema topsoldas. */
.ts-footer { background:#0d0e10; color:#f7f7f7; padding:44px 24px; }
.ts-footer__panel { max-width:1120px; margin:0 auto; overflow:hidden; border:1px solid rgba(244,128,0,.55); border-radius:16px; background:#151619; }
.ts-footer__contact, .ts-footer__links, .ts-footer__legal { padding:28px; }
.ts-footer__contact, .ts-footer__links { border-bottom:1px solid rgba(255,255,255,.14); }
.ts-footer__eyebrow { margin:0 0 6px; color:#f58200; font-size:12px; font-weight:800; letter-spacing:.12em; }
.ts-footer__title, .ts-footer h3 { margin:0; color:#fff; font-family:Barlow,Arial,sans-serif; font-weight:700; }
.ts-footer__title { font-size:24px; }.ts-footer h3 { font-size:18px; }
.ts-footer__relationship, .ts-footer__location, .ts-footer__legal p { margin:8px 0 0; color:#d4d5d7; line-height:1.55; }
.ts-footer__relationship strong, .ts-footer__legal h3 { color:#ff9419; }
.ts-footer__contact-links { display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:16px; }
.ts-footer a { color:#fff; text-decoration:none; }.ts-footer a:hover { color:#ff9419; }
.ts-footer a:focus-visible { outline:2px solid #ff9419; outline-offset:3px; }
.ts-footer__links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.ts-footer ul { margin:14px 0 0; padding:0; list-style:none; }.ts-footer li + li { margin-top:10px; }
.ts-footer li a { color:#d9dadd; }.ts-footer li a::after { content:' →'; color:#f58200; }
.ts-footer__legal { background:#101114; }.ts-footer__copyright { color:#fff !important; font-weight:600; }
@media (max-width:767px) { .ts-footer { padding:28px 16px; }.ts-footer__contact,.ts-footer__links,.ts-footer__legal { padding:24px 20px; }.ts-footer__links { grid-template-columns:1fr; gap:24px; }.ts-footer__contact-links { flex-direction:column; align-items:flex-start; gap:9px; } }

/* Keep account links inside the header at intermediate browser widths. */
@media (min-width:770px) and (max-width:960px) {
  .header-regular .hp-blocks-holder {
    grid-template-columns:minmax(220px,280px) minmax(0,1fr) minmax(0,210px);
    gap:16px;
  }
  .header-regular .user-menu,
  .header-regular .top-links,
  .header-regular .top-links .links,
  .header-container3 .user-menu,
  .header-container3 .top-links,
  .header-container3 .top-links .links { min-width:0; max-width:100%; }
  .header-regular .top-links .links,
  .header-container3 .top-links .links {
    display:flex !important;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:0 8px;
  }
  .header-regular .top-links .links > li,
  .header-container3 .top-links .links > li {
    float:none !important;
    padding:0 !important;
    white-space:nowrap;
  }
}

/* Desktop header: two aligned panels (brand / search and categories). */
@media (min-width: 961px) {
  .header-primary.header.container {
    position: relative;
  }

  .header-primary.header.container::before {
    position: absolute;
    top: 0;
    left: 384px;
    right: 0;
    bottom: 0;
    z-index: 0;
    content: "";
    pointer-events: none;
    background: #fff;
    border: 1px solid #e6e3de;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(17,18,20,.04);
  }

  .header-regular .hp-blocks-holder > .hp-block:not(.search-wrapper-centered):not(.user-menu) {
    box-sizing: border-box;
    min-height: 366px;
    background: #fff;
    border: 1px solid #e6e3de;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(17,18,20,.04);
  }

  .header-regular .hp-blocks-holder,
  .header-regular:not(.sticky-header) .nav-container {
    z-index: 1;
  }

  .header-regular:not(.sticky-header) .nav.container > .inner-container {
    border-top-color: #e6e3de;
  }
}

/* On wide desktops, keep categories directly below the search box. */
@media (min-width: 1181px) {
  .header-primary.header.container {
    min-height: 306px;
  }

  .header-regular .hp-blocks-holder,
  .header-regular .hp-blocks-holder > .hp-block:not(.search-wrapper-centered):not(.user-menu) {
    min-height: 306px;
  }

  .header-regular:not(.sticky-header) .nav-container {
    top: 155px;
  }

  .header-regular .nav.container > .inner-container {
    margin-left: 399px !important;
    margin-right: 356px !important;
  }
}

/* Sticky desktop navigation must always remain a single compact row. */
@media (min-width: 961px) {
  .header-regular.sticky-header .nav-container {
    height: 54px !important;
  }

  .header-regular.sticky-header .nav.container > .inner-container {
    box-sizing: border-box;
    width: min(900px, calc(100% - 32px)) !important;
    margin: 0 auto !important;
  }

  .header-regular.sticky-header #nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    height: 54px !important;
  }

  .header-regular.sticky-header #nav > li {
    display: block !important;
    flex: 1 1 0;
    float: none !important;
    width: auto !important;
    min-width: 0;
    height: 54px !important;
  }

  .header-regular.sticky-header #nav > li > a {
    box-sizing: border-box;
    width: 100%;
    min-height: 54px !important;
    padding: 0 8px !important;
    font-size: 14px !important;
    line-height: 54px !important;
    white-space: nowrap !important;
    text-align: center;
  }
}
