.stock-section {
  padding: clamp(56px, 6vw, 92px) clamp(18px, 4vw, 64px) clamp(64px, 7vw, 104px);
  padding-left: max(clamp(18px, 4vw, 64px), var(--safe-left));
  padding-right: max(clamp(18px, 4vw, 64px), var(--safe-right));
  background: #b7b7b5;
  color: #171717;
  scroll-margin-top: var(--section-scroll-offset);
}
.stock-inner { max-width: 1440px; margin: 0 auto; }
.stock-heading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 54px 36px; }
.stock-heading-copy { min-width: 0; }
.stock-logo { display: block; flex: none; width: clamp(100px, 10vw, 144px); height: auto; filter: url("#brand-red-tone"); }
.stock-heading h2 { margin: 0; font-family: "Montserrat Showcase", Arial, sans-serif; font-size: clamp(25px, 3vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.stock-heading h2 span { color: var(--action-red); }
.stock-heading-rule { display: block; width: 46px; height: 3px; margin-top: 20px; background: var(--action-red); }
.stock-heading-hint { margin: 14px 0 0; color: #3d3d3d; font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; line-height: 1.5; }
.stock-carousel { position: relative; padding: 0 54px; }
.stock-carousel + .stock-carousel { margin-top: clamp(24px, 4vw, 52px); }
.stock-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.stock-viewport::-webkit-scrollbar { display: none; }
.stock-viewport:focus-visible { outline: 2px solid #b9232b; outline-offset: 6px; border-radius: 3px; }
.stock-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.stock-track { --stock-gap: 28px; --stock-columns: 3; display: flex; align-items: stretch; gap: var(--stock-gap); }
.stock-card { position: relative; display: flex; flex-direction: column; flex: 0 0 calc((100% - (var(--stock-columns) - 1) * var(--stock-gap)) / var(--stock-columns)); min-width: 0; scroll-snap-align: start; }
.stock-card-info { cursor: pointer; }
.stock-details-trigger { position: absolute; z-index: 2; inset: 0; width: 100%; padding: 0; border: 0; border-radius: 5px; background: transparent; cursor: pointer; }
.stock-details-trigger:focus-visible { outline: 3px solid var(--action-red); outline-offset: -4px; }
.stock-viewport.is-dragging .stock-details-trigger { cursor: grabbing; }
.stock-card-media { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1.34; padding-top: 38px; overflow: hidden; }
.stock-brand { position: absolute; z-index: 1; top: 2px; left: 50%; transform: translateX(-50%); padding: 8px 19px; border: 1px solid rgb(0 0 0 / .06); border-radius: 30px; background: rgb(239 238 235 / .8); color: #222; font-size: 10px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.stock-card-media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform-origin: center 70%; transition: transform .5s cubic-bezier(.2, .65, .3, 1); user-select: none; }
.stock-photo-pending { align-self: center; margin: auto; color: #525252; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.stock-empty { width: 100%; min-height: 180px; margin: 0; display: grid; place-items: center; padding: 32px; color: #333; font-size: 17px; font-weight: 700; text-align: center; }
@media (hover: hover) {
  .stock-card:hover .stock-card-media img { transform: scale(1.055); }
}
.stock-card:focus-within .stock-card-media img { transform: scale(1.035); }
.stock-card-info { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 22px clamp(18px, 2vw, 30px) 24px; background: #252525; color: var(--paper); text-align: center; }
.stock-card h3 { max-width: 100%; margin: 0; font-family: "Roboto Condensed", "Arial Narrow", sans-serif; font-size: clamp(23px, 2vw, 29px); font-style: italic; font-weight: 700; line-height: 1.15; overflow-wrap: break-word; }
.stock-card-specs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 11px 0 0; color: #cececc; font-size: 14px; font-weight: 500; }
.stock-card-specs > div + div { padding-left: 14px; border-left: 1px solid #777; }
.stock-card-specs dd { margin: 0; }
.stock-price { margin: 19px 0; font-size: clamp(23px, 2vw, 29px); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stock-price span { font-size: .56em; font-weight: 500; letter-spacing: 0; }
.stock-contact { width: 100%; min-width: 0; min-height: 58px; margin-top: auto; padding-inline: 12px; font-size: 12px; cursor: pointer; }
.stock-contact:focus-visible { outline-color: var(--paper); }
.stock-arrow { position: absolute; z-index: 2; top: calc((100% - 240px) / 2 - 24px); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgb(0 0 0 / .05); border-radius: 50%; background: #efeeeb; color: #b9232b; box-shadow: 0 3px 8px rgb(0 0 0 / .07); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease; }
.stock-prev { left: 0; }
.stock-next { right: 0; }
.stock-arrow svg { width: 22px; height: 22px; }
.stock-arrow:not(:disabled):hover { color: #fff; background: #b9232b; transform: scale(1.06); }
.stock-arrow:not(:disabled):active { transform: scale(.96); }
.stock-arrow:focus-visible { outline: 2px solid #b9232b; outline-offset: 4px; }
.stock-arrow:disabled { opacity: .3; cursor: default; }
.stock-contacts { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 64px); margin: 44px 54px 0; padding-top: 28px; border-top: 1px solid rgb(0 0 0 / .13); text-align: center; }
.stock-contacts a { display: grid; grid-template-columns: 28px auto; align-items: center; gap: 2px 10px; color: #252525; text-align: left; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.stock-contacts svg { grid-row: 1 / span 2; width: 28px; height: 28px; color: var(--action-red); transition: transform .25s ease; }
.stock-contact-name { font-size: 13px; font-weight: 500; }
.stock-contact-number { grid-column: 2; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stock-contacts.is-contact-prompt .stock-contact-number { animation: stock-number-attention 1s step-end infinite; }
@keyframes stock-number-attention { 50% { color: var(--action-red); } }
.stock-contacts a:hover { color: var(--action-red); }
.stock-contacts a:hover svg { transform: scale(1.12) rotate(-7deg); }
.stock-contacts a:focus-visible { outline: 2px solid var(--action-red); outline-offset: 6px; border-radius: 2px; }
@media (max-width: 1100px) {
  .stock-track { --stock-columns: 2; --stock-gap: 24px; }
  .stock-heading { margin-inline: 50px; }
  .stock-carousel { padding-inline: 50px; }
  .stock-contacts { margin-inline: 50px; }
}
@media (max-width: 900px) {
  .stock-contacts { margin-inline: 0; gap: clamp(12px, 2vw, 24px); }
  .stock-contact-number { font-size: 18px; }
}
@media (max-width: 650px) {
  .stock-heading { gap: 16px; margin: 0 0 28px; }
  .stock-heading h2 { max-width: 240px; font-size: clamp(23px, 6.5vw, 31px); }
  .stock-logo { width: clamp(64px, 18vw, 92px); }
  .stock-carousel { padding-inline: 44px; }
  .stock-track { --stock-columns: 1; --stock-gap: 18px; }
  .stock-card-media { aspect-ratio: 1.15; padding-top: 36px; }
  .stock-card-info { padding: 21px 17px 22px; }
  .stock-card h3 { font-size: clamp(22px, 5.8vw, 26px); }
  .stock-price { font-size: 28px; }
  .stock-contact { min-height: 54px; font-size: 12px; }
  .stock-arrow { width: 44px; height: 44px; top: calc((100% - 250px) / 2 - 22px); }
  .stock-arrow svg { width: 19px; height: 19px; }
  .stock-contacts { flex-direction: column; gap: 20px; margin: 34px 0 0; padding-top: 24px; }
  .stock-contact-number { font-size: 20px; }
}
@media (max-width: 359px) {
  .stock-heading { gap: 12px; }
  .stock-heading h2 { font-size: 21px; }
  .stock-logo { width: 56px; }
  .stock-carousel { padding-inline: 36px; }
  .stock-price { font-size: 24px; }
  .stock-contact { padding-inline: 8px; }
}
@media (max-width: 700px), (max-width: 900px) and (max-height: 500px) and (orientation: landscape) and (pointer: coarse) {
  .stock-section { padding-top: 40px; padding-bottom: 36px; }
  .stock-card-info { padding: 14px 12px 16px; }
  .stock-card h3 { font-size: clamp(19px, 5vw, 22px); }
  .stock-card-specs { gap: 8px 10px; margin-top: 8px; font-size: 12px; }
  .stock-card-specs > div + div { padding-left: 10px; }
  .stock-price { margin: 12px 0; font-size: 23px; }
  .stock-contact { min-height: 44px; padding-inline: 8px; font-size: 10px; }
  .stock-arrow { top: calc((100% - 180px) / 2 - 22px); }
  .stock-contacts { gap: 10px; margin-top: 24px; padding-top: 18px; scroll-margin-block: 20px; }
  .stock-contacts a { grid-template-columns: 20px auto; gap: 1px 8px; min-height: 44px; }
  .stock-contacts svg { width: 20px; height: 20px; }
  .stock-contact-name { font-size: 11px; }
  .stock-contact-number { font-size: 16px; }
  .stock-section.is-awaiting-reveal :is(.stock-heading, .stock-carousel, .stock-contacts) { opacity: 0; }
  .stock-section.is-revealing :is(.stock-heading, .stock-carousel, .stock-contacts) { animation: moto-detail-load .95s cubic-bezier(.2, .7, .2, 1) both; }
  .stock-section.is-revealing .stock-heading { animation-delay: .1s; }
  .stock-section.is-revealing .stock-carousel { animation-delay: .3s; }
  .stock-section.is-revealing .stock-contacts { animation-delay: .5s; }
}
@media (prefers-reduced-motion: reduce) {
  .stock-contacts.is-contact-prompt .stock-contact-number { animation: none; color: var(--action-red); }
  .stock-card-media img, .stock-arrow, .stock-contacts a, .stock-contacts svg { transition: none; }
  .stock-contact::before { animation: none; }
  .stock-section.is-awaiting-reveal :is(.stock-heading, .stock-carousel, .stock-contacts) { opacity: 1; }
  .stock-section.is-revealing :is(.stock-heading, .stock-carousel, .stock-contacts) { animation: none; }
}
