/* Telecão: use the native Warehouse page width, including its responsive gutters. */
:is(#index, .elementor-landing-body) #content > .elementor > .elementor-top-section {
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: none;
  margin-inline: 0 !important;
}

:is(#index, .elementor-landing-body) #content > .elementor > .elementor-top-section > .elementor-container {
  width: 100%;
  max-width: none !important;
  margin-inline: 0;
}

/* Remove the second gutter around full-width homepage widgets, not their internal spacing. */
:is(#index, .elementor-landing-body) #content > .elementor > .elementor-top-section > .elementor-container > .elementor-row > .elementor-column > .elementor-column-wrap {
  padding-inline: 0 !important;
}

:is(#index, .elementor-landing-body) #main :is(.tc-home-accessories, #tc-home-blog, #tc-home-about, .tc-info-services, .tc-info-brands) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* Keep all three banners on the same rail as the heading and product shelves. */
@media (min-width: 992px) {
  :is(#index, .elementor-landing-body) .elementor-element-krfjhdt > .elementor-container > .elementor-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
  :is(#index, .elementor-landing-body) .elementor-element-krfjhdt > .elementor-container > .elementor-row > .elementor-column {
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 991px) {
  :is(#index, .elementor-landing-body) .elementor-element-krfjhdt > .elementor-container > .elementor-row {
    gap: 1rem;
  }
}

/* Footer panels follow its existing native container on every storefront page. */
#footer #footer-container-main .elementor-displayFooter.col-12 {
  padding-inline: .75rem;
}

#footer #footer-container-main :is(.elementor-element-hzmqb5w, .elementor-element-eddba9k).elementor-top-section {
  width: 100% !important;
  left: auto !important;
  right: auto !important;
  padding-inline: 0;
  margin-inline: 0;
}

#footer #footer-container-main :is(.elementor-element-hzmqb5w, .elementor-element-eddba9k) > .elementor-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* Optional unit prices must not push the main price below its neighbours. */
#wrapper .product-miniature-grid .product-price-and-shipping {
  min-height: 3.6rem;
  align-content: start;
}

#wrapper .product-miniature-grid .product-add-cart :is(.btn, .add-to-cart) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

#wrapper .product-miniature-grid .product-description {
  min-width: 0;
}

/* Keep the small catalogue labels on one line, so they cannot shift the price. */
#wrapper .product-miniature-grid :is(.product-brand, .product-category-name) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Native catalogue cards omit the brand element when no manufacturer is assigned.
   Reserve its 0.96rem line and 0.2rem net margin after the title's 0.4rem gap. */
body:not(:is(#index, #product)) #wrapper .product-miniature-grid .product-description:not(:has(> .product-brand)) > .product-title {
  margin-bottom: 1.56rem;
}

/* The product reassurance block is already inside the native page container. */
#product .elementor .elementor-section.tc-product-benefits {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
