/* Ontario PC Buy and Sell - Porsche/dealer-style black & white */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000;
  --dark: #1a1a1a;
  --gray: #333;
  --gray-light: #666;
  --gray-bg: #f5f5f5;
  --white: #fff;
  --text: #1a1a1a;
  --text-light: #666;
  --bg: #f5f5f5;
  --cookie-banner-height: 150px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--black) #e0e0e0;
}

@media (hover: none) {
  html { scrollbar-color: var(--gray) #eee; }
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #e0e0e0;
}
::-webkit-scrollbar-thumb {
  background: var(--black);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray);
}

body {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > main {
  flex: 1;
}

/* Scroll progress bar - Sparke style (fills as you scroll) */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--black);
  z-index: 9999;
  transition: width 0.05s ease-out;
}

/* Footer - Sparke-style bar layout */
.footer {
  padding: 2.25rem 0;
  background: var(--dark);
  color: var(--white);
}

.footer-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-left {
  justify-self: start;
  opacity: 0.9;
  font-weight: 600;
}

.footer-center {
  justify-self: center;
  opacity: 0.85;
  font-size: 0.9rem;
  text-align: center;
}

.footer-right {
  justify-self: end;
}

.footer-social {
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}

.footer-social:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}

@media (max-width: 760px) {
  .footer-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-left, .footer-center, .footer-right { justify-self: center; }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Cookie Banner - Kitchener Hyundai style, flush to screen bottom */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--white);
  color: var(--text);
  padding: 1.5rem 2rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  box-sizing: border-box;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cookie-banner p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cookie-banner .cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

.cookie-banner .btn-cookie {
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner .btn-accept {
  background: var(--black);
  color: var(--white);
}

.cookie-banner .btn-manage {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

/* Header */
.sticky-header {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 100;
}

.sticky-header .container {
  display: flex;
  align-items: center;
  padding: 0.1rem 1.25rem;
}

.sticky-header .logo {
  flex: 1;
}

.sticky-header .nav {
  flex: 1;
  justify-content: center;
}

.header-cta-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sticky-header .btn-cta {
  flex: 0 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--black);
  text-decoration: none;
}

.logo-badge {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin-right: 0;
}

.logo-badge-svg,
.logo-img,
.logo-pc-only {
  display: block;
  height: 60px;
  width: auto;
  color: var(--black);
}

.logo-badge {
  background: transparent;
}

.logo-pc-only {
  color: var(--black);
}

@media (min-width: 600px) {
  .logo-img {
    height: 68px;
  }
}

@media (min-width: 900px) {
  .logo-img {
    height: 72px;
  }
}

.logo-text-main {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.logo-text-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: 0.02em;
}

.logo-words {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  margin-left: -10px;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--gray-light);
}

.btn-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.btn-cta:hover {
  background: var(--gray);
}

/* Hero: video ends above cookie bar, shortened a bit so no overlap */
.hero {
  background: var(--black);
  color: var(--white);
  min-height: calc(100vh - var(--cookie-banner-height) - 84px);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* YouTube embed: scale to cover hero (16:9 video fills viewport) */
.hero-video-yt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(1.1);
  transform-origin: center center;
}

.hero.hero-centered .container {
  transform: none;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
}

.hero-tagline {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 500px;
  margin: 0 auto 2rem;
  text-align: center;
}

.hero-tagline .no-wrap,
.no-wrap {
  white-space: nowrap;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons a {
  white-space: nowrap;
  border-radius: 6px;
  padding: 0.7rem 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  min-width: 8.25rem;
  text-align: center;
  box-sizing: border-box;
}

/* Theme: Sell Your PC = solid black pill (matches site) */
.hero-buttons .btn-primary {
  background: var(--black);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hero-buttons .btn-primary:hover {
  background: var(--gray);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: scale(1.03);
}

/* Theme: Buy a PC = light frosted blur with border */
.hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.03);
}

/* Hero trust strip (like ORIGIN PC / Gaming PC Canada value badges) */
.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.hero-trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.hero-trust-item {
  white-space: nowrap;
}

/* Hero scroll indicator (down arrow) */
.hero-scroll {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-chevron {
  width: 24px;
  height: 14px;
  background: transparent;
  position: relative;
  opacity: 0.7;
}

.hero-chevron::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-right: 2px solid rgba(255,255,255,0.9);
  border-bottom: 2px solid rgba(255,255,255,0.9);
  transform: rotate(45deg);
  transform-origin: center;
}

.hero-chevron:nth-child(1) {
  opacity: 1;
  animation: chevron-bounce 1.8s ease-in-out infinite;
}

.hero-chevron:nth-child(2) {
  opacity: 0.5;
}

.hero-chevron:nth-child(3) {
  opacity: 0.25;
}

@keyframes chevron-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.6; }
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: var(--gray);
}

/* Sparke-style: hover scale + 3D tilt (JS adds transform) */
.btn-interactive {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.btn-interactive:hover {
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--white);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

.btn-secondary.btn-interactive:hover {
  transform: scale(1.05);
}

.hero-buttons .btn-interactive:hover {
  transform: scale(1.03);
}

/* All interactive elements: scale + 3D on hover (JS) */
.btn-interactive {
  transition: transform 0.2s ease;
}

.btn-link.btn-interactive {
  display: inline-block;
}

/* 10% Off Popup */
.email-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.email-popup-overlay.hidden {
  display: none !important;
}

.email-popup {
  background: var(--white);
  padding: 2.25rem 2.5rem;
  max-width: 460px;
  width: 92%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  position: relative;
  text-align: left;
}

.email-popup h2 {
  margin-bottom: 0.5rem;
  font-size: 1.7rem;
}

.email-popup p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.email-popup .email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.email-popup .email-form input {
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
}

.email-popup .close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-light);
}

.email-popup .popup-wrapper {
  position: relative;
}

/* Site message modal – matches page theme (black & white), replaces browser alert */
.site-message-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.site-message-overlay.hidden {
  display: none !important;
}
.site-message-box {
  background: var(--white);
  color: var(--text);
  max-width: 420px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  padding: 1.75rem 2rem;
  text-align: center;
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
}
.site-message-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--black);
}
.site-message-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.25rem;
  white-space: pre-line;
  text-align: left;
}
.site-message-box.site-message-error p {
  color: var(--text);
}
.site-message-box .site-message-btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 0.7rem 1.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.site-message-box .site-message-btn:hover {
  background: var(--gray);
}

/* How It Works - Sparke style: interactive cards with hover lift */
.how-it-works {
  padding: 4rem 0;
  background: var(--white);
}

.how-it-works .section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.how-it-works-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--gray-bg);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.75rem;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.step-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--gray-light);
  transform: scale(1.03);
}

.step-icon {
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Email popup form - shared styles */
.email-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.email-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.8rem 1rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.email-form .btn-primary {
  padding: 0.8rem 1.5rem;
}

/* Inventory */
.inventory {
  padding: 4rem 0;
}

.inventory h2,
.section-subtitle {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.inventory-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.card-image {
  aspect-ratio: 16/10;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.inventory-card.placeholder .card-image {
  background: var(--black);
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn-link {
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
}

.btn-link:hover {
  text-decoration: underline;
}

.card-image-link {
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

.card-image-link:hover {
  background: var(--gray);
  color: var(--white);
}

.card-image-placeholder {
  display: block;
}

.inventory-page {
  padding-top: 2rem;
}

.inventory-page h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.btn-link-block {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
}

.card-specs-note {
  font-size: 0.85rem !important;
  margin-bottom: 1rem !important;
  color: var(--gray-light) !important;
}

/* Marketplace-style square cards */
.inventory-grid-squares {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.listing-square-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.2s;
}

.listing-square-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.listing-square-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--dark);
}

.listing-square-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-square-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.listing-square-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
}

.listing-square-title {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.35;
}

.listing-square-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inventory-trust-line {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin: -0.5rem auto 1.5rem;
  max-width: 420px;
}

/* Listing detail modal (Marketplace-style full-screen) */
.listing-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.listing-modal.open {
  opacity: 1;
  visibility: visible;
}

.listing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.listing-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  background: var(--white);
}

.listing-modal-details {
  width: 400px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .listing-modal-content {
    flex-direction: column;
  }

  .listing-modal-details {
    width: 100%;
  }
}

/* Top bar: X only (Marketplace-style) */
.listing-modal-top {
  position: fixed;
  top: 0;
  left: 0;
  padding: 1rem 1.25rem;
  z-index: 10001;
  pointer-events: none;
}

.listing-modal-top > * {
  pointer-events: auto;
}

.listing-modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.listing-modal-close:hover {
  background: rgba(0,0,0,0.5);
}

.listing-modal-close-x {
  display: block;
  line-height: 1;
}

/* Image area - Marketplace EXACT: image to very top, thumbs at bottom */
.listing-modal-gallery {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

/* Blur extends full top to bottom on sides (Marketplace exact) */
.listing-gallery-bg {
  position: absolute;
  inset: -30%;
  background-size: cover;
  background-position: center;
  filter: blur(50px);
  -webkit-filter: blur(50px);
  opacity: 0.8;
}

/* Frame: fills top to bottom, no gap, same height for both images */
.listing-gallery-frame {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(96vmin, 780px);
  height: calc(100% - 72px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
  box-sizing: border-box;
}

.listing-gallery-main {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: top center;
  image-rendering: -webkit-optimize-contrast;
}

/* Marketplace EXACT: big arrows, dark gray translucent circle, white chevron */
.gallery-chevron {
  display: block;
  width: 16px;
  height: 16px;
  position: relative;
}

.gallery-chevron::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform-origin: center center;
}

.gallery-chevron-left::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.gallery-chevron-right::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.listing-gallery-prev,
.listing-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  background: rgba(60,60,60,0.7);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.listing-gallery-prev { left: 1rem; }
.listing-gallery-next { right: 1rem; }

.listing-gallery-prev:hover,
.listing-gallery-next:hover {
  background: rgba(80,80,80,0.85);
}

/* Bottom thumbnails - Marketplace: small strip, space to see how many pics */
.listing-gallery-thumbs-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
  min-height: 64px;
  align-items: center;
}

.listing-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
}

.listing-gallery-thumbs .thumb-btn {
  width: 44px;
  height: 44px;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}

.listing-gallery-thumbs .thumb-btn:hover {
  opacity: 0.9;
}

.listing-gallery-thumbs .thumb-btn.active {
  opacity: 1;
  border-color: #1877f2;
  box-shadow: 0 0 0 1px #1877f2;
}

.listing-modal-details {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.listing-modal-details h2 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.listing-modal-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.listing-modal-details .listing-specs {
  list-style: none;
  margin-bottom: 1rem;
}

.listing-modal-details .listing-specs li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem 0.75rem;
  align-items: start;
  padding: 0.35rem 0;
  font-size: 1rem;
  color: var(--text);
}

.listing-modal-details .listing-specs li strong {
  color: var(--gray-light);
}


.listing-modal-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.listing-modal-trust {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 500;
}

.listing-modal-details .btn-full {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
}

/* Lightbox - Marketplace-style click to view */
.listing-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.listing-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.listing-lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-lightbox-inner img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.listing-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.listing-lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}

.listing-lightbox-prev,
.listing-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.listing-lightbox-prev { left: 1rem; }
.listing-lightbox-next { right: 1rem; }

.listing-lightbox-prev:hover,
.listing-lightbox-next:hover {
  background: rgba(255,255,255,0.25);
}

.listing-lightbox-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.listing-lightbox-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.listing-lightbox-dots .dot.active {
  background: var(--white);
}

.listing-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
}

.listing-specs {
  list-style: none;
  margin-bottom: 1rem;
}

.listing-specs li {
  padding: 0.25rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.listing-specs li strong {
  display: inline-block;
  min-width: 5rem;
  color: var(--gray-light);
}

/* About Me - Sparke style */
.about {
  padding: 4rem 0;
  background: var(--gray-bg);
  text-align: center;
}

.about .section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-content {
  max-width: 560px;
  margin: 0 auto;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.about-content p:not(.about-lead) {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 0.75rem 0;
}

.about-content p:last-of-type {
  margin-bottom: 0;
}

.about-speed {
  font-weight: 500;
  color: var(--text) !important;
}

.about-pillars {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.about-pillar {
  max-width: 260px;
  margin: 0 auto;
  text-align: center;
}

.about-pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e5e5e5;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-pillar-svg {
  width: 28px;
  height: 28px;
  stroke: #111111;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.about-pillar p {
  font-size: 0.9rem;
  color: var(--text-light);
}

@media (max-width: 800px) {
  .about-pillars {
    grid-template-columns: 1fr;
  }
}

/* Sell PC */
.sell-pc {
  background: var(--white);
  padding: 4rem 0;
}

.sell-pc h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Sell form: ONE gap for everything — form note, every row, estimate, City, submit */
.sell-form {
  --sell-gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.sell-form .form-note {
  margin: 0 0 var(--sell-gap) 0 !important;
}

.sell-form .form-row,
.sell-form .form-row.form-row-inline,
.sell-form .form-row.form-row-half {
  margin-top: 0 !important;
  margin-bottom: var(--sell-gap) !important;
}

/* Buttons: submit full width, gap matches other form rows */
.sell-form .form-row-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 0;
  margin-bottom: var(--sell-gap) !important;
}

.sell-form .form-row-buttons .estimate-row {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sell-form .form-row-buttons .estimate-row #estimate-btn {
  width: 100%;
}

.sell-form .form-row-buttons #sell-submit-btn {
  margin-top: 0 !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1.1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sell-form .form-row-buttons #sell-submit-btn:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transform: none;
}

.sell-form .form-row label {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.sell-form .form-row input,
.sell-form .form-row textarea {
  margin: 0;
}

.sell-form .form-row textarea {
  display: block;
}

.sell-form .form-row .file-input {
  margin: 0;
}

/* Gap above button = P/16 (tiny — try -3rem here to confirm CSS applies) */
.sell-form > button[type="submit"] {
  margin-top: -3rem !important;
}

/* Contact / Message Us page (Sparke-style: clean form, our colours & fonts) */
.contact-page {
  padding: 4rem 0 5rem;
  background: var(--gray-bg);
}

.contact-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  text-align: center;
  color: var(--text);
}

.contact-form-sparke .form-row {
  margin-bottom: 1.25rem;
}

.contact-form-sparke .form-row label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-align: center;
}

.contact-form-sparke .form-row input,
.contact-form-sparke .form-row textarea,
.contact-form-sparke .form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}

.contact-form-sparke .form-row select {
  cursor: pointer;
  appearance: auto;
}

.buy-inquiry-page .buy-inquiry-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-form-sparke .form-row input::placeholder,
.contact-form-sparke .form-row textarea::placeholder {
  color: var(--text-light);
}

.contact-form-sparke .form-row input:focus,
.contact-form-sparke .form-row textarea:focus,
.contact-form-sparke .form-row select:focus {
  outline: none;
  border-color: var(--black);
}

.contact-form-sparke .form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
}

.contact-form-sparke .form-row-inline label {
  margin-bottom: 0.75rem;
}

.contact-preference {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
}

.contact-radio input {
  width: auto;
  margin: 0;
}

.contact-radio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.35rem;
  flex-shrink: 0;
}

.contact-radio-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Stacked style: radio on top, icon + text below (like contact preference reference) */
.contact-preference-stacked {
  gap: 2rem;
}

.contact-radio-stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
}

.contact-radio-stacked input {
  order: -1;
}

.contact-radio-stacked .contact-radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--text);
}

.contact-radio-stacked .contact-radio-icon {
  margin-right: 0;
}

.contact-form-sparke .form-row:has(.contact-submit) {
  text-align: center;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  margin-top: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-submit:hover {
  background: var(--gray);
}

.contact-submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-submit-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-note {
  margin-bottom: 1.25rem;
  color: var(--text-light);
  font-size: 0.95rem;
  text-align: center;
}

.form-row .required {
  color: var(--black);
}

.form-row .field-hint {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

.form-row .file-input,
.form-row input[type="file"] {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}
.form-row .file-input:focus,
.form-row input[type="file"]:focus {
  outline: none;
  border-color: var(--black);
}
.form-row .file-input::file-selector-button,
.form-row input[type="file"]::file-selector-button {
  padding: 0.4rem 0.9rem;
  margin-right: 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--black);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.form-row .file-input::file-selector-button:hover,
.form-row input[type="file"]::file-selector-button:hover {
  background: var(--gray);
}
/* Legacy WebKit file button */
.form-row .file-input::-webkit-file-upload-button,
.form-row input[type="file"]::-webkit-file-upload-button {
  padding: 0.4rem 0.9rem;
  margin-right: 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--black);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.form-row .file-input::-webkit-file-upload-button:hover,
.form-row input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--gray);
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-row input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.form-row textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 110px;
}

.form-row input:focus {
  outline: none;
  border-color: var(--black);
}

.form-row textarea:focus {
  outline: none;
  border-color: var(--black);
}

.estimate-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.estimate-result {
  display: none;
  margin-top: 0;
}

.estimate-result.visible {
  display: block;
}

.estimate-msg {
  font-size: 1rem;
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
}

.estimate-range {
  color: var(--text);
}

.estimate-range strong {
  color: var(--black);
}

.estimate-error {
  color: var(--text);
  background: var(--white);
  border-color: var(--gray-light);
}

/* Photo previews (after file pick) */
.photo-preview-wrap {
  margin-top: 0.75rem;
}
.photo-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.photo-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: visible;
  border: 1px solid #e0e0e0;
  background: #f5f5f5;
}
.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.photo-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-preview-item:hover .photo-preview-remove {
  opacity: 1;
}
.photo-preview-remove:hover {
  background: rgba(180, 0, 0, 0.9);
}

/* Condition cards (Excellent / Good / Rough) */
.condition-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.condition-options-cooler {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.condition-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.condition-card input[type="radio"] {
  display: none;
}

.condition-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
}

.condition-desc {
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #555;
  margin-top: 0.25rem;
}

.condition-card:hover {
  border-color: #999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Selected state: whole card looks chosen */
.condition-card:has(input[type="radio"]:checked) {
  border: 2px solid var(--black);
  background: #f0f4f8;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.condition-card:has(input[type="radio"]:checked) .condition-title {
  color: var(--black);
  font-size: 0.95rem;
  line-height: 1.25;
}

.condition-card:has(input[type="radio"]:checked) .condition-desc {
  color: #333;
  font-size: 0.8rem;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .condition-options {
    grid-template-columns: 1fr;
  }
}

/* Offer range bar on thank-you page (legacy / non–page-offer) */
.offer-range-wrap {
  margin-top: 1.25rem;
}

.offer-range-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.offer-range-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5b400 0%, #9acd32 40%, #00b26b 100%);
  overflow: hidden;
}

/* Offer thank-you page: same theme as rest of site, original bar colors */
.offer-section {
  padding: 4rem 0 5rem;
  text-align: center;
}

.offer-section .section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.offer-section .section-subtitle {
  margin-bottom: 1.5rem;
}

.offer-section .estimate-result {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.offer-section .btn-secondary {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.7rem 1.35rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.offer-section .btn-secondary:hover {
  background: var(--gray);
}

.offer-preview-link {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: none;
}

.offer-preview-link:hover {
  color: var(--black);
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

/* Sell form: gap = P/16 (override .btn-full) */
.sell-form > button[type="submit"].btn-full {
  margin-top: -3rem !important;
}

/* Testimonials - Guelph Kia style: same background as page, no highlight, no scroll buttons */
.testimonials {
  padding: 4rem 0;
  background: var(--bg);
}

.testimonial-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.testimonial-track-wrap {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  background: transparent;
  padding: 1.5rem 0;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.testimonial-quote {
  font-size: 3.5rem;
  color: var(--gray);
  line-height: 1;
  flex-shrink: 0;
}

.testimonial-body {
  flex: 1;
  min-width: 0;
}

.testimonial-card p {
  color: var(--text);
  margin-bottom: 0;
  font-size: 1.15rem;
  line-height: 1.6;
}

.testimonial-divider {
  width: 1px;
  background: var(--gray-light);
  align-self: stretch;
  flex-shrink: 0;
}

.testimonial-meta {
  flex-shrink: 0;
  text-align: center;
}

.testimonial-stars {
  color: var(--black);
  font-size: 1.35rem;
  letter-spacing: 2px;
  margin-bottom: 0.35rem;
}

.testimonial-stars-4-5 {
  position: relative;
  color: #d4d4d4;
  letter-spacing: 0;
}

.testimonial-stars-4-5::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--black);
  overflow: hidden;
}

.testimonial-stars-4-5::before {
  width: 4.5ch; /* approximately 4½ stars filled */
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  margin: 0;
}

/* FAQ */
/* FAQ - Sparke style: interactive cards like How it works */
.faq {
  padding: 4rem 0;
  background: var(--white);
}

.faq .section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
}

.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--gray-bg);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.faq-item:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--gray-light);
  transform: scale(1.02);
}

.faq-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Contact */
.contact {
  padding: 4rem 0;
  background: var(--black);
  color: var(--white);
}

.contact h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact .section-subtitle {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.contact-options {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  text-align: center;
  min-width: 200px;
  transition: background 0.2s;
}

.contact-card:hover {
  background: rgba(255,255,255,0.2);
}

.contact-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-card span {
  opacity: 0.9;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  padding: 0.75rem 1rem;
  gap: 0.5rem;
  justify-content: center;
  z-index: 99;
}

/* Chatbot - Kitchener Hyundai style */
.chatbot-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.chatbot-toggle:hover {
  background: var(--gray);
}

.chatbot-window {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 360px;
  max-height: 480px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 501;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-window.open {
  display: flex;
}

.chatbot-header {
  background: #f0f4f8;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.chatbot-header h4 {
  font-size: 1rem;
  margin: 0;
}

.chatbot-header span {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.chatbot-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--gray-light);
}

.chatbot-body {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 2px;
  margin-bottom: 0.75rem;
}

.chat-msg {
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-msg p {
  margin: 0;
}

.chat-msg.bot {
  align-self: flex-start;
  background: #f0f4f8;
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--black);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chat-suggestion-chip {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--gray-light);
  background: var(--white);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.chat-suggestion-chip:hover {
  background: var(--gray-bg);
  border-color: var(--black);
}

.chatbot-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #eee;
}

.chatbot-footer input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
}

.chatbot-footer input:focus {
  outline: none;
  border-color: var(--black);
}

.chatbot-attribution {
  margin: 0.5rem 0 0;
  font-size: 0.7rem;
  color: var(--gray-light);
  text-align: center;
}

.chatbot-attribution a {
  color: var(--gray-light);
  text-decoration: underline;
}

.sell-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background: var(--white);
  font-family: inherit;
}

/* Device type: big PC / Laptop cards with image and optional video on hover */
.sell-form .form-row:has(.device-type-cards) {
  text-align: center;
}

.sell-form .form-row:has(.device-type-cards) > label {
  display: block;
  margin-bottom: 0.5rem;
}

.device-type-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 100%;
  width: 100%;
}

.device-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  background: #fff;
  user-select: none;
  -webkit-user-select: none;
}

.device-card:hover {
  border-color: #999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.device-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.device-card input[type="radio"]:checked + .device-card-media,
.device-card input[type="radio"]:checked ~ .device-card-label {
  opacity: 1;
}

.device-card:has(input:checked) {
  border: 2px solid var(--black);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  background: #f0f4f8;
}

.device-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.device-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-card-placeholder {
  font-size: 4rem;
  line-height: 1;
}

.device-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.device-card:hover .device-card-video {
  opacity: 1;
}

.device-card-label {
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--black);
  user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 520px) {
  .device-type-cards {
    grid-template-columns: 1fr;
  }
}

.form-row-inline label:first-child {
  display: block;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-row-half {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
}

.form-row-half .form-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.form-row-half .form-group label {
  display: block;
  margin-bottom: 0.35rem;
}

.form-row-half .form-group input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 520px) {
  .form-row-half {
    grid-template-columns: 1fr;
  }
  .device-type-cards {
    justify-content: center;
  }
}

/* Searchable combo — futuristic minimal */
.combo {
  position: relative;
}

.combo-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.combo-input::placeholder {
  color: #888;
}

.combo-input:hover {
  border-color: rgba(0, 0, 0, 0.12);
}

.combo-input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
  background: #fff;
}

.combo-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: none;
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
}

.combo-dropdown.open {
  display: block;
}

.combo-option {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  color: #1a1a1a;
  transition: background 0.15s ease;
}
.combo-option:hover {
  background: rgba(0, 0, 0, 0.04);
}

.combo-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.combo-select:hover {
  border-color: rgba(0, 0, 0, 0.12);
}
.combo-select:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
  background: #fff;
}

.combo-empty {
  padding: 0.65rem 1rem;
  color: #888;
  font-size: 0.85rem;
}

/* Sell form: motherboard / cooler / case / PSU only for PC */
.pc-only-row {
  display: none;
}

.pc-only-row.pc-only-visible {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
}

/* Sell form: laptop-only rows (screen Hz, resolution, battery) */
.laptop-only-row {
  display: none;
}

.laptop-only-row.laptop-only-visible {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
}

.combo-info {
  padding: 0.5rem 1rem;
  color: #888;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(0, 0, 0, 0.02);
}

.sticky-mobile-cta a {
  flex: 1;
  text-align: center;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .sticky-mobile-cta {
    display: flex;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }

  .hero-trust-strip {
    font-size: 0.85rem;
    margin-top: 1.5rem;
  }
}

