/* GlassQuote v273 — exact Part 1 photos and estimator-card alignment repair. */

/* Keep every image choice on one consistent image / label / arrow rail. */
body.estimator-mode:not(.site-browse-mode)
.question-step-screen:not(.first-question-step)
.choice.gq-subproduct-choice{
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr) 16px!important;
  grid-template-rows:minmax(74px,auto)!important;
  align-items:center!important;
  justify-items:stretch!important;
  min-height:90px!important;
  padding:7px 16px 7px 7px!important;
  column-gap:13px!important;
  text-align:left!important;
}

body.estimator-mode:not(.site-browse-mode)
.question-step-screen:not(.first-question-step)
.choice.gq-subproduct-choice>.gq-subproduct-image{
  grid-column:1!important;
  grid-row:1!important;
  width:74px!important;
  height:74px!important;
  min-width:74px!important;
  min-height:74px!important;
  margin:0!important;
  align-self:center!important;
  justify-self:center!important;
  border-radius:16px!important;
}

body.estimator-mode:not(.site-browse-mode)
.question-step-screen:not(.first-question-step)
.choice.gq-subproduct-choice>.choice-copy{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  min-height:74px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  align-self:center!important;
  justify-self:stretch!important;
  text-align:left!important;
}

body.estimator-mode:not(.site-browse-mode)
.question-step-screen:not(.first-question-step)
.choice.gq-subproduct-choice>.choice-copy>strong{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  text-align:left!important;
  line-height:1.16!important;
}

body.estimator-mode:not(.site-browse-mode)
.question-step-screen:not(.first-question-step)
.choice.gq-subproduct-choice::after{
  top:50%!important;
  right:18px!important;
  margin:0!important;
  transform:translateY(-50%) rotate(-45deg)!important;
}

/* Catalogue-style Part 1 images should remain fully visible and centred. */
body.estimator-mode .gq-subproduct-image[data-product="window-style-awning"] img,
body.estimator-mode .gq-subproduct-image[data-product="window-style-slider"] img,
body.estimator-mode .gq-subproduct-image[data-product="window-style-single-hung"] img,
body.estimator-mode .gq-subproduct-image[data-product="window-style-double-hung"] img,
body.estimator-mode .gq-subproduct-image[data-product="window-style-fixed-picture"] img,
body.estimator-mode .gq-subproduct-image[data-product="window-style-bay"] img,
body.estimator-mode .gq-subproduct-image[data-product="window-issue-missing-exposed"] img,
body.estimator-mode .gq-subproduct-image[data-product="window-issue-scratched"] img{
  object-fit:contain!important;
  object-position:center!important;
  --gq-image-x:0px;
  --gq-image-y:0px;
  --gq-image-scale:1.03;
}

/* The generic Not Sure artwork had too much visual breathing room inside its tile. */
body.estimator-mode .gq-subproduct-image[data-product="help-me-figure-it-out"] img{
  object-position:center!important;
  --gq-image-x:0px;
  --gq-image-y:0px;
  --gq-image-scale:1.20;
}

@media(max-width:360px){
  body.estimator-mode:not(.site-browse-mode)
  .question-step-screen:not(.first-question-step)
  .choice.gq-subproduct-choice{
    grid-template-columns:68px minmax(0,1fr) 14px!important;
    grid-template-rows:minmax(66px,auto)!important;
    min-height:82px!important;
    padding:6px 13px 6px 6px!important;
    column-gap:10px!important;
  }

  body.estimator-mode:not(.site-browse-mode)
  .question-step-screen:not(.first-question-step)
  .choice.gq-subproduct-choice>.gq-subproduct-image{
    width:66px!important;
    height:66px!important;
    min-width:66px!important;
    min-height:66px!important;
    border-radius:14px!important;
  }

  body.estimator-mode:not(.site-browse-mode)
  .question-step-screen:not(.first-question-step)
  .choice.gq-subproduct-choice>.choice-copy{
    min-height:66px!important;
  }

  body.estimator-mode:not(.site-browse-mode)
  .question-step-screen:not(.first-question-step)
  .choice.gq-subproduct-choice::after{
    right:14px!important;
  }
}

@media(max-height:700px){
  body.estimator-mode:not(.site-browse-mode)
  .question-step-screen:not(.first-question-step)
  .choice.gq-subproduct-choice{
    grid-template-columns:66px minmax(0,1fr) 14px!important;
    grid-template-rows:minmax(64px,auto)!important;
    min-height:78px!important;
    padding:5px 13px 5px 5px!important;
    column-gap:10px!important;
  }

  body.estimator-mode:not(.site-browse-mode)
  .question-step-screen:not(.first-question-step)
  .choice.gq-subproduct-choice>.gq-subproduct-image{
    width:64px!important;
    height:64px!important;
    min-width:64px!important;
    min-height:64px!important;
  }

  body.estimator-mode:not(.site-browse-mode)
  .question-step-screen:not(.first-question-step)
  .choice.gq-subproduct-choice>.choice-copy{
    min-height:64px!important;
  }
}
