@media (max-width: 800px) {
  .ac-top { flex-wrap: wrap; }
  .ac-top h1 {
    display: block;
    flex: 0 0 100%;
    order: 1;
    font-size: 22px;
    line-height: 1.25;
  }
}
.selection-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 4px;
  background: var(--pink);
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.selection-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.ac-preview-toggle,.ac-preview-return { display:none; }
.ac-appearance-mode { margin-bottom:16px; }
.ac-product-colors [hidden] { display:none; }
@media(max-width:800px){
 .product-types { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible!important; }
 .product-types>button { min-width:0!important; width:auto!important; white-space:normal; }
 .ac-preview-toggle { display:block; position:sticky; top:8px; z-index:4; margin:0 0 16px auto; background:white; min-height:44px; }
 .ac-preview-return:not([hidden]) { display:block; min-height:44px; margin-top:12px; }
 .ac-scene-panel { scroll-margin-top:12px; }
}

@media(max-width:360px){.product-types>button{font-size:11px!important;padding-inline:3px!important;}}

@media(max-width:800px){
 .aj-constructors .ac-shell .product-types{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;}
 .aj-constructors .ac-shell .product-types button{grid-column:span 2;min-height:64px;font-size:12px!important;line-height:1.25;padding:6px 3px!important;white-space:normal;flex-direction:column;justify-content:center;}
 .aj-constructors .ac-shell .product-types button:nth-child(n+4){grid-column:span 3;}
 .aj-constructors .ac-shell .product-types svg{display:block;width:20px;height:20px;}
 .aj-constructors .ac-shell .product-types span{white-space:normal;min-width:0;max-width:100%;}
 .aj-constructors .ac-family-row:has(+.ac-aluminium-mount){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:8px;}
 .aj-constructors .ac-family-row:has(+.ac-aluminium-mount) button{min-width:0;white-space:normal;padding:8px 3px;font-size:12px;}
}
@media(max-width:360px){
 .aj-constructors .ac-shell .product-types{grid-template-columns:repeat(2,minmax(0,1fr));}
 .aj-constructors .ac-shell .product-types button,.aj-constructors .ac-shell .product-types button:nth-child(n+4){grid-column:auto;}
 .aj-constructors .ac-shell .product-types button:last-child{grid-column:span 2;}
 .aj-constructors .ac-family-row:has(+.ac-aluminium-mount){grid-template-columns:repeat(2,minmax(0,1fr));}
 .aj-constructors .ac-family-row:has(+.ac-aluminium-mount) button:last-child{grid-column:span 2;}
}

.ac-scene-wrap:has(.ac-unified-room){height:auto;min-height:0;display:block;}
.ac-unified-room{margin:0;width:100%;}
.ac-unified-room>svg{display:block;width:100%;height:auto;aspect-ratio:1376/1024;}
.ac-unified-room>button{margin:12px;}

.ac-unified-frame{position:relative;width:100%;aspect-ratio:1376/1024;overflow:hidden}
.ac-unified-stage{position:absolute;inset:0 auto auto 0;width:1376px;height:1024px;transform-origin:0 0;isolation:isolate}
.ac-unified-stage>svg,.ac-unified-texture{position:absolute;inset:0;width:1376px;height:1024px}
.ac-unified-texture{mask-size:100% 100%;mask-mode:luminance;mix-blend-mode:multiply;pointer-events:none}
.ac-unified-texture>div{position:absolute;top:0;left:0;width:256px;height:256px;background-size:100% 100%;transform-origin:0 0}

.ac-preview-toggle[hidden]{display:none!important}

.ac-scene-wrap:has(.ac-photo-room){height:auto;min-height:0;display:block}
.ac-photo-room{margin:0;width:100%}
.ac-photo-room>img{display:block;width:100%;height:auto}
