/* Owner corrections to the approved brick catalogue, 15 November 2026. */
@media (min-width:761px) {
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group {
    display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;
    gap:12px;width:100%;max-width:100%;min-width:0;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group>.category069-quick {
    width:100%;max-width:100%;min-width:0;margin-top:0!important;align-self:start;background:transparent;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group>.category069-quick[data-expanded="false"] {
    flex-wrap:nowrap;overflow:hidden;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group>.category069-quick[data-expanded="true"] {
    flex-wrap:wrap;overflow:visible;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-label {
    width:max-content!important;min-width:0!important;padding:8px 18px!important;
  }
}
@media (max-width:760px) {
  /* Keep the header's layout height fixed while it changes to the 60px sticky bar. */
  body.site216-header-compact[data-design049-shell="1033"] .shell049-header {
    height:116px!important;top:-56px!important;
  }
  body.site216-header-compact[data-design049-shell="1033"] .shell049-mobilebar {
    transform:translateY(56px);
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-heading [data-heading-count] {
    left:0!important;margin-left:0!important;bottom:10px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-heading .category073-dealer {
    right:0!important;bottom:10px!important;width:auto!important;height:22px!important;min-height:22px!important;
    padding:0!important;gap:5px!important;background:transparent!important;border:0!important;border-radius:0!important;
    box-shadow:none!important;white-space:nowrap;
  }
  body:has(.category065-main[data-brickux-child="true"])[data-design049-shell="1033"] .category065-breadcrumb ol {
    flex-wrap:wrap;row-gap:3px;
  }
  body:has(.category065-main[data-brickux-child="true"])[data-design049-shell="1033"] .category065-breadcrumb li {
    display:inline-flex!important;
  }
  body[data-design049-shell="1033"]:has(.category065-main[data-brickux-child="true"]) .category065-breadcrumb li:not(:first-child):not(:nth-child(2)):not(:nth-child(3)):not(:nth-last-child(2)):not(:last-child) {
    display:inline-flex!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-child="true"] .brickux-mobile-types-head,
  body[data-design049-shell="1033"] .category065-main[data-brickux-child="true"] .brickux-child-types {
    display:none!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group {
    background:transparent!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-label {
    background:#f1f4f9!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group>.category069-quick {
    gap:8px!important;padding:8px 0 4px!important;background:transparent!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group>.category069-quick>:is(a,button):not(.category069-quick-more) {
    display:flex!important;min-height:36px;padding:7px 9px!important;background:#eef1f6!important;
    border:0;border-radius:6px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group>.category069-quick>[hidden] {
    display:none!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-view [data-view="grid"] {
    display:grid!important;color:#2c2d43!important;background:#fff!important;border:1px solid #2c2d43!important;
    box-shadow:none!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-view [data-view="list"] {
    display:none!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category073-image-tools {
    display:flex!important;position:absolute!important;z-index:4;top:6px;right:6px;
    width:29px;height:auto;flex-direction:column;gap:3px;visibility:visible;opacity:1;transform:none;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category073-image-tools>:is(button,a) {
    display:grid!important;position:static!important;width:29px!important;height:29px!important;min-height:29px!important;
    padding:0!important;place-items:center;align-items:center!important;justify-items:center!important;
    align-content:center!important;justify-content:center!important;flex:none;color:#2c2d43;background:#fff!important;
    border:0;border-radius:6px;box-shadow:0 1px 5px #2c2d432e;text-decoration:none;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category073-image-tools>[data-category-action="compare"]::after {
    content:none!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category073-image-tools svg {
    width:16px;height:16px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category073-image-tools>[data-category-action="favourite"]{order:1}
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category073-image-tools>[data-category-action="compare"]{order:2}
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category073-image-tools>[data-category-cart]{order:3}
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category073-image-tools>.brickux-calc-tool{order:4}
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category073-image-tools>[data-category-action="favourite"] svg {
    width:15px;height:15px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category071-card-actions,
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="list"] .category071-card-actions,
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-card>.brickux-card-calc-link {
    display:none!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="list"] .category073-image-tools {
    display:flex!important;grid-area:image;position:relative!important;z-index:4;
    width:24px;height:max-content;margin:4px 4px 0 0;justify-self:end;align-self:start;
    flex-direction:column;gap:2px;visibility:visible;opacity:1;transform:none;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="list"] .category073-image-tools>:is(button,a) {
    display:grid!important;width:24px!important;height:24px!important;min-height:24px!important;
    padding:0!important;place-items:center;align-items:center!important;justify-items:center!important;
    align-content:center!important;justify-content:center!important;color:#2c2d43;background:#fff!important;
    border:0;border-radius:5px;box-shadow:0 1px 4px #2c2d432e;text-decoration:none;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="list"] .category073-image-tools svg {
    width:13px;height:13px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category065-prices {
    display:block;margin:0 0 6px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category065-card-title {
    margin:9px 0 6px!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category065-prices>div {
    display:flex;align-items:baseline;justify-content:space-between;gap:4px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category065-prices dt {
    display:block!important;flex:none;color:#687188;font-size:10px;line-height:17px;font-weight:400;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-grid[data-view="grid"] .category065-prices dd {
    display:block;margin:0;text-align:right;font-size:13px;line-height:19px;font-weight:600;
  }
  /* Restore the existing three 52px accordion banners at their new position. */
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-results>.category073-promos {
    gap:8px;margin:10px 0 18px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-result-intro>.category068-showroom-slide {
    display:flex;position:relative;width:100%;height:52px;min-height:52px;margin:10px 0 4px;
    grid-column:1/-1;overflow:hidden;border-radius:6px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-result-intro>.category068-showroom-slide[data-promo-expanded="true"] {
    height:auto;min-height:52px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-result-intro>.category068-showroom-slide .category068-showroom-copy {
    width:100%;padding:0;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-result-intro>.category068-showroom-slide .category093-promo-toggle {
    display:flex;width:100%;min-height:52px;padding:0 14px;align-items:center;
    justify-content:space-between;gap:12px;color:#2c2d43;background:transparent;
    border:0;border-radius:0;box-shadow:none;text-align:left;font:600 15px/21px 'Open Sans',sans-serif;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-result-intro>.category068-showroom-slide .category093-promo-toggle svg {
    flex:none;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-result-intro>.category068-showroom-slide[data-promo-expanded="true"] .category093-promo-body {
    padding:0 14px 14px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-result-intro>.category068-showroom-slide[data-promo-expanded="false"] .category093-promo-body {
    display:none;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category069-result-intro>.category068-showroom-slide[data-promo-expanded="true"] .category093-promo-body {
    display:block;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"]>.category073-promos {
    display:grid;grid-template-columns:1fr;gap:8px;width:100%;margin:16px 0 20px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"]>.category073-promos article {
    min-height:52px;height:52px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"]>.category073-promos article[data-promo-expanded="true"] {
    height:auto;min-height:52px;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"]>.category073-promos .brands126-promo [data-brands148-cta] {
    display:inline-block;padding:5px 8px;color:#af0017;background:#fff;border-radius:4px;
    box-shadow:0 1px 4px #2c2d432e;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-results>.category073-promos article {
    min-height:52px!important;height:52px!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-results>.category073-promos article[data-promo-expanded="true"] {
    height:auto!important;min-height:52px!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-results>.category073-promos .category068-showroom-copy {
    width:100%!important;padding:0!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-results>.category073-promos .category093-promo-toggle {
    display:flex!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-results>.category073-promos [data-promo-expanded="false"] .category093-promo-body {
    display:none!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-results>.category073-promos [data-promo-expanded="true"] .category093-promo-body {
    display:block!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-results>.category073-promos .category073-selection {
    padding:0 12px!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .category065-results>.category073-promos .category073-selection[data-promo-expanded="true"] {
    padding:12px!important;
  }
}

/* r40: expanded rows wrap at the group's left edge, starting under the label. */
@media(min-width:761px){
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group:has(>.category069-quick[data-expanded="true"]){
    display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;
    column-gap:12px!important;row-gap:8px!important;
  }
  body[data-design049-shell="1033"] .category065-main[data-brickux-mobile="true"] .brickux-pills-group>.category069-quick[data-expanded="true"]{
    display:contents!important;
  }
}
