 /* ===== RESET & BASE ===== */
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f4f4f4;
    }

    /* ===== SLIDER CONTAINER (100% width) ===== */
    .slider-section {
      width: 100%;
      margin: 0 auto;
      padding: 40px 0;
    }

    .slider-section h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 28px;
      color: #333;
    }

    .slider-wrapper {
      position: relative;
      overflow: hidden;
      background: #fff;
      padding: 20px 0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      touch-action: pan-y;
      user-select: none;
    }

    /* ===== TRACK ===== */
    .slider-track {
      display: flex;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }

    /* ===== PRODUCT CARD ===== */
    .product-card {
      flex: 0 0 12.5%; /* 8 slika vidljivo na desktopu (100/8) */
      padding: 0 6px;
      text-decoration: none;
      color: inherit;
      min-width: 0;
    }

    .product-card .card-inner {
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid #eee;
    }

    .product-card:hover .card-inner {
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .product-card img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
      background: #e8e8e8;
    }

    .product-card .card-body {
      padding: 12px 8px;
      text-align: center;
    }

    .product-card .card-body h3 {
      font-size: 13px;
      color: #333;
      margin-bottom: 6px;
      line-height: 1.3;
    }

    .product-card .price {
      font-size: 15px;
      font-weight: 700;
      color: #e63946;
    }

    .product-card .old-price {
      font-size: 11px;
      color: #999;
      text-decoration: line-through;
      margin-right: 6px;
    }

    /* ===== NAVIGATION ARROWS ===== */
    .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: none;
      background: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
      cursor: pointer;
      font-size: 20px;
      color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s, color 0.3s;
      z-index: 10;
    }

    .slider-btn:hover { background: #e63946; color: #fff; }
    .slider-btn--prev { left: 15px; }
    .slider-btn--next { right: 15px; }

    /* ===== DOTS ===== */
    .slider-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }

    .slider-dots .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 2px solid #ccc;
      background: transparent;
      cursor: pointer;
      transition: background 0.3s, border-color 0.3s, transform 0.2s;
    }

    .slider-dots .dot.active {
      background: #e63946;
      border-color: #e63946;
      transform: scale(1.2);
    }

    /* ===== PROGRESS BAR ===== */
    .slider-progress {
      height: 3px;
      background: #eee;
      border-radius: 3px;
      margin-top: 12px;
      overflow: hidden;
      width: 90%;
      margin-left: auto;
      margin-right: auto;
    }

    .slider-progress .bar {
      height: 100%;
      background: #e63946;
      border-radius: 3px;
      width: 0%;
      transition: width 0.1s linear;
    }

    /* ========================================
       RESPONSIVE BREAKPOINTS
       ======================================== */

    /* Tablet / Telefon ≤ 768px → 4 slike */
    @media (max-width: 768px) {
      .product-card { flex: 0 0 25%; padding: 0 8px; }
      .slider-btn { width: 36px; height: 36px; font-size: 16px; }
    }

    /* Mali telefon ≤ 480px → 2 slike */
    @media (max-width: 480px) {
      .product-card { flex: 0 0 50%; padding: 0 10px; }
      .slider-btn { display: none; }
      .product-card .card-body h3 { font-size: 14px; }
      .product-card .price { font-size: 16px; }
    }