

  .affiliate-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text4);
    letter-spacing: 0.06em;
    background: var(--bg2);
    border: 0.5px solid var(--border2);
    border-radius: 20px;
    padding: 5px 12px;
  }

  /* FILTER PILLS */
  .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 24px;
  }

  .filter-pill {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--text3);
    background: var(--bg2);
    border: 0.5px solid var(--border2);
    border-radius: 20px;
    padding: 5px 14px;
    text-transform: uppercase;
    font-weight: 400;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-family: 'DM Sans', sans-serif;
  }

  .filter-pill:hover { color: var(--text2); border-color: var(--border); }
  .filter-pill.active[data-filter="all"] {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(245,224,3,0.08);
}
  .filter-pill[data-filter="camera"]:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255,128,0,0.06);
}
  .filter-pill.active[data-filter="camera"] {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(245,224,3,0.08);
}
  .filter-pill[data-filter="tech"]:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(245,224,3,0.06);
}
  .filter-pill.active[data-filter="tech"] {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(245,224,3,0.08);
}
.filter-pill[data-filter="car"]:hover {
  border-color: #00c8ff;
  color: #00c8ff;
  background: rgba(0,200,255,0.06);
}
.filter-pill.active[data-filter="car"] {
  border-color: #00c8ff;
  color: #00c8ff;
  background: rgba(0,200,255,0.08);
}

  /* PRODUCT GRID */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  @media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  .product-card {
    background: var(--bg2);
    border: 0.5px solid var(--border2);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    animation: fadeUp 0.4s ease both;
  }

  .product-card:hover {
    border-color: var(--orange);
    background: var(--bg3);
    transform: translateY(-2px);
  }

  .product-card.hidden { display: none; }

  .product-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: var(--bg3);
  }

  .product-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
  }

  .product-info {
    padding: 12px 14px 14px;
  }

  .product-category {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 4px;
    font-weight: 400;
  }

  .product-category.cat-tech { color: var(--yellow); }
  .product-category.cat-car { color: #00c8ff; }

  .product-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 6px;
    font-family: 'DM Sans', sans-serif;
  }

  .product-price {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
  }

  /* MODAL */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.88);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .modal-overlay.active { display: flex; }

  .modal {
    background: var(--bg2);
    border: 0.5px solid var(--border2);
    border-radius: 14px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    position: relative;
    animation: fadeUp 0.25s ease both;
  }

  .modal::-webkit-scrollbar { display: none; }

  .modal-close {
    position: absolute;
    top: 16px; right: 18px;
    background: none;
    border: none;
    color: var(--text3);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 2;
  }

  .modal-close:hover { color: var(--text); }

  .modal-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    display: block;
    background: var(--bg3);
  }

  .modal-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg3);
    border-radius: 14px 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
  }

  .modal-body {
    padding: 22px 24px 28px;
  }

  .modal-category {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
    font-weight: 400;
  }

  .modal-category.cat-tech { color: var(--yellow); }
  .modal-category.cat-car { color: #00c8ff; }

  .modal-name {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .modal-desc {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 16px;
  }

  .modal-note {
    background: var(--bg3);
    border: 0.5px solid var(--border2);
    border-left: 2px solid var(--orange);
    border-radius: 0 8px 8px 0;
    padding: 12px 14px;
    margin-bottom: 20px;
  }

  .modal-note-label {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 4px;
    font-weight: 400;
  }

  .modal-note-text {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.6;
    font-weight: 300;
    font-style: italic;
  }

  .modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .modal-price {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
  }
  
.modal-price-usd {
  font-size: 24px;
  color: var(--text);
  margin-top: 3px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
}
.modal-price-usd span {
  font-size: 13px;
  color: var(--text4);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  margin-left: 4px;
}

  .modal-price span {
    font-size: 13px;
    color: var(--text4);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    margin-left: 4px;
  }

  .buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: #000;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
  }

  .buy-btn:hover {
    background: #ff9520;
    transform: translateY(-1px);
  }
  
  .buy-btn-us {
  background: var(--bg3);
  color: var(--text2);
  border: 0.5px solid var(--border2);
  font-size: 13px;
  padding: 9px 16px;
}
.buy-btn-us:hover {
  background: var(--bg2);
  border-color: var(--orange);
  color: var(--text);
}

  .buy-btn svg {
    width: 14px; height: 14px;
    flex-shrink: 0;
  }

  /* BACK LINK */
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text3);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.2s;
  }

  .back-link:hover { color: var(--orange); }




  /* LIGHT MODE */
  body.light-mode .modal-note { border-left-color: var(--orange); }
  body.light-mode .filter-pill.active { background: rgba(255,128,0,0.1); }


  @media (max-width: 600px) {
    .filter-row { gap: 6px; }
    .filter-pill { font-size: 11px; padding: 5px 11px; letter-spacing: 0.08em; }
  }