/**
 * Dodaci za kosarica.php („Ponuda”) — uz postojeći kosarica-test.css
 */

.ct2--ponuda-page .ct2__ponudaHero {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ct2--ponuda-page .ct2__title--ponuda {
  font-size: 26px;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.ct2--ponuda-page .ct2__ponudaLead {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: #444;
  line-height: 1.45;
}

/* Ljestvica količinske pogode */
.ct2__volumeTierShell {
  margin-top: 14px;
}

.ct2__volumeTierInner {
  padding: 12px 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  background: linear-gradient(145deg, rgba(15, 118, 110, 0.06), rgba(36, 105, 255, 0.05));
}

.ct2__volumeTierTop {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.ct2__volumeTierBadge {
  display: inline-block;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #0f766e;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 118, 110, 0.25);
}

.ct2__volumeTierSub {
  font-size: 12px;
  font-weight: 650;
  color: #555;
  line-height: 1.4;
}

.ct2__volumeTierTrack {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 8px;
}

.ct2__volumeTierFill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #2469ff);
  min-width: 4px;
  transition: width 0.35s ease;
}

.ct2__volumeTierNext {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  line-height: 1.35;
}

.ct2__volumeTierPbHint {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 650;
  color: #555;
  line-height: 1.4;
}

.ct2__volumeTierFreeShipExtra {
  margin: 10px 0 16px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  color: #0f4f4a;
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.22);
}

/* Sažetak: „Vaša ušteda” (Ponuda) */
.ct2--ponuda-page .ct2__ponudaSavings {
  margin: 10px 0 12px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.05);
}

.ct2--ponuda-page .ct2__ponudaSavingsTitle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f766e;
  margin: 0 0 8px 0;
}

.ct2--ponuda-page .ct2__ponudaSavingsTotal.ct2__ponudaSavingsRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.ct2--ponuda-page .ct2__ponudaSavingsTotal.ct2__ponudaSavingsRow span:last-child {
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.ct2--ponuda-page .ct2__ponudaSavingsRows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.ct2--ponuda-page .ct2__ponudaSavingsRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  font-weight: 650;
  color: #333;
}

.ct2--ponuda-page .ct2__ponudaSavingsRow span:last-child {
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
}

.ct2--ponuda-page .ct2__ponudaSavingsExplain,
.ct2--ponuda-page .ct2__ponudaSavingsPb {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  color: #555;
}

.ct2--ponuda-page .ct2__ponudaSavingsPb {
  margin-top: 6px;
}

.ct2--ponuda-page .ct2__deliveryFree {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: #0f766e;
}

/* Sažetak: Artikli — puna cijena (precrtana) + neto nakon popusta na robu */
.ct2--ponuda-page .ct2__sumLine--items .ct2__sumVal--itemsPair {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px 10px;
  max-width: 100%;
  text-align: right;
}

.ct2--ponuda-page .ct2__itemsPriceOld,
.ct2--ponuda-page .ct2__deliveryPriceOld {
  text-decoration: line-through;
  font-weight: 650;
  color: #6b6b6b;
}

.ct2--ponuda-page .ct2__itemsPriceOld .cur,
.ct2--ponuda-page .ct2__deliveryPriceOld .cur {
  color: #888;
  font-weight: 600;
}

.ct2--ponuda-page .ct2__itemsPriceNew,
.ct2--ponuda-page .ct2__deliveryPriceNew {
  font-weight: 800;
}

.ct2--ponuda-page .ct2__sumVal--itemsPair.has-items-discount .ct2__itemsPriceNew {
  color: #0f4f4a;
}

.ct2--ponuda-page .ct2__sumVal--itemsPair.has-items-discount .ct2__itemsPriceNew .cur {
  color: #0f766e;
  font-weight: 700;
}

/* Sažetak: Dostava — polazni trošak (precrtan) + umanjeni */
.ct2--ponuda-page .ct2__sumLine--delivery .ct2__sumVal--deliveryPair {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  width: 100%;
}

.ct2--ponuda-page .ct2__sumLine--delivery .ct2__deliveryPriceLine {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px 10px;
  max-width: 100%;
  text-align: right;
}

.ct2--ponuda-page .ct2__deliveryPriceLine.has-delivery-discount .ct2__deliveryPriceNew {
  color: #0f4f4a;
}

.ct2--ponuda-page .ct2__deliveryPriceLine.has-delivery-discount .ct2__deliveryPriceNew .cur {
  color: #0f766e;
  font-weight: 700;
}

.ct2--ponuda-page .ct2__sumLine--delivery .ct2__sumSubnote {
  width: 100%;
  text-align: right;
}

.ct2--ponuda-page .ct2__sumLine--grand {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.ct2--ponuda-page .ct2__sumLine--grand .ct2__sumLabel,
.ct2--ponuda-page .ct2__sumLine--grand .ct2__sumVal {
  font-size: 17px;
}

/* Jedan blok načina plaćanja (nema duplog mobile/desktop para) */
.ct2--ponuda-page .ct2__accBody .ct2__priceMode {
  margin-bottom: 16px;
}

/* Sažetak: pod-redovi pogode */
.ct2--ponuda-page .ct2__sumLine--shipdisc,
.ct2--ponuda-page .ct2__sumLine--proddisc {
  font-size: 14px;
}

.ct2--ponuda-page .ct2__sumLine--shipdisc .ct2__sumLabel,
.ct2--ponuda-page .ct2__sumLine--proddisc .ct2__sumLabel {
  font-weight: 750;
}

.ct2--ponuda-page .ct2__sumHint {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.65;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 2px;
}

@media (min-width: 981px) {
  .ct2--ponuda-page .ct2__title--ponuda {
    font-size: 28px;
  }
}
