
    .slide-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}
.slide-btn.left { left: 0; }
.slide-btn.right { right: 0; }

    .product-detail {
      max-width: 1200px;
      margin: 40px auto;
      display: flex;
      gap: 30px;
      padding: 0 20px;
      flex-wrap: wrap;
    }

    .product-images { flex: 1; min-width: 300px; }
    .main-image {
      width: 100%;
      border-radius: 10px;
      box-shadow: var(--shadow);
      margin-bottom: 15px;
    }
    .thumbnail-row { display: flex; gap: 10px; }
    .thumbnail-row img {
      width: 70px; height: 70px; object-fit: cover;
      border-radius: 6px; cursor: pointer;
      border: 2px solid transparent; transition: 0.3s;
    }
    .thumbnail-row img.active,
    .thumbnail-row img:hover { border-color: var(--primary); }

    .product-info {
      flex: 1.2;
      background: #fff;
      padding: 0px;
      border-radius: 10px;
      box-shadow: var(--shadow);
    }

    .product-info h1 { margin: 0 0 10px; }
    .price { font-size: 22px; color: #d32f2f; margin: 10px 0; }

    /* Color images */
    .colors { margin: 15px 0; display: flex; gap: 10px; }
    .color-option {
      width: 50px; height: 50px;
      border-radius: 6px;
      border: 2px solid transparent;
      cursor: pointer;
      object-fit: cover;
      transition: 0.3s;
    }
    .color-option.active,
    .color-option:hover { border-color: var(--primary); }

    /* Quantity */
    .quantity {
      display: flex;
      align-items: center;
      margin: 15px 0;
    }
    .quantity button {
      padding: 5px 12px;
      border: 1px solid #ddd;
      background: #eee;
      cursor: pointer;
    }
    .quantity input {
      width: 50px;
      text-align: center;
      border: 1px solid #ddd;
      padding: 5px;
      margin: 0 5px;
    }

    /* Tabs */
    .tabs {
      margin-top: 25px;
    }
    .tab-buttons {
      display: flex;
      gap: 15px;
      border-bottom: 2px solid #eee;
    }
    .tab-buttons button {
      background: none;
      border: none;
      font-size: 16px;
      padding: 10px 15px;
      cursor: pointer;
      transition: 0.3s;
    }
    .tab-buttons button.active {
      border-bottom: 2px solid var(--primary);
      color: var(--primary);
      font-weight: bold;
    }
    .tab-content { display: none; padding: 15px 0; }
    .tab-content.active { display: block; }

    /* Related Products */
    .related {
      max-width: 1200px;
      margin: 50px auto;
      padding: 0 20px;
    }
    .related h2 { font-size: 22px; margin-bottom: 15px; }
    .slider {
      display: flex;
      gap: 15px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 10px;
    }
    .slider::-webkit-scrollbar { display: none; }
    .slider-card {
      min-width: 200px;
      flex: 0 1 auto;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      padding: 10px;
      text-align: center;
      scroll-snap-align: start;
    }
    .slider-card img { width: 100%; border-radius: 10px; margin-bottom: 10px; }
    .slider-card h3 { font-size: 16px; margin: 5px 0; }
    .slider-card p { color: #d32f2f; font-weight: bold; }

    @media (max-width: 768px) {
      .product-detail { flex-direction: column; }
    }