/* Catálogo V228. Presentation only: native forms, roles and quote actions remain intact. */
:root{--gqa-body-bg:#f6f8f9;--gqa-text:#222b30;--gqa-muted:#5e6b73;--gqa-card-bg:#fff;--gqa-border:#dce3e7;--gqa-header-bg:#fff;--gqa-header-text:#222b30;--gqa-header-link:#222b30;--gqa-header-link-hover:#b71d30;--gqa-header-link-visited:#222b30;--gqa-header-nav-bg:#ca2336;--gqa-header-nav-text:#fff;--gqa-primary:#ca2336;--gqa-primary-text:#fff;--gqa-primary-hover:#a91e2e;--gqa-primary-hover-text:#fff;--gqa-secondary-bg:#fff;--gqa-secondary-text:#25323a;--gqa-secondary-hover-bg:#edf2f4;--gqa-secondary-hover-text:#25323a;--gqa-footer-bg:#f6f8f9;--gqa-footer-text:#5e6b73;--gqa-card-radius:9px;--gqa-input-radius:6px;--gqa-button-radius:6px;--gqa-card-shadow:0px;--gqa-header-radius:0px}
body{background:var(--gqa-body-bg);color:var(--gqa-text)}
main.shell{max-width:1240px;padding-top:20px;padding-left:24px;padding-right:24px}
main.shell.wide{max-width:1240px}
.site-header.gqa-compact-header{background:#fff!important;border:1px solid #e2e7e9;border-radius:9px!important;margin-top:0!important;margin-bottom:24px;padding:22px 24px 0!important;box-shadow:none!important}
.gqa-compact-header .gqa-header-top{grid-template-columns:180px minmax(170px,1fr) minmax(210px,auto);gap:26px;padding-bottom:20px}
.gqa-header-logo img{width:180px;max-height:67px}
.gqa-compact-header .gqa-header-search{max-width:460px}.gqa-header-search input{border-radius:6px;background:#f3f6f7;border-color:#dce3e7;height:44px}
.gqa-compact-header .gqa-header-session,.gqa-compact-header .userbar{color:#4e5e67}
.gqa-compact-header .userbar>a,.gqa-compact-header .userbar .user-account-link{color:#26343c!important}
.gqa-compact-header .userbar>a:hover,.gqa-compact-header .userbar>a:focus-visible{color:#ad1c30!important}
.gqa-compact-header .gqa-header-navigation{gap:20px;padding-bottom:14px;align-items:flex-start}
.gqa-category-shortcuts{gap:10px 20px;flex-wrap:wrap;overflow:visible;align-items:center;flex:1 1 auto}
.gqa-category-shortcuts>a{font-size:12px;min-height:36px!important;white-space:normal;line-height:1.35}
.gqa-products-menu>summary{border-radius:6px;background:#ca2336;color:#fff;padding:11px 15px;min-height:40px}
.gqa-category-panel{box-shadow:0 10px 30px #21343f20;border-color:#dce3e7}.gqa-category-panel a:focus-visible{outline:2px solid #006d91;outline-offset:-2px}
.page-title.gqa-body-title{font-size:clamp(28px,3vw,38px)!important;letter-spacing:-.8px;margin-top:20px!important;margin-bottom:24px!important;line-height:1.15}
.card{border:1px solid #dce3e7;border-radius:9px;padding:24px;box-shadow:none;background:#fff;margin-bottom:22px}
h2{font-size:23px;letter-spacing:-.4px}h3{letter-spacing:-.2px}
label{font-weight:600;color:#3f505a;font-size:14px}input,select,textarea{border-color:#ccd7dc;border-radius:6px}select,input:not([type=checkbox]):not([type=radio]){min-height:44px}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #006f96;outline-offset:3px}
button,.button-link{border-radius:6px}.matrix thead th{background:#f2f5f7;color:#4b5c65;font-weight:600}.matrix th,.matrix td{border-color:#e1e7ea;padding:15px 11px}.matrix .price-cell.selected{box-shadow:inset 0 0 0 2px #ca2336;background:#fff1f3}.cell-total{font-size:20px;letter-spacing:-.3px}.cell-unit{color:#5c6d77;font-size:12px}
.options-card{border-left:3px solid #ca2336}.production-item{background:#f5f7f8;border-color:#e0e7ea;border-radius:6px}.info-note,.field-help{line-height:1.6}.gqa-catalog-breadcrumb,.catalog-breadcrumb{font-size:12px;color:#65747d}
.gqa-home-catalogue .home-welcome{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:30px;padding:30px;background:#edf2f4;border:1px solid #dce3e7;border-radius:9px;align-items:center;margin-bottom:28px}
.gqa-home-catalogue .welcome-copy{order:0;background:transparent;border:0;margin:0;padding:0;box-shadow:none;min-width:0}
.gqa-home-catalogue .welcome-copy h1{font-size:clamp(28px,3.5vw,44px);line-height:1.08;letter-spacing:-1.2px;margin-bottom:22px}
.gqa-home-catalogue .welcome-copy .content-body{color:#52636c;font-size:15px;line-height:1.65}
.gqa-home-catalogue .welcome-banner-picture{order:1;min-width:0;display:block;margin:0!important}
.gqa-home-catalogue .welcome-banner{display:block;width:100%;height:auto!important;max-height:none;object-fit:contain;border-radius:6px;margin:0!important}
.gqa-home-catalogue .home-design-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}.gqa-home-catalogue .home-design-actions .button-link{margin:0}
.gqa-home-catalogue .home-welcome:not(:has(.welcome-banner-picture)){grid-template-columns:1fr}
.catalog-category-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:16px;margin-top:22px;margin-bottom:28px}
.catalog-category-card{padding:18px;border-radius:8px;background:#f4f7f8;border-color:#dce3e7;color:#24343e!important;gap:15px;min-height:72px;justify-content:center}
.catalog-category-card strong{font-size:17px;font-weight:700}.catalog-category-card img{height:145px;object-fit:contain;background:#fff;border-radius:5px}
.catalog-grid{gap:18px;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.catalog-item{border-color:#dce3e7;border-radius:8px;padding:22px;text-align:center;align-items:center;background:#fff}.catalog-item h3{font-size:20px;line-height:1.2;margin-bottom:12px}.catalog-item .button-link{align-self:center;font-size:13px;white-space:normal}.catalog-description{font-size:14px;color:#52636c;line-height:1.6}.catalog-card-image img{height:185px;object-fit:contain;background:#f5f7f8}.home-commercial-card{background:#edf2f4}.home-content-section .content-body{font-size:14px;line-height:1.65}
/* Preserve the complete native action bar, including role-dependent buttons and menus. */
.quote-actions-card{border-top:3px solid #ca2336;box-shadow:0 -4px 22px #21343f18;border-radius:9px 9px 0 0;background:#fff}.quote-actions-card h2{font-size:20px}.quote-actions-card .quote-actions-buttons{gap:9px;flex-wrap:wrap}.quote-actions-card .quote-actions-buttons button{min-height:42px;white-space:normal}.gqa-floating-price-card{border-color:#dce3e7;border-top:3px solid #ca2336;border-radius:8px;box-shadow:0 5px 20px #21343f18}
.site-footer{border-top:1px solid #dce3e7;border-radius:0;padding-top:28px;line-height:1.7}.site-footer-links{gap:18px}
@media(max-width:1000px){.gqa-compact-header .gqa-header-top{grid-template-columns:155px minmax(160px,1fr) minmax(190px,auto);gap:18px}.gqa-header-logo img{width:155px}.gqa-category-shortcuts{gap:8px 15px}}
@media(max-width:760px){main.shell{padding-left:16px;padding-right:16px;padding-top:14px}.site-header.gqa-compact-header{padding:16px 16px 0!important;border-radius:8px!important}.gqa-compact-header .gqa-header-top{grid-template-columns:125px minmax(0,1fr);gap:15px;padding-bottom:16px}.gqa-header-logo img{width:125px;max-height:55px}.gqa-compact-header .gqa-header-search{grid-row:2;grid-column:1/-1}.gqa-compact-header .gqa-header-session{grid-row:1;grid-column:2}.gqa-compact-header .gqa-header-navigation{gap:12px;padding-bottom:14px}.gqa-category-shortcuts{flex-wrap:wrap;gap:6px 12px}.gqa-category-shortcuts>a{font-size:11px;min-height:30px!important}.gqa-products-menu>summary{padding:10px;gap:7px;min-height:40px}.gqa-category-panel{width:min(380px,100%)}.gqa-home-catalogue .home-welcome{grid-template-columns:1fr;gap:24px;padding:23px}.gqa-home-catalogue .welcome-copy h1{font-size:32px}.gqa-home-catalogue .welcome-banner-picture{order:1}.card{padding:20px}.catalog-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-category-card{padding:13px}.catalog-category-card strong{font-size:14px}.catalog-category-card img{height:100px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-item{padding:16px}.catalog-item h3{font-size:17px}.catalog-card-image img{height:125px}.matrix td,.matrix th{padding:12px 8px}.quote-actions-card{padding:14px;max-height:42vh;overflow:auto}.quote-actions-card .quote-actions-buttons button{font-size:12px;min-height:44px}.site-footer{font-size:13px}}
@media(max-width:430px){.catalog-grid{grid-template-columns:1fr}.catalog-category-grid{gap:9px}.gqa-compact-header .userbar{font-size:10px!important;gap:6px!important}.gqa-header-logo img{width:115px}.gqa-compact-header .gqa-header-top{grid-template-columns:115px minmax(0,1fr)}.page-title.gqa-body-title{font-size:27px!important}.card{padding:17px}.quote-actions-card{padding:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Product content and existing quote controls keep a single DOM instance at all widths. */
.gqa-catalog-product-content { min-width: 0; }
.gqa-catalog-product-sidebar { min-width: 0; }
@media (min-width: 800px) {
  .gqa-catalog-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 29%);
    gap: clamp(16px, 2.4vw, 24px);
    align-items: start;
    margin-bottom: 24px;
  }
  main.shell.has-fixed-quote-actions:has(.gqa-catalog-product-sidebar) { padding-bottom: 28px; }
  .gqa-catalog-product-sidebar {
    position: relative;
    top: var(--gqa-sidebar-offset, 0px);
  }
  .gqa-catalog-product-sidebar > .card {
    padding: 14px;
    margin: 0 0 10px;
  }
  .gqa-catalog-product-sidebar > .product-reference-field {
    margin: 0 0 10px;
  }
  .gqa-catalog-product-sidebar .quote-actions-card {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    max-height: none;
    border-radius: 9px;
    box-shadow: none;
  }
  .gqa-catalog-product-sidebar .quote-actions-card + .card { margin-top: 10px; }
  .gqa-catalog-product-sidebar .product-delivery-summary { margin: 0; }
  .gqa-catalog-product-sidebar #quoteProductNotes { min-height: 72px; }
  .gqa-catalog-product-sidebar .quote-actions-head {
    display: block;
  }
  .gqa-catalog-product-sidebar .quote-mini {
    margin-bottom: 12px;
    white-space: normal;
  }
  .gqa-catalog-product-sidebar .quote-actions-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    overflow: visible;
  }
  .gqa-catalog-product-sidebar .quote-actions-buttons button { margin: 0; }
  .gqa-catalog-product-sidebar .gqa-floating-price {
    position: static;
    width: 100%;
    max-width: none;
    margin-bottom: 12px;
    box-shadow: none;
  }
  .gqa-catalog-product-sidebar .gqa-floating-price:has(.gqa-sidebar-vat):has(+ .product-reference-field) {
    margin-bottom: 0;
  }
  .gqa-catalog-product-sidebar .gqa-floating-price:has(+ .product-reference-field) .gqa-sidebar-vat {
    padding-block: 0;
  }
  .gqa-catalog-product-content .grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.gqa-catalog-selection { display: none; }
@media (min-width: 800px) {
  .gqa-catalog-selection:not([hidden]) {
    display: block;
    padding: 14px 16px;
    margin: 0 0 12px;
    background: #edf2f4;
    border-radius: 8px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }
}
@media (min-width: 1000px) {
  .gqa-home-catalogue .home-welcome {
    padding: clamp(30px, 4vw, 52px);
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 40px;
  }
  .gqa-home-catalogue .welcome-copy h1 {
    font-size: clamp(38px, 4.5vw, 58px);
  }
  .gqa-home-catalogue .catalog-category-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  }
}
