@charset "UTF-8";
/* =====================================================================
   Parts page — layered on top of main.css (uses the same design tokens)
   ===================================================================== */

/* ---------- Hero ---------- */
.parts-hero {
  position: relative;
  padding: 74px 0;
  text-align: left;
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 11, 32, 0.82), rgba(5, 11, 32, 0.92)), url("../images/rv/hero.jpg") center/cover no-repeat;
}
.parts-hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 14px;
  max-width: 760px;
}
.parts-hero p {
  max-width: 680px;
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
}
.parts-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.parts-crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.parts-crumb a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.parts-crumb a:hover {
  color: var(--primary-color);
}
.parts-crumb span {
  color: rgba(255, 255, 255, 0.45);
}
.parts-crumb span:last-child {
  color: #fff;
}
@media (max-width: 767px) {
  .parts-hero {
    padding: 52px 0;
  }
  .parts-hero h1 {
    font-size: 30px;
  }
}

/* ---------- Contact strip ---------- */
.parts-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 30px;
}
.parts-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.parts-strip-item .ic {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fef2f2;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.parts-strip-item .ic svg {
  width: 22px;
  height: 22px;
}
.parts-strip-item .l {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted-color);
  margin-bottom: 2px;
}
.parts-strip-item a,
.parts-strip-item .v {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-color);
  text-decoration: none;
}
.parts-strip-item a:hover {
  color: var(--primary-color);
}
@media (max-width: 767px) {
  .parts-strip {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* ---------- Product cards ---------- */
.part-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-color);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.part-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}
.part-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted-color);
  background: #f6f8fa;
  border: 1px solid var(--line-color);
  padding: 4px 10px;
  border-radius: 30px;
}
.part-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fef2f2;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.part-ic svg {
  width: 26px;
  height: 26px;
}
.part-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
}
.part-card p {
  font-size: 14px;
  color: var(--muted-color);
  line-height: 1.6;
  margin: 0 0 18px;
  flex-grow: 1;
}
.part-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-color);
}
.part-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary-color);
}
.part-price-quote {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
}
.part-btn {
  padding: 9px 18px;
  min-width: 0;
}

/* ---------- Categories ---------- */
.part-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--secondary-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.part-cat:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.part-cat svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary-color);
}

/* ---------- Request form ---------- */
.parts-panel {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.parts-panel h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 6px;
}
.parts-panel .sub {
  font-size: 15px;
  color: var(--muted-color);
  margin-bottom: 26px;
}
.pt-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
}
.pt-label .req {
  color: var(--primary-color);
}
.pt-label .opt {
  font-weight: 500;
  color: var(--muted-color);
}
.pt-input {
  width: 100%;
  font-size: 15px;
  color: var(--text-color);
  background: #fff;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
          appearance: none;
}
.pt-input::-moz-placeholder {
  color: var(--muted-color);
}
.pt-input::placeholder {
  color: var(--muted-color);
}
.pt-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(254, 0, 9, 0.12);
}
select.pt-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050b20' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}
textarea.pt-input {
  resize: vertical;
  min-height: 110px;
}
.pt-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-color);
  cursor: pointer;
}
.pt-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  margin-top: 1px;
  flex-shrink: 0;
}
.parts-panel button[type="submit"] {
  margin-top: 24px;
}
.parts-form-note {
  font-size: 14px;
  color: var(--muted-color);
  text-align: center;
  margin: 16px 0 0;
}
.parts-form-note a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Side: why + hours ---------- */
.parts-side {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.parts-why {
  background: #f6f8fa;
  border: 1px solid var(--line-color);
  border-radius: var(--radius);
  padding: 30px;
}
.parts-why h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 18px;
}
.parts-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.parts-why-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-color);
  padding: 10px 0;
  border-top: 1px dashed var(--line-color);
}
.parts-why-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.parts-why-list li svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 1px;
}
.parts-why-list li b {
  color: var(--secondary-color);
  font-weight: 700;
}
.parts-hours {
  background: linear-gradient(135deg, var(--secondary-color), #0b1533);
  border-radius: var(--radius);
  padding: 26px 28px;
  color: #fff;
}
.parts-hours h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.parts-hours h3 svg {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}
.parts-hours .row-h {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.parts-hours .row-h:first-of-type {
  border-top: 0;
}
.parts-hours .row-h .d {
  font-weight: 600;
  color: #fff;
}
.parts-hours .row-h .t {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}
@media (max-width: 767px) {
  .parts-panel {
    padding: 26px 20px;
  }
}

/* ---------- Alternating section bands ---------- */
.pt-sec {
  padding: 64px 0;
}
.pt-sec-white {
  background: var(--white-color);
}
.pt-sec-light {
  background: var(--light-color);
}

/* ---------- Parallax CTA band ---------- */
.parts-parallax {
  position: relative;
  padding: 96px 0;
  text-align: center;
  color: #fff;
  background-image: linear-gradient(rgba(5, 11, 32, 0.78), rgba(5, 11, 32, 0.86)), url("../images/rv/hero.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* parallax */
}
.parts-parallax .rv-eyebrow {
  color: #fff;
  justify-content: center;
  margin-bottom: 14px;
}
.parts-parallax h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 12px;
}
.parts-parallax p {
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}
.parts-parallax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 991px) {
  /* iOS/mobile ignore fixed backgrounds — fall back to scroll to avoid jump/zoom */
  .parts-parallax {
    background-attachment: scroll;
    padding: 68px 0;
  }
  .parts-parallax h2 {
    font-size: 26px;
  }
}
