/* Shop pages: checkout and cart in the "Zamówienie" design, thank-you page, account, product list. */

.mb-shop__wrap { display: flex; flex-direction: column; gap: 40px; }
.mb-shop__head { display: flex; flex-direction: column; gap: 25px; }
.mb-shop__kicker { color: var(--mb-brown); font-size: var(--mb-fs-kicker); font-weight: 300; letter-spacing: 1.5px; text-transform: uppercase; }
.mb-shop .woocommerce { color: var(--mb-brown); font-size: 15px; }
.mb-shop .woocommerce a { color: var(--mb-brown); }

/* notices */
.mb-shop .woocommerce-message, .mb-shop .woocommerce-info, .mb-shop .woocommerce-error, .mb-shop .woocommerce-notice {
    margin: 0 0 24px;
    padding: 14px 18px 14px 48px;
    border: 1px solid var(--mb-line);
    border-top: 0;
    border-left: 3px solid var(--mb-gold);
    border-radius: 8px;
    background: #fff;
    color: var(--mb-brown);
    font-size: 15px;
    list-style: none;
}
.mb-shop .woocommerce-error { border-left-color: #b4432f; }
/* own line icons instead of the WooCommerce icon font */
.mb-shop .woocommerce-message::before, .mb-shop .woocommerce-info::before, .mb-shop .woocommerce-error::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 18px;
    width: 20px;
    height: 20px;
    background-color: var(--mb-gold);
    font-family: inherit;
    -webkit-mask: var(--mb-notice-icon) center / contain no-repeat;
    mask: var(--mb-notice-icon) center / contain no-repeat;
}
.mb-shop .woocommerce-info { --mb-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3Cpath d='M12 11v5.5M12 7.7v.1'/%3E%3C/svg%3E"); }
.mb-shop .woocommerce-message { --mb-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3Cpath d='m8 12.3 2.7 2.7L16 9.5'/%3E%3C/svg%3E"); }
.mb-shop .woocommerce-error { --mb-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3Cpath d='M12 7.5v5.5M12 16.3v.1'/%3E%3C/svg%3E"); }
.mb-shop .woocommerce-error::before { background-color: #b4432f; }
.mb-shop .woocommerce-message a.restore-item { margin-left: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* buttons */
.mb-shop .woocommerce .button, .mb-shop .woocommerce button.button, .mb-shop .woocommerce a.button {
    padding: 14px 28px;
    border: 1px solid var(--mb-gold);
    border-radius: 25px;
    background: var(--mb-brown);
    color: var(--mb-sand);
    font-family: var(--mb-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.3;
    text-transform: uppercase;
    transition: background-color .4s, color .4s;
}
.mb-shop .woocommerce .button:hover { background: var(--mb-gold); color: var(--mb-brown); }
.mb-shop .woocommerce .button:disabled, .mb-shop .woocommerce .button.disabled { opacity: .5; }
/* WooCommerce paints .button.alt (checkout, add to cart) purple – brand brown here, darker on hover */
.mb-shop .woocommerce a.button.alt, .mb-shop .woocommerce button.button.alt, .mb-shop .woocommerce input.button.alt, .mb-shop a.button.alt, .mb-shop button.button.alt { border-color: var(--mb-brown); background: var(--mb-brown); color: #fff; }
.mb-shop .woocommerce a.button.alt:hover, .mb-shop .woocommerce button.button.alt:hover, .mb-shop .woocommerce input.button.alt:hover, .mb-shop a.button.alt:hover, .mb-shop button.button.alt:hover { border-color: #3d1e12; background: #3d1e12; color: #fff; }
.mb-shop .woocommerce .button.alt:disabled, .mb-shop .woocommerce .button.alt.disabled, .mb-shop .woocommerce .button.alt:disabled:hover, .mb-shop .woocommerce .button.alt.disabled:hover { border-color: var(--mb-brown); background: var(--mb-brown); color: #fff; }
.mb-shop .woocommerce a.button:focus-visible, .mb-shop .woocommerce button.button:focus-visible { outline: 2px solid var(--mb-gold); outline-offset: 2px; }

/* form fields */
.mb-shop .woocommerce form .form-row { margin: 0 0 12px; padding: 0; }
.mb-shop .woocommerce form .form-row label { margin-bottom: 4px; color: var(--mb-muted); font-size: 12px; line-height: 1.4; }
.mb-shop .woocommerce form .form-row .required { color: #b4432f; text-decoration: none; }
.mb-shop .woocommerce form .form-row input.input-text, .mb-shop .woocommerce form .form-row textarea, .mb-shop .woocommerce form .form-row select, .mb-shop .woocommerce .quantity .qty {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--mb-line);
    border-radius: 4px;
    background: #fff;
    color: var(--mb-brown);
    font-family: var(--mb-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1.4;
}
.mb-shop .woocommerce form .form-row textarea { min-height: 84px; font-weight: 400; }
.mb-shop .woocommerce form .form-row select { padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2351311e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; cursor: pointer; -webkit-appearance: none; appearance: none; }
.mb-shop .woocommerce form .form-row input.input-text:focus, .mb-shop .woocommerce form .form-row textarea:focus { outline: 2px solid var(--mb-gold); outline-offset: 1px; border-color: var(--mb-brown); }
.mb-shop .woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #b4432f; }
.mb-shop .woocommerce form .form-row-first, .mb-shop .woocommerce form .form-row-last { float: left; width: calc(50% - 4px); }
.mb-shop .woocommerce form .form-row-last { float: right; }
.mb-shop .woocommerce form .form-row-wide { clear: both; }
.mb-shop .woocommerce-input-wrapper .description { display: block; margin-top: 4px; color: var(--mb-muted); font-size: 12px; }

/* checkout layout */
.mb-shop form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); grid-template-rows: auto 1fr; column-gap: 80px; align-items: start; }
.mb-shop form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.mb-shop #customer_details { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 34px; }
.mb-shop #customer_details .col2-set, .mb-shop #customer_details .col-1, .mb-shop #customer_details .col-2 { float: none; width: 100%; }
.mb-shop .woocommerce-billing-fields h3, .mb-shop .woocommerce-additional-fields h3, .mb-shop #customer_details h3 { margin: 0 0 16px; color: var(--mb-brown); font-family: var(--mb-sans); font-size: 17px; font-weight: 400; }
.mb-shop .woocommerce-billing-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.mb-shop #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; padding: 30px 25px 0; border: 1px solid var(--mb-line); border-bottom: 0; border-radius: 30px 30px 0 0; background: var(--mb-sand); color: var(--mb-brown); font-family: var(--mb-serif); font-size: 30px; font-weight: 400; }
.mb-shop #order_review { grid-column: 2; grid-row: 2; padding: 22px 25px 25px; border: 1px solid var(--mb-line); border-top: 0; border-radius: 0 0 30px 30px; background: var(--mb-sand); position: sticky; top: 90px; }
.mb-shop table.shop_table { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-radius: 0; }
.mb-shop table.shop_table th, .mb-shop table.shop_table td { padding: 16px 0; border: 0; border-top: 1px solid var(--mb-line); background: transparent; color: var(--mb-brown); font-size: 15px; line-height: 1.4; vertical-align: top; }
.mb-shop .woocommerce-checkout-review-order-table thead { display: none; }
.mb-shop .woocommerce-checkout-review-order-table tbody tr:first-child td { border-top: 0; }
.mb-shop .woocommerce-checkout-review-order-table .product-name { font-family: var(--mb-serif); font-size: 18px; font-weight: 700; letter-spacing: .3px; }
.mb-shop .woocommerce-checkout-review-order-table .product-total { text-align: right; font-family: var(--mb-serif); font-size: 18px; font-weight: 700; white-space: nowrap; }
.mb-shop .woocommerce-checkout-review-order-table .product-quantity { display: none; }
.mb-shop dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; margin: 6px 0 0; font-family: var(--mb-sans); font-size: 13px; font-weight: 400; color: var(--mb-muted); letter-spacing: 0; }
.mb-shop dl.variation dt { float: none; margin: 0; font-weight: 400; }
.mb-shop dl.variation dd { margin: 0; padding: 0; }
.mb-shop dl.variation dd p { margin: 0; }
.mb-shop .woocommerce-checkout-review-order-table tfoot th { text-align: left; font-weight: 700; }
.mb-shop .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.mb-shop .woocommerce-checkout-review-order-table .order-total th, .mb-shop .woocommerce-checkout-review-order-table .order-total td { padding-top: 24px; font-size: 18px; }
.mb-shop .woocommerce-checkout-review-order-table .order-total td { font-weight: 400; }

/* payment (left column) */
.mb-shop #payment { margin-top: 34px; background: transparent; border-radius: 0; }
.mb-shop #payment ul.payment_methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; border: 0; }
.mb-shop #payment ul.payment_methods::before { content: "Metoda płatności"; width: 100%; margin-bottom: 8px; color: var(--mb-brown); font-size: 17px; }
.mb-lang-en .mb-shop #payment ul.payment_methods::before { content: "Payment method"; } /* English site (body class from magicbali-core) */
.mb-shop #payment ul.payment_methods li { position: relative; flex: 1 1 200px; margin: 0; padding: 0; list-style: none; }
.mb-shop #payment ul.payment_methods li input { position: absolute; opacity: 0; }
.mb-shop #payment ul.payment_methods li > label { display: flex; align-items: center; gap: 10px; min-height: 58px; margin: 0; padding: 10px 18px; border: 1px solid var(--mb-line); border-radius: 8px; color: var(--mb-brown); font-family: var(--mb-serif); font-size: 17px; font-weight: 700; letter-spacing: .4px; cursor: pointer; }
.mb-shop #payment ul.payment_methods li > label img { max-height: 28px; margin: 0; }
.mb-shop #payment ul.payment_methods li input:checked + label { border-color: var(--mb-brown); background: #fff; }
.mb-shop #payment ul.payment_methods li input:focus-visible + label { outline: 2px solid var(--mb-gold); outline-offset: 2px; }
.mb-shop #payment div.payment_box { width: 100%; margin: 10px 0 0; padding: 14px 16px; border-radius: 8px; background: #fff; color: var(--mb-muted); font-size: 14px; }
.mb-shop #payment div.payment_box::before { display: none; }
.mb-shop #payment div.form-row.place-order { margin: 20px 0 0; padding: 0; }
.mb-shop .woocommerce-terms-and-conditions-wrapper { margin-bottom: 24px; color: var(--mb-brown); font-size: 14px; line-height: 1.5; }
.mb-shop .woocommerce-privacy-policy-text p { margin: 0 0 12px; color: var(--mb-muted); font-size: 13px; }
.mb-shop .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--mb-brown) !important; }
.mb-shop .woocommerce-form__label-for-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--mb-brown); }
.mb-shop .woocommerce-terms-and-conditions-link { text-decoration: underline; text-underline-offset: 3px; }
.mb-shop #place_order {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 30px;
    background: var(--mb-brown);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}
.mb-shop #place_order:hover { background: #3d1e12; color: #fff; }
.mb-shop .woocommerce-form-coupon-toggle, .mb-shop .checkout_coupon { grid-column: 1 / -1; }

/* cart: lines on the left, the summary card on the right (like the checkout) */
.woocommerce-cart .mb-shop .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); column-gap: 70px; align-items: start; }
.woocommerce-cart .mb-shop .woocommerce > * { grid-column: 1 / -1; }
.woocommerce-cart .mb-shop .woocommerce > .woocommerce-cart-form { grid-column: 1; margin: 0; }
.woocommerce-cart .mb-shop .woocommerce > .cart-collaterals { grid-column: 2; position: sticky; top: 100px; }
.mb-shop table.cart { display: block; width: 100%; border-top: 1px solid var(--mb-line); }
.mb-shop table.cart thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.mb-shop table.cart tbody { display: block; }
.mb-shop table.cart tr.cart_item {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto auto minmax(90px, auto) 38px;
    grid-template-areas: "thumb name price qty sub remove";
    align-items: center;
    column-gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--mb-line);
}
.mb-shop table.cart tr.cart_item td { display: block; padding: 0; border: 0; text-align: left; }
.mb-shop table.cart tr.cart_item td::before { display: none; }
.mb-shop table.cart td.product-remove { grid-area: remove; justify-self: end; }
.mb-shop table.cart td.product-thumbnail { grid-area: thumb; }
.mb-shop table.cart td.product-name { grid-area: name; color: var(--mb-brown); font-family: var(--mb-serif); font-size: 20px; font-weight: 700; letter-spacing: .3px; line-height: 1.3; }
.mb-shop table.cart td.product-price { grid-area: price; color: var(--mb-muted); font-size: 15px; white-space: nowrap; }
.mb-shop table.cart td.product-quantity { grid-area: qty; }
.mb-shop table.cart td.product-subtotal { grid-area: sub; color: var(--mb-brown); font-family: var(--mb-serif); font-size: 20px; font-weight: 700; text-align: right; white-space: nowrap; }
.mb-shop table.cart .product-thumbnail img { display: block; width: 190px; max-width: none; height: auto; border-radius: 12px; box-shadow: 0 8px 22px rgba(81, 49, 30, .14); }
.mb-shop table.cart .product-name a { font: inherit; text-decoration: none; }
.mb-shop table.cart dl.variation { margin-top: 10px; gap: 4px 8px; font-size: 14px; }
.mb-shop table.cart dl.variation dd { color: var(--mb-brown); }
.mb-shop table.cart .quantity .qty { width: 76px; min-height: 44px; text-align: center; }
.mb-cart-fixed.woocommerce-cart .mb-shop table.cart tr.cart_item { grid-template-columns: 190px minmax(0, 1fr) auto 38px; grid-template-areas: "thumb name sub remove"; }
.mb-cart-fixed .mb-shop table.cart td.product-price, .mb-cart-fixed .mb-shop table.cart td.product-quantity { display: none; }
.mb-shop table.cart tr:has(> td.actions) { display: block; }
.mb-shop table.cart td.actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0 0; border: 0; }
.mb-shop table.cart td.actions .coupon { display: flex; gap: 8px; }
.mb-shop table.cart td.actions .coupon .input-text { width: 200px; min-height: 48px; margin: 0; padding: 8px 14px; border: 1px solid var(--mb-line); border-radius: 8px; background: #fff; color: var(--mb-brown); font-size: 15px; }
.mb-shop table.cart td.actions button[name="update_cart"] { margin-left: auto; border-color: var(--mb-brown); background: transparent; color: var(--mb-brown); }
.mb-shop table.cart td.actions button[name="update_cart"]:hover:not(:disabled) { background: var(--mb-brown); color: var(--mb-sand); }
.mb-shop table.cart td.actions button[name="update_cart"]:disabled { display: none; }
.mb-cart-fixed .mb-shop table.cart button[name="update_cart"] { display: none; }
.mb-cart-fixed.mb-cart-no-coupons .mb-shop table.cart tr:has(> td.actions) { display: none; }
.mb-shop a.remove {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    border: 1px solid var(--mb-line);
    border-radius: 50% !important;
    color: var(--mb-muted) !important;
    font-size: 0 !important;
    transition: background-color .3s, color .3s, border-color .3s;
}
.mb-shop a.remove svg { width: 16px; height: 16px; }
.mb-shop a.remove:hover { border-color: var(--mb-brown); background: var(--mb-brown) !important; color: #fff !important; }
.mb-cart-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.mb-cart-more svg { width: 18px; height: 18px; transition: transform .3s; }
.mb-cart-more:hover svg { transform: translateX(-4px); }
.mb-shop .cart-collaterals { width: 100%; }
.mb-shop .cart-collaterals .cart_totals { float: none; width: 100%; margin: 0; padding: 30px 25px 25px; border: 1px solid var(--mb-line); border-radius: 30px; background: var(--mb-sand); }
.mb-shop .cart-collaterals .cart_totals h2 { margin: 0 0 14px; color: var(--mb-brown); font-family: var(--mb-serif); font-size: 30px; font-weight: 400; }
.mb-shop .cart_totals table.shop_table tr:first-child th, .mb-shop .cart_totals table.shop_table tr:first-child td { border-top: 0; }
.mb-shop .cart_totals table.shop_table th { width: auto; padding-right: 20px; text-align: left; font-weight: 400; }
.mb-shop .cart_totals table.shop_table td { text-align: right; }
.mb-shop .cart_totals table.shop_table td::before { display: none; }
.mb-shop .cart_totals .order-total th, .mb-shop .cart_totals .order-total td { padding-top: 20px; font-size: 18px; font-weight: 700; }
.mb-shop .cart_totals .order-total td { font-family: var(--mb-serif); font-size: 22px; }
.mb-shop .wc-proceed-to-checkout { padding: 10px 0 0; }
.mb-shop .wc-proceed-to-checkout .checkout-button { display: block; width: 100%; margin: 0; padding: 18px; border: 0; font-size: 16px !important; font-weight: 700; text-align: center; }
.mb-shop .wc-proceed-to-checkout .checkout-button:hover { background: #3d1e12; color: #fff; }
.mb-cart-note { margin: 14px 0 0; color: #6b5444; font-size: 13px; line-height: 1.45; text-align: center; }

/* empty cart */
.mb-cart-empty { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 60px 30px 64px; border: 1px solid var(--mb-line); border-radius: 30px; background: var(--mb-sand); text-align: center; }
.mb-cart-empty__badge { display: flex; align-items: center; justify-content: center; width: 110px; height: 110px; margin-bottom: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--mb-gold), 0 18px 36px rgba(76, 49, 31, .1); color: var(--mb-gold); }
.mb-cart-empty__badge svg { width: 54px; height: 54px; }
.mb-cart-empty__title { margin: 0; color: var(--mb-brown); font-family: var(--mb-serif); font-size: 34px; font-weight: 400; }
.mb-cart-empty__text .mb-nowrap { white-space: nowrap; }
.mb-cart-empty__text { max-width: 560px; margin: 0; color: #6b5444; font-size: 17px; line-height: 1.55; }
.mb-cart-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.mb-shop .woocommerce a.mb-btn { color: var(--mb-sand); }
.mb-shop .woocommerce a.mb-btn--gold { color: var(--mb-brown); }
.mb-shop .woocommerce a.mb-btn:hover { color: var(--mb-brown); }
.mb-shop .woocommerce a.mb-btn--gold:hover { color: var(--mb-sand); }

/* thank-you */
.mb-shop--received { background: var(--mb-cream) url(../images/brand/leaves.webp) center top / cover no-repeat; }
.mb-ty { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.mb-ty__head { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 760px; text-align: center; }
.mb-ty__badge { display: flex; align-items: center; justify-content: center; width: 148px; height: 148px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 9px #fff, 0 0 0 10px var(--mb-gold), 0 20px 40px rgba(76, 49, 31, .12); color: var(--mb-gold); }
.mb-ty__badge svg { width: 56px; height: 56px; }
.mb-ty__lead { color: var(--mb-muted); font-size: 17px; line-height: 1.5; }
.mb-ty__card { width: 100%; padding: 30px 25px 25px; border: 1px solid var(--mb-line); border-radius: 30px; background: var(--mb-sand); }
.mb-ty__title { margin: 0 0 20px; color: var(--mb-brown); font-size: 30px; font-weight: 400; }
.mb-ty__items { display: flex; flex-direction: column; }
.mb-ty__item { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--mb-line); }
.mb-ty__name { display: block; color: var(--mb-brown); font-family: var(--mb-serif); font-size: 18px; font-weight: 700; letter-spacing: .3px; }
.mb-ty__meta { display: block; margin-top: 4px; color: var(--mb-muted); font-size: 14px; }
.mb-ty__price { color: var(--mb-brown); font-family: var(--mb-serif); font-size: 18px; font-weight: 700; white-space: nowrap; }
.mb-ty__rows { margin: 0; padding: 12px 0; border-top: 1px solid var(--mb-line); border-bottom: 1px solid var(--mb-line); }
.mb-ty__rows div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.mb-ty__rows dt { color: var(--mb-brown); font-size: 17px; font-weight: 700; }
.mb-ty__rows dd { margin: 0; color: var(--mb-brown); font-size: 17px; text-align: right; }
.mb-ty__rows dd.is-paid { color: #4f8a3a; }
.mb-ty__rows dd.is-pending { color: #a8732a; }
.mb-ty__downloads { display: flex; gap: 10px; padding-top: 18px; color: var(--mb-gold); }
.mb-ty__downloads svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }
.mb-ty__downloads .mbv-downloads { display: flex; flex-direction: column; gap: 8px; }
.mb-ty__downloads a { color: var(--mb-gold) !important; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.mb-ty__downloads span { color: var(--mb-muted); font-size: 13px; }
.mb-ty__gateway { width: 100%; }
.mb-ty__gateway h2 { font-size: 26px; font-weight: 400; margin: 20px 0 12px; }
.mb-ty__gateway ul.wc-bacs-bank-details { padding: 0; list-style: none; }

/* thank-you: bank transfer data with copy buttons */
.mb-bank { background: #fff; box-shadow: 0 18px 40px rgba(76, 49, 31, .07); }
.mb-bank__lead { margin: -6px 0 18px; color: #6b5444; font-size: 15px; line-height: 1.55; }
.mb-bank__rows { margin: 0; border-top: 1px solid var(--mb-line); }
.mb-bank__rows > div { display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--mb-line); }
.mb-bank__rows dt { color: #6b5444; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.mb-bank__rows dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0; color: var(--mb-brown); font-size: 17px; font-weight: 700; }
.mb-bank__number { font-variant-numeric: tabular-nums; font-size: 19px; letter-spacing: .6px; word-spacing: 3px; }
.mb-bank__amount { font-family: var(--mb-serif); font-size: 22px; }
.mb-bank__note { margin: 16px 0 0; color: #6b5444; font-size: 14px; line-height: 1.5; }
.mb-bank__note + .mb-bank__note { margin-top: 6px; }
.mb-copy { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 38px; padding: 0 16px; border: 1px solid var(--mb-line); border-radius: 20px; background: var(--mb-cream); color: var(--mb-brown); font-family: var(--mb-sans); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s; }
.mb-copy svg { width: 17px; height: 17px; }
.mb-copy:hover { border-color: var(--mb-brown); background: var(--mb-brown); color: #fff; }
.mb-copy:focus-visible { outline: 2px solid var(--mb-brown); outline-offset: 2px; }
.mb-copy.is-copied { border-color: #4f8a3a; background: #4f8a3a; color: #fff; }

/* "Kwota" (subtotal) repeats "Łącznie" when nothing is added or taken off: one line is enough */
.mb-shop .cart_totals table:not(:has(.cart-discount, .fee, .woocommerce-shipping-totals, .shipping, .tax-rate, .tax-total)) tr.cart-subtotal,
.mb-shop .woocommerce-checkout-review-order-table:not(:has(tfoot .cart-discount, tfoot .fee, tfoot .woocommerce-shipping-totals, tfoot .shipping, tfoot .tax-rate, tfoot .tax-total)) tfoot tr.cart-subtotal { display: none; }
.mb-shop .cart_totals table:not(:has(.cart-discount, .fee, .woocommerce-shipping-totals, .shipping, .tax-rate, .tax-total)) tr.order-total > * { border-top: 0; padding-top: 6px; }

/* account */
.mb-shop .woocommerce-MyAccount-navigation { float: left; width: 24%; }
.mb-shop .woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 4px; }
.mb-shop .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 8px; }
.mb-shop .woocommerce-MyAccount-navigation .is-active a { background: var(--mb-sand); }
.mb-shop .woocommerce-MyAccount-content { float: right; width: 72%; }

/* account: login, lost password */
.mb-shop .woocommerce > h2 { display: none; }
.mb-shop form.login, .mb-shop form.register, .mb-shop form.lost_reset_password { max-width: 560px; margin: 0; padding: 34px 30px 30px; border: 1px solid var(--mb-line); border-radius: 30px; background: var(--mb-sand); }
.mb-shop form.lost_reset_password > p:first-child { margin: 0 0 18px; color: var(--mb-brown); font-size: 15px; line-height: 1.5; }
.mb-shop form.login .form-row label, .mb-shop form.lost_reset_password .form-row label { color: #6b5444; font-size: 13px; }
.mb-shop form.login .form-row input.input-text, .mb-shop form.lost_reset_password .form-row input.input-text { min-height: 50px; border-radius: 8px; font-weight: 400; }
.mb-shop .password-input { position: relative; display: block; }
.mb-shop .password-input input.input-text { padding-right: 52px; }
.mb-shop .show-password-input { position: absolute; top: 50%; right: 8px; width: 38px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; transform: translateY(-50%); cursor: pointer; }
.mb-shop .show-password-input::before, .mb-shop .show-password-input::after { display: none; }
.mb-shop .show-password-input { -webkit-mask: none; }
.mb-shop .show-password-input { background: var(--mb-muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 21px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 21px no-repeat; }
.mb-shop .show-password-input.display-password { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E"); }
.mb-shop .show-password-input:hover { background: var(--mb-brown); }
.mb-shop .show-password-input:focus-visible { outline: 2px solid var(--mb-brown); outline-offset: 2px; }
.mb-shop form.login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-top: 8px; }
.mb-shop form.login .woocommerce-form-login__rememberme { margin: 0; }
.mb-shop form.login .woocommerce-form-login__submit, .mb-shop form.lost_reset_password .button { width: 100%; min-height: 54px; margin: 0; font-size: 15px; }
.mb-shop form.login .lost_password { margin: 18px 0 0; text-align: center; }
.mb-shop form.login .lost_password a { color: var(--mb-brown); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* shop list and product page (products added later) */
.mb-shop__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 0; padding-bottom: 20px; border-bottom: 1px solid var(--mb-line); }
.mb-shop__bar .woocommerce-result-count, .mb-shop__bar .woocommerce-ordering { float: none; margin: 0; }
.mb-shop__bar .woocommerce-result-count { color: var(--mb-muted); font-size: 15px; }
.mb-shop .woocommerce-ordering select {
    min-height: 46px;
    padding: 0 46px 0 20px;
    border: 1px solid var(--mb-line);
    border-radius: 25px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2351311e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
    color: var(--mb-brown);
    font-family: var(--mb-sans);
    font-size: 15px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.mb-shop .woocommerce-ordering select:hover { border-color: var(--mb-gold); }
.mb-shop .woocommerce-ordering select:focus-visible { outline: 2px solid var(--mb-brown); outline-offset: 1px; }
.mb-shop ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin: 0; padding: 0; }
.mb-shop ul.products::before, .mb-shop ul.products::after { display: none; }
.mb-shop ul.products li.product { display: flex; flex-direction: column; float: none; width: auto; margin: 0; padding: 0 0 26px; border: 1px solid var(--mb-line); border-radius: 30px; background: var(--mb-sand); overflow: hidden; text-align: center; }
.mb-shop ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex: 1 1 auto; flex-direction: column; color: var(--mb-brown); text-decoration: none; }
.mb-shop ul.products li.product img { width: 100%; margin: 0 0 20px; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.mb-shop ul.products li.product a:hover img { transform: scale(1.03); }
.mb-shop ul.products li.product .woocommerce-loop-product__title { margin: 0; padding: 0 20px; color: var(--mb-brown); font-family: var(--mb-serif); font-size: 22px; font-weight: 500; line-height: 1.3; }
.mb-shop ul.products li.product .price { display: block; margin: 8px 0 0; color: var(--mb-brown); font-family: var(--mb-serif); font-size: 18px; font-weight: 700; }
.mb-shop ul.products li.product .price del { color: var(--mb-muted); font-weight: 400; }
.mb-shop ul.products li.product .price ins { text-decoration: none; }
.mb-shop ul.products li.product .onsale { top: 16px; left: 16px; right: auto; min-width: 0; min-height: 0; margin: 0; padding: 6px 14px; border-radius: 20px; background: var(--mb-gold); color: var(--mb-brown); font-size: 12px; font-weight: 700; letter-spacing: 1px; line-height: 1.2; text-transform: uppercase; }
.mb-shop ul.products li.product .button, .mb-shop--catalog .button { display: inline-block; align-self: center; margin-top: 18px; padding: 13px 28px; border: 1px solid var(--mb-gold); border-radius: 25px; background: var(--mb-brown); color: var(--mb-sand); font-family: var(--mb-sans); font-size: 13px; font-weight: 600; letter-spacing: 1px; line-height: 1.3; text-transform: uppercase; transition: background-color .4s, color .4s; }
.mb-shop ul.products li.product .button:hover, .mb-shop--catalog .button:hover { background: var(--mb-gold); color: var(--mb-brown); }
.mb-shop ul.products li.product .added_to_cart { display: block; margin-top: 10px; color: var(--mb-brown); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mb-shop .woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; margin: 40px 0 0; border: 0; }
.mb-shop .woocommerce-pagination ul li { border: 0; }
.mb-shop .woocommerce-pagination ul li a, .mb-shop .woocommerce-pagination ul li span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--mb-line); border-radius: 50%; color: var(--mb-brown); font-size: 15px; }
.mb-shop .woocommerce-pagination ul li span.current, .mb-shop .woocommerce-pagination ul li a:hover { border-color: var(--mb-brown); background: var(--mb-brown); color: var(--mb-sand); }
.mb-shop div.product .product_title { color: var(--mb-brown); font-size: 40px; font-weight: 400; }
.mb-shop div.product p.price { color: var(--mb-brown); font-family: var(--mb-serif); font-size: 26px; }
.mb-shop div.product div.images img { border-radius: 30px; }
.mb-shop div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mb-shop div.product form.cart .quantity .qty { width: 80px; min-height: 50px; border-radius: 25px; text-align: center; }
.mb-shop div.product form.cart .single_add_to_cart_button { min-height: 50px; }

@media (max-width: 1249px) {
    .mb-shop form.checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 40px; }
    .mb-shop #order_review_heading, .mb-ty__title { font-size: 26px; }
    .woocommerce-cart .mb-shop .woocommerce { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 40px; }
    .mb-shop table.cart tr.cart_item, .mb-cart-fixed.woocommerce-cart .mb-shop table.cart tr.cart_item { grid-template-columns: 150px minmax(0, 1fr) auto auto auto 38px; column-gap: 18px; }
    .mb-cart-fixed.woocommerce-cart .mb-shop table.cart tr.cart_item { grid-template-columns: 150px minmax(0, 1fr) auto 38px; }
    .mb-shop table.cart .product-thumbnail img { width: 150px; }
}
@media (max-width: 967px) {
    .mb-shop form.checkout { display: flex; flex-direction: column; }
    .mb-shop #order_review_heading { order: -2; margin-top: 0; }
    .mb-shop #order_review { order: -1; position: static; margin-bottom: 34px; }
    .mb-shop .woocommerce-MyAccount-navigation, .mb-shop .woocommerce-MyAccount-content { float: none; width: 100%; }
    .woocommerce-cart .mb-shop .woocommerce { display: flex; flex-direction: column; align-items: stretch; }
    .woocommerce-cart .mb-shop .woocommerce > .cart-collaterals { position: static; margin-top: 40px; }
}
@media (max-width: 514px) {
    .mb-bank__rows > div { grid-template-columns: 1fr; }
    .mb-bank__number { font-size: 17px; letter-spacing: .2px; word-spacing: 1px; }
    .mb-copy { padding: 0 12px; }
    .mb-shop .woocommerce form .form-row-first, .mb-shop .woocommerce form .form-row-last { float: none; width: 100%; }
    .mb-ty__badge { width: 110px; height: 110px; }
    .mb-ty__rows dt, .mb-ty__rows dd { font-size: 15px; }
    .mb-shop #order_review_heading, .mb-shop #order_review, .mb-ty__card { padding-left: 18px; padding-right: 18px; }
    .mb-shop table.shop_table_responsive tr td { text-align: right; }
    .mb-shop table.cart tr.cart_item, .mb-cart-fixed.woocommerce-cart .mb-shop table.cart tr.cart_item {
        grid-template-columns: minmax(0, 1fr) auto 38px;
        grid-template-areas: "thumb thumb remove" "name name name" "price qty sub";
        align-items: center;
        row-gap: 14px;
        padding: 20px 0;
    }
    .mb-cart-fixed.woocommerce-cart .mb-shop table.cart tr.cart_item { grid-template-areas: "thumb thumb remove" "name name name" "sub sub sub"; }
    .mb-shop table.cart td.product-remove { align-self: start; }
    .mb-shop table.cart .product-thumbnail img { width: 170px; }
    .mb-shop table.cart td.product-name { font-size: 19px; }
    .mb-shop table.cart td.product-subtotal { text-align: right; }
    .mb-cart-fixed .mb-shop table.cart td.product-subtotal { text-align: left; }
    .mb-shop .cart-collaterals .cart_totals { padding: 24px 18px 20px; border-radius: 24px; }
    .mb-shop .cart-collaterals .cart_totals h2 { font-size: 26px; }
    .mb-cart-empty { padding: 44px 18px 46px; border-radius: 24px; }
    .mb-cart-empty__title { font-size: 28px; }
    .mb-cart-empty__text { font-size: 15px; }
    .mb-cart-empty__actions { flex-direction: column; width: 100%; }
    .mb-cart-empty__actions .mb-btn { width: 100%; }
}
