/* ProteinShop — korpa, naplata, potvrda (dizajn: Korpa, Naplata, Potvrda + mobilne verzije). */

.psb-checkout-page.psb-checkout-page { padding-top: 32px; }
.psb-steps.psb-steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--psb-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.psb-steps li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--psb-line-strong); color: var(--psb-muted); padding: 9px 14px; border-radius: var(--psb-pill); }
.psb-steps li.is-current { background: var(--psb-accent); border-color: var(--psb-accent); color: var(--psb-on-accent); font-weight: 700; }
.psb-steps li.is-done a { color: var(--psb-text); text-decoration: none; }
.psb-cart__title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 24px; }
.psb-cart__title-row span { font-size: 16px; color: var(--psb-muted); }
.psb-cart__title.psb-cart__title { margin: 0 0 24px; font-family: var(--psb-display); font-weight: 900; font-stretch: 125%; font-size: clamp(44px, 6vw, 88px); line-height: .85; text-transform: uppercase; letter-spacing: -.02em; }
.psb-cart__title-row .psb-cart__title { margin: 0; }
.psb-panel.psb-panel { background: var(--psb-surface); border: 1px solid var(--psb-line); border-radius: var(--psb-radius); padding: 24px; box-sizing: border-box; }

/* Obavještenja WooCommercea */
.psb-notes:empty { display: none; }
.psb-notes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.psb-notes .woocommerce-error, .psb-notes .woocommerce-message, .psb-notes .woocommerce-info, .psb-checkout__form .woocommerce-error, .psb-checkout__form .woocommerce-info, .psb-checkout__form .woocommerce-message {
	list-style: none; margin: 0 0 8px; padding: 14px 18px; border-radius: 16px; background: var(--psb-surface); border: 1px solid var(--psb-line); color: var(--psb-text); font-size: 15px; line-height: 1.5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
}
.psb-notes .woocommerce-error, .psb-checkout__form .woocommerce-error { background: #1C1111; border-color: #5C2323; color: #F2D6D4; flex-direction: column; align-items: flex-start; }
.psb-notes .woocommerce-error li, .psb-checkout__form .woocommerce-error li { margin: 0; }
.psb-notes .woocommerce-message .restore-item, .psb-notes .button.wc-forward { order: 2; margin-left: auto; height: 40px; padding: 0 16px; border-radius: var(--psb-pill); border: 1px solid var(--psb-line-strong); color: var(--psb-text); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; text-decoration: none; }
.psb-notes .woocommerce-message .restore-item:hover { border-color: var(--psb-accent); }
.psb-notes .button.wc-forward { display: none; }
.psb-checkout__form .woocommerce-form-coupon-toggle .woocommerce-info a { color: var(--psb-accent); }

/* Besplatna dostava + upsell */
.psb-ship.psb-ship { margin-bottom: 20px; }
.psb-ship .psb-ship__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.psb-ship .psb-ship__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.psb-ship .psb-ship__title strong, .psb-ship .psb-ship__title .amount { color: var(--psb-accent); }
.psb-ship .psb-mono { font-size: 12px; letter-spacing: .08em; color: var(--psb-muted-2); }
.psb-ship .psb-ship__bar { height: 10px; background: var(--psb-line); border-radius: 5px; overflow: hidden; }
.psb-ship .psb-ship__bar span { display: block; height: 100%; background: var(--psb-accent); border-radius: 5px; }
.psb-upsell.psb-upsell { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 20px; }
.psb-upsell .psb-upsell__item { background: var(--psb-bg); border: 1px solid var(--psb-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.psb-upsell .psb-upsell__media { position: relative; background: var(--psb-tile); height: 130px; display: flex; align-items: center; justify-content: center; padding: 12px; box-sizing: border-box; }
.psb-upsell .psb-upsell__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.psb-upsell .psb-card__off { position: absolute; top: 8px; left: 8px; background: var(--psb-bg); color: var(--psb-accent); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 20px; }
.psb-upsell .psb-upsell__body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.psb-upsell .psb-upsell__name { font-size: 13px; font-weight: 600; line-height: 1.3; flex: 1; text-decoration: none; }
.psb-upsell .psb-upsell__price s { font-size: 12px; color: var(--psb-muted-2); }
.psb-upsell .psb-upsell__price strong { font-size: 15px; }
.psb-upsell .psb-upsell__add { height: 44px; border-radius: var(--psb-pill); background: var(--psb-text); color: var(--psb-bg); font: 700 13px var(--psb-font); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.psb-upsell .psb-upsell__add:hover { background: var(--psb-accent); color: var(--psb-on-accent); }
.psb-upsell .psb-upsell__add.loading { opacity: .6; }
.psb-upsell .psb-upsell__add.added { background: var(--psb-accent); color: var(--psb-on-accent); }
.psb-upsell .added_to_cart { display: none; }

/* Stavke */
.psb-cart__cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.psb-cart__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.psb-lines.psb-lines { padding: 8px 24px; margin: 0; }
.psb-lines .psb-lines__head, .psb-lines .psb-line { display: grid; grid-template-columns: minmax(0, 1fr) 120px 150px 110px 44px; gap: 16px; align-items: center; }
.psb-lines .psb-lines__head { padding: 16px 0; border-bottom: 1px solid var(--psb-line); font-family: var(--psb-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--psb-muted-2); }
.psb-lines .psb-line { padding: 18px 0; border-bottom: 1px solid var(--psb-line); }
.psb-lines .psb-line.is-out { opacity: .75; }
.psb-line .psb-line__prod { display: flex; align-items: center; gap: 16px; min-width: 0; }
.psb-line .psb-line__img { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 14px; background: var(--psb-tile); display: flex; align-items: center; justify-content: center; padding: 8px; box-sizing: border-box; }
.psb-line .psb-line__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.psb-line .psb-line__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.psb-line .psb-line__name { font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.psb-line .psb-line__var, .psb-line .variation { font-size: 13px; color: #A8A8A8; margin: 0; }
.psb-line .variation dt, .psb-line .variation dd, .psb-line .variation p { display: inline; margin: 0; }
.psb-line .psb-line__sale { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--psb-accent); border: 1px solid var(--psb-accent); border-radius: 20px; padding: 2px 8px; }
.psb-line .psb-line__out { align-self: flex-start; font-size: 11px; font-weight: 700; color: #F2D6D4; background: #3A1414; border-radius: 20px; padding: 3px 8px; }
.psb-line .psb-line__unit { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.psb-line .psb-line__unit s { font-size: 12px; color: var(--psb-muted-2); }
.psb-line .psb-line__lbl { display: none; }
.psb-line .psb-line__total { font-size: 16px; }
.psb-line .psb-line__remove { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--psb-line-strong); color: var(--psb-muted); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.psb-line .psb-line__remove:hover { border-color: #FF8A80; color: #FF8A80; }
.psb-qty.psb-qty--sm { height: 44px; width: 132px; }
.psb-qty--sm button { width: 40px; height: 42px; font-size: 20px; }
.psb-qty--sm input { width: 40px; height: 42px; font-size: 15px; }
.psb-qty__one { flex: 1; text-align: center; font-weight: 700; }
.psb-lines .psb-lines__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 14px; }
.psb-lines .psb-lines__back { font-size: 14px; font-weight: 600; }
.psb-coupon.psb-coupon { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 440px; }
.psb-coupon input { flex: 1 1 200px; min-width: 0; height: 48px; box-sizing: border-box; border: 1px solid var(--psb-line-strong); border-radius: var(--psb-pill); background: var(--psb-bg); color: var(--psb-text); padding: 0 18px; font: 400 15px var(--psb-font); }
.psb-coupon button { height: 48px; padding: 0 22px; border-radius: var(--psb-pill); border: 1px solid var(--psb-text); background: transparent; color: var(--psb-text); font: 700 14px var(--psb-font); cursor: pointer; }
.psb-coupon button:hover { background: var(--psb-text); color: var(--psb-bg); }
.psb-lines .psb-lines__update { margin: 0 0 14px; height: 44px; padding: 0 18px; border-radius: var(--psb-pill); border: 1px solid var(--psb-line-strong); background: transparent; color: var(--psb-text); font: 600 14px var(--psb-font); cursor: pointer; }
.js-psb .psb-lines .psb-lines__update { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; border: 0; margin: 0; }
.psb-cart .psb-cart__empty { padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.psb-cart .psb-cart__empty strong { font-family: var(--psb-display); font-weight: 900; font-stretch: 112%; font-size: 28px; text-transform: uppercase; }

.psb-stack-tip.psb-stack-tip { text-decoration: none; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; background: var(--psb-accent); color: var(--psb-on-accent); border-radius: var(--psb-radius); padding: 16px 24px 16px 16px; }
.psb-stack-tip.psb-stack-tip:hover { color: var(--psb-on-accent); }
.psb-stack-tip.psb-stack-tip img { width: 160px; height: 120px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; }
.psb-stack-tip .psb-stack-tip__txt { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.psb-stack-tip .psb-mono { font-size: 11px; font-weight: 700; }
.psb-stack-tip .psb-stack-tip__txt > strong { font-family: var(--psb-display); font-weight: 900; font-stretch: 112%; font-size: 24px; line-height: 1; text-transform: uppercase; }
.psb-stack-tip .psb-stack-tip__txt > span:last-child { font-size: 14px; }
.psb-stack-tip .amount { color: inherit; }
.psb-stack-tip .psb-stack-tip__btn { background: var(--psb-bg); color: var(--psb-text); font-size: 14px; font-weight: 700; padding: 14px 22px; border-radius: var(--psb-pill); }

/* Sažetak */
.psb-summary.psb-summary { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.psb-summary__title.psb-summary__title { margin: 0; font-family: var(--psb-display); font-weight: 900; font-stretch: 112%; font-size: 26px; text-transform: uppercase; line-height: 1; }
.psb-summary__rows.psb-summary__rows { margin: 0; display: flex; flex-direction: column; }
.psb-summary__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--psb-line); }
.psb-summary__rows dt { color: var(--psb-muted); }
.psb-summary__rows dt span { font-size: 12px; color: var(--psb-muted-2); }
.psb-summary__rows dd { margin: 0; font-weight: 600; text-align: right; }
.psb-summary__rows .is-accent, .psb-summary__rows .is-accent .amount { color: var(--psb-accent); }
.psb-summary__rows .psb-summary__total { border-bottom: 0; padding-top: 16px; align-items: baseline; }
.psb-summary__rows .psb-summary__total dt { font-size: 16px; font-weight: 700; color: var(--psb-text); }
.psb-summary__rows .psb-summary__total dd { font-family: var(--psb-display); font-weight: 900; font-stretch: 112%; font-size: 36px; }
.psb-summary__x { font-size: 12px; color: var(--psb-muted-2); margin-left: 6px; }
.psb-summary .psb-summary__note { margin: 0; font-size: 13px; color: var(--psb-muted-2); }
.psb-summary .psb-summary__cta { text-decoration: none; text-align: center; background: var(--psb-accent); color: var(--psb-on-accent); font-size: 16px; font-weight: 700; padding: 18px; border-radius: var(--psb-pill); }
.psb-summary .psb-summary__cta:hover { color: var(--psb-on-accent); filter: brightness(1.06); }
.psb-cards-logos.psb-cards-logos { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.psb-cards-logos span { font-size: 11px; font-weight: 700; color: var(--psb-muted); border: 1px solid var(--psb-line-strong); padding: 5px 8px; border-radius: 6px; }
.psb-summary .psb-summary__trust { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--psb-line); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #D5D5D5; }
.psb-summary .psb-summary__trust li::before { content: "✓"; color: var(--psb-accent); margin-right: 10px; font-weight: 700; }
.psb-cartbar.psb-cartbar { display: none; }

/* ---------- Naplata: WooCommerce forma u našem rasporedu ---------- */
.psb-checkout__form form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px 24px; align-items: start; }
.psb-checkout__form form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.psb-checkout__form #customer_details { grid-column: 1; grid-row: 1 / span 3; background: var(--psb-surface); border: 1px solid var(--psb-line); border-radius: var(--psb-radius); padding: 24px; }
.psb-checkout__form #customer_details .col-1, .psb-checkout__form #customer_details .col-2 { width: 100%; float: none; }
.psb-checkout__form #order_review_heading { grid-column: 2; margin: 0; font-family: var(--psb-display); font-weight: 900; font-stretch: 112%; font-size: 26px; text-transform: uppercase; }
.psb-checkout__form #order_review { grid-column: 2; background: var(--psb-surface); border: 1px solid var(--psb-line); border-radius: var(--psb-radius); padding: 20px 24px 24px; position: sticky; top: 96px; }
.psb-checkout__form h3 { margin: 0 0 16px; font-family: var(--psb-display); font-weight: 900; font-stretch: 112%; font-size: 22px; text-transform: uppercase; }
.psb-checkout__form .woocommerce-billing-fields__field-wrapper, .psb-checkout__form .woocommerce-shipping-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 14px; }
.psb-checkout__form .form-row { margin: 0 0 16px; padding: 0; flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.psb-checkout__form .form-row-first, .psb-checkout__form .form-row-last { flex: 1 1 calc(50% - 7px); width: auto; float: none; }
.psb-checkout__form .form-row label { font-size: 13px; font-weight: 600; color: var(--psb-text); }
.psb-checkout__form .form-row label .required { color: var(--psb-accent); text-decoration: none; }
.psb-checkout__form .form-row .optional { color: var(--psb-muted-2); font-weight: 400; }
.psb-checkout__form input.input-text, .psb-checkout__form textarea, .psb-checkout__form select, .psb-checkout__form .select2-container .select2-selection--single { width: 100%; box-sizing: border-box; min-height: 52px; border: 1px solid var(--psb-line-strong); border-radius: 14px; background: var(--psb-bg); color: var(--psb-text); padding: 12px 16px; font: 400 16px var(--psb-font); }
.psb-checkout__form textarea { min-height: 96px; }
.psb-checkout__form input.input-text:focus, .psb-checkout__form textarea:focus, .psb-checkout__form select:focus { outline: none; border-color: var(--psb-accent); }
.psb-checkout__form .select2-container .select2-selection__rendered { color: var(--psb-text); line-height: 26px; padding: 0; }
.psb-checkout__form .select2-container .select2-selection__arrow { top: 12px; right: 10px; }
.select2-dropdown { background: var(--psb-surface); border-color: var(--psb-line-strong); color: var(--psb-text); }
.select2-results__option--highlighted[aria-selected] { background: var(--psb-accent) !important; color: var(--psb-on-accent) !important; }
.psb-checkout__form .form-row .description { font-size: 12px; color: var(--psb-muted-2); }
.psb-checkout__form .woocommerce-invalid input.input-text { border-color: #FF8A80; }
.psb-checkout__form #ship-to-different-address { font-size: 15px; font-weight: 600; text-transform: none; font-family: var(--psb-font); }
.psb-checkout__form #ship-to-different-address label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.psb-checkout__form input[type="checkbox"], .psb-checkout__form input[type="radio"] { accent-color: var(--psb-accent); width: 18px; height: 18px; }

/* Pregled narudžbe */
.psb-checkout__form table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; border: 0; margin: 0 0 16px; }
.psb-checkout__form table.shop_table th, .psb-checkout__form table.shop_table td { padding: 11px 0; border: 0; border-bottom: 1px solid var(--psb-line); text-align: left; vertical-align: top; background: transparent; }
.psb-checkout__form table.shop_table td:last-child, .psb-checkout__form table.shop_table th:last-child { text-align: right; }
.psb-checkout__form table.shop_table thead { display: none; }
.psb-checkout__form table.shop_table .product-name { font-weight: 600; color: var(--psb-text); }
.psb-checkout__form table.shop_table .product-quantity { color: var(--psb-muted); font-weight: 400; }
.psb-checkout__form table.shop_table tfoot th { color: var(--psb-muted); font-weight: 400; }
.psb-checkout__form table.shop_table .order-total th { color: var(--psb-text); font-weight: 700; font-size: 16px; border-bottom: 0; }
.psb-checkout__form table.shop_table .order-total td { font-family: var(--psb-display); font-weight: 900; font-stretch: 112%; font-size: 30px; border-bottom: 0; }
.psb-checkout__form #shipping_method { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.psb-checkout__form #shipping_method li { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
/* Plaćanje */
.psb-checkout__form #payment { background: transparent; border-radius: 0; }
.psb-checkout__form #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.psb-checkout__form #payment ul.payment_methods li { border: 1px solid var(--psb-line-strong); border-radius: 16px; padding: 14px 16px; margin: 0; }
.psb-checkout__form #payment ul.payment_methods li:has(input:checked) { border-color: var(--psb-accent); }
.psb-checkout__form #payment ul.payment_methods li label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; cursor: pointer; }
.psb-checkout__form #payment ul.payment_methods li img { max-height: 24px; width: auto; margin-left: 8px; }
.psb-checkout__form #payment .payment_box { background: var(--psb-bg); color: var(--psb-muted); border-radius: 12px; padding: 12px 14px; margin: 10px 0 0; font-size: 13px; line-height: 1.5; }
.psb-checkout__form #payment .payment_box::before { display: none; }
.psb-checkout__form #payment .place-order { padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.psb-checkout__form .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--psb-muted); }
.psb-checkout__form .woocommerce-terms-and-conditions-wrapper a { color: var(--psb-text); }
.psb-checkout__form .woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--psb-text); }
.psb-checkout__form .psb-order-btn, .psb-checkout__form #place_order { width: 100%; height: 58px; border: 0; border-radius: var(--psb-pill); background: var(--psb-accent); color: var(--psb-on-accent); font: 700 16px var(--psb-font); cursor: pointer; float: none; }
.psb-checkout__form #place_order:hover { filter: brightness(1.06); background: var(--psb-accent); color: var(--psb-on-accent); }
.psb-checkout__form .blockUI.blockOverlay { background: rgba(10,10,10,.6) !important; }
.psb-checkout__form .checkout_coupon { background: var(--psb-surface); border: 1px solid var(--psb-line); border-radius: 16px; padding: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.psb-checkout__form .checkout_coupon p { margin: 0; }
.psb-checkout__form .checkout_coupon .button, .psb-checkout__form .woocommerce-form-login .button { height: 52px; padding: 0 20px; border-radius: var(--psb-pill); border: 1px solid var(--psb-text); background: transparent; color: var(--psb-text); font: 700 14px var(--psb-font); cursor: pointer; }
.psb-checkout__note { margin: 20px 0 0; font-size: 13px; color: var(--psb-muted-2); }

/* ---------- Potvrda ---------- */
.psb-thanks .psb-thanks__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 32px; align-items: start; }
.psb-thanks .psb-thanks__hero { display: flex; flex-direction: column; gap: 20px; grid-row: span 2; }
.psb-thanks .psb-thanks__ok { width: 72px; height: 72px; border-radius: 50%; background: var(--psb-accent); color: var(--psb-on-accent); display: flex; align-items: center; justify-content: center; }
.psb-thanks .psb-thanks__title { margin: 0; font-family: var(--psb-display); font-weight: 900; font-stretch: 118%; font-size: clamp(40px, 5vw, 72px); line-height: .9; text-transform: uppercase; overflow-wrap: break-word; }
.psb-thanks .psb-thanks__title span { color: var(--psb-accent); }
.psb-thanks .psb-thanks__lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--psb-muted); max-width: 560px; }
.psb-thanks .psb-thanks__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.psb-thanks .psb-thanks__facts div { background: var(--psb-surface); border: 1px solid var(--psb-line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.psb-thanks .psb-thanks__facts dt { font-family: var(--psb-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--psb-muted-2); }
.psb-thanks .psb-thanks__facts dd { margin: 0; font-size: 17px; font-weight: 700; }
.psb-thanks .psb-thanks__cod { margin: 0; padding: 14px 16px; border: 1px solid var(--psb-accent); border-radius: 16px; font-size: 15px; }
.psb-thanks .psb-thanks__next, .psb-thanks .psb-thanks__items { display: flex; flex-direction: column; gap: 16px; }
.psb-thanks .psb-thanks__flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.psb-thanks .psb-thanks__flow li { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; }
.psb-thanks .psb-thanks__flow li > span { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--psb-line-strong); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.psb-thanks .psb-thanks__flow li.is-done > span { background: var(--psb-accent); border-color: var(--psb-accent); color: var(--psb-on-accent); }
.psb-thanks .psb-thanks__flow em { font-style: normal; font-size: 13px; color: var(--psb-muted); }
.psb-thanks .psb-thanks__ctas { display: flex; flex-wrap: wrap; gap: 8px; }
.psb-mini.psb-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.psb-mini li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--psb-line); }
.psb-mini .psb-mini__img { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 10px; background: var(--psb-tile); display: flex; align-items: center; justify-content: center; padding: 4px; box-sizing: border-box; }
.psb-mini .psb-mini__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; mix-blend-mode: multiply; }
.psb-mini .psb-mini__name { flex: 1; min-width: 0; font-size: 14px; }

/* ---------- Mobitel ---------- */
@media (max-width: 900px) {
	.psb-checkout__form form.checkout { grid-template-columns: 1fr; }
	.psb-checkout__form #customer_details, .psb-checkout__form #order_review_heading, .psb-checkout__form #order_review { grid-column: 1; grid-row: auto; position: static; }
	.psb-thanks .psb-thanks__grid { grid-template-columns: 1fr; }
	.psb-thanks .psb-thanks__hero { grid-row: auto; }
}
@media (max-width: 760px) {
	.psb-checkout-page.psb-checkout-page { padding-top: 16px; }
	.psb-steps.psb-steps { font-size: 11px; gap: 6px; margin-bottom: 18px; }
	.psb-steps li { padding: 7px 10px; }
	.psb-panel.psb-panel { padding: 16px; border-radius: 20px; }
	.psb-ship .psb-ship__title { font-size: 15px; }
	.psb-upsell.psb-upsell { display: flex; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px 4px; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; }
	.psb-upsell .psb-upsell__item { flex: 0 0 150px; scroll-snap-align: start; }
	.psb-lines.psb-lines { padding: 4px 16px; }
	.psb-lines .psb-lines__head { display: none; }
	.psb-lines .psb-line { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; }
	.psb-line .psb-line__prod { grid-column: 1 / -1; padding-right: 48px; position: relative; }
	.psb-line .psb-line__img { width: 64px; height: 64px; }
	.psb-line .psb-line__name { font-size: 14px; }
	.psb-line .psb-line__unit { display: none; }
	.psb-line .psb-line__total { text-align: right; }
	.psb-line .psb-line__remove { position: absolute; grid-row: 1; grid-column: 2; justify-self: end; align-self: start; }
	.psb-lines .psb-line { position: relative; }
	.psb-lines .psb-line .psb-line__remove { position: absolute; top: 18px; right: 0; width: 40px; height: 40px; }
	.psb-coupon.psb-coupon { flex-basis: 100%; }
	.psb-stack-tip.psb-stack-tip img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
	.psb-stack-tip .psb-stack-tip__txt > strong { font-size: 20px; }
	.psb-summary.psb-summary { position: static; flex-basis: 100%; }
	.psb-summary .psb-summary__cta { display: none; }
	.psb-cartbar.psb-cartbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; bottom: 0; z-index: 40; background: var(--psb-surface); border-top: 1px solid var(--psb-line); padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); margin: 24px -16px 0; }
	.psb-cartbar > span { display: flex; flex-direction: column; font-size: 12px; color: var(--psb-muted); }
	.psb-cartbar strong { font-size: 20px; color: var(--psb-text); }
	.psb-cartbar.psb-cartbar a { flex: 1; max-width: 220px; height: 52px; border-radius: var(--psb-pill); background: var(--psb-accent); color: var(--psb-on-accent); font-weight: 700; display: flex; align-items: center; justify-content: center; text-decoration: none; }
	.psb-checkout__form #customer_details, .psb-checkout__form #order_review { padding: 16px; }
	.psb-checkout__form .form-row-first, .psb-checkout__form .form-row-last { flex-basis: 100%; }
	.psb-thanks .psb-thanks__facts dd { font-size: 15px; }
}

.psb-thanks__extra:empty { display: none; }
.psb-thanks__extra { margin-top: 20px; color: var(--psb-muted); font-size: 14px; }
.psb-thanks__extra p:empty { display: none; }

/* Pokloni (modul Kupi X, dobij Y) */
.psb-line.is-gift { background: linear-gradient(90deg, rgba(204,255,0,.06), transparent 60%); }
.psb-line .psb-line__gift { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--psb-on-accent, #0a0a0a); background: var(--psb-accent); border-radius: 20px; padding: 2px 8px; }
.psb-line .psb-line__free { color: var(--psb-accent); }
.psb-line .psb-line__flav select { margin-top: 4px; max-width: 100%; height: 34px; padding: 0 30px 0 10px; border-radius: 8px; border: 1px solid var(--psb-line-strong, #3a3a3a); background: var(--psb-bg); color: var(--psb-text); font: inherit; font-size: 13px; }
.psb-gifts.psb-panel { margin-bottom: 16px; }
.psb-gifts .psb-gifts__head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 12px; }
.psb-gifts .psb-gifts__head strong { font-size: 16px; }
.psb-gifts .psb-gifts__head .psb-mono { color: var(--psb-muted); font-size: 12px; }
.psb-gifts .psb-gifts__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.psb-gifts .psb-gifts__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--psb-line, #2a2a2a); border-radius: 10px; color: var(--psb-text); text-decoration: none; }
.psb-gifts .psb-gifts__item:hover { border-color: var(--psb-accent); color: var(--psb-text); }
.psb-gifts .psb-gifts__item img { width: 48px; height: 48px; object-fit: contain; background: #f0f0f0; border-radius: 6px; }
.psb-gifts .psb-gifts__item span { font-size: 13px; line-height: 1.3; }
.psb-gifts .psb-gifts__item b { font-size: 12px; color: var(--psb-on-accent, #0a0a0a); background: var(--psb-accent); padding: 6px 10px; border-radius: 20px; white-space: nowrap; }
.psb-line span.psb-line__remove { visibility: hidden; }

/* Paketi (modul Smart Stacks) */
.psb-line .psb-line__pack { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--psb-accent); text-decoration: none; border: 1px solid var(--psb-accent); border-radius: 20px; padding: 2px 8px; }
.psb-line.is-pack { border-left: 2px solid var(--psb-accent); padding-left: 12px; }

/* Brisanje / količine bez ponovnog učitavanja: red odmah nestaje, iznosi se osvježavaju u pozadini. */
.psb-cart .psb-line.is-removing { opacity: 0; transform: translateX(-12px); max-height: 0; padding-top: 0; padding-bottom: 0; margin: 0; overflow: hidden; border-color: transparent; transition: opacity .18s ease, transform .18s ease, max-height .25s ease .08s, padding .25s ease .08s; pointer-events: none; }
main.psb-cart.is-busy .psb-summary dd, main.psb-cart.is-busy .psb-cartbar strong, main.psb-cart.is-busy .psb-line__price { opacity: .45; transition: opacity .15s; }
main.psb-cart.is-busy .psb-summary__cta, main.psb-cart.is-busy .psb-cartbar a { pointer-events: none; opacity: .6; }
