.seat-selector {
  max-width: 480px;
}
.seat-selector .form-item {
  margin-bottom: 15px;
}
.seat-selector--result {
  margin-top: 20px;
  margin-bottom: 10px;
}
.seat-selector--result-title {
  margin-top: 0;
}
.seat-selector--variation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #e3e3e3;
}
.seat-selector--variation:first-of-type {
  border-top: 0;
}
.seat-selector--variation-image {
  flex: 1 1 100%;
}
.seat-selector--variation-image img {
  max-width: 100%;
  height: auto;
}
.seat-selector--variation-label {
  flex: 1 1 auto;
  font-weight: bold;
}
.seat-selector--variation-price {
  white-space: nowrap;
}
.seat-selector--fit-notes {
  margin-bottom: 10px;
}
/* Kayak landing and brand pages: breathing room below the site header. */
.kayak.container,
.kayak-pages.container {
  padding-top: 20px;
}
.kayak.container > .page-header:first-child,
.kayak-pages.container > .page-header:first-child {
  margin-top: 0;
}
/* Kayak landing page: when the photo and the recommendation sit side by
   side, centre the photo vertically against the taller panel. */
@media (min-width: 768px) {
  .kayak--hero-row {
    display: flex;
    align-items: center;
  }
}
/* Kayak landing page: placeholder shown while a kayak has no photo. */
.kayak--image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
}
.kayak--image-placeholder svg {
  width: 65%;
  max-width: 320px;
}
/* Kayak landing page: the one-sentence answer is the payload - give it
   larger text and room to breathe. */
.seat-selector--answer {
  font-size: 1.35em;
  line-height: 1.5;
  margin: 15px 0 20px;
}
/* Kayak landing page: stack each variation as centred image, then
   label + price, then the add-to-cart button on its own line. */
.kayak--recommendation .seat-selector--variation {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-items: start;
}
.kayak--recommendation .seat-selector--variation-image {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
}
/* Fill the column even when the source photo is narrower. */
.kayak--recommendation .seat-selector--variation-image img {
  width: 100%;
}
.kayak--recommendation .seat-selector--variation-label {
  font-size: 1.3em;
  color: #767676;
}
.kayak--recommendation .seat-selector--variation-price {
  grid-column: 1 / -1;
  font-size: 1.3em;
  font-weight: bold;
  color: #767676;
}
.kayak--recommendation .seat-selector--variation .form-submit {
  grid-column: 1 / -1;
}
.seat-selector--recommended h4 {
  margin-bottom: 5px;
}
/* Brand pages: kayak model cards with equal heights per row. */
.kayak-model-cards {
  display: flex;
  flex-wrap: wrap;
}
.kayak-model-cards .kayak-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}
.kayak-model-cards .kayak-card:hover,
.kayak-model-cards .kayak-card:focus {
  text-decoration: none;
}
.kayak-card img {
  margin: 0 auto;
}
.kayak-card .kayak--image-placeholder {
  min-height: 100px;
  flex: 1 1 auto;
  border: 0;
  background: none;
}
.kayak-card--name {
  display: block;
  margin-top: 8px;
  font-weight: bold;
}
/* Product page: make the collapsed panel's toggle read as a link. */
.seat-selector--product-wrapper .panel-heading .panel-title {
  color: #c04625;
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
}
.seat-selector--product-wrapper .panel-heading .panel-title:hover,
.seat-selector--product-wrapper .panel-heading .panel-title:focus {
  color: #8f341c;
}
.seat-selector--product-wrapper .panel-heading .panel-title:after {
  content: "\f078";
  font-family: FontAwesome;
  font-size: 0.75em;
  margin-left: 6px;
  display: inline-block;
  text-decoration: none;
}
.seat-selector--product-wrapper .panel-heading .panel-title[aria-expanded="true"]:after {
  content: "\f077";
}

/* The plain submit is only needed when the AJAX selects can't fire. */
html.js .seat-selector--nojs-submit {
  display: none;
}
.seat-selector--fallback {
  font-size: 0.9em;
  margin-top: 15px;
}
