/* BF kosarica — redizajn po mockupu (code-design2). Pisano ispocetka, bez naslijedjenih stilova.
   Vrijedi samo unutar .mx-cart (cart.group/index.html + table.html). Sve ostalo je site/Bootstrap. */
.mx-cart {font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;color: #333;}
.mx-cart img {max-width: 100%;}

/* ---------- Steps ---------- */
.mx-steps {display: flex;gap: 6px;list-style: none;margin: 0 0 14px;padding: 10px 4px;background: #fff;border-bottom: 1px solid #eee;}
.mx-steps li {flex: 1;display: flex;flex-direction: column;align-items: center;gap: 3px;font-size: 10px;font-weight: 600;color: #9aa3ad;text-align: center;}
.mx-steps li span {width: 22px;height: 22px;border-radius: 50%;background: #e5e7eb;color: #4b5563;font-size: 11px;font-weight: 800;display: flex;align-items: center;justify-content: center;}
.mx-steps li.on {color: #466513;font-weight: 800;}
.mx-steps li.on span {background: #567a18;color: #fff;}

/* ---------- Stavke kosarice: tablica na desktopu, kartice na mobitelu ---------- */
.shop_table.cart {width: 100%;}
.mx-promo {display: none;}
.mx-unit {display: none;}
.mx-sum-label {display: none;}
@media (max-width: 767px) {
.shop_table.cart thead {display: none;}
.shop_table.cart, .shop_table.cart tbody, .shop_table.cart tr, .shop_table.cart td {display: block;border: none;background: none;}
.shop_table.cart tr {position: relative;background: #fff;border: 1px solid #e5e7eb;border-radius: 12px;padding: 12px 44px 12px 12px;margin-bottom: 10px;}
.shop_table.cart tr td {padding: 2px 0;}
.mx-c-title h4 {font-size: 13px;margin: 0 0 2px;}
.mx-promo {display: inline-block;background: #ecfdf5;color: #466513;font-size: 8px;font-weight: 800;letter-spacing: .5px;text-transform: uppercase;padding: 2px 8px;border-radius: 999px;margin-bottom: 5px;}
.mx-unit {display: block;font-size: 11px;color: #6b7280;margin-top: 2px;}
.mx-unit strong {color: #374151;}
.mx-c-qty {margin-top: 8px;padding-top: 8px;border-top: 1px solid #f3f4f6;}
.mx-c-qty:after {content: "";display: table;clear: both;}
.mx-c-x {position: absolute;top: 8px;right: 8px;}
.mx-c-x .mx-x {border-radius: 50%;width: 24px;height: 24px;padding: 0;line-height: 1;background: #fef2f2;border: none;color: #ef4444;float: none;}
.mx-c-sum {text-align: right;font-weight: 800;font-size: 14px;}
.mx-sum-label {display: block;font-size: 8px;font-weight: 600;letter-spacing: .5px;text-transform: uppercase;color: #9ca3af;}
}
/* Poklon red u tablici: readonly kolicina, zakljucano +/- */
.bf-gift-pill {display: inline-block;background: #eab308;color: #000;font-size: 10px;font-weight: 800;letter-spacing: .5px;text-transform: uppercase;padding: 2px 8px;border-radius: 4px;}
.bf-gift-row .bf-gift-input {background: #f9fafb;color: #6b7280;}
.bf-gift-row .gumb-plus.disabled {opacity: .4;cursor: not-allowed;}

/* ---------- Totals ---------- */
.bf-coupon-totals {margin-top: 10px;}
.bf-totals {font-size: 13px;color: #333;}
.bf-total-row {display: flex;justify-content: space-between;gap: 10px;padding: 5px 0;border-bottom: 1px solid #eee;}
.bf-total-row.bf-total-head {font-weight: 700;}
.bf-total-row.sveukupno {border-top: 2px solid #333;border-bottom: none;font-weight: 800;font-size: 15px;padding-top: 8px;}
.bf-save {color: #459c36;font-size: 11px;}

/* ---------- A3: Black Friday prag dostave ---------- */
.mx-ship {background: #f7faf4;border: 1px solid #bcd2a9;border-radius: 12px;padding: 14px;margin: 18px 0;color: #333;box-shadow: 0 1px 2px rgba(0,0,0,.04);}
.mx-ship-head {display: flex;justify-content: space-between;align-items: center;gap: 8px;flex-wrap: wrap;margin-bottom: 8px;}
.mx-pill-dark {background: #000;color: #f59e0b;border: 1px solid rgba(245,158,11,.4);font-size: 10px;font-weight: 800;letter-spacing: 1px;padding: 3px 10px;border-radius: 999px;text-transform: uppercase;}
.mx-pill-dark .fa {margin-right: 4px;}
.mx-ship-cart {font-size: 11px;font-weight: 700;color: #567a18;background: #fff;border: 1px solid #bcd2a9;border-radius: 999px;padding: 2px 10px;white-space: nowrap;}
.mx-ship-title {font-size: 13px;font-weight: 800;color: #273e0e;margin: 0 0 4px;line-height: 1.4;}
.mx-ship-sub {font-size: 11px;color: #4b5563;line-height: 1.5;margin: 0 0 4px;}
.mx-ship-select {width: 100%;background: #fff;border: 1px solid #d1d5db;border-radius: 8px;padding: 8px 10px;font-size: 12px;color: #1f2937;margin: 8px 0;}
.mx-ship-btn {width: 100%;background: #567a18;border: 1px solid #567a18;color: #fff;font-weight: 700;font-size: 13px;padding: 10px;border-radius: 10px;cursor: pointer;}
.mx-ship-btn:hover {background: #466513;border-color: #466513;}
.mx-ship-barwrap {margin-top: 10px;padding-top: 8px;border-top: 1px solid #e5e7eb;}
.mx-ship-meta {display: flex;justify-content: space-between;gap: 8px;flex-wrap: wrap;font-size: 11px;color: #6b7280;font-weight: 600;margin-bottom: 5px;}
.mx-ship-ok {color: #567a18;font-weight: 700;}
.mx-ship-bar {background: #e5e7eb;border-radius: 999px;height: 6px;overflow: hidden;}
.mx-ship-fill {background: #567a18;height: 6px;border-radius: 999px;transition: width .3s;}

/* ---------- Bundle paneli ---------- */
.bf2-dark {margin: 18px 0;background: none;border: none;padding: 0;box-shadow: none;}
.bf2-bundle {background: #142012;border: none;border-radius: 16px;padding: 16px;margin-bottom: 16px;color: #ddd;}
.bf-dark-head {margin-bottom: 12px;}
.bf-dark-kicker {font-size: 10px;font-weight: 800;letter-spacing: 1px;text-transform: uppercase;color: #f59e0b;background: #000;border: 1px solid rgba(245,158,11,.4);padding: 3px 10px;border-radius: 999px;}
.bf-dark-vip {font-size: 10px;font-weight: 700;color: #e9d5ff;background: rgba(255,255,255,.08);border: 1px solid rgba(255,255,255,.15);padding: 3px 10px;border-radius: 999px;margin-left: 6px;white-space: nowrap;}
.bf-dark-head h2 {color: #1b2614;font-size: 18px;margin: 8px 0 4px;font-weight: 800;}
.bf-dark-vip {color: #466513;background: #eaf2e3;border-color: #c5dab4;}
.bf-dark-note {color: #4b5563;font-size: 12px;margin: 0;}
.bf2-bundle-top {margin-bottom: 12px;}
.bf2-bundle-title {font-size: 20px;font-weight: 800;color: #fff;margin: 0;}
.mx-opis {display: inline-block;font-size: 12px;color: #8cb829;cursor: pointer;margin-top: 2px;}
.mx-opis:hover {text-decoration: underline;}
.bf2-sub {display: none;font-size: 12px;color: #8cb829;margin-top: 6px;line-height: 1.5;}
.bf2-sub.open {display: block;}

/* ---------- Bundle grid i kartice ---------- */
.bf2-grid {display: grid;grid-template-columns: 1fr;gap: 10px;}
@media (max-width: 767px) {
.bf2-grid.is-4 {grid-template-columns: repeat(2, minmax(0, 1fr));}
.bf2-grid > .mx-plus, .bf2-grid > .mx-gifts.single, [data-bf-bundle="A5"] .bf2-grid > .bf2-gifts {grid-column: 1 / -1;}
.bf-upsell .bf-card .bf-add, .bf-upsell .bf-card a.bf-add {white-space: normal;line-height: 1.35;height: auto;}
}
.mx-plus {display: flex;align-items: center;justify-content: center;font-size: 30px;font-weight: 300;color: #fff;line-height: 1;padding: 4px 0;min-height: 40px;}
.bf2-card {background: #fff;border: 2px solid #e5e7eb;border-radius: 14px;padding: 8px;color: #111;position: relative;box-shadow: 0 1px 2px rgba(0,0,0,.05);margin: 0;}
.bf2-card.picked-1, .bf2-card.is-checked {border-color: #1b4324;box-shadow: none;}
.bf2-card .bf2-pic {position: relative;width: 100%;height: 88px;margin: 0 auto 8px;overflow: hidden;border-radius: 12px;background: #f8faf6;}
.bf2-card .bf2-thumb {width: 100%;height: 88px;object-fit: cover;border-radius: 12px;background: #f8faf6;padding: 4px;margin: 0 auto;display: block;}
.bf2-card .bf-thumb-ph {width: 100%;height: 88px;display: flex;align-items: center;justify-content: center;border-radius: 12px;background: #f8faf6;color: #6b7280;font-size: 10px;text-align: center;padding: 4px;margin: 0 auto;}
.bf2-card h4 {font-size: 11px;font-weight: 700;color: #1b4324;margin: 0;line-height: 15px;height: 30px;white-space: normal;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;}
.bf2-card .bf2-price {font-size: 12px;font-weight: 800;color: #111;}
.bf2-pick {position: absolute;opacity: 0;width: 1px;height: 1px;}
.bf2-card .bf2-pick-hint {width: 16px;height: 16px;border-radius: 4px;border: 1.5px solid #cbd5e1;background: #fff;font-size: 10px;font-weight: 800;color: #fff;display: inline-flex;align-items: center;justify-content: center;padding: 0;white-space: nowrap;}
.bf2-card.picked-1 .bf2-pick-hint, .bf2-card.is-checked .bf2-pick-hint {background: #eab308;border-color: #eab308;color: #142012;}
.bf2-card .bf2-pick-data {display: none;}

/* ---------- Poklon kartice ---------- */
.mx-gifts.single {display: flex;justify-content: center;}
.mx-gifts.single .bf2-gift {width: 100%;max-width: 195px;border-color: #ffc100;}
.mx-gift-badge {display: inline-block;background: #eab308;color: #000;font-size: 8px;font-weight: 800;letter-spacing: 1px;text-transform: uppercase;padding: 2px 10px;border-radius: 6px;margin-bottom: 6px;}
.bf2-gifts {display: grid;grid-template-columns: 1fr 1fr 1fr;gap: 8px;}
.bf2-gift-pick {background: #0e160c;border: 1px solid rgba(255,255,255,.2);border-radius: 12px;padding: 8px;text-align: center;display: block;cursor: pointer;position: relative;color: #ddd;margin: 0;}
.bf2-gift-pick .bf2-gift-radio {position: absolute;opacity: 0;width: 1px;height: 1px;}
.bf2-gift-pick .bf2-thumb, .bf2-gift-pick .bf-thumb {width: 100%;height: 100%;object-fit: cover;border-radius: 8px;background: transparent;display: block;margin: 0 auto;padding: 4px;}
.bf2-gift-pick .bf-thumb-ph {width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;border-radius: 8px;background: #142012;color: #9ca3af;font-size: 9px;text-align: center;padding: 4px;margin: 0 auto;}
.bf2-gift-pick strong {color: #fff;font-size: 11px;font-weight: 700;}
.bf2-gift-pick.is-active-gift {border: 2px solid #ffc100;box-shadow: none;}
.mx-gifts.single .bf2-gift {width: 100%;max-width: 195px;border-color: #ffc100;}
.bf2-card, .bf2-gift-pick {transition: transform .18s ease, border-color .18s ease;}
.bf2-card:hover {transform: translateY(-3px);box-shadow: none;}
.bf2-gift-pick:hover {transform: translateY(-3px);box-shadow: none;}
.bf2-gift-pick .mx-gift-price-val {color: #fff;font-weight: 700;}
.bf2-h {color: #f59e0b;font-size: 12px;text-transform: uppercase;margin: 12px 0 4px;}
@media (min-width: 768px) {.bf2-h {display: none;}}

/* ---------- Donja akcijska traka ---------- */
.mx-actionbar {text-align: center;margin-top: 12px;padding-top: 12px;border-top: 1px solid rgba(255,255,255,.1);}
.mx-actionbar p {color: #fff;font-weight: 700;font-size: 13px;margin: 0 0 2px;}
.mx-actionbar small {color: #9ca3af;font-size: 11px;}
.mx-cta {margin-top: 8px;}
.bf2-btn {background: #459c36;border: 1px solid #459c36;color: #fff;font-weight: 700;font-size: 13px;padding: 11px 18px;border-radius: 12px;cursor: pointer;width: 100%;}
.bf2-btn:hover {background: #3b862e;border-color: #3b862e;color: #fff;}
.bf2-btn.is-disabled, .bf2-btn:disabled {background: #6b7280;border-color: #6b7280;color: #d1d5db;cursor: not-allowed;}
.bf-added {color: #bef264;font-size: 12px;font-weight: 700;margin: 8px 0 0;}
.bf-code-note {color: #fbbf24;font-size: 11px;margin: 8px 0 0;}

/* ---------- Upsell ---------- */
.bf-upsell {background: #f8faf6;border: 1px solid #d6decb;border-radius: 14px;padding: 16px;margin: 18px 0;text-align: center;}
.bf-upsell .bf-upsell-kicker {margin-left: auto;margin-right: auto;}
.bf-upsell h3, .bf-upsell .text-muted {text-align: center;}
.bf-upsell-kicker {display: inline-block;background: #eaf2e3;color: #466513;font-size: 10px;font-weight: 800;letter-spacing: 1px;text-transform: uppercase;padding: 2px 12px;border-radius: 999px;border: 1px solid #c5dab4;margin: 0 0 6px;}
.bf-upsell h3 {font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;font-size: 17px;font-weight: 800;color: #1b2614;margin: 0 0 4px;}
.bf-upsell .row {display: flex;flex-wrap: nowrap;overflow-x: auto;padding-bottom: 8px;margin-left: 0;margin-right: 0;scrollbar-width: none;}
.bf-upsell .row::-webkit-scrollbar {display: none;}
.bf-upsell .row > div {flex: 0 0 132px;max-width: 132px;float: none !important;width: auto !important;padding-left: 4px;padding-right: 4px;}
.bf-card {background: #fff;border: 1px solid #e5ecdf;border-radius: 12px;padding: 12px 10px;text-align: center;position: relative;height: 100%;}
.bf-disc {position: absolute;top: 8px;right: 8px;background: #d9534f;color: #fff;font-size: 10px;font-weight: 800;padding: 2px 8px;border-radius: 999px;}
.bf-card .bf-thumb, .bf-card .bf-thumb-ph {width: 56px;height: 56px;object-fit: cover;border-radius: 50%;display: block;margin: 18px auto 6px;background: #f0f5eb;}
.bf-card .bf-thumb-ph {display: flex;align-items: center;justify-content: center;font-size: 9px;color: #6b7280;text-align: center;}
.bf-card h4 {font-size: 11px;font-weight: 700;margin: 0 0 4px;line-height: 1.3;min-height: 28px;}
.bf-card h4 a {color: #1f2937;}
.bf-price {font-size: 12px;margin: 0 0 4px;}
.bf-price .bf-old {color: #9ca3af;text-decoration: line-through;font-size: 11px;margin-right: 4px;}
.bf-price strong {color: #111;font-size: 13px;}
.bf-stock {font-size: 11px;color: #567a18;margin: 0 0 6px;}
.bf-stock.out {color: #d9534f;}
.bf-stock.last, .bf-stock.low {color: #b45309;}
.bf-stock.in-cart {display: inline-block;background: #eaf2e3;border: 1px solid #c5dab4;color: #466513;font-size: 10px;font-weight: 700;padding: 1px 8px;border-radius: 999px;}
.bf-card .bf-add {width: 100%;}
.bf-added-btn {display: inline-block;background: #eaf2e3;border: 1px solid #c5dab4;color: #466513;font-size: 11px;font-weight: 700;padding: 4px 12px;border-radius: 8px;}

/* ---------- Terms + navigacija ---------- */
.bf2-terms {background: #fff8e6;border: 1px solid #e8c872;border-left: 4px solid #eab308;border-radius: 8px;padding: 10px 14px;font-size: 12px;color: #5a4a1a;margin: 15px 0;}
.bf2-terms a {font-weight: 700;text-decoration: underline;color: #315803;}
.bf2-terms .fa {margin-right: 6px;color: #b98a12;}
.bf-nav {margin-top: 12px;}
.bf-nav .btn {width: 100%;margin-bottom: 8px;}
.bf-nav .btn-success {background-color: #315803;border-color: #315803;}
.bf-nav .btn-success:hover, .bf-nav .btn-success:focus {background-color: #264401;border-color: #264401;}

/* ============ Desktop >=768px ============ */
@media (min-width: 768px) {
.bf2-bundle {padding: 24px;}
/* Steps tamna traka */
.mx-steps {display: grid;grid-template-columns: repeat(3, 1fr);gap: 0;background: none;border: none;padding: 0;margin-bottom: 20px;}
.mx-steps li {flex-direction: row;justify-content: center;gap: 8px;background: #577c07;color: #fff;font-size: 12px;padding: 9px 4px;border-radius: 0;}
.mx-steps li:first-child {border-radius: 4px 0 0 4px;}
.mx-steps li:last-child {border-radius: 0 4px 4px 0;}
.mx-steps li span {background: rgba(255,255,255,.22);color: #fff;}
.mx-steps li.on {background: #264301;color: #fff;position: relative;}
.mx-steps li.on span {background: rgba(255,255,255,.25);color: #fff;}
.mx-steps li.on::after {content: '';position: absolute;bottom: -8px;left: 50%;transform: translateX(-50%);border: 8px solid transparent;border-top-color: #264301;border-bottom: none;}
/* A3 red: tekst + dropdown/gumb u redu */
.mx-ship {padding: 18px 20px;}
.mx-ship-grid {display: grid;grid-template-columns: 1fr 1fr;gap: 16px;align-items: center;}
.mx-ship-right form {display: flex;gap: 0;}
.mx-ship-select {flex: 1;min-width: 0;margin: 0;border-radius: 8px 0 0 8px;}
.mx-ship-btn {width: auto;white-space: nowrap;margin: 0;border-radius: 0 8px 8px 0;}
/* Bundle kartice vece + fiksna velicina svih kartica 164x182 */
.bf2-card .bf2-pic, .bf2-card .bf2-thumb, .bf2-card .bf-thumb-ph {height: 100px;}
.bf2-card .bf2-thumb, .bf2-card .bf-thumb-ph {object-fit: contain;}
.bf2-grid.is-4 {grid-template-columns: repeat(6, minmax(0, 1fr));}
.bf2-grid.is-4 > * {width: auto;min-width: 0;height: 182px;box-sizing: border-box;}
.bf2-card > span:last-of-type {margin-top: 2px;}
/* Sve u jednom gridu: plus + poklon su grid stavke 1 stupca */
.mx-plus {align-self: center;justify-self: center;margin: 0;font-size: 34px;}
.mx-gifts.single {display: contents;}
[data-bf-bundle="A5"] .bf2-grid > .bf2-gifts {display: contents;}
[data-bf-bundle="A5"] .bf2-grid .bf2-gift {min-width: 0;}
/* Donja akcijska traka */
.mx-actionbar {display: flex;flex-direction: row;align-items: center;justify-content: space-between;gap: 16px;text-align: left;margin-top: 20px;padding-top: 16px;}
.mx-actionbar .bf2-btn {width: auto;white-space: nowrap;}
.mx-actionbar .bf-added {text-align: right;}
.mx-cta {margin-top: 0;}
/* Upsell 5 stupaca */
.bf-upsell {padding: 22px;}
.bf-upsell .row {display: flex;flex-wrap: wrap;overflow: visible;margin-left: -8px;margin-right: -8px;}
.bf-upsell .row > div {flex: 0 0 20%;max-width: 20%;padding-left: 8px;padding-right: 8px;}
.bf-upsell h3 {font-size: 20px;}
/* Navigacija: ghost lijevo, zeleno desno */
.bf-nav {display: flex;justify-content: space-between;align-items: center;gap: 10px;}
.bf-nav .btn {width: auto;margin-bottom: 0;}
}
/* Tablet 768-991px: 3 stupca da se kartice ne stisnu previse */
@media (min-width: 768px) and (max-width: 991px) {
.bf2-grid.is-4 {grid-template-columns: repeat(3, minmax(0, 1fr));}
}
/* ===== Izmjene 2026-11-04: tocne boje, jednake visine, gift badge na slici ===== */
/* Kartice: neselekt. #e3e3e3ed bez bordera, selekt. bijela + #c79c19 3px */
.bf2-card, .bf2-card.picked-1, .bf2-card.is-checked {background: #e3e3e380;border: 2px solid transparent;}
.bf2-card.picked-1, .bf2-card.is-checked {background: #fff;border: 3px solid #c79c19;}
/* Jednake visine: kartica je stupac, naslov se lomi u 2 retka fiksne visine, cijena pinned na dno */
.bf2-card {display: flex;flex-direction: column;}
.bf2-card > span:last-of-type {margin-top: auto;}
.bf2-gift-pick {display: flex;flex-direction: column;}
.bf2-gift-pick > strong {display: block;min-height: 30px;font-size: 11px;}
.bf2-gift-pick > span:last-of-type {margin-top: auto;}

.bf-card h4 {height: 32px;overflow: hidden;}
/* Poklon badge preko ruba okvira slike */
.bf2-gift-pick .bf2-pic {position: relative;width: 100%;height: 100px;margin: 0 auto 8px;overflow: hidden;border-radius: 12px;background: #142012;}
.bf2-gift-pick .bf2-pic img, .bf2-gift-pick .bf2-pic .bf2-thumb, .bf2-gift-pick .bf2-pic .bf-thumb, .bf2-gift-pick .bf2-pic .bf-thumb-ph {width: 100%;height: 100%;object-fit: contain;display: block;margin: 0 auto;padding: 4px;background: transparent;box-sizing: border-box;}
.bf2-pic .mx-gift-badge {position: absolute;top: 0;left: 0;margin: 0;z-index: 2;}
/* Upsell: centrirano, kvadratne slike, zeleni gumb */
.bf-card, .bf-card h4, .bf-card .bf-price, .bf-card .bf-stock {text-align: center;}
.bf-card > p.bf-stock {display: inline-block;vertical-align: middle;margin: 0 3px 8px;}
.bf-card .bf-thumb, .bf-card .bf-thumb-ph {border-radius: 8px;}
.bf-card .bf-add {background: #567a18;border-color: #567a18;}
.bf-card .bf-add:hover, .bf-card .bf-add:focus {background: #466513;border-color: #466513;color: #fff;}
/* Header napomena desno u razini naslova */
@media (min-width: 768px) {
.bf-dark-head {display: flex;justify-content: space-between;align-items: center;gap: 12px;}
.bf-dark-note {max-width: 280px;text-align: center;background: #f5f5f5;border: 1px solid #e3e3e3;color: #555;border-radius: 999px;padding: 6px 14px;font-size: 11px;}
.bf-dark-note strong {color: #000;}
@media (min-width: 768px) {.bf-dark-note {max-width: none;white-space: nowrap;}}
}
/* ============ Mobile: A5 pokloni vlastiti red, raspored prema broju ============ */
@media (max-width: 767px) {
[data-bf-bundle="A5"] .bf2-gifts {grid-template-columns: repeat(2, minmax(0, 1fr));min-width: 0;}
[data-bf-bundle="A5"] .bf2-gift {min-width: 0;}
/* 1 poklon: centrirano poput pedikure */
[data-bf-bundle="A5"] .bf2-gifts:has(> .bf2-gift:only-child) {grid-template-columns: minmax(0, 195px);justify-content: center;}
[data-bf-bundle="A5"] .bf2-gifts:has(> .bf2-gift:only-child) .bf2-gift {width: 100%;border-color: #ffc100;}
/* 2 poklona: svaki jedan stupac */
[data-bf-bundle="A5"] .bf2-gifts:has(> .bf2-gift:nth-child(2):last-child) {grid-template-columns: repeat(2, minmax(0, 1fr));}
/* 3 poklona: stisnuto u jedan red */
[data-bf-bundle="A5"] .bf2-gifts:has(> .bf2-gift:nth-child(3):last-child) {grid-template-columns: repeat(3, minmax(0, 1fr));gap: 6px;}
[data-bf-bundle="A5"] .bf2-gifts:has(> .bf2-gift:nth-child(3):last-child) .bf2-gift-pick {padding: 6px;}
[data-bf-bundle="A5"] .bf2-gifts:has(> .bf2-gift:nth-child(3):last-child) .bf2-gift-pick .bf2-pic {height: 72px;}
[data-bf-bundle="A5"] .bf2-gifts:has(> .bf2-gift:nth-child(3):last-child) .bf2-gift-pick > strong {font-size: 10px;min-height: 28px;}
/* 4+ poklona: svaki jedan stupac, prelamanje u novi red */
[data-bf-bundle="A5"] .bf2-gifts:has(> .bf2-gift:nth-child(4)) {grid-template-columns: repeat(2, minmax(0, 1fr));}
}
