:root {
    --bg: #ffffff;
    --bg2: #f0f4ff;
    --bg3: #e8eeff;
    --nav-bg: #0c0c18;
    --surface: #ffffff;
    --border: #dde3f0;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --blue-dark: #1d4ed8;
    --text: #0f172a;
    --muted: #64748b;
    --radius: 12px;
    --shadow: 0 2px 16px rgba(37,99,235,0.08);
    --shadow-hover: 0 8px 32px rgba(37,99,235,0.16);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; overflow-x: hidden; }


  /* ANNOUNCEMENT TICKER */
  .announce-bar {
    background: var(--blue);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .announce-track {
    display: flex;
    width: max-content;
    animation: announceScroll 26s linear infinite;
    will-change: transform;
  }
  .announce-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .announce-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
  }
  .announce-item::after {
    content: "•";
    opacity: 0.55;
    margin-left: 18px;
  }
  @keyframes announceScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .announce-track { animation: none; }
  }

  /* NAVBAR */
  nav { background: var(--nav-bg); display: flex; align-items: center; justify-content: space-between; padding: 0 48px; height: 64px; border-bottom: 1px solid rgba(255,255,255,0.08); position: sticky; top: 0; z-index: 100; }
  .nav-logo { display: flex; align-items: center; gap: 10px; cursor: default; }
  .nav-logo img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(37,99,235,0.5); }
  .nav-logo-text { font-size: 0.95rem; font-weight: 700; color: #fff; letter-spacing: 0.04em; }
  .nav-logo-text span { color: #60a5fa; }
  .nav-links { display: flex; gap: 28px; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-links a {
    position: relative;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    transform-origin: center;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width 0.2s ease;
  }
  .nav-links a:hover {
    color: #fff;
    transform: scale(1.06);
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta { display: flex; align-items: center; gap: 12px; }
  .btn-nav { padding: 8px 20px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
  .btn-nav-outline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }
  .btn-nav-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
  .btn-nav-solid { background: var(--blue); color: #fff; }
  .btn-nav-solid:hover { background: var(--blue-dark); }

  /* TICKER */

  /* HERO */
  .hero { background: var(--nav-bg); padding: 80px 48px 90px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
  .hero-content { position: relative; max-width: 680px; flex: 1 1 55%; z-index: 1; }
  .hero-image { flex: 1 1 45%; display: flex; align-items: center; justify-content: center; min-width: 0; }
  .hero-image img { width: min(100%, 620px); height: auto; display: block; object-fit: contain; }
  .hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: #fff; margin-bottom: 18px; }
  .hero h1 span { color: #60a5fa; }
  .hero-sub { font-size: 0.95rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 500px; margin-bottom: 36px; }
  .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; background: var(--blue); color: #fff; border-radius: 8px; font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
  .btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.4); }
  .btn-secondary { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; background: transparent; color: rgba(255,255,255,0.75); border-radius: 8px; font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; }
  .btn-secondary:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
  .hero-stats { display: flex; gap: 40px; margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.08); }
  .hero-stat-num { font-size: 1.8rem; font-weight: 800; color: #60a5fa; }
  .hero-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }

  /* SECTION */
  .section-wrap { padding: 72px 48px; }
  .section-wrap.bg-alt { background: var(--bg2); }
  .section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
  .section-label { font-size: 0.7rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
  .section-title { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
  .section-count { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
  .listing-sort { display: flex; justify-content: flex-end; margin: -18px 0 30px; position: relative; z-index: 25; }
  .sort-dropdown { position: relative; min-width: 190px; }
  .sort-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px solid var(--border); background: #fff; color: var(--text); border-radius: 9px; padding: 10px 13px; font-family: 'Inter', sans-serif; font-size: 0.76rem; font-weight: 650; cursor: pointer; box-shadow: 0 3px 10px rgba(15,23,42,0.05); }
  .sort-trigger:hover { border-color: rgba(37,99,235,0.45); color: var(--blue); background: #f8faff; }
  .sort-chevron { font-size: 0.68rem; color: var(--muted); transition: transform 0.18s ease; }
  .sort-dropdown.open .sort-chevron { transform: rotate(180deg); }
  .sort-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 100%; min-width: 190px; display: none; padding: 6px; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; box-shadow: 0 14px 32px rgba(15,23,42,0.14); }
  .sort-dropdown.open .sort-menu { display: block; }
  .sort-option { width: 100%; border: 0; background: transparent; color: var(--muted); border-radius: 7px; padding: 10px 11px; font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 600; cursor: pointer; text-align: left; box-shadow: none !important; }
  .sort-option:hover { color: var(--blue); background: #f3f6ff; transform: none !important; }
  .sort-option.active { color: var(--blue); background: #eef3ff; }
  .sort-option:active { transform: none !important; }

  /* PC GRID */
  .pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }

  /* PC CARD */
  .pc-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; animation: fadeUp 0.5s both; display: flex; flex-direction: column; cursor: pointer; }
  .pc-card:nth-child(1) { animation-delay: 0.05s; }
  .pc-card:nth-child(2) { animation-delay: 0.1s; }
  .pc-card:nth-child(3) { animation-delay: 0.15s; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  .pc-card:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); transform: translateY(-3px); }

  /* CARD IMAGE - clean bg effect */
  .card-img { width: 100%; height: 300px; background: #f4f7ff; overflow: hidden; position: relative; border-bottom: 1.5px solid var(--border); }
  .carousel { width: 100%; height: 100%; position: relative; overflow: hidden; }
  .carousel-track { display: flex; height: 100%; transition: transform 0.4s ease; will-change: transform; }
  .carousel-slide { min-width: 100%; width: 100%; height: 100%; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f4f7ff; padding: 8px; }
  .carousel-slide img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.35s; }
  .pc-card:hover .carousel-slide img { transform: scale(1.05); }
  .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.95); border: 1px solid var(--border); color: var(--text); width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.75rem; z-index: 3; opacity: 0; transition: opacity 0.2s; }
  .card-img:hover .carousel-btn { opacity: 1; }
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }
  .carousel-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 3; }
  .carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(37,99,235,0.25); transition: background 0.2s; cursor: pointer; border: none; padding: 0; }
  .carousel-dot.active { background: var(--blue); }

  /* STATUS BADGE */
  .card-status { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
  .status-available { background: #dcfce7; color: #166534; }
  .status-sold { background: #fee2e2; color: #991b1b; }
  .sold-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.65); display: flex; align-items: center; justify-content: center; z-index: 4; }
  .sold-stamp { font-size: 1.8rem; font-weight: 800; color: #dc2626; border: 3px solid #dc2626; padding: 6px 20px; border-radius: 6px; transform: rotate(-12deg); letter-spacing: 0.1em; background: rgba(255,255,255,0.9); }

  /* CARD BODY */
  .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
  .card-name { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
  .spec-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
  .spec-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.75rem; color: var(--text); line-height: 1.4; }
  .spec-icon { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
  .card-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
  .card-price { font-size: 1.4rem; font-weight: 800; color: var(--text); }
  .card-price-label { font-size: 0.62rem; color: var(--muted); margin-top: 1px; }
  .card-btns { display: flex; gap: 7px; flex-shrink: 0; }
  .btn-inquire { display: inline-flex; align-items: center; gap: 4px; padding: 9px 16px; background: var(--blue); color: #fff; border-radius: 7px; font-size: 0.75rem; font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; font-family: 'Inter', sans-serif; white-space: nowrap; }
  .btn-inquire:hover { background: var(--blue-dark); transform: translateY(-1px); }
  .btn-details { display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; background: var(--bg2); color: var(--muted); border-radius: 7px; font-size: 0.75rem; font-weight: 600; border: 1.5px solid var(--border); text-decoration: none; transition: all 0.2s; cursor: pointer; font-family: 'Inter', sans-serif; white-space: nowrap; }
  .btn-details:hover { border-color: var(--blue); color: var(--blue); }

  /* PARTS */
  .parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
  .part-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; animation: fadeUp 0.5s both 0.1s; display: flex; flex-direction: column; }
  .part-card:hover { border-color: #7c3aed; box-shadow: 0 8px 32px rgba(124,58,237,0.14); transform: translateY(-3px); }
  .part-img { width: 100%; height: 200px; background: #f4f7ff; border-bottom: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
  .part-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform 0.3s; }
  .part-card:hover .part-img img { transform: scale(1.04); }
  .part-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
  .part-label { font-size: 0.62rem; font-weight: 600; color: #7c3aed; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
  .part-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
  .part-tagline { font-size: 0.72rem; color: var(--muted); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
  .part-spec-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
  .part-spec-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.75rem; color: var(--text); }
  .part-footer-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }
  .part-price { font-size: 1.4rem; font-weight: 800; color: var(--text); }
  .part-price-label { font-size: 0.62rem; color: var(--muted); margin-top: 1px; }
  .btn-part { display: inline-flex; align-items: center; gap: 5px; padding: 9px 18px; background: #7c3aed; color: #fff; border-radius: 7px; font-size: 0.75rem; font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
  .btn-part:hover { background: #6d28d9; transform: translateY(-1px); }

  /* HOW TO BUY */
  .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
  .step-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all 0.2s; }
  .step-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
  .step-num-badge { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-light); color: var(--blue); font-size: 1rem; font-weight: 800; margin-bottom: 18px; }
  .step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
  .step-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.7; }

  /* CONTACT STRIP */
  .contact-strip { background: var(--nav-bg); margin: 0 48px 72px; border-radius: var(--radius); padding: 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; position: relative; overflow: hidden; }
  .contact-strip::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,235,0.12), transparent); pointer-events: none; }
  .contact-strip h3 { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 6px; position: relative; }
  .contact-strip p { font-size: 0.8rem; color: rgba(255,255,255,0.5); position: relative; }

  /* FOOTER */
  .site-footer { background: var(--nav-bg); border-top: 1px solid rgba(255,255,255,0.06); padding: 58px 48px 24px; color: #fff; }
  .footer-main { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.7fr 0.8fr 1fr 1fr; gap: 56px; align-items: start; }
  .footer-brand-col { min-width: 0; }
  .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
  .footer-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; opacity: 0.9; }
  .footer-logo-text { font-size: 0.95rem; font-weight: 800; color: #fff; letter-spacing: 0.01em; }
  .footer-logo-text span { color: #60a5fa; }
  .footer-description { max-width: 390px; margin: 0; font-size: 0.78rem; line-height: 1.75; color: rgba(255,255,255,0.52); }
  .footer-col { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
  .footer-heading { color: #60a5fa; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
  .footer-interactive { color: rgba(255,255,255,0.66); font: inherit; font-size: 0.76rem; line-height: 1.4; text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; position: relative; width: fit-content; transform-origin: left center; }
  .footer-interactive::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: #60a5fa; transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
  .footer-interactive:hover { color: #fff; transform: scale(1.055) translateX(2px); }
  .footer-interactive:hover::after { transform: scaleX(1); }
  .footer-interactive:focus-visible { outline: 2px solid #60a5fa; outline-offset: 5px; border-radius: 2px; }
  .footer-link-btn { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
  .footer-static { color: rgba(255,255,255,0.66); font: inherit; font-size: 0.76rem; line-height: 1.4; width: fit-content; text-decoration: none; pointer-events: none; cursor: default; position: static; transform: none; border: 0; }
  .footer-static::before, .footer-static::after { content: none !important; display: none !important; }
  .footer-bottom { max-width: 1200px; margin: 42px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,0.30); font-size: 0.72rem; }
  .footer-payments { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: nowrap; font: inherit; }
  .footer-payments-label { color: rgba(255,255,255,0.45); font: inherit; font-size: 0.72rem; font-weight: 500; letter-spacing: 0; margin-right: 1px; text-transform: none; white-space: nowrap; }
  .payment-logo { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; overflow: hidden; flex: 0 0 auto; }
  .payment-logo.cash { width: 40px; height: 33px; }
  .payment-logo.cash img { display: block; width: 62px; height: 62px; max-width: none; max-height: none; object-fit: contain; }
  .payment-logo.interac { width: 30px; height: 34px; }
  .payment-logo.interac img { display: block; width: auto; height: 34px; max-width: none; max-height: none; object-fit: contain; }
  @media (max-width: 900px) {
    .site-footer { padding: 46px 28px 22px; }
    .footer-main { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
    .footer-trust-col { grid-column: 2 / 4; }
  }
  @media (max-width: 620px) {
    .site-footer { padding: 40px 22px 20px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-trust-col { grid-column: auto; }
    .footer-bottom { margin-top: 34px; flex-direction: column; gap: 8px; }
    .footer-payments { justify-content: flex-start; }
    .footer-payments { justify-content: flex-start; }
    .payment-logo.cash { width: 38px; height: 31px; }
    .payment-logo.cash img { width: 60px; height: 60px; }
    .payment-logo.interac { width: 29px; height: 33px; }
    .payment-logo.interac img { height: 33px; }
  }


  /* MODAL */
  .modal-bg { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.7); z-index: 500; align-items: center; justify-content: center; backdrop-filter: blur(6px); padding: 20px; }
  .modal-bg.open { display: flex; }
  .modal { background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 36px; position: relative; animation: modalIn 0.22s ease; box-shadow: 0 24px 64px rgba(15,23,42,0.25); }
  @keyframes modalIn { from { opacity: 0; transform: scale(0.96) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
  .modal-close { position: absolute; top: 16px; right: 16px; background: var(--bg2); border: 1.5px solid var(--border); color: var(--muted); cursor: pointer; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: all 0.2s; }
  .modal-close:hover { background: var(--border); color: var(--text); }
  .modal-label { font-size: 0.68rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
  .modal-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
  .modal-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
  .modal-imgs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .modal-imgs.single { }
  .modal-imgs img { width: 100%; max-height: 360px; object-fit: contain; display: block; background: #f4f7ff; border-radius: 10px; padding: 12px; }
  .modal-zoom-wrap { position: relative; cursor: default; border-radius: 10px; overflow: hidden; }
  .modal-zoom-wrap img { cursor: default; transition: transform 0.18s ease; }
  .modal-image-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(15,23,42,0.14); background: rgba(255,255,255,0.96); color: #0f172a; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; box-shadow: 0 4px 14px rgba(15,23,42,0.16); font-size: 1rem; font-weight: 700; }
  .modal-image-nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); box-shadow: 0 6px 18px rgba(15,23,42,0.22); }
  .modal-image-nav.prev { left: 12px; }
  .modal-image-nav.next { right: 12px; }
  .modal-image-counter { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 4px 9px; border-radius: 999px; background: rgba(15,23,42,0.72); color: #fff; font-size: 0.68rem; font-weight: 700; z-index: 3; }
  .modal-zoom-hint { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; background: rgba(255,255,255,0.96); color: #0f172a; line-height: 1; cursor: pointer; pointer-events: auto; box-shadow: 0 4px 14px rgba(15,23,42,0.16); border: 1px solid rgba(15,23,42,0.10); transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease; }
  .modal-zoom-hint:hover { transform: scale(1.08); background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,0.22); }
  .modal-zoom-hint:active { transform: scale(0.96); }
  .modal-zoom-hint svg { width: 17px; height: 17px; display: block; pointer-events: none; }
  .image-zoom-bg { display: none; position: fixed; inset: 0; z-index: 900; background: #fff; align-items: center; justify-content: center; padding: 24px; backdrop-filter: none; }
  .image-zoom-bg.open { display: flex; }
  .image-zoom-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: default; }
  .image-zoom-stage img { max-width: 90vw; max-height: 84vh; object-fit: contain; transform-origin: center center; transition: transform 0.16s ease; user-select: none; -webkit-user-drag: none; }
  .image-zoom-controls { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 8px; background: rgba(255,255,255,0.96); border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.28); }
  .image-zoom-controls button, .image-zoom-close { border: 0; background: #eef3ff; color: #0f172a; font: inherit; font-size: 0.82rem; font-weight: 700; border-radius: 8px; cursor: pointer; }
  .image-zoom-controls button { min-width: 42px; height: 38px; padding: 0 12px; }
  .image-zoom-controls button:hover, .image-zoom-close:hover { background: #dfe8ff; }
  .image-zoom-value { min-width: 52px; text-align: center; font-size: 0.75rem; font-weight: 700; color: #334155; }
  .image-zoom-close { position: fixed; top: 20px; right: 20px; width: 40px; height: 40px; background: rgba(255,255,255,0.96); font-size: 1rem; }
  .image-zoom-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid #dbe3f0; background: #fff; color: #0f172a; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 905; box-shadow: 0 8px 24px rgba(15,23,42,0.16); font-size: 1.2rem; font-weight: 700; }
  .image-zoom-nav:hover { background: #f4f7ff; transform: translateY(-50%) scale(1.06); }
  .image-zoom-nav.prev { left: 24px; }
  .image-zoom-nav.next { right: 24px; }
  .image-zoom-bg.multi .image-zoom-nav { display: flex; }
  .modal-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
  .modal-spec-item { padding: 12px 14px; background: var(--bg2); border-radius: 8px; border-left: 3px solid var(--blue); }
  .modal-spec-key { font-size: 0.6rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
  .modal-spec-val { font-size: 0.78rem; font-weight: 600; color: var(--text); }
  .modal-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.8; margin-bottom: 24px; padding: 16px; background: var(--bg2); border-radius: 8px; }
  .modal-footer-row { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1.5px solid var(--border); flex-wrap: wrap; gap: 12px; }
  .modal-price { font-size: 1.8rem; font-weight: 800; color: var(--text); }
  .modal-price-label { font-size: 0.65rem; color: var(--muted); }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    /* NAV */
    nav { padding: 0 16px; height: 56px; }
    .nav-links { display: none; }
    .nav-logo-text { font-size: 0.78rem; }
    .nav-logo img { width: 30px; height: 30px; }
    .btn-nav { padding: 6px 12px; font-size: 0.72rem; }
    .nav-cta { gap: 8px; }

    /* ANNOUNCE BAR */
    .announce-bar { font-size: 0.7rem; padding: 8px 0; line-height: 1.5; }
    .announce-item { padding: 0 20px; }

    /* HERO */
    .hero { padding: 40px 16px 48px; display: block; }
    .hero h1 { font-size: 2rem; }
    .hero-image { margin-top: 32px; }
    .hero-image img { width: min(100%, 520px); margin: 0 auto; }
    .hero-sub { font-size: 0.82rem; margin-bottom: 24px; }
    .hero-badge { font-size: 0.65rem; padding: 4px 10px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 12px 20px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; margin-top: 36px; padding-top: 24px; }
    .hero-stat-num { font-size: 1.4rem; }
    .hero-stat-label { font-size: 0.62rem; }

    /* TICKER */

    /* SECTIONS */
    .section-wrap { padding: 40px 16px; }
    .section-title { font-size: 1.4rem; }
    .section-head { flex-direction: column; gap: 6px; align-items: flex-start; margin-bottom: 24px; }
    .listing-sort { margin: -8px 0 22px; justify-content: stretch; }
    .sort-dropdown { width: 100%; min-width: 0; }
    .sort-trigger { min-height: 44px; }
    .sort-menu { min-width: 0; }

    /* PC GRID */
    .pc-grid { grid-template-columns: 1fr; gap: 16px; }
    .parts-grid { grid-template-columns: 1fr; gap: 16px; }
    .steps-grid { grid-template-columns: 1fr; gap: 12px; }

    /* CARD IMAGE */
    .card-img { height: 240px; }
    .carousel { width: 100%; height: 100%; overflow: hidden; }
    .carousel-track { width: 100%; height: 100%; }
    .carousel-slide { min-width: 100%; width: 100%; height: 100%; flex-shrink: 0; }
    .carousel-slide img { width: 100%; height: 100%; object-fit: contain; }
    .carousel-btn { opacity: 1; width: 32px; height: 32px; }

    /* CARD BODY */
    .card-body { padding: 16px; }
    .card-name { font-size: 0.88rem; }
    .spec-list { gap: 6px; margin-bottom: 14px; padding-bottom: 14px; }
    .spec-list li { font-size: 0.72rem; }
    .card-price { font-size: 1.2rem; }
    .btn-inquire, .btn-details { padding: 8px 12px; font-size: 0.7rem; }

    /* PARTS */
    .part-body { padding: 16px; }
    .part-img { height: 180px; }

    /* HOW TO BUY */
    .step-card { padding: 24px 20px; }

    /* CONTACT STRIP */
    .contact-strip { margin: 0 16px 48px; padding: 24px 16px; flex-direction: column; text-align: center; }
    .contact-strip h3 { font-size: 1.1rem; }
    .contact-strip .btn-primary { width: 100%; justify-content: center; }

    /* FOOTER */
    footer { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-note { font-size: 0.62rem; }

    /* MODAL */
    .modal { padding: 24px 16px; border-radius: 12px; max-height: 95vh; }
    .modal-title { font-size: 1.1rem; }
    .modal-spec-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .modal-imgs img { max-height: 240px; padding: 8px; }
    .modal-zoom-hint { right: 8px; top: 8px; width: 32px; height: 32px; }
    .image-zoom-bg { padding: 12px; }
    .image-zoom-stage img { max-width: 96vw; max-height: 80vh; }
    .image-zoom-controls { bottom: 14px; }
    .image-zoom-close { top: 12px; right: 12px; }
    .modal-image-nav { width: 34px; height: 34px; }
    .modal-image-nav.prev { left: 8px; }
    .modal-image-nav.next { right: 8px; }
    .image-zoom-nav { width: 42px; height: 42px; }
    .image-zoom-nav.prev { left: 10px; }
    .image-zoom-nav.next { right: 10px; }
    .modal-price { font-size: 1.4rem; }
    .modal-footer-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .modal-footer-row .btn-inquire { width: 100%; justify-content: center; }
  }

  @media (max-width: 400px) {
    .modal-spec-grid { grid-template-columns: 1fr; }
    .card-btns { flex-direction: column; width: 100%; }
    .btn-inquire, .btn-details { width: 100%; justify-content: center; }
    .card-footer-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  }

  /* ── LINK LAUNCHER MODAL ── */
  .link-modal-bg {
    display: none; position: fixed; inset: 0;
    background: rgba(15,23,42,0.75); z-index: 600;
    align-items: center; justify-content: center;
    backdrop-filter: blur(6px); padding: 20px;
  }
  .link-modal-bg.open { display: flex; }
  .link-modal {
    background: var(--surface); border: 1.5px solid var(--border);
    border-radius: 16px; max-width: 420px; width: 100%;
    padding: 40px 32px 32px; position: relative;
    text-align: center; animation: modalIn 0.22s ease;
    box-shadow: 0 24px 64px rgba(15,23,42,0.25);
  }
  .link-modal-close {
    position: absolute; top: 14px; right: 14px;
    background: var(--bg2); border: 1.5px solid var(--border);
    color: var(--muted); cursor: pointer;
    width: 30px; height: 30px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; transition: all 0.2s;
  }
  .link-modal-close:hover { background: var(--border); color: var(--text); }
  .link-modal-spinner { display: flex; justify-content: center; margin-bottom: 20px; }
  .spinner-ring {
    width: 48px; height: 48px; border-radius: 50%;
    border: 3px solid var(--bg3);
    border-top-color: var(--blue);
    animation: spin 0.8s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .spinner-done { border-color: #22c55e; border-top-color: #22c55e; animation: none; }
  .link-modal-title { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
  .link-modal-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
  .btn-link-primary {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 24px; background: var(--blue); color: #fff;
    border-radius: 8px; font-size: 0.82rem; font-weight: 600;
    text-decoration: none; transition: all 0.2s; margin-bottom: 20px;
  }
  .btn-link-primary:hover { background: var(--blue-dark); }
  .link-modal-divider {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
  }
  .link-modal-divider::before, .link-modal-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }
  .link-modal-divider span { font-size: 0.72rem; color: var(--muted); white-space: nowrap; font-weight: 500; }
  .link-modal-alt-text { font-size: 0.75rem; color: var(--muted); margin-bottom: 12px; }
  .btn-link-alt {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; background: var(--bg2); color: var(--text);
    border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 0.78rem; font-weight: 600; text-decoration: none;
    transition: all 0.2s;
  }
  .btn-link-alt:hover { border-color: var(--blue); color: var(--blue); }
  @media (max-width: 768px) {
    .link-modal { padding: 36px 20px 24px; }
  }

@keyframes spin{to{transform:rotate(360deg);}}
  /* Enhanced button interactions */
  .btn-primary, .btn-nav, .btn-details, .btn-inquire, .btn-part, .carousel-btn, button {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
    will-change: transform;
  }
  @media (hover: hover) and (pointer: fine) {
    .btn-primary:hover, .btn-nav:hover, .btn-details:hover, .btn-inquire:hover, .btn-part:hover, .carousel-btn:hover, button:hover {
      transform: translateY(-2px) scale(1.025);
      box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    }
  }
  .btn-primary:active, .btn-nav:active, .btn-details:active, .btn-inquire:active, .btn-part:active, .carousel-btn:active, button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 10px rgba(0,0,0,0.14);
  }


.empty-state {
  grid-column: 1 / -1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 36px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
}
.empty-state strong { color: var(--text); font-size: 1rem; }
.empty-state span { font-size: .84rem; }
