@media (max-width: 1100px) {
  .hero, .ecommerce-detail, .contact-hero, .split-section, .location-layout { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid, .benefit-grid, .contact-cards, .segment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-card { max-width: 100%; }
  .related-carousel { --related-card-width: calc((100% - 36px) / 3); }
}

@media (max-width: 820px) {
  .navbar { padding: 0 4vw; min-height: 68px; }
  .brand img { width: auto; height: 48px; }
  .site-footer { padding-right: 4vw; padding-left: 4vw; }
  .institutional-strip { padding-right: 4vw; padding-left: 4vw; }
  .institutional-strip-inner { flex-wrap: wrap; gap: 12px 28px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--blue-950);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero, .section, .page-title, .catalog-layout, .contact-hero, .product-page { padding-left: 4vw; padding-right: 4vw; }
  .quote-hero { min-height: calc(100vh - 68px); }
  .catalog-page { max-width: 100vw; overflow-x: hidden; }
  .catalog-results, .filters-panel, .product-grid.catalog, .product-card { width: 100%; max-width: 100%; overflow-x: hidden; }
  .filters-panel { left: 0; width: min(320px, calc(100vw - 32px)); }
  .result-toolbar { align-items: center; flex-direction: row; }
  .search-field { flex: 1 1 260px; min-width: 0; }
  .select-label { max-width: none; }
  .gallery-main { min-height: 360px; }
  .product-tabs, .commerce-card, .gallery-main, .buy-box, .ecommerce-detail { max-width: 100%; overflow-x: hidden; }
  .tab-panel { overflow-x: auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-carousel { --related-card-width: calc((100% - 18px) / 2); }
  .related-carousel-shell:has(.featured-carousel) { max-width: calc(100vw - 148px); }
  .related-carousel-shell:has(.featured-carousel) .carousel-btn-prev { left: -50px; }
  .related-carousel-shell:has(.featured-carousel) .carousel-btn-next { right: -50px; }
}

@media (max-width: 560px) {
  .home-page {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .hero { padding-top: 42px; }
  .home-page .hero,
  .home-page .section {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .home-page .hero > *,
  .home-page .section > * {
    min-width: 0;
  }
  .hero h1, .contact-hero h1 { font-size: 32px; }
  .home-page .hero h1,
  .home-page .hero p {
    overflow-wrap: break-word;
  }
  .page-title h1 { max-width: 320px; font-size: 24px; }
  .page-title .catalog-title { font-size: 24px; }
  .page-title p { max-width: 320px; overflow-wrap: anywhere; word-break: break-word; }
  .filters-panel, .product-card { max-width: calc(100vw - 32px); }
  .check span, .product-card h3 { max-width: 278px; }
  .product-card h3, .check span { overflow-wrap: anywhere; word-break: break-all; }
  .check { align-items: flex-start; }
  .check input { flex: 0 0 16px; }
  .hero-actions, .detail-actions, .form-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-visual { padding: 16px 0 0; }
  .institutional-strip { padding-top: 18px; padding-bottom: 18px; }
  .institutional-strip-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
  }
  .institutional-contact {
    justify-content: flex-start;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .product-grid, .category-grid, .benefit-grid, .contact-cards, .segment-grid { grid-template-columns: 1fr; }
  .catalog-page .product-grid.catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .catalog-page .product-grid.catalog .product-card {
    max-width: none;
    min-height: 100%;
  }
  .catalog-page .product-grid.catalog .product-card-link {
    min-height: 100%;
  }
  .catalog-page .product-grid.catalog .product-card .media {
    min-height: 126px;
    padding: 10px;
  }
  .catalog-page .product-grid.catalog .product-card .media img {
    height: 106px;
  }
  .catalog-page .product-grid.catalog .product-card .body {
    gap: 8px;
    padding: 12px;
  }
  .catalog-page .product-grid.catalog .product-card h3 {
    display: -webkit-box;
    max-width: none;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.22;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .catalog-page .product-grid.catalog .product-card .code {
    font-size: 12px;
    line-height: 1.2;
  }
  .catalog-page #categorias {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .catalog-page #categorias .section-heading {
    margin-bottom: 16px;
  }
  .catalog-page #categorias .section-heading h2 {
    margin-top: 0;
    font-size: 22px;
    line-height: 1.12;
  }
  .catalog-page #categorias .category-grid {
    gap: 10px;
  }
  .catalog-page #categorias .category-card {
    min-height: 0;
  }
  .catalog-page #categorias .category-media {
    min-height: 118px;
    padding: 12px 16px;
  }
  .catalog-page #categorias .category-media img {
    height: 92px;
  }
  .catalog-page #categorias .category-body {
    padding: 13px 16px 15px;
  }
  .catalog-page #categorias .category-card h3 {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.18;
  }
  .catalog-page #categorias .category-card p {
    font-size: 13px;
    line-height: 1.32;
  }
  .benefit-grid.compact article { grid-template-columns: 1fr; }
  .differential-content { padding: 24px 24px 12px; }
  .differential-visual { min-height: 128px; padding: 18px 24px 24px; }
  .differential-visual img { height: 104px; }
  .section-heading { display: block; }
  .home-page #categorias,
  .home-page .split-section,
  .home-page .why-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .home-page #categorias *,
  .home-page .split-section *,
  .home-page .why-section * {
    min-width: 0;
  }
  .home-page #categorias h2,
  .home-page .split-section h2,
  .home-page .why-section h2,
  .home-page #categorias h3,
  .home-page .split-section h3,
  .home-page .why-section h3,
  .home-page #categorias p,
  .home-page .split-section p,
  .home-page .why-section p {
    overflow-wrap: break-word;
  }
  .home-page #categorias .section-heading,
  .home-page .why-section .section-heading {
    margin-bottom: 18px;
  }
  .home-page #categorias .section-heading h2,
  .home-page .why-section .section-heading h2 {
    margin-top: 0;
    font-size: 23px;
    line-height: 1.12;
  }
  .home-page #categorias + .split-section {
    padding-top: 36px;
  }
  .home-page .category-grid,
  .home-page .benefit-grid.compact,
  .home-page .why-section .benefit-grid {
    gap: 12px;
  }
  .home-page .category-card {
    min-height: 0;
  }
  .home-page .category-media {
    min-height: 142px;
    padding: 14px 18px;
  }
  .home-page .category-media img {
    height: 112px;
  }
  .home-page .category-body {
    padding: 16px 18px 18px;
  }
  .home-page .category-card h3,
  .home-page .benefit-grid h3 {
    margin-bottom: 5px;
    font-size: 17px;
    line-height: 1.18;
  }
  .home-page .category-card p,
  .home-page .benefit-grid p {
    font-size: 14px;
    line-height: 1.34;
  }
  .home-page .split-section {
    gap: 20px;
  }
  .home-page .split-section h2 {
    margin: 6px 0 10px;
    font-size: 24px;
    line-height: 1.12;
  }
  .home-page .split-section > div:first-child p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.42;
  }
  .home-page .benefit-grid.compact article {
    min-height: 0;
  }
  .home-page .benefit-grid.compact .differential-content {
    padding: 16px 18px 8px;
  }
  .home-page .benefit-grid.compact .differential-visual {
    min-height: 96px;
    padding: 8px 18px 16px;
  }
  .home-page .benefit-grid.compact .differential-visual img {
    height: 82px;
  }
  .home-page .category-card span,
  .home-page .icon {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    font-size: 15px;
  }
  .home-page .benefit-grid .icon[aria-hidden="true"]::before {
    width: 19px;
    height: 19px;
  }
  .home-page .why-section .benefit-grid article {
    min-height: 0;
    padding: 18px;
  }
  .home-page .why-section .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-page .why-section .benefit-grid article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 10px) / 2);
  }
  .home-page #categorias .category-grid,
  .home-page .benefit-grid.compact,
  .catalog-page #categorias .category-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin: 0 -6px;
    padding: 2px 6px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    touch-action: pan-x pan-y;
    user-select: none;
  }
  .home-page #categorias .category-grid::-webkit-scrollbar,
  .home-page .benefit-grid.compact::-webkit-scrollbar,
  .catalog-page #categorias .category-grid::-webkit-scrollbar {
    display: none;
  }
  .home-page #categorias .category-grid.dragging,
  .home-page .benefit-grid.compact.dragging,
  .catalog-page #categorias .category-grid.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
  }
  .home-page #categorias .category-card,
  .home-page .benefit-grid.compact article,
  .catalog-page #categorias .category-card {
    flex: 0 0 calc(100% - 24px);
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .home-page #categorias .category-card img,
  .home-page .benefit-grid.compact article img,
  .catalog-page #categorias .category-card img {
    -webkit-user-drag: none;
    user-select: none;
  }
  .home-page #categorias .category-media,
  .catalog-page #categorias .category-media {
    min-height: 142px;
    padding: 14px 18px;
  }
  .home-page #categorias .category-media img,
  .catalog-page #categorias .category-media img {
    height: 112px;
  }
  .home-page #categorias .category-body,
  .catalog-page #categorias .category-body {
    padding: 16px 18px 18px;
  }
  .home-page #categorias .category-card h3,
  .catalog-page #categorias .category-card h3,
  .home-page .benefit-grid h3 {
    margin-bottom: 4px;
    font-size: 17px;
    line-height: 1.18;
  }
  .home-page #categorias .category-card p,
  .catalog-page #categorias .category-card p,
  .home-page .benefit-grid p {
    font-size: 14px;
    line-height: 1.34;
  }
  .home-page .benefit-grid.compact article {
    grid-template-columns: 1fr;
  }
  .home-page .benefit-grid.compact .differential-content {
    padding: 16px 18px 8px;
  }
  .home-page .benefit-grid.compact .differential-visual {
    min-height: 96px;
    padding: 8px 18px 16px;
  }
  .home-page .benefit-grid.compact .differential-visual img {
    height: 82px;
  }
  .home-page .why-section .benefit-grid article {
    padding: 14px;
  }
  .home-page .category-card span,
  .home-page .icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }
  .home-page .benefit-grid .icon[aria-hidden="true"]::before {
    width: 17px;
    height: 17px;
  }
  .product-card .media { min-height: 170px; }
  .product-card .media img { height: 140px; }
  .commerce-card, .tab-panel { padding: 20px; }
  .ecommerce-detail { padding: 18px; }
  .detail-gallery { display: flex; flex-direction: column-reverse; gap: 12px; }
  .thumbs {
    display: flex;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 6px;
  }
  .thumbs button { flex: 0 0 64px; width: 64px; height: 62px; }
  .gallery-main { min-height: 300px; padding: 20px; }
  .gallery-main img { max-height: 270px; }
  .buy-box h1 { font-size: 26px; }
  .commerce-row { grid-template-columns: 1fr; gap: 4px; }
  .commerce-row strong { text-align: left; white-space: normal; }
  .tab-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0 16px; }
  .tab-buttons button { width: 100%; }
  .tab-buttons button + button { margin-left: 0; }
  .carousel-btn { width: 36px; height: 36px; font-size: 0; }
  .carousel-btn::before { width: 12px; height: 12px; }
  .carousel-btn-prev { left: 4px; }
  .carousel-btn-next { right: 4px; }
  .related-carousel-shell:has(.featured-carousel) { max-width: calc(100vw - 140px); }
  .related-carousel-shell:has(.featured-carousel) .carousel-btn-prev { left: -62px; }
  .related-carousel-shell:has(.featured-carousel) .carousel-btn-next { right: -62px; }
  .related-carousel { --related-card-width: 100%; }
  .related-section .related-carousel {
    --related-gap: 12px;
    --related-card-width: calc((100% - 12px) / 2);
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .related-section .related-track {
    gap: var(--related-gap);
  }
  .related-section .product-card {
    min-height: 100%;
    max-width: none;
  }
  .related-section .product-card-link {
    min-height: 100%;
  }
  .related-section .product-card .media {
    min-height: 126px;
    padding: 10px;
  }
  .related-section .product-card .media img {
    height: 106px;
  }
  .related-section .product-card .body {
    gap: 8px;
    padding: 12px;
  }
  .related-section .product-card h3 {
    display: -webkit-box;
    max-width: none;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.22;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .related-section .product-card .code {
    font-size: 12px;
    line-height: 1.2;
  }
  .carousel-pagination { margin-top: 10px; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { padding-bottom: 7px; }
  .spec-table td { padding-top: 7px; }
  .site-footer { grid-template-columns: 1fr; }
  .location-layout { gap: 22px; }
  .location-info p { padding-bottom: 14px; }
  .home-page .location-map {
    width: 100%;
    min-height: 300px;
    height: 300px;
    overflow: hidden;
  }
  .home-page .location-map iframe {
    display: block;
    width: 100%;
    min-height: 300px;
    height: 100%;
  }
  .quote-hero { padding-top: 42px; padding-bottom: 42px; }
  .contact-form.quote-form {
    padding: 22px;
  }
  .quote-hero::before,
  .quote-hero::after { width: 88vw; }
}

@media (max-width: 430px) {
  .result-toolbar { align-items: stretch; }
  .search-field { flex-basis: 100%; width: 100%; }
  .filters-dropdown { flex: 0 0 auto; }
  #result-count { flex: 1 1 100%; }
}
