/* ==========================================================================
   Korpa, naplata, potvrda, moj račun (klasični WooCommerce markup)
   ========================================================================== */

/* ---------- Koraci ---------- */
.mt-steps { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.mt-steps__title { display: flex; align-items: baseline; gap: 10px; }
.mt-steps__count { font: 600 20px var(--mt-font-body); color: var(--mt-muted); }
.mt-steps__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.mt-steps__step { display: flex; align-items: center; gap: 10px; color: var(--mt-faint); }
.mt-steps__step + .mt-steps__step::before { content: ''; width: 32px; height: 2px; background: var(--mt-line-2); }
.mt-steps__step.is-done + .mt-steps__step::before { background: #2f9e5b; }
.mt-steps__link { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.mt-steps__dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--mt-line-2); box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.mt-steps__step.is-now { color: var(--mt-primary); }
.mt-steps__step.is-now .mt-steps__dot { background: var(--mt-primary); border-color: var(--mt-primary); color: #fff; }
.mt-steps__step.is-done { color: var(--mt-success); }
.mt-steps__step.is-done .mt-steps__dot { background: #2f9e5b; border-color: #2f9e5b; color: #fff; }
.mt-steps__secure { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--mt-success); }

/* ---------- Opšte za Woo stranice ---------- */
.mt-checkout-page .woocommerce { font-family: var(--mt-font-body); color: var(--mt-graphite); }
.woocommerce-notices-wrapper:empty { display: none; }
.mt-checkout-page .woocommerce-message, .mt-checkout-page .woocommerce-info, .mt-checkout-page .woocommerce-error {
	border: 0; border-radius: 14px; background: #fff; box-shadow: inset 4px 0 0 var(--mt-primary); padding: 14px 18px 14px 48px; font-size: 14px; list-style: none; margin: 0 0 16px;
}
.mt-checkout-page .woocommerce-error { box-shadow: inset 4px 0 0 var(--mt-danger); }
.mt-checkout-page .woocommerce-message::before, .mt-checkout-page .woocommerce-info::before { color: var(--mt-primary); top: 14px; left: 18px; }
.mt-checkout-page .woocommerce a.button, .mt-checkout-page .woocommerce button.button, .mt-checkout-page .woocommerce .button {
	background: var(--mt-primary); color: #fff; border-radius: 12px; padding: 0 20px; min-height: 46px; font: 700 14px var(--mt-font-body); display: inline-flex; align-items: center; justify-content: center; border: 0; line-height: 1;
}
.mt-checkout-page .woocommerce .button:hover { background: var(--mt-primary-dark); color: #fff; }
.mt-checkout-page .woocommerce .button:disabled, .mt-checkout-page .woocommerce .button.disabled { background: var(--mt-line-2); color: var(--mt-muted); }
.mt-checkout-page .woocommerce input.input-text, .mt-checkout-page .woocommerce textarea, .mt-checkout-page .woocommerce select, .mt-checkout-page .select2-container .select2-selection--single {
	min-height: 48px; border: 1px solid var(--mt-line-2); border-radius: 12px; padding: 0 14px; font: 400 15px var(--mt-font-body); color: var(--mt-graphite); background: #faf8fc; box-sizing: border-box; width: 100%;
}
.mt-checkout-page .woocommerce textarea { padding: 12px 14px; min-height: 80px; }
.mt-checkout-page .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding: 0; }
.mt-checkout-page .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
.mt-checkout-page .woocommerce input.input-text:focus, .mt-checkout-page .woocommerce textarea:focus { outline: 2px solid var(--mt-primary); outline-offset: 1px; background: #fff; }
.mt-checkout-page .woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.mt-checkout-page .woocommerce form .form-row label { font-size: 13px; font-weight: 700; color: var(--mt-ink); margin-bottom: 6px; display: block; }
.mt-checkout-page .woocommerce form .form-row .required { color: var(--mt-primary); text-decoration: none; }
.mt-checkout-page .woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--mt-danger); }

/* ---------- Traka do besplatne dostave ---------- */
.mt-shipbar { background: #fff; border: 1px solid var(--mt-line); border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.mt-shipbar__text { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--mt-ink); }
.mt-shipbar__text svg { color: var(--mt-primary); }
.mt-shipbar__track { height: 8px; border-radius: 4px; background: #efeaf3; overflow: hidden; }
.mt-shipbar__track span { display: block; height: 100%; border-radius: 4px; background: var(--mt-primary); transition: width .3s; }
.mt-shipbar.is-done .mt-shipbar__track span { background: #2f9e5b; }

/* ---------- Korpa ---------- */
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .woocommerce > .cart-empty, .woocommerce-cart .woocommerce > .return-to-shop, .woocommerce-cart .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce-cart-form { margin: 0; }
.woocommerce-cart table.shop_table { border: 1px solid var(--mt-line); border-radius: 20px; background: #fff; border-collapse: separate; overflow: hidden; margin: 0; }
.woocommerce-cart table.shop_table thead th { background: var(--mt-lilac-3); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mt-muted); padding: 14px 16px; }
.woocommerce-cart table.shop_table td { padding: 18px 16px; border-top: 1px solid #f0ecf3; vertical-align: middle; }
.woocommerce-cart table.cart img { width: 88px; height: 88px; object-fit: contain; background: var(--mt-lilac-3); border-radius: 14px; padding: 6px; box-sizing: border-box; }
.woocommerce-cart table.cart .product-name a { font-weight: 700; font-size: 15px; color: var(--mt-ink); text-decoration: none; }
.woocommerce-cart table.cart .product-name dl.variation { font-size: 13px; color: var(--mt-muted); margin: 4px 0 0; }
.woocommerce-cart table.cart .product-subtotal .amount { font: 700 18px var(--mt-font-display); color: var(--mt-ink); }
.woocommerce-cart table.cart a.remove { width: 36px; height: 36px; border-radius: 10px; color: var(--mt-faint) !important; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.woocommerce-cart table.cart a.remove:hover { background: #fde9ea; color: var(--mt-danger) !important; }
.woocommerce-cart table.cart .quantity .qty { width: 72px; min-height: 44px; text-align: center; font-weight: 800; }
.woocommerce-cart table.cart td.actions { background: #fbf9fc; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 200px; text-transform: uppercase; }
.woocommerce-cart table.cart td.actions button[name="update_cart"] { background: transparent; color: var(--mt-graphite); border: 1px solid var(--mt-line-2); }
.woocommerce-cart .cart-collaterals { width: auto; }
.woocommerce-cart .cart-collaterals .cart_totals { width: auto; float: none; background: #fff; border: 1px solid var(--mt-line); border-radius: 20px; padding: 24px; position: sticky; top: 24px; }
.woocommerce-cart .cart_totals h2 { font: 700 22px var(--mt-font-display); color: var(--mt-ink); margin: 0 0 12px; }
.woocommerce-cart .cart_totals table.shop_table { border: 0; border-radius: 0; }
.woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td { padding: 10px 0; border-top: 1px solid #f0ecf3; font-size: 15px; background: none; }
.woocommerce-cart .cart_totals .order-total .amount { font: 700 30px var(--mt-font-display); color: var(--mt-ink); }
.woocommerce-cart .wc-proceed-to-checkout { padding: 16px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px !important; font-size: 16px !important; margin: 0 !important; }
.woocommerce-cart .cross-sells { grid-column: 1 / -1; width: auto; float: none; }
.woocommerce-cart .cross-sells > h2 { font: 700 26px var(--mt-font-display); color: var(--mt-ink); }
.woocommerce-cart .cross-sells ul.products { --mt-cols: 4; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--mt-cols), minmax(0, 1fr)); gap: 16px; }
.woocommerce-cart .cross-sells ul.products::before, .woocommerce-cart .cross-sells ul.products::after { display: none; }
.woocommerce-cart .cross-sells ul.products li.product { width: auto; margin: 0; float: none; }
.cart-empty.woocommerce-info { text-align: center; font-size: 18px; padding: 48px 24px !important; }

@media (max-width: 1024px) {
	.woocommerce-cart .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-cart .cross-sells ul.products { --mt-cols: 2; }
}
@media (max-width: 767px) {
	.woocommerce-cart table.shop_table_responsive tr td { padding: 10px 16px; }
	.woocommerce-cart table.cart td.actions .coupon { flex-direction: column; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; }
}

/* ---------- Naplata ---------- */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 16px; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: auto; float: none; background: #fff; border: 1px solid var(--mt-line); border-radius: 20px; padding: 28px; box-sizing: border-box; }
.woocommerce-checkout #customer_details h3, .woocommerce-checkout #order_review_heading { font: 800 19px var(--mt-font-body); color: var(--mt-ink); margin: 0 0 18px; }
.woocommerce-checkout .mt-checkout-summary { grid-column: 2; grid-row: 1; background: #fff; border: 1px solid var(--mt-line); border-radius: 20px; padding: 24px; position: sticky; top: 24px; }
.woocommerce-checkout .mt-checkout-summary #order_review_heading { margin: 0 0 16px; padding: 0; background: none; border: 0; }
.woocommerce-checkout .mt-checkout-summary #order_review { width: 100% !important; float: none !important; margin: 0; padding: 0; background: none; border: 0; }
/* Rezerva ako tema prepiše predložak naplate (bez omotača). */
.woocommerce-checkout form.checkout > #order_review_heading, .woocommerce-checkout form.checkout > #order_review { grid-column: 2; width: 100% !important; float: none !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table { border: 0; margin: 0 0 16px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table th, .woocommerce-checkout .woocommerce-checkout-review-order-table td { padding: 10px 0; border-top: 1px solid #f0ecf3; background: none; font-size: 14px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount { font: 700 26px var(--mt-font-display); color: var(--mt-ink); }
.woocommerce-checkout .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-checkout .woocommerce-shipping-methods li { margin: 0 0 6px; }

/* Fizičko / pravno lice kao segmentirani prekidač */
.mt-buyer-type { margin-bottom: 18px !important; }
.mt-buyer-type > label:first-child { display: none !important; }
.mt-buyer-type .woocommerce-input-wrapper { display: flex; gap: 8px; background: var(--mt-lilac-3); border-radius: 12px; padding: 4px; }
.mt-buyer-type input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.mt-buyer-type input[type="radio"] + label { flex: 1; margin: 0 !important; height: 44px; display: flex !important; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px !important; color: var(--mt-muted) !important; cursor: pointer; }
.mt-buyer-type input[type="radio"]:checked + label { background: #fff; color: var(--mt-primary-dark) !important; box-shadow: 0 2px 10px -4px rgba(70, 30, 95, .35); }
.mt-buyer-type input[type="radio"]:focus-visible + label { outline: 2px solid var(--mt-primary); }
.mt-company-field { display: none; }
.mt-buyer-company .mt-company-field { display: block; }

.mt-pickup { background: var(--mt-lilac-3); border-radius: 14px; padding: 16px; margin: 0 0 16px; }
.mt-pickup__note { margin: 0; font-size: 13px; color: var(--mt-muted); }
.mt-is-pickup .woocommerce-shipping-fields { display: none; }

/* Plaćanje (uklj. Monri) */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods li { list-style: none; border: 2px solid var(--mt-line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--mt-primary); background: var(--mt-lilac-2); }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; color: var(--mt-ink); cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 24px; vertical-align: middle; margin-left: 6px; }
.woocommerce-checkout #payment div.payment_box { background: transparent; padding: 8px 0 0 26px; margin: 0; font-size: 13px; color: var(--mt-muted); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: 16px 0 0; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 13px; line-height: 1.5; }
.woocommerce-checkout #place_order { width: 100%; min-height: 58px !important; font-size: 16px !important; font-weight: 800 !important; float: none; }

@media (max-width: 1024px) {
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout .mt-checkout-summary, .woocommerce-checkout form.checkout > #order_review_heading, .woocommerce-checkout form.checkout > #order_review { grid-column: 1; grid-row: auto; margin-top: 0; position: static; }
}
@media (max-width: 767px) {
	.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { padding: 20px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
}

/* ---------- Potvrda narudžbe ---------- */
.woocommerce-order { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.woocommerce-order .woocommerce-thankyou-order-received { background: #fff; border: 1px solid var(--mt-line); border-radius: 24px; padding: 40px 32px 32px; text-align: center; font: 700 26px var(--mt-font-display); color: var(--mt-ink); margin: 0; }
.woocommerce-order .woocommerce-thankyou-order-received::before { content: '✓'; display: flex; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--mt-success-bg); color: var(--mt-success); font-size: 34px; align-items: center; justify-content: center; }
.woocommerce-order ul.order_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0; padding: 0; }
.woocommerce-order ul.order_details::before, .woocommerce-order ul.order_details::after { display: none; }
.woocommerce-order ul.order_details li { float: none; margin: 0; border: 0; background: var(--mt-lilac-3); border-radius: 14px; padding: 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mt-muted); }
.woocommerce-order ul.order_details li strong { display: block; margin-top: 6px; font: 700 17px var(--mt-font-body); text-transform: none; letter-spacing: 0; color: var(--mt-ink); }
.woocommerce-order section { background: #fff; border: 1px solid var(--mt-line); border-radius: 20px; padding: 24px; }
.woocommerce-order h2 { font: 700 22px var(--mt-font-display); color: var(--mt-ink); }
.mt-order-extra { margin-top: 16px; }

/* ---------- Moj račun ---------- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--mt-line); border-radius: 18px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 600; color: var(--mt-graphite); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--mt-lilac); color: var(--mt-primary-dark); box-shadow: inset 3px 0 0 var(--mt-primary); }
.woocommerce-account .woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--mt-line); border-radius: 20px; padding: 28px; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 980px; }
@media (max-width: 1024px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }

/* WooCommerce clearfix pseudo-elementi bi u grid/flex rasporedu zauzeli ćeliju ili dodali razmak. */
.woocommerce-cart .woocommerce::before, .woocommerce-cart .woocommerce::after,
.woocommerce-checkout form.checkout::before, .woocommerce-checkout form.checkout::after,
.woocommerce-checkout #customer_details::before, .woocommerce-checkout #customer_details::after,
.woocommerce-cart .cross-sells ul.products::before, .woocommerce-cart .cross-sells ul.products::after,
.woocommerce-cart table.cart td.actions .coupon::before, .woocommerce-cart table.cart td.actions .coupon::after,
.woocommerce-checkout #payment ul.payment_methods::before, .woocommerce-checkout #payment ul.payment_methods::after { content: none !important; display: none !important; }

/* ==========================================================================
   Naplata – stabilan raspored (jača specifičnost od WooCommerce stilova)
   ========================================================================== */

/* Polja u mreži 2 kolone: redoslijed i klase iz WooCommerce JS-a više ne mogu „razbiti“ raspored. */
body.mt-checkout-page .woocommerce-billing-fields__field-wrapper,
body.mt-checkout-page .woocommerce-shipping-fields__field-wrapper {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; align-items: start;
}
body.mt-checkout-page .woocommerce-billing-fields__field-wrapper::before, body.mt-checkout-page .woocommerce-billing-fields__field-wrapper::after,
body.mt-checkout-page .woocommerce-shipping-fields__field-wrapper::before, body.mt-checkout-page .woocommerce-shipping-fields__field-wrapper::after { content: none; display: none; }
body.mt-checkout-page .woocommerce form .form-row { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
body.mt-checkout-page .woocommerce-billing-fields__field-wrapper > .form-row-wide,
body.mt-checkout-page .woocommerce-shipping-fields__field-wrapper > .form-row-wide,
body.mt-checkout-page .woocommerce-billing-fields__field-wrapper > .mt-buyer-type,
body.mt-checkout-page #billing_country_field, body.mt-checkout-page #shipping_country_field,
body.mt-checkout-page #billing_address_1_field, body.mt-checkout-page #shipping_address_1_field,
body.mt-checkout-page #billing_company_field { grid-column: 1 / -1; }
body.mt-checkout-page .woocommerce form .form-row label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--mt-ink); line-height: 1.3; }
body.mt-checkout-page .woocommerce form .form-row label .optional { font-weight: 500; color: var(--mt-faint); }
body.mt-checkout-page .woocommerce form .form-row .woocommerce-input-wrapper { display: block; width: 100%; }
body.mt-checkout-page .woocommerce form .form-row.mt-buyer-type .woocommerce-input-wrapper { display: flex; gap: 8px; }
body.mt-checkout-page .woocommerce form .form-row input.input-text,
body.mt-checkout-page .woocommerce form .form-row textarea,
body.mt-checkout-page .woocommerce form .form-row select,
body.mt-checkout-page .mt-pickup select {
	width: 100%; min-height: 48px; border: 1px solid var(--mt-line-2) !important; border-radius: 12px; padding: 0 14px; background: #faf8fc;
	font: 400 15px var(--mt-font-body); color: var(--mt-graphite); box-shadow: none; box-sizing: border-box;
}
body.mt-checkout-page .woocommerce form .form-row textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
body.mt-checkout-page .woocommerce form .form-row input.input-text:focus,
body.mt-checkout-page .woocommerce form .form-row textarea:focus,
body.mt-checkout-page .mt-pickup select:focus { outline: 0; border-color: var(--mt-primary) !important; background: #fff; box-shadow: 0 0 0 3px rgba(123, 68, 152, .15); }
/* Država je fiksna (samo BiH) – prikaz kao tekst u kartici. */
body.mt-checkout-page #billing_country_field strong, body.mt-checkout-page #shipping_country_field strong { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; background: var(--mt-lilac-3); font-weight: 600; color: var(--mt-ink); }
body.mt-checkout-page .woocommerce-additional-fields { margin-top: 4px; }
body.mt-checkout-page .woocommerce-additional-fields > h3 { display: none; } /* „Dodatne informacije“ – napomena ima svoj naslov */
body.mt-checkout-page #ship-to-different-address { margin: 0 0 16px; font: 800 17px var(--mt-font-body); }
body.mt-checkout-page #ship-to-different-address label { display: flex; align-items: center; gap: 10px; cursor: pointer; }

/* Desna kolona: pregled narudžbe – tabela kao redovi (flex), da kolone uvijek budu poravnate. */
body.mt-checkout-page .mt-checkout-summary table.shop_table,
body.mt-checkout-page .mt-checkout-summary table.shop_table thead,
body.mt-checkout-page .mt-checkout-summary table.shop_table tbody,
body.mt-checkout-page .mt-checkout-summary table.shop_table tfoot { display: block; width: 100%; border: 0 !important; border-radius: 0; background: none; margin: 0; }
body.mt-checkout-page .mt-checkout-summary table.shop_table { margin: 0 0 20px; }
body.mt-checkout-page .mt-checkout-summary table.shop_table tr { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0; border-top: 1px solid var(--mt-line); }
body.mt-checkout-page .mt-checkout-summary table.shop_table thead tr { border-top: 0; padding-top: 0; }
body.mt-checkout-page .mt-checkout-summary table.shop_table th,
body.mt-checkout-page .mt-checkout-summary table.shop_table td { display: block; padding: 0 !important; border: 0 !important; background: none !important; font-size: 14px; line-height: 1.45; text-align: left; }
body.mt-checkout-page .mt-checkout-summary table.shop_table thead th { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mt-faint); }
body.mt-checkout-page .mt-checkout-summary table.shop_table .product-name { flex: 1 1 auto; min-width: 0; color: var(--mt-ink); }
body.mt-checkout-page .mt-checkout-summary table.shop_table .product-quantity { color: var(--mt-muted); font-weight: 600; white-space: nowrap; }
body.mt-checkout-page .mt-checkout-summary table.shop_table .product-total,
body.mt-checkout-page .mt-checkout-summary table.shop_table tfoot td { flex: none; text-align: right; white-space: nowrap; font-weight: 600; color: var(--mt-ink); }
body.mt-checkout-page .mt-checkout-summary table.shop_table tfoot th { font-weight: 600; color: var(--mt-muted); }
body.mt-checkout-page .mt-checkout-summary table.shop_table tr.order-total { align-items: center; border-top: 2px solid var(--mt-ink); padding-top: 14px; }
body.mt-checkout-page .mt-checkout-summary table.shop_table tr.order-total th { color: var(--mt-ink); font-weight: 800; }
body.mt-checkout-page .mt-checkout-summary table.shop_table tr.order-total .amount { font: 700 26px var(--mt-font-display); color: var(--mt-ink); }
body.mt-checkout-page .mt-checkout-summary table.shop_table tr.order-total small { display: block; font-size: 11px; font-weight: 500; color: var(--mt-faint); }
/* Dostava: naslov iznad, opcije kao kartice preko cijele širine */
body.mt-checkout-page .mt-checkout-summary table.shop_table tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch; gap: 10px; }
body.mt-checkout-page .mt-checkout-summary table.shop_table tr.woocommerce-shipping-totals td { text-align: left; white-space: normal; font-weight: 400; }
body.mt-checkout-page .mt-checkout-summary ul#shipping_method { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: 8px; }
body.mt-checkout-page .mt-checkout-summary ul#shipping_method li { position: relative; margin: 0 !important; padding: 0; text-indent: 0; }
body.mt-checkout-page .mt-checkout-summary ul#shipping_method li input { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); margin: 0; accent-color: var(--mt-primary); }
body.mt-checkout-page .mt-checkout-summary ul#shipping_method li label {
	display: flex !important; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 12px 14px 12px 40px; width: 100%; box-sizing: border-box;
	border: 1.5px solid var(--mt-line); border-radius: 12px; background: #fff; font-weight: 600; color: var(--mt-ink); cursor: pointer;
}
body.mt-checkout-page .mt-checkout-summary ul#shipping_method li:has(input:checked) label,
body.mt-checkout-page .mt-checkout-summary ul#shipping_method li:only-child label { border-color: var(--mt-primary); background: var(--mt-lilac-2); }
body.mt-checkout-page .mt-checkout-summary ul#shipping_method li:only-child label { padding-left: 14px; }
body.mt-checkout-page .mt-checkout-summary ul#shipping_method li label .amount { white-space: nowrap; }
body.mt-checkout-page .mt-checkout-summary .woocommerce-shipping-destination,
body.mt-checkout-page .mt-checkout-summary .woocommerce-shipping-contents { margin: 6px 0 0; font-size: 12px; color: var(--mt-faint); }
/* Poslovnica za preuzimanje */
body.mt-checkout-page .mt-pickup { margin: 0 0 20px; padding: 16px; border-radius: 14px; background: var(--mt-lilac-3); }
body.mt-checkout-page .mt-pickup label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--mt-ink); }
body.mt-checkout-page .mt-pickup select { background: #fff; margin-bottom: 10px; appearance: auto; }
/* Plaćanje: kartice iste širine i razmaka kao dostava */
body.mt-checkout-page #payment { padding: 0; }
body.mt-checkout-page #payment ul.payment_methods { margin: 0 0 4px; }
body.mt-checkout-page #payment ul.payment_methods li { margin: 0; padding: 14px; }
body.mt-checkout-page #payment ul.payment_methods li > input { margin: 0 10px 0 0; vertical-align: middle; accent-color: var(--mt-primary); }
body.mt-checkout-page #payment div.payment_box { padding: 8px 0 0 28px; }
body.mt-checkout-page #payment .place-order { padding: 16px 0 0 !important; margin: 0 !important; }

@media (max-width: 767px) {
	body.mt-checkout-page .woocommerce-billing-fields__field-wrapper,
	body.mt-checkout-page .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	body.mt-checkout-page .mt-checkout-summary { padding: 18px; }
}
