/* Jak Commercial V9.3.2 — additive UI layer over the V8B base. */

.v9-new-conversation {
  min-height: 34px;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: transparent;
  color: #fff;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.v9-new-conversation:hover,
.v9-new-conversation:focus-visible {
  outline: none;
  border-color: #b8956b;
  color: #d8bc98;
}

.v9-stay-summary {
  margin: 0 18px 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(10, 10, 10, .14);
  background: #f8f5f0;
}

.v9-stay-summary[hidden] {
  display: none;
}

.v9-stay-summary__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.v9-stay-summary__copy strong {
  overflow: hidden;
  color: #0a0a0a;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v9-stay-summary__copy > span:last-child,
.v9-stay-summary__copy small {
  color: #666;
  font-size: 11px;
  line-height: 1.35;
}

.v9-eyebrow {
  color: #8a6d4b;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v9-summary-edit,
.v9-stay-summary__edit,
.v9-secondary-cta {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid #8a6d4b;
  background: transparent;
  color: #6f563c;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.v9-summary-edit:hover,
.v9-summary-edit:focus-visible,
.v9-stay-summary__edit:hover,
.v9-stay-summary__edit:focus-visible,
.v9-secondary-cta:hover,
.v9-secondary-cta:focus-visible {
  outline: none;
  color: #0a0a0a;
  border-color: #0a0a0a;
}

.v9-quote-card {
  width: min(100%, 430px);
  margin: 2px 0 16px;
  padding: 18px;
  align-self: flex-start;
  border: 1px solid rgba(10, 10, 10, .16);
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 10, 10, .07);
}

.v9-quote-card__stay {
  margin: 8px 0 16px;
  display: grid;
  gap: 3px;
}

.v9-quote-card__stay strong {
  color: #0a0a0a;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.v9-quote-card__stay span {
  color: #666;
  font-size: 11px;
}

.v9-quote-lines {
  display: grid;
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid rgba(10, 10, 10, .12);
  border-bottom: 1px solid rgba(10, 10, 10, .12);
}

.v9-quote-lines:empty {
  display: none;
}

.v9-quote-lines > div,
.v9-quote-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.v9-quote-lines span {
  color: #666;
  font-size: 12px;
}

.v9-quote-lines strong {
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 600;
}

.v9-quote-total {
  margin-top: 14px;
}

.v9-quote-total span {
  color: #0a0a0a;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v9-quote-total strong {
  color: #0a0a0a;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.v9-quote-average {
  margin: 7px 0 15px;
  color: #8a6d4b;
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}

.v9-quote-actions {
  display: grid;
  gap: 10px;
}

.v9-primary-cta,
.v9-quick-link {
  min-height: 46px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
  border: 1px solid #0a0a0a;
  background: #0a0a0a;
  color: #fff;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .065em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.v9-primary-cta::after,
.v9-quick-link::after {
  content: "→";
  flex: 0 0 auto;
  color: #b8956b;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
}

.v9-primary-cta:hover,
.v9-primary-cta:focus-visible,
.v9-quick-link:hover,
.v9-quick-link:focus-visible {
  outline: none;
  border-color: #8a6d4b;
  background: #8a6d4b;
}

.v9-primary-cta:hover::after,
.v9-primary-cta:focus-visible::after,
.v9-quick-link:hover::after,
.v9-quick-link:focus-visible::after {
  color: #fff;
}

.v9-secondary-cta {
  justify-self: center;
  padding: 2px 0;
}

.v9-quote-note {
  margin: 12px 0 0;
  color: #777;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.v9-checkout-opened {
  margin: 12px 0 0;
  padding: 10px 11px;
  border-left: 3px solid #b8956b;
  background: #f8f5f0;
  color: #51483f;
  font-size: 10px;
  line-height: 1.5;
}

.quick .v9-quick-link {
  min-height: 42px;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

@media (max-width: 680px) {
  .v9-new-label {
    display: none;
  }

  .v9-new-conversation {
    width: 34px;
    padding: 0;
    justify-content: center;
    font-size: 15px;
  }

  .v9-stay-summary {
    margin: 0 12px 8px;
    padding: 10px 12px;
  }

  .v9-stay-summary__copy strong {
    font-size: 13px;
  }

  .v9-quote-card {
    width: 100%;
    margin-bottom: 12px;
    padding: 15px;
    box-sizing: border-box;
  }

  .v9-quote-total strong {
    font-size: 22px;
  }

  .conversation {
    scroll-padding-top: 78px;
  }
}

@media (max-width: 420px) {
  .v9-stay-summary {
    align-items: flex-start;
  }

  .v9-stay-summary__copy strong {
    white-space: normal;
  }

  .v9-quote-lines span,
  .v9-quote-lines strong {
    font-size: 11px;
  }

  .v9-checkout-opened {
    font-size: 9.5px;
  }
}
