/* ===========================
   KOŠARICA — polish
   =========================== */

   
  .centrirani-naslov {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(34px, 6vw, 64px);
    color: var(--brand, #c9a27e);
    text-align: center;
    margin: 180px 0 24px;
  }
  

/* ===========================
   KOŠARICA — PRO Mobile-first
   =========================== */

   #kosarica{
    max-width:1100px;
    margin:140px auto 80px;
    padding:0 16px;
  }
  
  /* Lista */
  #kosarica-lista{
    display:grid !important;
    gap:16px;
    margin-top:12px;
  }
  
  /* ---------------------------
     KARTICA STAVKE (areas)
     --------------------------- */
  /* Mobile-first raspored (≤560px):
     [img] [title]
     [qty] [total] [remove]
  */
  .stavka-kosarice{
    display:grid;
    grid-template-columns:84px 1fr auto;
    grid-template-areas:
      "img  title  remove"
      "qty  total  remove";
    align-items:center;
    gap:10px 12px;
  
    background:#fff;
    border:1px solid var(--border, #e8e2dc);
    border-radius:16px;
    padding:12px;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .stavka-kosarice:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 26px rgba(0,0,0,.08);
    border-color:#e0d4c9;
  }
  
  /* Slika */
  .item-img{
    grid-area:img;
    width:84px; height:84px; object-fit:cover;
    border-radius:12px; display:block;
  }
  
  /* Info (naslov + (jedinična cijena – skriva se na mobu)) */
  .item-info{ grid-area:title; display:flex; flex-direction:column; gap:4px }
  .item-title{ font-family:'Playfair Display', serif; font-size:18px; margin:0; line-height:1.25 }
  .item-price{ font-size:14px; color:#777; display:none }  /* pokazat ćemo je na širim */
  
  /* Količina */
  .qty-controls {
    grid-area: qty;
    display: inline-flex
;
    align-items: center;
    gap: 9px;
    /* background: #faf8f6; */
    /* border: 1px solid var(--border, #e8e2dc); */
    border-radius: 999px;
    padding: 4px 8px;
}
  .qty-btn{
    width:30px; height:30px; border-radius:50%;
    border:1px solid var(--border, #e8e2dc); background:#fff;
    font-weight:700; line-height:1; display:grid; place-items:center;
    transition:transform .1s ease, background .2s ease, border-color .2s ease, color .2s ease;
  }
  .qty-btn:hover{ background:var(--brand, #c9a27e); color:#fff; border-color:var(--brand, #c9a27e) }
  .qty-btn:active{ transform:scale(.96) }
  .qty-value{ min-width:42px; text-align:center; font-weight:700 }
  
  /* Ukupno za stavku */
  .item-total{
    grid-area:total;
    min-width:110px; text-align:right; font-weight:800; color:var(--brand-2, #a88463);
  }
  
  /* Ukloni */
  .remove-btn{
    grid-area:remove; justify-self:end; align-self:start;
    background:transparent; border:0; color:#b1a8a0; font-size:18px; line-height:1;
    cursor:pointer; padding:4px; transition:color .2s ease, transform .1s ease;
  }
  .remove-btn:hover{ color:#c44; transform:scale(1.06) }
  
  /* ---------------------------
     UKUPNO + GUMBI
     --------------------------- */
     #ukupno-cijena {
      margin: 16px 0 10px;
      width: 100%;
      text-align: center;
      font-size: 17px;
      font-weight: 800;
      background: #fff;
      border: 1px solid var(--border, #e8e2dc);
      border-radius: 12px;
      padding: 12px 14px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  }
  
  /* Gumbi u #kosarica samo */
  #kosarica .gumb{
    display:inline-flex; align-items:center; justify-content:center;
    min-height:44px; padding:10px 16px;
    border-radius:999px; font-weight:700; font-size:16px; line-height:1.2;
    border:1px solid transparent; text-decoration:none; width:100%;
    text-align:center;
  }
  #kosarica .gumb:first-child{ /* Povratak = sekundarni */
    background:#fff; color:var(--brand-2, #a88463);
    border-color:var(--brand, #c9a27e);
  }
  #kosarica .gumb:last-child{ /* Plaćanje = primarni */
    background:linear-gradient(180deg, var(--brand, #c9a27e), var(--brand-2, #a88463));
    color:#fff;
  }
  #kosarica .gumb:hover:last-child{ filter:saturate(1.05) brightness(1.02) }
  #kosarica .gumb:hover:first-child{ background:rgba(201,162,126,.08) }
  
  /* ===========================
     BREAKPOINTS
     =========================== */
  
  /* ≥561px: “tablet” — četiri stupca uredno */
  @media (min-width:561px){
    .stavka-kosarice{
      grid-template-columns:100px 1fr auto auto 28px;
      grid-template-areas:"img title qty total remove";
      gap:16px;
      padding:14px;
    }
    .item-img{ width:100px; height:100px }
    .item-price{ display:block }  /* prikaži jediničnu cijenu */
    .qty-value{ min-width:46px }

    #ukupno-cijena{
      margin:16px 0 10px;
      width:30%;
      text-align:center;
      font-size:17px; font-weight:800;
      background:#fff; border:1px solid var(--border, #e8e2dc);
      border-radius:12px; padding:12px 14px;
      box-shadow:0 4px 12px rgba(0,0,0,.06);
    }
  }
  
  /* ≥900px: komforniji desktop */
  @media (min-width:900px){
    .stavka-kosarice{
      grid-template-columns:110px 1fr auto auto 28px;
      border-radius:18px; padding:16px 18px;
    }
    .item-img{ width:110px; height:110px }
    .item-title{ font-size:19px }
    .qty-btn{ width:32px; height:32px }
  }
  
  /* Gumbi wrapper u HTML-u je inline style (flex) — poravnaj na desktopu side-by-side */
  @media (min-width:641px){
    #kosarica > div[style*="display: flex"]{
      gap:12px !important;
    }
    #kosarica .gumb{ width:auto; min-width:220px }
  }
  