:root {
    --bg: #0e0e0e;
    --surface: #161616;
    --border: #2a2a2a;
    --accent: #dde0c3;
    --text: #f0f0f0;
    --muted: #666;
    --thumb-size: 72px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  header {
    padding: 20px 48px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .wordmark {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--accent);
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
  }

  .nav-links li a {
  color: var(--muted);
  font-weight: bold;
  text-decoration:none;
  }
  .nav-links li:hover a{ color: var(--text); }

  .nav-links li { cursor: pointer; transition: color 0.2s; }
  .nav-links li:hover { color: var(--text); }

  /* ── MAIN LAYOUT ── */
  main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 48px;
    align-items: start;
  }

  /* ── LEFT: GALLERY ── */
  .gallery {
    display: flex;
    gap: 16px;
    position: sticky;
    top: 40px;
  }

  .thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .thumbnails::-webkit-scrollbar { display: none; }

  .thumb {
    width: var(--thumb-size);
    height: var(--thumb-size);
    border: 1px solid var(--border);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: border-color 0.2s;
    flex-shrink: 0;
  }

  .thumb.active { border-color: var(--accent); }
  .thumb:hover { border-color: #555; }

  .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
    transition: filter 0.2s;
  }

  .thumb:hover img, .thumb.active img { filter: brightness(1); }

  .main-image {
    flex: 1;
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    background: var(--surface);
  }

  .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
  }

  .img-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 4px 10px;
  }

  /* placeholder colors when no real images */
  .ph { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); }
  .ph1 { background: linear-gradient(135deg, #111 0%, #222 40%, #333 100%); }
  .ph2 { background: linear-gradient(160deg, #1c1c1c 0%, #2e2e2e 100%); }
  .ph3 { background: linear-gradient(135deg, #181818 0%, #282828 100%); }
  .ph4 { background: linear-gradient(135deg, #141414 0%, #252525 100%); }

  /* ── RIGHT: INFO ── */
  .info {
    padding-left: 64px;
    padding-top: 8px;
  }

  .category {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
  }

  .product-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: 2px;
    margin-bottom: 6px;
  }

  .product-sub {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(22px, 2.5vw, 36px);
    letter-spacing: 3px;
    color: var(--muted);
    margin-bottom: 28px;
  }

  .divider {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 28px;
  }

  .price-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
  }

  .price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    letter-spacing: 1px;
    color: var(--text);
  }

  .price-note {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
  }

  /* ── SPEC LIST ── */
  .spec-heading {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
  }

  .spec-list {
    list-style: none;
    margin-bottom: 36px;
  }

  .spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    transition: background 0.15s;
  }

  .spec-list li:first-child { border-top: 1px solid var(--border); }

  .spec-list li::before {
    content: '';
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
  }

  .spec-key {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 80px;
    padding-top: 1px;
  }

  /* ── ACTIONS ── */
  .actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
  }

  a {
  color: #000;
  font-weight: bold;
  text-decoration:none;
  }

  .btn-primary {
    flex: 1;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 16px 32px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
  }

  .btn-primary:hover { opacity: 0.88; }
  .btn-primary:active { transform: scale(0.98); }

  .btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 16px 24px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    cursor: pointer;
    transition: border-color 0.2s;
  }

  .btn-secondary:hover { border-color: #666; }

  .footnote {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    font-style: italic;
  }

  @media (max-width: 900px) {
    main { grid-template-columns: 1fr; padding: 24px; }
    .info { padding-left: 0; padding-top: 32px; }
    .gallery { position: static; }
    header { padding: 16px 24px; }
    .nav-links { display: none; }
  }