/* ==========================================================================
   MyFishing — WooCommerce: catalog, single product, cart, checkout, account
   ========================================================================== */

/* Notices ---------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	border: 0 !important; border-radius: 16px; background: #fff !important; color: var(--mf-ink) !important;
	padding: 16px 20px 16px 52px !important; margin: 0 0 20px !important; box-shadow: inset 0 0 0 1px var(--mf-line);
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; position: relative; list-style: none; font-size: 15px;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 50% !important; left: 20px !important; transform: translateY(-50%); }
.woocommerce-message { box-shadow: inset 4px 0 0 var(--mf-ok), inset 0 0 0 1px var(--mf-line); }
.woocommerce-message::before { color: var(--mf-ok) !important; }
.woocommerce-info { box-shadow: inset 4px 0 0 var(--mf-accent), inset 0 0 0 1px var(--mf-line); }
.woocommerce-info::before { color: var(--mf-accent-ink) !important; }
.woocommerce-error { box-shadow: inset 4px 0 0 #C0392B, inset 0 0 0 1px var(--mf-line); flex-direction: column; align-items: flex-start; }
.woocommerce-error::before { color: #C0392B !important; top: 24px !important; transform: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; float: none !important; }

/* Forms (shared) --------------------------------------------------------- */
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 600; margin-bottom: 6px; display: block; line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--mf-accent-ink); text-decoration: none; }
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.mf-filters input[type="number"],
.mf-acc-card .input-text,
.woocommerce-cart-form .input-text,
.select2-container .select2-selection--single {
	width: 100%; min-height: 50px; border: 1px solid var(--mf-line-2); border-radius: 12px; background: #fff; padding: 0 14px; font-size: 15px; color: var(--mf-ink); box-shadow: none;
}
.woocommerce form .form-row textarea { padding: 12px 14px; min-height: 96px; }
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus, .woocommerce form .form-row textarea:focus { outline: 2px solid var(--mf-accent); outline-offset: 1px; border-color: var(--mf-ink); }
.select2-container .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
.select2-dropdown { border-color: var(--mf-line-2); border-radius: 12px; overflow: hidden; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); }
.woocommerce form .form-row .description { font-size: 12px; color: var(--mf-muted); margin-top: 6px; display: block !important; position: static !important; background: none !important; padding: 0 !important; }
.woocommerce form .form-row .description::before { display: none; }
.woocommerce form .form-row.woocommerce-invalid .input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: #C0392B; }
.woocommerce form .form-row input[type="checkbox"], .woocommerce form .form-row input[type="radio"] { width: 20px; height: 20px; accent-color: var(--mf-ink); vertical-align: middle; margin: 0 8px 0 0; }
.woocommerce form .form-row label.checkbox, .woocommerce form .form-row .woocommerce-form__label-for-checkbox { display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.mf-hidden-field { display: none !important; }

.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt {
	background: var(--mf-ink); color: #fff; border-radius: 14px; min-height: 48px; padding: 0 20px; font-weight: 700; font-size: 15px;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; line-height: 1.2;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--mf-ink); color: #fff; filter: brightness(1.2); }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce .single_add_to_cart_button, .woocommerce #place_order, .woocommerce a.checkout-button {
	background: var(--mf-accent) !important; color: var(--mf-ink) !important; font-weight: 800;
}
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { filter: brightness(.95); }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .55 !important; }

/* Breadcrumbs ------------------------------------------------------------ */
.mf-crumbs { font-size: 14px; color: var(--mf-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.mf-crumbs a { color: var(--mf-muted); }
.mf-crumbs__sep { opacity: .6; }

/* Catalog ---------------------------------------------------------------- */
.mf-shop { padding-top: 24px; padding-bottom: 72px; }
.mf-shop__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 20px; }
.mf-shop__count { margin: 0; color: var(--mf-muted); font-size: 15px; }
.mf-shop__filter-toggle { display: none; }
.mf-shop__desc { color: var(--mf-ink-2); margin: -4px 0 20px; max-width: 900px; }
.mf-shop__layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.mf-shop__aside { flex: 1 1 260px; max-width: 300px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--mf-header-h) + 16px); }
.mf-shop__results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.mf-shop__layout--full .mf-shop__results { flex-basis: 100%; }
.mf-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--mf-line); border-radius: 16px; padding: 10px 10px 10px 16px; }
.mf-toolbar:not(:has(.mf-chips)) { justify-content: flex-end; }
.mf-toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce .woocommerce-ordering { margin: 0 0 0 auto; float: none; }
.woocommerce .woocommerce-ordering select { min-height: 44px; border: 1px solid var(--mf-line-2); border-radius: 10px; padding: 0 12px; background: #fff; font-size: 14px; }

.mf-filters { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.mf-filters__head { display: flex; justify-content: space-between; align-items: center; }
.mf-filters__head b { font-size: 18px; font-weight: 800; }
.mf-filters__head a { font-size: 14px; color: var(--mf-accent-ink); font-weight: 600; }
.mf-filter-box { border: 0; padding: 0; margin: 0; min-width: 0; }
.mf-shop__aside > .mf-filter-box { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 20px; }
.mf-filter-box__title { font-weight: 700; font-size: 15px; margin: 0 0 10px; padding: 0; }
.mf-filters__price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mf-filters__price label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--mf-muted); }
.mf-filters__price input { min-height: 44px; }
.mf-filters__list--scroll { max-height: 280px; overflow-y: auto; padding-right: 6px; }
.mf-check { display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; font-size: 15px; }
.mf-check input { width: 20px; height: 20px; accent-color: var(--mf-ink); margin: 0; flex-shrink: 0; }

/* Single product --------------------------------------------------------- */
.mf-shop--single { padding-bottom: 72px; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 40px; align-items: start; }
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images, .woocommerce div.product .woocommerce-product-gallery { grid-column: 1; width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.summary { grid-column: 2; width: 100% !important; float: none !important; margin: 0 !important; display: flex; flex-direction: column; gap: 18px; }
.woocommerce div.product div.summary > * { margin: 0; }
.woocommerce div.product .onsale { display: none; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: #fff; border: 1px solid var(--mf-line); border-radius: 24px; overflow: hidden; }
.woocommerce div.product div.images img { border-radius: 0; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 12px; border: 1px solid var(--mf-line); background: #fff; opacity: .7; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active, .woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; border-color: var(--mf-ink); }
.woocommerce div.product .woocommerce-product-gallery__trigger { top: 16px !important; right: 16px !important; background: #fff; border: 1px solid var(--mf-line); width: 44px !important; height: 44px !important; border-radius: 12px; }
.woocommerce div.product .product_title { font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.15; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--mf-num); font-weight: 700; font-size: 36px; color: var(--mf-ink); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.woocommerce div.product p.price del { font-size: 20px; color: var(--mf-muted); opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 16px; line-height: 1.7; color: var(--mf-ink-2); }
.woocommerce div.product .woocommerce-product-details__short-description p { margin: 0 0 .6em; }
.mf-stockline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--mf-muted); margin-top: -6px !important; }
.mf-stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.mf-stock--in { color: var(--mf-ok); } .mf-stock--in .mf-dot { background: #1E8A55; }
.mf-stock--soon, .mf-stock--out { color: var(--mf-warn); } .mf-stock--soon .mf-dot, .mf-stock--out .mf-dot { background: var(--mf-accent-ink); }
.woocommerce div.product .stock { font-size: 14px; font-weight: 600; color: var(--mf-ok); }
.woocommerce div.product .stock.out-of-stock { color: var(--mf-warn); }

.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 56px; font-size: 16px; float: none; }
.woocommerce div.product form.cart .mf-buy-now { flex-basis: 100%; }
.woocommerce div.product form.cart.variations_form { flex-direction: column; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.woocommerce div.product form.cart table.variations { margin: 0 0 8px; border: 0; }
.woocommerce div.product form.cart table.variations th, .woocommerce div.product form.cart table.variations td { display: block; padding: 0 0 8px; text-align: left; border: 0; }
.woocommerce div.product form.cart table.variations tr { display: block; margin-bottom: 8px; }
.woocommerce div.product form.cart table.variations label { font-weight: 700; font-size: 15px; }
.woocommerce div.product form.cart table.variations select { min-height: 50px; min-width: 220px; max-width: 100%; border: 1.5px solid var(--mf-line-2); border-radius: 12px; padding: 0 14px; background: #fff; font-size: 15px; }
.woocommerce div.product form.cart .reset_variations { font-size: 13px; margin-left: 10px; }
.woocommerce div.product .woocommerce-variation-price .price { font-size: 28px; }

.quantity { display: inline-flex !important; align-items: center; height: 56px; border: 1.5px solid var(--mf-line-2); border-radius: 14px; background: #fff; margin: 0 !important; float: none !important; }
.quantity .qty { width: 44px !important; height: 100%; border: 0 !important; text-align: center; font-family: var(--mf-num); font-weight: 700; font-size: 17px; background: transparent; -moz-appearance: textfield; padding: 0 !important; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mf-qty-btn { width: 46px; height: 100%; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--mf-ink); border-radius: 12px; }
.mf-qty-btn:hover { background: var(--mf-bg); }
.mf-cart-item .quantity { height: 48px; border-radius: 12px; }
.mf-cart-item .mf-qty-btn { width: 42px; }

.mf-sizeguide-link { align-self: flex-start; border: 0; background: none; padding: 10px 0; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--mf-ink); }
.mf-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.mf-trust__item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--mf-line); border-radius: 16px; padding: 14px 16px; font-size: 14px; text-decoration: none; color: var(--mf-ink); }
.mf-trust__item svg { color: var(--mf-accent-ink); flex-shrink: 0; }
a.mf-trust__item:hover { border-color: var(--mf-ink); color: var(--mf-ink); }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--mf-muted); display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--mf-line); padding-top: 14px; }
.woocommerce div.product .product_meta a { color: var(--mf-muted); }

.mf-soon { background: var(--mf-dark); color: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.mf-soon__head { display: flex; align-items: center; gap: 14px; }
.mf-soon__head b { display: block; font-size: 18px; font-weight: 800; }
.mf-soon__head span { color: var(--mf-light); font-size: 14px; }
.mf-soon__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mf-accent); color: var(--mf-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mf-soon__form label { font-size: 14px; color: var(--mf-light); display: block; margin-bottom: 8px; }
.mf-soon__row { display: flex; gap: 8px; }
.mf-soon__row input { flex: 1; min-width: 0; min-height: 52px; border: 1px solid var(--mf-dark-line); border-radius: 12px; padding: 0 14px; background: #16271F; color: #fff; }
.mf-soon__row input::placeholder { color: #9FB0A8; }
.mf-soon__msg { margin: 10px 0 0; font-weight: 600; }
.mf-soon__call { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.mf-soon__call:hover { color: var(--mf-accent); }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { background: #fff; border: 1px solid var(--mf-line); border-radius: 24px; overflow: hidden; margin-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 4px; margin: 0 !important; padding: 0 16px !important; border-bottom: 1px solid var(--mf-line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: flex; align-items: center; height: 60px; padding: 0 18px !important; font-weight: 600 !important; font-size: 16px; color: var(--mf-muted) !important; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mf-ink) !important; font-weight: 700 !important; box-shadow: inset 0 -3px 0 var(--mf-accent); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 28px 32px; margin: 0 !important; font-size: 16px; line-height: 1.8; color: var(--mf-ink-2); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce table.shop_attributes { border: 0; max-width: 900px; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--mf-soft); padding: 14px 0; background: none !important; font-style: normal; }
.woocommerce table.shop_attributes th { color: var(--mf-muted); font-weight: 500; width: 40%; }
.woocommerce table.shop_attributes td p { padding: 0; margin: 0; font-weight: 600; color: var(--mf-ink); }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2, .cross-sells > h2 { font-size: 28px; font-weight: 800; margin: 32px 0 20px; }
#reviews #comments ol.commentlist li .comment-text { border-radius: 14px; border-color: var(--mf-line); }

/* Steps ------------------------------------------------------------------ */
.mf-steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-size: 14px; }
.mf-steps__item { display: flex; align-items: center; gap: 8px; color: var(--mf-muted); }
.mf-steps__item + .mf-steps__item::before { content: ""; width: 32px; height: 2px; background: var(--mf-line-2); margin-right: 6px; }
.mf-steps__item.is-done + .mf-steps__item::before, .mf-steps__item.is-current::before { background: var(--mf-ink); }
.mf-steps__item a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--mf-ink); }
.mf-steps__num { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--mf-light); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.is-done .mf-steps__num { background: var(--mf-ink); border-color: var(--mf-ink); color: #fff; }
.is-current { color: var(--mf-ink); font-weight: 700; }
.is-current .mf-steps__num { background: var(--mf-accent); border-color: var(--mf-accent); color: var(--mf-ink); font-weight: 800; }

/* Cart ------------------------------------------------------------------- */
.woocommerce-cart .mf-page, .woocommerce-checkout .mf-page, .woocommerce-account .mf-page { padding-top: 32px; }
.mf-cart { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.mf-cart__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mf-cart__aside { flex: 1 1 340px; max-width: 100%; position: sticky; top: calc(var(--mf-header-h) + 16px); }
.mf-cart__title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.mf-cart__items { display: flex; flex-direction: column; gap: 12px; border: 0 !important; margin: 0 !important; }
.mf-cart-item { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 16px; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto auto auto; gap: 18px; align-items: center; }
.mf-cart-item__img { width: 112px; height: 112px; border-radius: 14px; background: var(--mf-soft); overflow: hidden; }
.mf-cart-item__img img { width: 100% !important; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mf-cart-item__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mf-cart-item__name { font-weight: 700; font-size: 16px; line-height: 1.35; text-decoration: none; }
.mf-cart-item__info dl.variation { margin: 0; font-size: 13px; color: var(--mf-muted); display: flex; flex-wrap: wrap; gap: 0 6px; }
.mf-cart-item__info dl.variation dt, .mf-cart-item__info dl.variation dd { margin: 0; float: none; }
.mf-cart-item__info dl.variation dd p { margin: 0; }
.mf-cart-item__unit { font-size: 12px; color: var(--mf-muted); }
.mf-cart-item__unit .amount { font-family: var(--mf-num); }
.mf-cart-item__total { font-family: var(--mf-num); font-weight: 700; font-size: 19px; min-width: 110px; text-align: right; }
.mf-cart-item .remove { color: var(--mf-ink) !important; font-size: 0 !important; }
.mf-cart-item .remove:hover { background: #FBE9E7 !important; color: #C0392B !important; }
.mf-cart__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 4px 0 0; }
.mf-coupon { display: flex; gap: 8px; flex: 1 1 320px; max-width: 440px; }
.mf-coupon .input-text { min-height: 48px !important; }
.mf-cart__continue { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; text-decoration: none; }
.js-mf-autocart .mf-cart__update { display: none; }
.cross-sells .mf-product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.cart_totals { background: #fff; border: 1px solid var(--mf-line); border-radius: 24px; padding: 24px; width: 100% !important; float: none !important; }
.cart_totals > h2 { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.cart_totals table.shop_table, .woocommerce-checkout-review-order-table { border: 0 !important; margin: 0 0 16px !important; border-collapse: collapse; width: 100%; }
.cart_totals table th, .cart_totals table td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { border: 0 !important; border-top: 1px solid var(--mf-soft) !important; padding: 12px 0 !important; background: none !important; font-size: 15px; vertical-align: top; }
.cart_totals table th, .woocommerce-checkout-review-order-table tfoot th { font-weight: 500; color: var(--mf-muted); }
.cart_totals table td, .woocommerce-checkout-review-order-table td { text-align: right; }
.cart_totals .order-total th, .woocommerce-checkout-review-order-table .order-total th { color: var(--mf-ink); font-weight: 800; font-size: 17px; }
.cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total td { font-family: var(--mf-num); font-size: 26px; font-weight: 700; }
.cart_totals .amount, .woocommerce-checkout-review-order-table .amount { font-family: var(--mf-num); }
#shipping_method { list-style: none; margin: 0; padding: 0; text-align: left; }
#shipping_method li { display: flex; gap: 8px; align-items: center; margin: 0 0 8px !important; justify-content: flex-end; }
#shipping_method input { accent-color: var(--mf-ink); width: 18px; height: 18px; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 13px; color: var(--mf-muted); }
.wc-proceed-to-checkout { padding: 0 !important; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 58px !important; font-size: 17px !important; border-radius: 14px !important; margin: 0 !important; }
.cart-empty.woocommerce-info { margin-top: 24px !important; }
.return-to-shop .button { background: var(--mf-accent) !important; color: var(--mf-ink) !important; }

/* Checkout --------------------------------------------------------------- */
.mf-checkout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.mf-checkout__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mf-checkout__aside { flex: 1 1 360px; max-width: 100%; background: #fff; border: 1px solid var(--mf-line); border-radius: 24px; padding: 24px; position: sticky; top: calc(var(--mf-header-h) + 16px); }
#customer_details { display: flex; flex-direction: column; gap: 16px; width: 100%; }
#customer_details::before, #customer_details::after { display: none; }
.mf-co-section { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 24px; }
.mf-co-section__title { margin: 0 0 18px; font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.mf-co-section__title span { width: 28px; height: 28px; border-radius: 8px; background: var(--mf-ink); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.mf-co-section .woocommerce-billing-fields > h3, .mf-co-section .woocommerce-additional-fields > h3 { display: none; }
.mf-co-section .woocommerce-billing-fields__field-wrapper, .mf-co-section .woocommerce-shipping-fields__field-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; }
.mf-co-section .form-row-wide { width: 100%; }
.mf-co-section #ship-to-different-address { font-size: 15px; margin: 0 0 12px; }
.mf-company-toggle { margin-top: 8px !important; padding: 14px 16px !important; background: var(--mf-bg); border-radius: 12px; }
.mf-company-field[hidden], .js-mf-company-off .mf-company-field { display: none !important; }
.mf-co-aside__title { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.mf-co-aside__secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--mf-muted); margin: 12px 0 0; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table .cart_item td { border-top: 0 !important; padding: 8px 0 !important; }
.woocommerce-checkout-review-order-table .product-name { text-align: left !important; font-size: 14px; font-weight: 600; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--mf-muted); font-weight: 600; }
.woocommerce-checkout-review-order-table .product-total { white-space: nowrap; font-weight: 700; }
#payment { background: none !important; border-radius: 0 !important; }
#payment ul.payment_methods { padding: 0 !important; border: 0 !important; display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px !important; }
#payment ul.payment_methods li { list-style: none; border: 1.5px solid var(--mf-line-2); border-radius: 16px; padding: 14px 16px !important; background: #fff; }
#payment ul.payment_methods li:has(input:checked) { border: 2px solid var(--mf-ink); }
#payment ul.payment_methods li input { width: 20px; height: 20px; accent-color: var(--mf-ink); vertical-align: middle; margin: 0 10px 0 0 !important; }
#payment ul.payment_methods li label { font-weight: 700; font-size: 15px; cursor: pointer; display: inline; }
#payment ul.payment_methods li img { max-height: 24px; display: inline-block; vertical-align: middle; margin-left: 6px; }
#payment div.payment_box { background: var(--mf-bg) !important; border-radius: 12px !important; margin: 12px 0 0 !important; padding: 12px 14px !important; font-size: 14px; color: var(--mf-ink-2) !important; }
#payment div.payment_box::before { display: none !important; }
#payment .place-order { padding: 0 !important; margin: 0 !important; }
#payment .woocommerce-terms-and-conditions-wrapper { font-size: 14px; margin-bottom: 14px; }
#payment #place_order { width: 100%; min-height: 60px; font-size: 17px; border-radius: 14px; float: none; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 12px !important; }
form.checkout_coupon, form.woocommerce-form-login { background: #fff; border: 1px solid var(--mf-line) !important; border-radius: 16px !important; padding: 20px !important; margin: 0 0 20px !important; }
.blockUI.blockOverlay { border-radius: 16px; }

/* Thank you */
.woocommerce-order { display: flex; flex-direction: column; gap: 20px; }
.woocommerce-thankyou-order-received { font-size: 22px; font-weight: 800; background: #fff; border: 1px solid var(--mf-line); border-radius: 20px; padding: 24px 24px 24px 76px; position: relative; margin: 0; }
.woocommerce-thankyou-order-received::before { content: "✓"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--mf-accent); color: var(--mf-ink); display: flex; align-items: center; justify-content: center; font-size: 20px; }
ul.woocommerce-order-overview { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 !important; padding: 0 !important; }
ul.woocommerce-order-overview li { list-style: none; background: #fff; border: 1px solid var(--mf-line) !important; border-radius: 16px; padding: 16px !important; margin: 0 !important; font-size: 13px !important; color: var(--mf-muted); text-transform: none !important; }
ul.woocommerce-order-overview li strong { display: block; color: var(--mf-ink); font-size: 16px !important; margin-top: 4px; }
.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-bacs-bank-details { background: #fff; border: 1px solid var(--mf-line); border-radius: 20px; padding: 24px; }
.woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading { font-size: 20px; font-weight: 800; }
.woocommerce table.shop_table { border-radius: 12px; border-color: var(--mf-line); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--mf-soft); padding: 12px; }
.woocommerce-customer-details address { border: 0 !important; padding: 0 !important; font-style: normal; line-height: 1.7; }
.mf-thanks-invoice { margin: 0; }

/* Account ---------------------------------------------------------------- */
.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-account .woocommerce-MyAccount-navigation { flex: 1 1 260px; max-width: 300px; width: auto !important; float: none !important; }
.woocommerce-account .woocommerce-MyAccount-content { flex: 999 1 600px; min-width: 0; width: auto !important; float: none !important; }
.mf-acc-nav { background: #fff; border: 1px solid var(--mf-line); border-radius: 24px; padding: 16px 12px; position: sticky; top: calc(var(--mf-header-h) + 16px); }
.mf-acc-nav__user { display: flex; align-items: center; gap: 12px; padding: 4px 10px 16px; border-bottom: 1px solid var(--mf-soft); margin-bottom: 8px; min-width: 0; }
.mf-acc-nav__user > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mf-acc-nav__user b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-acc-nav__user small { font-size: 13px; color: var(--mf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--mf-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; flex-shrink: 0; text-transform: uppercase; }
.mf-acc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mf-acc-nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--mf-ink); }
.mf-acc-nav a:hover { background: var(--mf-bg); color: var(--mf-ink); }
.mf-acc-nav .is-active a { background: var(--mf-ink); color: #fff; font-weight: 700; }
.mf-acc-nav__badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--mf-accent-soft); color: var(--mf-warn); font-style: normal; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mf-acc-nav .is-active .mf-acc-nav__badge { background: var(--mf-accent); color: var(--mf-ink); }
.mf-acc-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--mf-soft); }
.mf-acc-nav .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--mf-warn); }
.mf-acc-title, .woocommerce-MyAccount-content > h2, .woocommerce-MyAccount-content > h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 0 0 16px; }
.woocommerce-MyAccount-content { display: flex; flex-direction: column; gap: 16px; }
.woocommerce-MyAccount-content > p { margin: 0; }
.mf-acc-card { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.mf-acc-card--flush { padding: 0; overflow-x: auto; }
.mf-acc-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.mf-acc-card__head b { display: block; font-size: 17px; }
.mf-acc-card .mf-btn { align-self: flex-start; }
.mf-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }
.mf-form-grid[hidden] { display: none; }
.mf-acc-card .form-row label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.mf-acc-card .form-row { margin: 0 0 14px; }
.mf-seg--sm .mf-seg__btn { min-height: 38px; }

.mf-dash { display: flex; flex-direction: column; gap: 16px; }
.mf-dash__active { background: var(--mf-dark); color: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.mf-dash__active-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.mf-dash__active-head small { display: block; font-size: 13px; color: var(--mf-light); }
.mf-dash__active-head b { font-size: 22px; font-weight: 800; }
.mf-progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font-size: 13px; color: var(--mf-light); }
.mf-progress li { display: flex; flex-direction: column; gap: 8px; }
.mf-progress li span { height: 6px; border-radius: 3px; background: var(--mf-dark-line); }
.mf-progress li.is-done { color: #fff; font-weight: 600; }
.mf-progress li.is-done span { background: var(--mf-accent); }
.mf-dash__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.mf-stat { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; color: var(--mf-ink); }
.mf-stat:hover { border-color: var(--mf-ink); color: var(--mf-ink); }
.mf-stat small { font-size: 13px; color: var(--mf-muted); }
.mf-stat b { font-family: var(--mf-num); font-size: 30px; font-weight: 700; line-height: 1.1; }
.mf-stat span { font-size: 14px; font-weight: 600; }
.mf-dash__cta { background: var(--mf-accent-soft); border-radius: var(--mf-radius); padding: 20px 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.mf-dash__cta > div { flex: 1 1 260px; }
.mf-dash__cta b { display: block; font-weight: 800; }
.mf-dash__cta span { font-size: 14px; color: var(--mf-ink-2); }
.mf-dash__cta-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--mf-accent-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.woocommerce-account table.shop_table, .woocommerce-orders-table, .mf-table { background: #fff; border: 1px solid var(--mf-line) !important; border-radius: var(--mf-radius) !important; overflow: hidden; border-collapse: separate !important; border-spacing: 0; width: 100%; }
.woocommerce-orders-table th { font-size: 13px; color: var(--mf-muted); font-weight: 600; padding: 16px !important; }
.woocommerce-orders-table td { padding: 16px !important; border-top: 1px solid var(--mf-soft) !important; vertical-align: middle; }
.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a { font-family: var(--mf-num); font-weight: 700; }
.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { text-align: right; white-space: nowrap; }
.woocommerce-orders-table .button { min-height: 40px !important; padding: 0 14px !important; font-size: 13px !important; border-radius: 10px !important; margin: 2px 0 2px 6px; }
.woocommerce-orders-table .button.mf_invoice { background: #fff !important; color: var(--mf-ink) !important; box-shadow: inset 0 0 0 1px var(--mf-line-2); }
.mf-table td { border-top: 1px solid var(--mf-soft); padding: 14px 12px; vertical-align: middle; }
.mf-table th:first-child, .mf-table td:first-child { padding-left: 20px; }
.mf-table th:last-child, .mf-table td:last-child { padding-right: 20px; }
.mf-table .mf-btn { margin-left: 6px; }
.mf-status { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.mf-status--ok { background: var(--mf-ok-soft); color: var(--mf-ok); }
.mf-status--progress, .mf-status--wait { background: var(--mf-accent-soft); color: var(--mf-warn); }
.mf-status--muted { background: var(--mf-soft); color: var(--mf-muted); }
.woocommerce-Addresses { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.woocommerce-Addresses::before, .woocommerce-Addresses::after { display: none !important; }
.woocommerce-Address { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 20px; width: auto !important; float: none !important; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { font-size: 17px; margin: 0; }
.woocommerce-Address address { font-style: normal; line-height: 1.7; color: var(--mf-ink-2); }
.woocommerce-EditAccountForm, .woocommerce-address-fields { background: #fff; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 24px; }
.woocommerce-EditAccountForm fieldset { border: 1px solid var(--mf-line); border-radius: 16px; padding: 16px 18px 4px; margin: 8px 0 18px; }
.woocommerce-EditAccountForm legend { font-weight: 800; padding: 0 6px; }

/* Login / register */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.u-columns.col2-set { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.u-columns.col2-set::before, .u-columns.col2-set::after { display: none !important; }
.u-columns .u-column1, .u-columns .u-column2 { width: auto !important; float: none !important; background: #fff; border: 1px solid var(--mf-line); border-radius: 24px; padding: 28px; }
.u-columns h2 { font-size: 24px; font-weight: 800; }
.woocommerce form.login, .woocommerce form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.woocommerce form.login .button, .woocommerce form.register .button { width: 100%; background: var(--mf-accent); color: var(--mf-ink); margin-top: 8px; }
.woocommerce-form-login__rememberme { margin: 8px 0 !important; }
.woocommerce-LostPassword { margin: 12px 0 0; font-size: 14px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
	.mf-shop__filter-toggle { display: inline-flex; }
	.mf-shop__aside { display: none; max-width: none; flex-basis: 100%; position: static; }
	.mf-shop__aside.is-open { display: flex; }
	.mf-toolbar { padding: 8px; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 20px; }
	.woocommerce div.product div.summary, .woocommerce div.product div.images { grid-column: 1; }
	.woocommerce div.product .woocommerce-tabs .panel { padding: 20px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { height: 52px; font-size: 15px; }
	.mf-cart-item { grid-template-columns: 80px minmax(0, 1fr) 44px; grid-template-areas: "img info rm" "img qty total"; gap: 10px 14px; padding: 12px; }
	.mf-cart-item__img { grid-area: img; width: 80px; height: 80px; }
	.mf-cart-item__info { grid-area: info; }
	.mf-cart-item__remove { grid-area: rm; }
	.mf-cart-item__qty { grid-area: qty; }
	.mf-cart-item__total { grid-area: total; min-width: 0; font-size: 17px; align-self: center; }
	.mf-cart__aside, .mf-checkout__aside, .mf-acc-nav { position: static; }
	.mf-co-section, .mf-checkout__aside, .cart_totals { padding: 18px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
	.woocommerce-account .woocommerce-MyAccount-navigation { max-width: none; flex-basis: 100%; }
	.mf-acc-nav { padding: 10px; }
	.mf-acc-nav__user { display: none; }
	.mf-acc-nav ul { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
	.mf-acc-nav li { flex-shrink: 0; }
	.mf-acc-nav a { min-height: 44px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
	.mf-acc-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
	.mf-progress { font-size: 11px; }
	.woocommerce-orders-table thead { display: none; }
	.woocommerce-orders-table tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--mf-soft); padding: 8px 0; }
	.woocommerce-orders-table td { border: 0 !important; padding: 6px 16px !important; text-align: left !important; }
	.woocommerce-orders-table td::before { content: attr(data-title); display: block; font-size: 12px; color: var(--mf-muted); }
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { grid-column: 1 / -1; }
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before { display: none; }
}

@media (max-width: 600px) {
	.mf-soon__row, .mf-coupon { flex-direction: column; }
	.mf-coupon { max-width: none; }
	.woocommerce div.product p.price { font-size: 30px; }
	.mf-steps__label { display: none; }
	.is-current .mf-steps__label { display: inline; }
}

/* v1.1.0 ----------------------------------------------------------------- */

/* Login / register (single card, registration on its own view) */
.mf-auth { flex: 1 1 100%; display: flex; justify-content: center; padding: 8px 0 24px; }
.mf-auth__card { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--mf-line); border-radius: 24px; padding: 32px; box-shadow: 0 18px 40px rgba(14, 26, 22, .06); }
.mf-auth__head { text-align: center; margin-bottom: 22px; }
.mf-auth__icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; background: var(--mf-accent); color: var(--mf-ink); display: flex; align-items: center; justify-content: center; }
.mf-auth__head h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.mf-auth__head p { margin: 0; color: var(--mf-muted); font-size: 14px; }
.mf-auth .form-row { width: 100% !important; float: none !important; margin: 0 0 14px !important; padding: 0 !important; }
.mf-auth .form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.mf-auth .input-text { width: 100%; min-height: 50px; }
.mf-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 2px 0 18px; font-size: 14px; }
.mf-auth__row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin: 0 !important; }
.mf-auth__row input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--mf-ink); }
.mf-auth__lost { font-weight: 600; }
.woocommerce .mf-auth form.login .button, .woocommerce .mf-auth form.register .button { width: 100%; min-height: 54px; margin: 0; border-radius: 14px; font-size: 16px; font-weight: 800; background: var(--mf-accent); color: var(--mf-ink); }
.mf-auth__switch { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--mf-soft); display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; font-size: 14px; color: var(--mf-muted); }
.mf-auth__switch .mf-btn { width: 100%; justify-content: center; }
.mf-auth__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; margin-bottom: 8px; }
.mf-auth__perks { list-style: none; margin: 0 0 20px; padding: 12px 14px; background: var(--mf-bg); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.mf-auth__perks li { display: flex; align-items: center; gap: 8px; }
.mf-auth__hint { font-size: 14px; color: var(--mf-muted); margin: 0 0 14px; }
.mf-auth .woocommerce-privacy-policy-text { font-size: 13px; color: var(--mf-muted); margin-bottom: 14px; }
.mf-auth .woocommerce-privacy-policy-text p { margin: 0; }

/* Cart fixes */
.mf-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.mf-cart__aside { max-width: none; }
.woocommerce .mf-cart-item a.remove, .mf-cart-item a.remove {
	width: 44px !important; height: 44px !important; display: inline-flex !important; align-items: center; justify-content: center;
	border-radius: 12px !important; border: 1px solid var(--mf-line); background: #fff; color: var(--mf-muted) !important; font-size: 0 !important; line-height: 1 !important; text-decoration: none;
}
.woocommerce .mf-cart-item a.remove svg { width: 18px; height: 18px; }
.woocommerce .mf-cart-item a.remove:hover, .mf-cart-item a.remove:hover { background: #FDECEA !important; border-color: #F5C2BC; color: #B42318 !important; }
.mf-cart-item__qty .quantity { margin: 0 !important; }
.cart_totals table th { white-space: nowrap; padding-right: 16px !important; text-align: left; width: 1%; }
.cart_totals table td { white-space: normal; }
.cart_totals .order-total td { white-space: nowrap; }
.cart_totals .mf-cart-ship-note td { font-size: 14px; color: var(--mf-muted); }
.cart_totals .woocommerce-shipping-totals, .cart_totals tr.shipping:not(.mf-cart-ship-note) { display: none; }
.woocommerce-cart .woocommerce-message { display: flex; align-items: center; gap: 10px; }
.woocommerce-cart .woocommerce-message .wc-forward { display: none !important; }
.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }
@media (max-width: 1100px) {
	.mf-cart { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 901px) and (max-width: 1100px) {
	.mf-cart-item { grid-template-columns: 96px minmax(0, 1fr) auto auto 44px; }
	.mf-cart-item__img { width: 96px; height: 96px; }
}
/* Phone cart item: image | name + remove / qty + total */
@media (max-width: 900px) {
	.mf-cart-item { grid-template-columns: 80px auto minmax(0, 1fr) 44px !important; grid-template-areas: "img info info rm" "img qty total total" !important; gap: 10px 12px; padding: 12px; align-items: start; }
	.mf-cart-item__img { grid-area: img; width: 80px; height: 80px; }
	.mf-cart-item__info { grid-area: info; min-width: 0; }
	.mf-cart-item__name { font-size: 15px; }
	.mf-cart-item__remove { grid-area: rm; justify-self: end; }
	.mf-cart-item__qty { grid-area: qty; align-self: center; min-width: 0; }
	.mf-cart-item__qty .quantity { height: 44px; }
	.mf-cart-item__total { grid-area: total; justify-self: end; align-self: center; min-width: 0; font-size: 17px; white-space: nowrap; text-align: right; }
}
@media (max-width: 380px) {
	.mf-cart-item { grid-template-columns: 64px auto minmax(0, 1fr) 40px !important; }
	.mf-cart-item__img { width: 64px; height: 64px; }
	.mf-cart-item__total { font-size: 15px; }
}

/* Checkout: delivery section */
.mf-co-section__lead { margin: -8px 0 14px; color: var(--mf-muted); font-size: 14px; }
.mf-ship-methods { margin: 0 0 18px; }
.mf-ship-methods__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.mf-ship-methods__list li { margin: 0 !important; display: block !important; }
.mf-ship-methods__pkg { font-weight: 700; margin: 8px 0; }
.mf-ship-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 76px; padding: 14px 16px; border: 1.5px solid var(--mf-line-2); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.mf-ship-card:hover { border-color: var(--mf-ink-2, #3b4a43); }
.mf-ship-card input { position: absolute; opacity: 0; pointer-events: none; }
.mf-ship-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mf-bg); display: flex; align-items: center; justify-content: center; color: var(--mf-ink); }
.mf-ship-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mf-ship-card__body b { font-size: 15px; line-height: 1.3; }
.mf-ship-card__body small { font-size: 13px; color: var(--mf-muted); line-height: 1.35; }
.mf-ship-card__price { font-family: var(--mf-num); font-weight: 700; font-size: 16px; white-space: nowrap; }
.mf-ship-card__free { color: #1E7A46; font-weight: 800; font-family: inherit; }
.mf-ship-card.is-checked, .mf-ship-card:has(input:checked) { border: 2px solid var(--mf-ink); padding: 13.5px 15.5px; box-shadow: 0 6px 18px rgba(14, 26, 22, .08); }
.mf-ship-card.is-checked .mf-ship-card__icon, .mf-ship-card:has(input:checked) .mf-ship-card__icon { background: var(--mf-accent); }
.mf-ship-card input:focus-visible + .mf-ship-card__icon { outline: 2px solid var(--mf-ink); outline-offset: 2px; }
.mf-ship-methods__empty { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--mf-bg); font-size: 14px; color: var(--mf-ink-2, #3b4a43); }
.mf-address-fields { border-top: 1px solid var(--mf-soft); padding-top: 16px; margin-bottom: 8px; }
.mf-address-fields__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; margin: 0 0 12px; }
.mf-is-pickup .mf-address-fields { display: none; }
.mf-pickup-info { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--mf-bg); font-size: 14px; line-height: 1.6; }
.mf-pickup-info b { display: block; margin-bottom: 2px; }
.mf-co-section .woocommerce-additional-fields { margin-top: 8px; }
.woocommerce-checkout-review-order-table .mf-review-ship td { white-space: nowrap; }
.mf-review-ship__label { display: block; font-size: 12px; color: var(--mf-muted); font-weight: 500; white-space: normal; font-family: var(--mf-font, inherit); }
.woocommerce-checkout-review-order-table tfoot th { white-space: nowrap; text-align: left; padding-right: 16px !important; }
@media (max-width: 600px) {
	.mf-auth__card { padding: 22px 18px; border-radius: 20px; }
	.mf-ship-card { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 12px 14px; min-height: 68px; }
	.mf-ship-card__icon { width: 40px; height: 40px; }
}

/* Shipping cards: beat WooCommerce / plugin rules for shipping lists and labels. */
.woocommerce .mf-ship-methods ul.mf-ship-methods__list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; }
.woocommerce .mf-ship-methods ul.mf-ship-methods__list > li { display: block !important; margin: 0 !important; padding: 0 !important; text-align: left !important; line-height: 1.4 !important; }
.woocommerce .mf-ship-methods label.mf-ship-card { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) auto !important; align-items: center !important; width: 100%; margin: 0 !important; box-sizing: border-box; font-weight: 400; line-height: 1.35; }
.woocommerce .mf-ship-methods label.mf-ship-card > input[type=radio] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; pointer-events: none; }
.woocommerce .mf-ship-methods .mf-ship-card__body, .woocommerce .mf-ship-methods .mf-ship-card__price, .woocommerce .mf-ship-methods .mf-ship-card__icon { border: 0 !important; padding: 0; background-clip: padding-box; }
.woocommerce .mf-ship-methods .mf-ship-card__icon { display: flex !important; padding: 0 !important; background: var(--mf-bg); border-radius: 12px; }
.woocommerce .mf-ship-methods .mf-ship-card.is-checked .mf-ship-card__icon, .woocommerce .mf-ship-methods .mf-ship-card:has(input:checked) .mf-ship-card__icon { background: var(--mf-accent); }
.woocommerce .mf-ship-methods .mf-ship-card__body { display: flex !important; flex-direction: column; }
.woocommerce .mf-ship-methods .mf-ship-card__price { white-space: nowrap; text-align: right; }
.woocommerce .mf-review-ship__label { white-space: nowrap; }
.woocommerce .mf-ship-methods label.mf-ship-card { border: 1.5px solid var(--mf-line-2) !important; border-radius: 16px !important; background: #fff !important; padding: 14px 16px !important; }
.woocommerce .mf-ship-methods label.mf-ship-card.is-checked, .woocommerce .mf-ship-methods label.mf-ship-card:has(input:checked) { border: 2px solid var(--mf-ink) !important; padding: 13.5px 15.5px !important; }

/* Product gallery: never wider than its column (the slider track is 1000% wide and grid items default to min-width:auto). */
.woocommerce div.product > *, .woocommerce div.product div.images, .woocommerce div.product div.summary { min-width: 0; max-width: 100%; }
.woocommerce div.product div.images { overflow: hidden; }
.woocommerce div.product div.images .flex-viewport { max-width: 100%; border-radius: 24px; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100% !important; height: auto !important; max-width: 100%; display: block; filter: none !important; }

/* v1.2: login card stacking (beats WooCommerce/legacy column rules) */
.mf-auth__card { display: flex !important; flex-direction: column !important; }
.mf-auth__card > *, .mf-auth__card form.login, .mf-auth__card form.register { float: none !important; width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.mf-auth__switch { display: flex !important; flex-direction: column !important; align-items: stretch !important; }
.mf-auth__switch .mf-btn { width: 100% !important; }
.mf-auth { display: flex !important; flex-direction: column; align-items: center; }

/* Consultation phones */
.mf-trust__item--phones { align-items: flex-start; }
.mf-trust__phones { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mf-trust__phones b { font-size: 14px; }
.mf-trust__phones a { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; color: var(--mf-ink); text-decoration: none; font-weight: 700; font-family: var(--mf-num); font-size: 15px; }
.mf-trust__phones a:hover .mf-trust__num { text-decoration: underline; }
.mf-trust__label { font-family: var(--mf-font, inherit); font-weight: 500; color: var(--mf-muted); font-size: 13px; }
.mf-trust:has(.mf-trust__item--phones) { grid-template-columns: 1fr; }

/* Catalog toolbar + filter button */
.mf-toolbar__filter { display: none; }
.mf-sheet__head, .mf-sheet__foot, .mf-sheet__backdrop { display: none; }

/* Load more + short pagination */
.mf-loadmore { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 8px auto 0; width: 100%; max-width: 360px; text-align: center; }
.mf-loadmore__info { margin: 0; font-size: 14px; color: var(--mf-muted); }
.mf-loadmore__bar { width: 100%; height: 4px; border-radius: 4px; background: var(--mf-line); overflow: hidden; }
.mf-loadmore__bar span { display: block; height: 100%; background: var(--mf-ink); border-radius: 4px; }
.mf-loadmore__btn { width: 100%; justify-content: center; min-height: 52px; }
.mf-loadmore__btn.is-loading { opacity: .6; pointer-events: none; }

@media (max-width: 900px) {
	.mf-shop__head { margin-bottom: 12px; align-items: baseline; }
	.mf-shop__head .mf-page__title { font-size: 30px; }
	.mf-shop__head > div { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
	.mf-shop__count { font-size: 14px; }
	.mf-shop__head .mf-shop__filter-toggle { display: none !important; }

	/* Sub-category chips: one scrollable row */
	.mf-shop > .mf-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 0 14px; padding: 2px 0; scroll-snap-type: x proximity; }
	.mf-shop > .mf-chips::-webkit-scrollbar { display: none; }
	.mf-shop > .mf-chips .mf-chip { flex-shrink: 0; min-height: 40px; padding: 0 16px; white-space: nowrap; scroll-snap-align: start; }

	/* Sticky toolbar: [Filters] [Sort] */
	.mf-toolbar { position: sticky; top: var(--mf-header-h, 0px); z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; margin: 0 -8px; border-radius: 16px; box-shadow: 0 6px 18px rgba(14, 26, 22, .06); }
	.mf-toolbar:not(:has(.mf-toolbar__filter)) { grid-template-columns: 1fr; }
	.mf-toolbar > .mf-chips, .mf-toolbar > .woocommerce-notices-wrapper, .mf-toolbar > .woocommerce-result-count { grid-column: 1 / -1; order: 5; }
	.mf-toolbar > .mf-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.mf-toolbar .woocommerce-result-count { display: none; }
	.mf-toolbar__filter { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 1.5px solid var(--mf-ink); border-radius: 12px; background: var(--mf-ink); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
	.mf-toolbar__filter em { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--mf-accent); color: var(--mf-ink); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
	.woocommerce .mf-toolbar .woocommerce-ordering { margin: 0; width: 100%; }
	.woocommerce .mf-toolbar .woocommerce-ordering select { width: 100%; min-height: 46px; border-radius: 12px; font-weight: 600; text-overflow: ellipsis; }

	/* Filters as a bottom sheet */
	.mf-shop__aside, .mf-shop__aside.is-open { display: none; }
	.mf-shop__aside.is-open { display: flex !important; position: fixed !important; left: 0; right: 0; bottom: 0; top: auto; z-index: 400; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--mf-bg); border-radius: 22px 22px 0 0; padding: 0 16px; gap: 14px; box-shadow: 0 -20px 40px rgba(0, 0, 0, .2); animation: mf-sheet-in .22s ease-out; }
	.mf-shop__aside.is-open .mf-sheet__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; background: var(--mf-bg); padding: 14px 0 8px; margin-bottom: -6px; }
	.mf-shop__aside.is-open .mf-sheet__head b { font-size: 20px; font-weight: 800; }
	.mf-shop__aside.is-open .mf-sheet__foot { display: block; position: sticky; bottom: 0; background: var(--mf-bg); padding: 10px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: auto; }
	.mf-shop__aside.is-open .mf-sheet__foot .mf-btn { width: 100%; justify-content: center; }
	.mf-shop__aside.is-open .mf-filters { padding: 16px; }
	.mf-sheet__backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 399; background: rgba(14, 26, 22, .55); }

	/* Pagination: arrows + current only, "load more" does the rest */
	.woocommerce nav.woocommerce-pagination ul { display: flex !important; justify-content: center; gap: 8px; border: 0 !important; }
	.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
	.woocommerce nav.woocommerce-pagination ul li:not(:has(.current)):not(:has(.prev)):not(:has(.next)) { display: none; }
	.woocommerce nav.woocommerce-pagination ul li .page-numbers { min-width: 48px; height: 48px; display: inline-flex !important; align-items: center; justify-content: center; }
}
@keyframes mf-sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* v1.3: mobile catalog sheet ------------------------------------------- */
.mf-catsheet[hidden] { display: none; }
.mf-catsheet { position: fixed; inset: 0; z-index: 450; }
.mf-catsheet__backdrop { position: absolute; inset: 0; background: rgba(14, 26, 22, .55); opacity: 0; transition: opacity .2s; }
.mf-catsheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--mf-bg); border-radius: 22px 22px 0 0; padding: 0 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s ease-out; box-shadow: 0 -20px 40px rgba(0, 0, 0, .2); }
.mf-catsheet.is-open .mf-catsheet__backdrop { opacity: 1; }
.mf-catsheet.is-open .mf-catsheet__panel { transform: none; }
.mf-catsheet__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 14px 0 10px; background: var(--mf-bg); }
.mf-catsheet__head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--mf-line-2); }
.mf-catsheet__head b { font-size: 20px; font-weight: 800; }
.mf-catsheet__quick { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 12px; }
.mf-catsheet__all, .mf-catsheet__sale { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 15px; }
.mf-catsheet__all { background: var(--mf-ink); color: #fff; }
.mf-catsheet__all small { font-weight: 500; opacity: .7; margin-left: 4px; }
.mf-catsheet__sale { background: #fff; border: 1px solid var(--mf-line); color: var(--mf-accent-ink); white-space: nowrap; }
.mf-catsheet__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mf-catsheet__item details, .mf-catsheet__link { background: #fff; border: 1px solid var(--mf-line); border-radius: 16px; }
.mf-catsheet__item summary, .mf-catsheet__link { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px 14px 8px 8px; list-style: none; cursor: pointer; text-decoration: none; color: var(--mf-ink); }
.mf-catsheet__item summary::-webkit-details-marker { display: none; }
.mf-catsheet__img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--mf-soft, #EEF1EE); }
.mf-catsheet__img--ph { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: var(--mf-accent-ink); background: var(--mf-accent-soft); }
.mf-catsheet__name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-weight: 700; font-size: 16px; line-height: 1.3; }
.mf-catsheet__name small { font-weight: 500; font-size: 12px; color: var(--mf-muted); }
.mf-catsheet__chev { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 4px 4px; transition: transform .15s; flex-shrink: 0; }
.mf-catsheet__item details[open] .mf-catsheet__chev { transform: rotate(225deg); margin-bottom: -4px; }
.mf-catsheet__item details[open] { border-color: var(--mf-ink); }
.mf-catsheet__arrow { color: var(--mf-muted); font-size: 18px; }
.mf-catsheet__kids { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 12px 14px; }
.mf-catsheet__kids .mf-chip { min-height: 40px; padding: 0 14px; }

/* Sticky buy bar ----------------------------------------------------- */
.mf-buybar { display: none; }
@media (max-width: 900px) {
	.mf-buybar:not([hidden]) { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 85; padding: 10px 16px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--mf-line); box-shadow: 0 -10px 24px rgba(14, 26, 22, .08); backdrop-filter: blur(8px); animation: mf-sheet-in .18s ease-out; }
	body:not(.mf-has-mobile-nav) .mf-buybar:not([hidden]) { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
	.mf-buybar__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
	.mf-buybar__name { font-size: 13px; color: var(--mf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mf-buybar__price { font-family: var(--mf-num); font-weight: 700; font-size: 18px; white-space: nowrap; }
	.mf-buybar__price del { font-size: 13px; color: var(--mf-muted); font-weight: 500; margin-right: 4px; }
	.mf-buybar__price ins { text-decoration: none; }
	.mf-buybar__btn { flex-shrink: 0; min-height: 48px; padding: 0 18px; gap: 8px; }
	.mf-has-buybar.mf-has-mobile-nav { padding-bottom: 150px; }
	.mf-has-buybar .mf-wa-float, .mf-has-buybar [class*="whatsapp"][class*="float"], .mf-has-buybar .joinchat, .mf-has-buybar .ht-ctc { bottom: 150px !important; }

	/* Product page on phones */
	.woocommerce div.product div.summary { gap: 14px; }
	.woocommerce div.product .product_title { font-size: 24px !important; line-height: 1.2; }
	.woocommerce div.product form.cart:not(.variations_form), .woocommerce div.product .woocommerce-variation-add-to-cart { display: grid !important; grid-template-columns: auto minmax(0, 1fr) 56px; gap: 10px; align-items: stretch; }
	.woocommerce div.product form.cart .quantity { height: 56px; }
	.woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; min-width: 0; padding: 0 12px; }
	.woocommerce div.product form.cart .mf-wish { width: 56px; height: 56px; margin: 0; }
	.woocommerce div.product form.cart .mf-buy-now { grid-column: 1 / -1; min-height: 52px; }
	.woocommerce div.product form.cart:not(.variations_form) > :not(.quantity):not(.single_add_to_cart_button):not(.mf-wish):not(.mf-buy-now):not(input[type=hidden]) { grid-column: 1 / -1; }
	.woocommerce div.product div.summary a[href*="wa.me"], .woocommerce div.product div.summary a[href*="whatsapp"] { width: 100%; justify-content: center; box-sizing: border-box; }
	.woocommerce div.product .product_meta .sku_wrapper { display: none; }
	.woocommerce div.product .product_meta { font-size: 13px; }
	.mf-trust { gap: 8px; }
	.mf-trust__item { padding: 12px 14px; font-size: 13px; }
}
@media (max-width: 900px) {
	.woocommerce div.product form.cart .quantity .mf-qty-btn { width: 34px; }
	.woocommerce div.product form.cart .quantity .qty { width: 34px !important; }
	.woocommerce div.product form.cart .single_add_to_cart_button { font-size: 14px; line-height: 1.15; white-space: normal; text-align: center; }
	.mf-catsheet__all span { white-space: nowrap; font-size: 14px; }
}
/* Catalog sheet: never scroll sideways */
.mf-catsheet__panel { overflow-x: hidden; width: 100%; box-sizing: border-box; touch-action: pan-y; }
.mf-catsheet__quick { grid-template-columns: minmax(0, 1fr); }
.mf-catsheet__all { min-width: 0; justify-content: center; }
.mf-catsheet__all span { overflow: hidden; text-overflow: ellipsis; }
.mf-catsheet__list, .mf-catsheet__item, .mf-catsheet__item details, .mf-catsheet__link { min-width: 0; max-width: 100%; box-sizing: border-box; }
.mf-catsheet__name { overflow: hidden; }
.mf-catsheet__kids { min-width: 0; }
