/* Yuqi Select Store: a quiet, single-column list for short-window offers. */

.quote-select-store {
  --store-bg: #071522;
  --store-line: rgba(196, 212, 214, 0.16);
  --store-accent: #a5c9cc;
  --store-text: #f3f4f1;
  --store-text-soft: #c6d0d0;
  --store-muted: #93a3a7;
  position: relative;
  overflow: hidden;
  background: var(--store-bg);
  color: var(--store-text);
}

.quote-select-store .quote-store-container {
  width: min(var(--f-container, 1240px), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.quote-select-store .select-store-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.15rem, 2.2vw, 1.75rem) 0 1.25rem;
  border-bottom: 1px solid var(--store-line);
  background: var(--store-bg);
}

.quote-select-store .select-store-eyebrow,
.quote-select-store .select-store-deadline-label,
.quote-select-store .select-store-list-category th,
.quote-select-store .select-store-history-label,
.quote-select-store .select-store-history-batch-label {
  color: var(--store-accent);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.quote-select-store .select-store-hero h1 {
  max-width: 840px;
  margin-top: 0.28rem;
  color: var(--store-text);
  font-family: inherit;
  font-size: clamp(2.55rem, 4.3vw, 3.9rem);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 0.98;
  text-wrap: balance;
}

.quote-select-store .select-store-hero-intro {
  max-width: 780px;
  margin-top: 0.42rem;
  color: var(--store-text-soft);
  font-size: clamp(0.94rem, 1.1vw, 1.02rem);
  line-height: 1.48;
}

.quote-select-store .select-store-deadline {
  max-width: 720px;
  margin-top: 0.72rem;
  padding-top: 0.48rem;
  border-top: 1px solid var(--store-accent);
}

.quote-select-store .select-store-deadline strong {
  display: block;
  color: var(--store-text);
  font-family: inherit;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.28;
}

.quote-select-store .select-store-deadline-label {
  display: block;
}

.quote-select-store .select-store-deadline small {
  display: block;
  margin-top: 0.14rem;
  color: var(--store-text-soft);
  font-family: inherit;
  font-size: 0.8rem;
  line-height: 1.45;
}

.quote-select-store .select-store-contact-line {
  margin-top: 0.5rem;
  color: var(--store-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.quote-select-store .select-store-contact-line a {
  display: inline-flex;
  gap: 0.35rem;
  align-items: baseline;
  margin-left: 0.35rem;
  color: var(--store-text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--store-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
  transition: color 180ms ease;
}

.quote-select-store .select-store-contact-line a span {
  color: var(--store-accent);
  font-family: inherit;
  font-size: 0.78em;
}

.quote-select-store .select-store-contact-line a:hover,
.quote-select-store .select-store-contact-line a:focus-visible {
  color: var(--store-accent);
}

.quote-select-store .select-store-products {
  padding: 1.45rem 0 3.25rem;
  background: var(--store-bg);
}

.quote-select-store .select-store-list-heading {
  max-width: 780px;
  margin-bottom: 0.5rem;
}

.quote-select-store .select-store-list-heading h2 {
  color: var(--store-text);
  font-family: inherit;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.quote-select-store .select-store-list-heading p {
  max-width: 700px;
  margin-top: 0.24rem;
  color: var(--store-muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.quote-select-store .select-store-list {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  color: var(--store-text);
}

.quote-select-store .select-store-col-name {
  width: 52%;
}

.quote-select-store .select-store-col-model {
  width: 20%;
}

.quote-select-store .select-store-col-price {
  width: 28%;
}

.quote-select-store .select-store-list-head th {
  padding: 0.42rem 0 0.38rem;
  border-bottom: 1px solid var(--store-line);
  color: var(--store-muted);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-align: left;
}

.quote-select-store .select-store-list-head th + th {
  padding-left: 1.2rem;
  border-left: 1px solid var(--store-line);
}

.quote-select-store .select-store-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quote-select-store .select-store-list-category th {
  padding: 1.1rem 0 0.42rem;
  border-bottom: 1px solid var(--store-accent);
  font-size: 0.66rem;
  text-align: left;
}

.quote-select-store .select-store-list-category:first-child th {
  padding-top: 0.72rem;
}

.quote-select-store .select-store-list-item td {
  padding: 0.72rem 0 0.78rem;
  border-bottom: 1px solid var(--store-line);
  color: var(--store-text);
  font-family: inherit;
  font-size: clamp(0.99rem, 1.16vw, 1.08rem);
  line-height: 1.4;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.quote-select-store .select-store-list-item td + td {
  padding-left: 1.2rem;
  border-left: 1px solid var(--store-line);
}

.quote-select-store .select-store-product-line,
.quote-select-store .select-store-product-line > span {
  display: inline;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: inherit;
  line-height: inherit;
}

.quote-select-store .select-store-product-line {
  display: block;
}

.quote-select-store .select-store-product-model-line,
.quote-select-store .select-store-product-price-line {
  margin-top: 0;
}

.quote-select-store .select-store-product-label,
.quote-select-store .select-store-product-model,
.quote-select-store .select-store-product-price,
.quote-select-store .select-store-product-unit {
  color: inherit;
}

.quote-select-store .select-store-product-line > .select-store-product-label {
  display: none;
}

.quote-select-store .select-store-product-unit {
  margin-left: 0.18rem;
}

.quote-select-store .select-store-history {
  margin-top: 1.55rem;
  border-top: 1px solid var(--store-line);
}

.quote-select-store .select-store-history-summary {
  position: relative;
  display: block;
  padding: 0.78rem 1.25rem 0.78rem 0;
  color: var(--store-text);
  cursor: pointer;
  list-style: none;
}

.quote-select-store .select-store-history-summary::-webkit-details-marker {
  display: none;
}

.quote-select-store .select-store-history-summary:focus-visible {
  outline: 2px solid var(--store-accent);
  outline-offset: 5px;
}

.quote-select-store .select-store-history-copy {
  display: block;
}

.quote-select-store .select-store-history-note {
  display: block;
  margin-top: 0.16rem;
  color: var(--store-muted);
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1.45;
}

.quote-select-store .select-store-history-chevron {
  position: absolute;
  top: 1rem;
  right: 0.15rem;
  width: 0.56rem;
  height: 0.56rem;
  border-right: 1px solid var(--store-accent);
  border-bottom: 1px solid var(--store-accent);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.quote-select-store .select-store-history[open] .select-store-history-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.quote-select-store .select-store-history-body {
  padding: 0.1rem 0 1.25rem;
  border-top: 1px solid var(--store-line);
}

.quote-select-store .select-store-history-empty {
  padding: 0.85rem 0 0;
  color: var(--store-text-soft);
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.55;
}

.quote-select-store .select-store-history-batch {
  padding-top: 1.05rem;
}

.quote-select-store .select-store-history-batch + .select-store-history-batch {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--store-line);
}

.quote-select-store .select-store-history-batch-period {
  margin-top: 0.2rem;
  color: var(--store-text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.quote-select-store .select-store-history-batch .select-store-list {
  margin-top: 0.45rem;
}

.quote-select-store a:focus-visible {
  outline: 2px solid var(--store-accent);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .quote-select-store .quote-store-container {
    width: min(var(--f-container, 1240px), calc(100% - 32px));
  }
}

@media (max-width: 560px) {
  .quote-select-store .quote-store-container {
    width: min(var(--f-container, 1240px), calc(100% - 28px));
  }

  .quote-select-store .select-store-list,
  .quote-select-store .select-store-list tbody,
  .quote-select-store .select-store-list-category,
  .quote-select-store .select-store-list-item {
    display: block;
  }

  .quote-select-store .select-store-list-head {
    display: none;
  }

  .quote-select-store .select-store-product-line > .select-store-product-label {
    display: inline;
  }

  .quote-select-store .select-store-list-category th {
    display: block;
    width: 100%;
  }

  .quote-select-store .select-store-hero {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }

  .quote-select-store .select-store-hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 15vw, 3.35rem);
  }

  .quote-select-store .select-store-hero-intro {
    margin-top: 0.48rem;
    font-size: 0.93rem;
  }

  .quote-select-store .select-store-deadline {
    margin-top: 0.7rem;
  }

  .quote-select-store .select-store-products {
    padding-top: 1.25rem;
    padding-bottom: 2.8rem;
  }

  .quote-select-store .select-store-list-heading {
    margin-bottom: 0.42rem;
  }

  .quote-select-store .select-store-list-heading h2 {
    font-size: 1.78rem;
  }

  .quote-select-store .select-store-list-category th {
    padding-top: 1rem;
  }

  .quote-select-store .select-store-list-category:first-child th {
    padding-top: 0.62rem;
  }

  .quote-select-store .select-store-list-item td {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 0.98rem;
  }

  .quote-select-store .select-store-list-item td + td {
    padding-left: 0;
    border-left: 0;
  }

  .quote-select-store .select-store-list-item td:first-child {
    padding-top: 0.68rem;
  }

  .quote-select-store .select-store-list-item td:last-child {
    padding-bottom: 0.72rem;
    border-bottom: 1px solid var(--store-line);
  }

  .quote-select-store .select-store-list-item td + td .select-store-product-line {
    margin-top: 0.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-select-store *,
  .quote-select-store *::before,
  .quote-select-store *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
