/* Intrinsic card rows keep every product label inside its own card. */
.gqe-section .gg-app-grid{grid-auto-rows:max-content;align-content:start;align-items:stretch;padding:3px 3px 16px;min-height:0}
.gqe-section .gg-app-grid button{display:grid;grid-template-rows:auto 1fr;height:auto;min-height:0;max-height:none;align-self:stretch;overflow:hidden}
.gqe-section .gg-app-grid button>img{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1.65;object-fit:cover}
.gqe-section .gg-app-grid button>span{display:block;height:auto;min-height:0;padding:12px;overflow:visible}
.gqe-section .gg-app-grid strong{line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.gqe-section .gg-app-grid small{line-height:1.45;white-space:normal}
.gg-sizing-layout>.gg-preview{order:-1}
@media(max-width:700px){
.gqe-section .gg-app-grid button>span{padding:10px}
.gqe-section .gg-app-grid strong{font-size:16px}
.gqe-section .gg-app-grid small{font-size:12px}
.gg-sizing-layout>.gg-sizing-form{order:0}
.gg-sizing-layout>.gg-preview{order:1}
.gqe-remake-view[data-step=dimensions] .gg-sizing-layout{display:flex;flex-direction:column;gap:16px}
.gg-sizing-layout>.gg-sizing-form,.gg-sizing-layout>.gg-preview{width:100%;box-sizing:border-box;flex-shrink:0}
.gg-sizing-form .gg-unit-row{align-items:end}
.gg-sizing-form .gg-measure-note{font-size:12px;line-height:1.45;margin-bottom:0}
.gg-preview .gg-stage{height:125px}
.gg-preview .gg-model-tools{flex-wrap:wrap}
.gg-preview figcaption strong{font-size:14px}
.gqe-section.is-keyboard .gg-sizing-layout>.gg-preview{display:none}
}
