/* MAX FOAM storefront — navy + yellow on white, refined. Mobile-first, RTL-native. */
body.mft {
	--mft-navy: #0f2350;
	--mft-navy-2: #0a1a3d;
	--mft-navy-soft: #e9edf6;
	--mft-brand: #0b1c48; /* deep navy, close to the logo navy but darker */
	--mft-brand-yellow: #f2eb80; /* the logo's FOAM band */
	--mft-yellow: #f2d649;
	--mft-yellow-soft: #fdf7d9;
	--mft-ink: #121a2e;
	--mft-ink-2: #4f5870;
	--mft-ink-3: #8b93a7;
	--mft-bg-2: #f5f6f9;
	--mft-line: #e6e9ef;
	--mft-green: #1f7a4d;
	--mft-r: 16px;
	--mft-r-sm: 12px;
	--mft-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .12);
	--mft-font: -apple-system, BlinkMacSystemFont, "SF Arabic", "SF Pro Text", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

	/* Kadence globals, so theme-rendered parts (cart, checkout, archives) follow the design. */
	--global-body-font-family: var(--mft-font);
	--global-heading-font-family: var(--mft-font);
	--global-palette1: var(--mft-navy);
	--global-palette2: var(--mft-navy-2);
	--global-palette3: var(--mft-ink);
	--global-palette4: var(--mft-ink);
	--global-palette5: var(--mft-ink-2);
	--global-palette6: var(--mft-ink-3);
	--global-palette7: var(--mft-bg-2);
	--global-palette8: #f8f9fb;
	--global-palette9: #ffffff;
	--global-palette-btn-bg: var(--mft-navy);
	--global-palette-btn-bg-hover: var(--mft-navy-2);
	--global-palette-btn: #ffffff;
	--global-palette-btn-hover: #ffffff;

	margin: 0;
	background: #fff;
	color: var(--mft-ink);
	font-family: var(--mft-font);
	-webkit-font-smoothing: antialiased;
}
body.mft h1, body.mft h2, body.mft h3, body.mft h4 { font-family: var(--mft-font); color: var(--mft-ink); letter-spacing: 0; }
body.mft .site { background: #fff; }
.mft *, .mft *::before, .mft *::after { box-sizing: border-box; }
.mft-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mft-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.mft-nw { white-space: nowrap; }
.mft-todo { background: #fff3c4; color: #6b5300; border-radius: 4px; padding: 1px 6px; font-size: 12px; }

/* ---------- Announcement + header ---------- */
.mft-ann { background: #06112e; color: #dfe5f4; font: 500 12.5px/1.4 var(--mft-font); }
.mft-ann__in { display: grid; height: 36px; max-width: 1180px; margin: 0 auto; padding: 0 16px; overflow: hidden; }
.mft-ann__in span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; animation: mft-ann 12s infinite; }
.mft-ann__in span:nth-child(2) { animation-delay: 4s; }
.mft-ann__in span:nth-child(3) { animation-delay: 8s; }
@keyframes mft-ann { 0% { opacity: 0; transform: translateY(8px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-8px); } }
.mft-ann .mft-i { width: 15px; height: 15px; color: var(--mft-yellow); }
.mft-ann b { color: #fff; font-weight: 600; }
/* Pinned while scrolling both ways. The id beats Kadence's own #masthead { position: relative }. */
#masthead.mft-hdr { position: sticky; top: 0; z-index: 100; }
@media (min-width: 601px) { .admin-bar #masthead.mft-hdr { top: 46px; } }
@media (min-width: 783px) { .admin-bar #masthead.mft-hdr { top: 32px; } }
.mft-hdr__bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding: 0 6px; background: var(--mft-brand); border-bottom: 2px solid var(--mft-brand-yellow); border-radius: 0 0 20px 20px; box-shadow: 0 10px 24px -18px rgba(4, 12, 34, .7); }
.mft-hdr__bar > .mft-logo { justify-self: center; }
.mft-hdr__nav, .mft-hdr__actions .mft-hdr__cta, .mft-hdr__wa span { display: none; }
.mft-hdr__actions { justify-self: end; display: flex; align-items: center; }
.mft-icon-btn, .mft-hdr__wa { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: #fff !important; cursor: pointer; list-style: none; text-decoration: none !important; }
.mft-icon-btn::-webkit-details-marker { display: none; }
.mft-badge { position: absolute; top: 6px; inset-inline-end: 4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; border: 2px solid var(--mft-brand); background: var(--mft-brand-yellow); color: var(--mft-navy); font: 700 10.5px/14px var(--mft-font); text-align: center; }
.mft-badge[hidden] { display: none; }

/* Logo: the owner's wordmark image */
.mft-logo { display: inline-flex; align-items: center; text-decoration: none !important; }
.mft-logo img { display: block; width: auto; height: 28px; }
.mft-ftr .mft-logo img { height: 34px; }

/* Mobile menu */
.mft-menu { position: static; justify-self: start; }
.mft-menu .mft-i--close, .mft-menu[open] .mft-i--open { display: none; }
.mft-menu[open] .mft-i--close { display: block; }
.mft-menu__panel { position: absolute; inset-inline: 0; top: calc(100% + 2px); max-height: calc(100vh - 110px); overflow-y: auto; padding: 18px 16px 20px; background: #fff; border-bottom: 1px solid var(--mft-line); box-shadow: 0 24px 40px -24px rgba(16, 24, 40, .35); }
.mft-menu__label { margin: 0 4px 10px; font: 600 12px/1 var(--mft-font); color: var(--mft-ink-3); }
.mft-menu__models { display: grid; gap: 6px; }
.mft-menu__models a { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 10px; border: 1px solid var(--mft-line); border-radius: var(--mft-r-sm); color: var(--mft-ink) !important; text-decoration: none !important; }
.mft-menu__models img { width: 64px; height: auto; mix-blend-mode: multiply; }
.mft-menu__models span { flex: 1; display: grid; gap: 3px; }
.mft-menu__models b { font: 600 15px/1.3 var(--mft-font); }
.mft-menu__models small { font-size: 12px; color: var(--mft-ink-3); }
.mft-menu__models em { font: 600 13px/1 var(--mft-font); font-style: normal; color: var(--mft-navy); white-space: nowrap; }
.mft-menu__links { display: grid; margin: 10px 0 16px; }
.mft-menu__links a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--mft-line); color: var(--mft-ink) !important; font: 500 16px/1.2 var(--mft-font); text-decoration: none !important; }
.mft-menu__links .mft-i { width: 18px; height: 18px; color: var(--mft-ink-3); }

@media (min-width: 960px) {
	.mft-ann__in { display: flex; justify-content: center; gap: 48px; height: 38px; }
	.mft-ann__in span { opacity: 1; animation: none; transform: none; }
	.mft-hdr__bar { gap: 24px; height: 78px; padding: 0 max(24px, calc((100% - 1180px) / 2 + 24px)); }
	.mft-hdr__bar > .mft-logo { grid-column: 2; grid-row: 1; }
	.mft-menu { grid-column: 1; grid-row: 1; }
	.mft-hdr__nav { grid-column: 1; grid-row: 1; justify-self: start; }
	.mft-hdr__actions { grid-column: 3; grid-row: 1; }
	.mft-hdr .mft-logo img { height: 36px; }
	.mft-hdr__nav { display: none; gap: 2px; }
	.mft-hdr__nav a { position: relative; padding: 12px 10px; color: rgba(255, 255, 255, .82) !important; font: 500 15px/1 var(--mft-font); text-decoration: none !important; transition: color .15s; }
	.mft-hdr__nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--mft-brand-yellow); transform: scaleX(0); transition: transform .2s; }
	.mft-hdr__nav a:hover { color: #fff !important; }
	.mft-hdr__nav a:hover::after { transform: scaleX(1); }
	.mft-hdr__actions { gap: 8px; }
	.mft-hdr__wa { display: flex; align-items: center; gap: 8px; width: auto; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font: 500 14px/1 var(--mft-font); white-space: nowrap; transition: border-color .15s; }
	.mft-hdr__wa:hover { border-color: rgba(255, 255, 255, .6); }
	.mft-hdr__wa .mft-i { width: 18px; height: 18px; color: #6fdc9f; }
	.mft-hdr__actions .mft-hdr__cta { display: flex; width: auto; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--mft-brand-yellow) !important; color: var(--mft-brand) !important; font-size: 15px; font-weight: 700; }
	.mft-hdr__actions .mft-hdr__cta:hover { background: #fff !important; }
}
/* Full navigation once it fits beside the centred logo; narrower desktops keep the menu button. */
@media (min-width: 1180px) {
	.mft-menu { display: none; }
	.mft-hdr__nav { display: flex; }
	.mft-hdr__wa span { display: inline; }
}

/* ---------- Type & buttons ---------- */
.mft-eyebrow { margin: 0; font: 600 13px/1 var(--mft-font); color: var(--mft-ink-3); }
.mft-h1 { margin: 0; font: 700 34px/1.25 var(--mft-font); letter-spacing: -.01em; }
.mft-h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--mft-yellow) 62%, var(--mft-yellow) 90%, transparent 90%); }
.mft-h2 { margin: 0; font: 700 26px/1.3 var(--mft-font); }
.mft-lead { margin: 0; font-size: 16px; line-height: 1.8; color: var(--mft-ink-2); }

.mft-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 0 22px; border: 0; border-radius: var(--mft-r-sm); font: 600 16px/1 var(--mft-font); text-decoration: none !important; cursor: pointer; transition: background-color .15s, border-color .15s; }
.mft-btn--navy { background: var(--mft-navy); color: #fff !important; }
.mft-btn--navy:hover { background: var(--mft-navy-2); }
.mft-btn--ghost { background: #fff; color: var(--mft-navy) !important; border: 1px solid var(--mft-line); }
.mft-btn--ghost:hover { border-color: var(--mft-navy); }
.mft-btn--yellow { background: var(--mft-yellow); color: var(--mft-navy) !important; }
.mft-btn--yellow:hover { background: #ead04a; }
.mft-btn--line-d { background: #fff; color: var(--mft-navy) !important; border: 1px solid var(--mft-line); }
.mft-btn:focus-visible, .mft-seg input:focus-visible + span { outline: 3px solid var(--mft-yellow); outline-offset: 2px; }

/* ---------- Sections ---------- */
.mft-home { overflow: hidden; }
.mft-sec { padding: 56px 0; }
.mft-sec--alt { background: var(--mft-bg-2); }
.mft-head { display: grid; gap: 8px; margin-bottom: 24px; }
.mft-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mft-head--row > div { display: grid; gap: 8px; }
.mft-more { display: flex; align-items: center; gap: 4px; color: var(--mft-navy) !important; font: 600 14px/1 var(--mft-font); white-space: nowrap; text-decoration: none !important; }
.mft-more .mft-i { width: 16px; height: 16px; }

/* Hero */
.mft-hero { background: linear-gradient(180deg, #fff 0%, var(--mft-bg-2) 100%); }
.mft-hero__in { max-width: 1180px; margin: 0 auto; padding: 32px 20px 0; }
.mft-hero__tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 6px; border: 1px solid var(--mft-line); border-radius: 999px; background: #fff; font: 500 13px/1 var(--mft-font); color: var(--mft-ink-2); }
.mft-hero__tag i { padding: 4px 8px; border-radius: 999px; background: var(--mft-yellow-soft); color: #7a6206; font-style: normal; font-weight: 600; font-size: 12px; }
.mft-hero .mft-lead { margin-top: 14px; }
.mft-hero__ctas { display: grid; gap: 10px; margin-top: 24px; }
.mft-hero__img { position: relative; display: block; margin: 28px -4px 0; }
.mft-hero__img img { width: 100%; height: auto; mix-blend-mode: multiply; }
.mft-hero__price { position: absolute; bottom: 18px; inset-inline-start: 4px; display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--mft-r-sm); background: #fff; box-shadow: var(--mft-shadow); color: var(--mft-ink); }
.mft-hero__price small { font-size: 11.5px; color: var(--mft-ink-3); }
.mft-hero__price b { font: 700 18px/1.2 var(--mft-font); font-variant-numeric: tabular-nums; }
.mft-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 20px 20px 28px; background: var(--mft-bg-2); }
.mft-trust div { display: grid; justify-items: center; gap: 6px; text-align: center; font: 500 12.5px/1.4 var(--mft-font); color: var(--mft-ink-2); }
.mft-trust .mft-i { width: 22px; height: 22px; color: var(--mft-navy); }

/* Product cards */
.mft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mft-pc { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--mft-r); background: #fff; box-shadow: var(--mft-shadow); color: var(--mft-ink) !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.mft-pc:hover { box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 16px 32px -16px rgba(16, 24, 40, .22); transform: translateY(-1px); }
.mft-pc--wide { grid-column: span 2; grid-template-columns: 1fr 1fr; grid-template-rows: none; align-items: center; }
.mft-pc__img { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 12px; background: #fff; }
.mft-pc--wide .mft-pc__img { height: 100%; aspect-ratio: auto; }
.mft-pc__img img { width: 100%; height: auto; mix-blend-mode: multiply; }
.mft-pc__body { display: grid; gap: 6px; align-content: start; padding: 12px 14px 14px; }
.mft-pc__name { font: 700 16px/1.3 var(--mft-font); }
.mft-pc__type { font-size: 12.5px; color: var(--mft-ink-3); }
.mft-pc__price { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.mft-pc__price small { font-size: 12px; color: var(--mft-ink-3); }
.mft-pc__price b { font: 700 18px/1 var(--mft-font); font-variant-numeric: tabular-nums; }
.mft-tag { width: max-content; padding: 5px 8px; border-radius: 6px; background: var(--mft-yellow-soft); color: #7a6206; font: 600 11px/1 var(--mft-font); }
.mft-firm { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mft-ink-2); }
.mft-firm i { display: flex; gap: 3px; }
.mft-firm b { width: 14px; height: 4px; border-radius: 2px; background: var(--mft-line); }
.mft-firm b.on { background: var(--mft-navy); }

/* Assistant */
.mft-assist { display: grid; gap: 18px; padding: 20px; border: 1.5px solid var(--mft-navy); border-radius: var(--mft-r); background: #fff; box-shadow: 0 14px 32px -24px rgba(15, 35, 80, .45); }
.mft-q { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.mft-q legend { margin-bottom: 10px; padding: 0; font: 600 15px/1.4 var(--mft-font); color: var(--mft-ink); }
.mft-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--mft-r-sm); background: var(--mft-bg-2); }
.mft-seg label { position: relative; cursor: pointer; margin: 0; }
.mft-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.mft-seg span { display: grid; place-items: center; min-height: 42px; border-radius: 9px; font: 500 14px/1 var(--mft-font); color: var(--mft-ink-2); transition: background-color .15s; }
.mft-seg input:checked + span { background: #fff; color: var(--mft-navy); font-weight: 600; box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.mft-res { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; padding: 12px; border-radius: var(--mft-r-sm); background: var(--mft-navy-soft); color: var(--mft-ink) !important; text-decoration: none !important; }
.mft-res img { width: 84px; height: auto; mix-blend-mode: multiply; }
.mft-res img[hidden] + span { grid-column: 1 / -1; }
.mft-res > span:not(.mft-res__go) { display: grid; gap: 2px; }
.mft-res small { font-size: 12px; color: var(--mft-ink-2); }
.mft-res b { font: 700 17px/1.3 var(--mft-font); }
.mft-res__go { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 18px; border-radius: var(--mft-r-sm); background: var(--mft-navy); color: #fff; font: 600 15px/1 var(--mft-font); white-space: nowrap; transition: background-color .15s; }
.mft-res:hover .mft-res__go { background: var(--mft-navy-2); }
.mft-res__go .mft-i { width: 18px; height: 18px; }

/* Why */
.mft-why { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mft-why > div { display: grid; gap: 8px; align-content: start; padding: 18px 16px; border: 1px solid var(--mft-navy); border-radius: var(--mft-r); background: #fff; }
.mft-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--mft-r-sm); background: var(--mft-yellow-soft); color: var(--mft-navy); flex: none; }
.mft-ic--navy { background: var(--mft-navy-soft); }
.mft-why b { font: 600 15px/1.4 var(--mft-font); }
.mft-why p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--mft-ink-2); }

/* Steps */
.mft-steps { list-style: none; margin: 0; padding: 0; counter-reset: mft; }
.mft-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; margin: 0; padding-bottom: 22px; }
.mft-steps li::before { counter-increment: mft; content: counter(mft); position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mft-navy); color: #fff; font: 600 15px/1 var(--mft-font); }
.mft-steps li:not(:last-child)::after { content: ""; position: absolute; top: 40px; bottom: 0; inset-inline-start: 19.5px; width: 1px; background: var(--mft-line); }
.mft-steps b { display: block; margin: 8px 0 4px; font: 600 16px/1.4 var(--mft-font); }
.mft-steps p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--mft-ink-2); }

/* Factory */
.mft-fac { position: relative; margin: 0; overflow: hidden; border-radius: var(--mft-r); }
.mft-fac img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mft-fac figcaption { position: absolute; inset: auto 12px 12px; display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--mft-r-sm); background: rgba(255, 255, 255, .95); }
.mft-fac b { font: 600 14px/1.4 var(--mft-font); }
.mft-fac small { font-size: 12.5px; color: var(--mft-ink-2); }

/* Delivery */
.mft-dl { display: grid; gap: 10px; }
.mft-dl > div { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--mft-navy); border-radius: var(--mft-r-sm); background: #fff; }
.mft-dl b { display: block; font: 600 15px/1.4 var(--mft-font); }
.mft-dl small { font-size: 13.5px; color: var(--mft-ink-2); }

/* FAQ + accordions */
.mft-faq details, .mft-acc details { border-bottom: 1px solid var(--mft-line); }
.mft-faq summary, .mft-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; font: 600 15px/1.5 var(--mft-font); cursor: pointer; }
.mft-faq summary::-webkit-details-marker, .mft-acc summary::-webkit-details-marker { display: none; }
.mft-faq summary .mft-i, .mft-acc summary .mft-i { color: var(--mft-ink-3); transition: transform .2s; }
.mft-faq details[open] summary .mft-i { transform: rotate(45deg); }
.mft-acc details[open] summary .mft-i { transform: rotate(180deg); }
.mft-faq p, .mft-acc p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.8; color: var(--mft-ink-2); }

/* ---------- Help band + footer ---------- */
.mft-band-wrap { padding: 0 20px 56px; background: #fff; }
.mft-band { display: grid; gap: 14px; max-width: 1192px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) clamp(22px, 5vw, 56px); border-radius: clamp(22px, 2.5vw, 30px); background: var(--mft-yellow); color: var(--mft-navy); }
.mft-band h2 { margin: 0; color: var(--mft-navy) !important; font: 600 clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem)/1.35 var(--mft-font); }
.mft-band p { margin: 0; color: #3d3510; font-size: 16px; line-height: 1.7; }
.mft-band .mft-btn--yellow { background: var(--mft-navy); color: #fff !important; border-radius: 999px; }
.mft-band .mft-btn--yellow:hover { background: var(--mft-navy-2); }
.mft-btn--wa { background: #e8f5ee; color: var(--mft-green) !important; }
.mft-ftr, #colophon.mft-ftr { background: var(--mft-navy-2); color: #b9c2da; }
.mft-ftr__in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; max-width: 1180px; margin: 0 auto; padding: 48px 20px 32px; }
.mft-ftr__brand { grid-column: 1 / -1; display: grid; gap: 18px; justify-items: start; }
.mft-ftr__brand p { margin: 0; max-width: 380px; font-size: 14px; line-height: 1.8; color: #b9c2da; }
.mft-ftr__contact { display: grid; gap: 10px; font-size: 14px; }
.mft-ftr__contact a { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; }
.mft-ftr__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--mft-yellow); }
.mft-ftr__ic .mft-i { width: 17px; height: 17px; }
.mft-ftr h4 { margin: 0 0 14px; color: #fff !important; font: 600 14px/1 var(--mft-font); }
.mft-ftr h4::after { content: ""; display: block; width: 22px; height: 2px; margin-top: 10px; border-radius: 2px; background: var(--mft-yellow); }
.mft-ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.mft-ftr ul a { display: block; padding: 6px 0; color: #b9c2da !important; text-decoration: none !important; transition: color .15s; }
.mft-ftr ul a:hover { color: #fff !important; }
.mft-ftr__base { display: grid; gap: 16px; justify-items: center; width: calc(100% - 40px); max-width: 1116px; margin: 0 auto; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.mft-ftr__pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.mft-ftr__pay > span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #dfe5f4; }
.mft-ftr__pay > span .mft-i { width: 15px; height: 15px; color: var(--mft-yellow); }
.mft-ftr__legal { margin: 0; font-size: 12.5px; color: #8f9bbb; direction: ltr; }

/* Payment marks */
.mft-pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; }
.mft-ftr .mft-pay { display: flex; gap: 8px; }
.mft-pay li { display: grid; place-items: center; width: 54px; height: 34px; margin: 0; padding: 0 8px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--mft-line); }
.mft-pay svg { display: block; width: 100%; height: 15px; }
.mft-pay__mc svg { height: 22px; }
.mft-pay__apple svg, .mft-pay__google svg { height: 17px; }
.mft-pay__tabby { background: #3bffc1 !important; box-shadow: none !important; }
.mft-tabby { font: 700 14px/1 "Segoe UI", Arial, sans-serif; color: #000; letter-spacing: -.02em; }

/* ---------- Product page ---------- */
.mft.single-product .product-hero-section { display: none; } /* Kadence's category title bar above the product. */
.mft.single-product .content-area { margin-top: 0; }
.mft.single-product .site-main { padding-top: 0; }
.mft .mft-gal { position: relative; margin: 12px 0 0; }
.mft-code { display: none; }
.mft-gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 1px solid var(--mft-line); border-radius: 20px; background: #fff; }
.mft-gal__track::-webkit-scrollbar { display: none; }
.mft-gal__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 1 / .8; display: grid; place-items: center; }
.mft-gal__slide img { width: 100%; height: 100%; object-fit: cover; }
.mft-gal__slide--cut { padding: 20px; }
.mft-gal__slide--cut img { height: auto; object-fit: contain; mix-blend-mode: multiply; }
.mft-gal__thumbs { display: flex; gap: 8px; padding: 10px 0 0; overflow-x: auto; scrollbar-width: none; }
.mft-gal__thumbs::-webkit-scrollbar { display: none; }
.mft-gal__thumbs a { flex: 0 0 56px; height: 56px; border-radius: 10px; border: 1.5px solid var(--mft-line); background: #fff center / cover no-repeat; }
.mft-gal__thumbs a.is-cut { background-size: 88% auto; }
.mft-gal__thumbs a.on { border-color: var(--mft-navy); }
.mft.single-product .product_title { margin: 20px 0 8px; font: 700 28px/1.3 var(--mft-font); }
.mft-pd-price { margin: 0 0 10px; font: 700 22px/1.2 var(--mft-font); color: var(--mft-ink); }
.mft-pd-price span { margin-inline-start: 6px; font-size: 13px; font-weight: 600; color: var(--mft-green); }
.mft-pd-lead { margin: 0 0 12px; font-size: 15px; line-height: 1.8; color: var(--mft-ink-2); }
.mft-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.mft-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--mft-bg-2); font: 500 13px/1 var(--mft-font); color: var(--mft-ink-2); }
.mft-chip .mft-i { width: 15px; height: 15px; color: var(--mft-navy); }
.mft-acc { clear: both; padding-top: 12px; }
.mft-acc table { width: 100%; margin: 0 0 14px; border: 0; border-collapse: collapse; font-size: 14px; }
.mft-acc th, .mft-acc td { padding: 11px 0; border: 0; border-bottom: 1px solid var(--mft-bg-2); text-align: start; background: none; }
.mft-acc th { width: 42%; font-weight: 400; color: var(--mft-ink-3); }
.mft-acc td { font-weight: 500; }
.mft-acc .mft-btn { max-width: 360px; }
.mft-others { clear: both; padding: 32px 0 8px; }
.mft-others .mft-h2 { margin-bottom: 16px; font-size: 20px; }
/* Not shown in the new design: Product Trust Booster's counter and "verified" badge, the theme's
   product extras (free shipping over 1000 / 24-7 claims) and the old FAQ plugin (replaced by .mft-acc). */
.mft .ptb-orders-badge, .mft .ptb-trust-wrapper, .mft .single-product-extras, .mft.single-product .max-faq-container { display: none !important; }

@media (min-width: 768px) {
	.mft .mft-gal { float: right; width: 48%; margin-top: 24px; }
	.mft.single-product .summary { width: 46%; }
	.mft .mft-others .mft-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Desktop homepage ---------- */
@media (min-width: 960px) {
	.mft-hero__in { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; padding: 64px 32px 48px; }
	.mft-hero__img { margin: 0; }
	.mft-h1 { font-size: 48px; }
	.mft-hero__ctas { grid-template-columns: auto auto; justify-content: start; }
	.mft-hero__ctas .mft-btn { width: auto; padding: 0 28px; }
	.mft-trust { max-width: 1180px; margin: 0 auto; padding: 24px 32px; background: none; }
	.mft-sec { padding: 80px 0; }
	.mft-wrap { padding: 0 32px; }
	.mft-h2 { font-size: 32px; }
	.mft-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.mft-pc--wide { grid-column: span 4; }
	.mft-assist { grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px; }
	.mft-res { grid-column: 1 / -1; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 14px 18px; }
	.mft-res img { width: 110px; }
	.mft-res img[hidden] + span { grid-column: 1 / 3; }
	.mft-res__go { grid-column: auto; }
	.mft-why { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.mft-why > div { padding: 24px 22px; }
	.mft-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.mft-steps li::after { display: none; }
	.mft-fac img { aspect-ratio: 21 / 9; }
	.mft-dl { grid-template-columns: repeat(3, 1fr); }
	.mft-band { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; }
	.mft-band h2, .mft-band p { grid-column: 1; }
	.mft-band .mft-btn { grid-column: 2; grid-row: 1 / span 2; width: auto; padding: 0 28px; }
	.mft-ftr__in { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; align-items: start; padding: 64px 32px 44px; }
	.mft-ftr__brand { grid-column: auto; }
	.mft-ftr__base { grid-template-columns: 1fr auto; justify-items: stretch; align-items: center; width: calc(100% - 64px); }
	.mft-ftr__pay { justify-content: flex-start; }
}

/* ---------- Shop / category ---------- */
.mft.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 700 16px/1.4 var(--mft-font); color: var(--mft-ink); }
.mft.woocommerce ul.products li.product .price { color: var(--mft-ink); font-weight: 700; }
/* Light-bordered cards on the white page; the card clips the image to its corners. */
.mft.woocommerce ul.products li.product { overflow: hidden; border: 1px solid var(--mft-line); border-radius: var(--mft-r); background: #fff; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.mft.woocommerce ul.products li.product:hover { border-color: #d5dae4; box-shadow: var(--mft-shadow); }
.mft.woocommerce ul.products li.product a img { background: #fff; border-radius: 0; }
.mft .entry-hero-container-inner { background: #fff; }

/* ---------- Buttons, cart, checkout ---------- */
.mft .button, .mft button.button, .mft a.button, .mft input.button, .mft #place_order, .mft .checkout-button, .mft .wc-block-components-button {
	min-height: 52px; border-radius: var(--mft-r-sm) !important; background: var(--mft-navy) !important; color: #fff !important;
	font: 600 16px/1.2 var(--mft-font) !important; border: 0 !important; box-shadow: none !important;
}
.mft .button:hover, .mft #place_order:hover, .mft .checkout-button:hover { background: var(--mft-navy-2) !important; }
.mft #place_order, .mft .checkout-button { display: flex; align-items: center; justify-content: center; text-decoration: none !important; width: 100%; min-height: 56px; font-size: 17px !important; }
.mft .woocommerce-checkout h3, .mft .cart_totals h2 { font: 700 20px/1.3 var(--mft-font); }
.mft .woocommerce form .form-row input.input-text, .mft .woocommerce form .form-row textarea, .mft .woocommerce form .form-row select, .mft .select2-container .select2-selection--single {
	min-height: 50px; border: 1px solid var(--mft-line); border-radius: var(--mft-r-sm); background: #fff; font-size: 16px;
}
.mft .woocommerce form .form-row input.input-text:focus, .mft .woocommerce form .form-row textarea:focus { border-color: var(--mft-navy); outline: 0; box-shadow: 0 0 0 3px rgba(15, 35, 80, .12); }
.mft .woocommerce form .form-row label { font-weight: 600; font-size: 14px; color: var(--mft-ink); }
.mft .woocommerce-checkout-review-order-table .order-total td, .mft .cart_totals .order-total td { color: var(--mft-ink); font: 700 20px/1.2 var(--mft-font); }
.mft .woocommerce-info, .mft .woocommerce-message { border-top-color: var(--mft-navy); background: var(--mft-bg-2); }
.mft .woocommerce-info::before, .mft .woocommerce-message::before { color: var(--mft-navy); }

/* ---------- Cart + checkout ---------- */
.mft.woocommerce-cart .entry-hero, .mft.woocommerce-checkout .entry-hero, .mft .kadence-woo-cart-form-wrap .cart-summary { display: none; }
.mft.woocommerce-cart .content-area, .mft.woocommerce-checkout .content-area { margin-top: 24px; }
.mft-steps-bar { display: grid; gap: 18px; margin: 0 0 24px; }
.mft-steps-bar h1 { margin: 0; font: 700 26px/1.3 var(--mft-font); color: var(--mft-ink); }
.mft-steps-bar ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; }
.mft-steps-bar li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; font: 500 12.5px/1.3 var(--mft-font); color: var(--mft-ink-3); text-align: center; }
.mft-steps-bar li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--mft-line); background: #fff; font: 600 13px/1 var(--mft-font); }
.mft-steps-bar li:not(:first-child)::before { content: ""; position: absolute; top: 14px; inset-inline-start: calc(-50% - 4px); inset-inline-end: 50%; height: 2px; background: var(--mft-line); }
.mft-steps-bar li.done, .mft-steps-bar li.on { color: var(--mft-ink); font-weight: 600; }
.mft-steps-bar li.done::before, .mft-steps-bar li.on::before { background: var(--mft-navy); }
.mft-steps-bar li.done > span { border-color: var(--mft-navy); background: var(--mft-navy); color: #fff; }
.mft-steps-bar li.done .mft-i { width: 15px; height: 15px; stroke-width: 2.6; }
.mft-steps-bar li.on > span { border-color: var(--mft-navy); color: var(--mft-navy); box-shadow: 0 0 0 4px var(--mft-navy-soft); }

/* Cart items as cards */
.mft .woocommerce table.shop_table.cart, .mft .woocommerce table.shop_table.cart tbody { display: block; width: 100%; border: 0; margin: 0; }
.mft .woocommerce table.shop_table.cart thead { display: none; }
.mft .woocommerce table.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "img name remove" "img qty sub"; align-items: start; gap: 10px 14px; margin-bottom: 10px; padding: 14px; border: 1px solid var(--mft-line); border-radius: var(--mft-r); background: #fff; }
.mft .woocommerce table.shop_table.cart tr.cart_item td { display: block !important; padding: 0 !important; border: 0 !important; background: none !important; text-align: start !important; }
.mft .woocommerce table.shop_table.cart tr.cart_item td::before { display: none !important; }
.mft .woocommerce table.shop_table.cart td.product-thumbnail { grid-area: img; }
.mft .woocommerce table.shop_table.cart td.product-thumbnail img { width: 84px !important; max-width: none; height: auto; border-radius: var(--mft-r-sm); background: var(--mft-bg-2); mix-blend-mode: multiply; }
.mft .woocommerce table.shop_table.cart td.product-name { grid-area: name; font: 600 16px/1.4 var(--mft-font); }
.mft .woocommerce table.shop_table.cart td.product-name > a { color: var(--mft-ink) !important; text-decoration: none !important; }
.mft .woocommerce table.shop_table.cart td.product-name dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; margin: 6px 0 0; font: 400 13px/1.5 var(--mft-font); color: var(--mft-ink-2); }
.mft .woocommerce table.shop_table.cart td.product-name dl.variation dt, .mft .woocommerce table.shop_table.cart td.product-name dl.variation dd { float: none; margin: 0; padding: 0; font-weight: 400; }
.mft .woocommerce table.shop_table.cart td.product-name dl.variation p { margin: 0; }
.mft .mfc-change { order: 3; margin-top: 6px; font: 500 13px/1 var(--mft-font); }
.mft .mfc-change a { color: var(--mft-navy) !important; }
.mft .woocommerce table.shop_table.cart td.product-remove { grid-area: remove; }
.mft .woocommerce table.shop_table.cart td.product-remove a.remove { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mft-bg-2); color: var(--mft-ink-3) !important; font-size: 18px; line-height: 1; }
.mft .woocommerce table.shop_table.cart td.product-remove a.remove:hover { background: #fbeeed; color: #a8322b !important; }
.mft .woocommerce table.shop_table.cart tr.cart_item td.product-price { display: none !important; }
.mft .woocommerce table.shop_table.cart td.product-quantity { grid-area: qty; align-self: center; }
.mft .woocommerce table.shop_table.cart td.product-subtotal { grid-area: sub; align-self: center; font: 700 17px/1 var(--mft-font); color: var(--mft-ink); }
.mft .woocommerce table.shop_table.cart td.actions { display: flex; justify-content: flex-end; padding: 0 !important; border: 0 !important; background: none !important; }
.mft .woocommerce table.shop_table.cart tr:not(.cart_item) { display: block; }
.mft button[name="update_cart"] { width: auto !important; min-height: 44px !important; padding: 0 18px !important; background: #fff !important; color: var(--mft-navy) !important; border: 1px solid var(--mft-line) !important; font-size: 14px !important; }
.mft button[name="update_cart"]:disabled { display: none !important; }

/* Totals + review cards */
.mft .cart_totals, .mft #order_review { padding: 20px; border: 1px solid var(--mft-line); border-radius: var(--mft-r); background: #fff; box-shadow: var(--mft-shadow); }
.mft .cart_totals h2 { margin: 0 0 6px; font: 700 18px/1.3 var(--mft-font) !important; }
.mft .cart_totals table.shop_table, .mft table.woocommerce-checkout-review-order-table { width: 100%; margin: 0 0 16px; border: 0; border-radius: 0; }
.mft .cart_totals table.shop_table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--mft-line); }
.mft .cart_totals table.shop_table th, .mft .cart_totals table.shop_table td { display: block !important; padding: 13px 0 !important; border: 0 !important; background: none !important; font-size: 14.5px; }
.mft .cart_totals table.shop_table th { font-weight: 400; color: var(--mft-ink-2); }
.mft .cart_totals table.shop_table td { text-align: end !important; font-weight: 600; }
.mft .cart_totals table.shop_table td::before { display: none !important; }
.mft .cart_totals tr.fee th, .mft .cart_totals tr.fee td, .mft .woocommerce-checkout-review-order-table tr.fee th, .mft .woocommerce-checkout-review-order-table tr.fee td { color: var(--mft-ink-2); font-weight: 400; font-size: 13.5px; }
.mft .cart_totals tr.order-total { border-bottom: 0; }
/* The site's custom CSS hides the subtotal; with a 50% deposit the customer needs it to read the totals. */
.mft .cart_totals table.shop_table tr.cart-subtotal { display: flex !important; }
.mft table.woocommerce-checkout-review-order-table tr.cart-subtotal { display: table-row !important; }
.mft .cart_totals tr.order-total th { color: var(--mft-ink); font-weight: 700; }
.mft .wc-proceed-to-checkout { padding: 0; }
.mft .wc-proceed-to-checkout a.checkout-button { display: flex !important; align-items: center; justify-content: center; margin: 0; padding: 0 20px !important; line-height: 1.2 !important; }
.mft-pay-strip { display: grid; justify-items: center; gap: 10px; margin-top: 14px; }
.mft-pay-strip > span { display: flex; align-items: center; gap: 6px; font: 500 12.5px/1 var(--mft-font); color: var(--mft-ink-2); }
.mft-pay-strip > span .mft-i { width: 14px; height: 14px; color: var(--mft-green); }
.mft-pay-strip .mft-pay li { width: 48px; height: 30px; }

/* Checkout */
.mft #wc-stripe-express-checkout-button-separator { position: relative; margin: 20px 0 !important; font-size: 0 !important; text-align: center; }
.mft #wc-stripe-express-checkout-button-separator::before { content: "أو أكمل بياناتك"; position: relative; z-index: 1; padding: 0 12px; background: #fff; font: 500 13px/1 var(--mft-font); color: var(--mft-ink-3); }
.mft #wc-stripe-express-checkout-button-separator::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: var(--mft-line); }
.mft .woocommerce-billing-fields { padding: 20px 20px 6px; border: 1px solid var(--mft-line); border-radius: var(--mft-r); background: #fff; }
.mft .woocommerce-billing-fields h3, .mft #order_review_heading { margin: 0 0 14px; font: 700 18px/1.3 var(--mft-font) !important; }
.mft #order_review_heading { margin: 28px 0 12px; }
.mft .woocommerce form .form-row { margin-bottom: 14px; }
/* Mobile: country code (native select under a flag + code face) joined to the number field.
   Windows has no flag emoji, so the regional-indicator range comes from the Twemoji flags font (fetched only where a flag is drawn). */
@font-face { font-family: "MFC Flags"; src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.8/dist/TwemojiCountryFlags.woff2") format("woff2"); unicode-range: U+1F1E6-1F1FF; font-display: swap; }
.mft .mfc-tel { display: flex; align-items: stretch; min-height: 50px; overflow: hidden; border: 1px solid var(--mft-line); border-radius: var(--mft-r-sm); background: #fff; }
.mft .mfc-tel:focus-within { border-color: var(--mft-navy); box-shadow: 0 0 0 3px rgba(15, 35, 80, .12); }
.mft .woocommerce-invalid .mfc-tel { border-color: #a8322b; }
.mft .mfc-tel__cc { position: relative; flex: none; display: flex; align-items: center; padding: 0 10px 0 12px; border-right: 1px solid var(--mft-line); background: var(--mft-bg-2); }
.mft .mfc-tel__face { display: flex; align-items: center; gap: 6px; font: 600 15px/1 var(--mft-font); color: var(--mft-ink); pointer-events: none; }
/* !important: the site's custom CSS forces IBM Plex on every span and select with !important */
.mft .mfc-tel__flag { font-family: "MFC Flags", var(--mft-font) !important; font-size: 20px; line-height: 1; }
.mft .mfc-tel__chev { width: 14px; height: 14px; color: var(--mft-ink-3); }
.mft .woocommerce form .form-row select.mfc-tel__select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; font: 400 16px/1.4 var(--mft-font); font-family: "MFC Flags", var(--mft-font) !important; cursor: pointer; }
.mft .woocommerce form .form-row input.mfc-tel__num { flex: 1; min-width: 0; min-height: 48px; margin: 0; padding: 0 12px; border: 0; border-radius: 0; box-shadow: none; font-size: 16px; letter-spacing: .3px; direction: ltr; text-align: left; }
.mft .woocommerce form .form-row input.mfc-tel__num:focus { border: 0; box-shadow: none; }
.mft .woocommerce form .form-row .mfc-tel__hint { display: flex !important; align-items: flex-start; gap: 6px; margin: 8px 0 0; font: 400 12.5px/1.6 var(--mft-font); color: var(--mft-ink-2); }
.mft .mfc-tel__hint .mft-i { flex: none; width: 14px; height: 14px; margin-top: 3px; color: var(--mft-navy); }
.mft table.woocommerce-checkout-review-order-table th, .mft table.woocommerce-checkout-review-order-table td { padding: 12px 0 !important; border: 0 !important; border-bottom: 1px solid var(--mft-line) !important; background: none !important; font-size: 14px; }
.mft table.woocommerce-checkout-review-order-table thead th { padding-top: 0 !important; font: 500 12.5px/1 var(--mft-font); color: var(--mft-ink-3); }
.mft table.woocommerce-checkout-review-order-table td.product-name { font-weight: 600; }
.mft table.woocommerce-checkout-review-order-table td.product-name { display: flow-root; line-height: 1.45; }
.mft table.woocommerce-checkout-review-order-table td.product-name .mft-rv-img { float: inline-start; width: 72px; height: auto; margin: 2px 0 4px; margin-inline-end: 12px; mix-blend-mode: multiply; }
.mft table.woocommerce-checkout-review-order-table td.product-name .product-quantity { font-weight: 500; color: var(--mft-ink-3); }
.mft table.woocommerce-checkout-review-order-table td.product-name dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 0 6px; margin: 4px 0 0; font-weight: 400; font-size: 12.5px; color: var(--mft-ink-2); }
.mft table.woocommerce-checkout-review-order-table td.product-name dl.variation dt, .mft table.woocommerce-checkout-review-order-table td.product-name dl.variation dd { float: none; margin: 0; padding: 0; font-weight: 400; }
.mft table.woocommerce-checkout-review-order-table td.product-name dl.variation p { margin: 0; }
.mft table.woocommerce-checkout-review-order-table td.product-total { vertical-align: top; white-space: nowrap; font-weight: 600; }
.mft table.woocommerce-checkout-review-order-table tr.mfc-plan td { border-bottom: 0 !important; }
.mft table.woocommerce-checkout-review-order-table .product-total, .mft table.woocommerce-checkout-review-order-table tfoot td { text-align: end; }
.mft table.woocommerce-checkout-review-order-table tr.order-total th, .mft table.woocommerce-checkout-review-order-table tr.order-total td { border-bottom: 0 !important; font-weight: 700; }
.mft #payment, .mft .woocommerce-checkout #payment { background: none !important; border-radius: 0; }
.mft #payment ul.payment_methods { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0 !important; border: 0 !important; }
/* min-width:0 so a wide gateway widget (Tabby's card) shrinks to the phone width instead of pushing the page sideways */
.mft #payment ul.payment_methods li.wc_payment_method { min-width: 0; margin: 0; padding: 14px !important; list-style: none; border: 1px solid var(--mft-line) !important; border-radius: var(--mft-r-sm); background: #fff !important; font: 600 14.5px/1.5 var(--mft-font); }
.mft #payment ul.payment_methods li.wc_payment_method:has(> input:checked) { border-color: var(--mft-navy) !important; box-shadow: inset 0 0 0 1px var(--mft-navy); background: var(--mft-navy-soft) !important; }
.mft #payment ul.payment_methods li > input { accent-color: var(--mft-navy); }
.mft #payment ul.payment_methods li > label { display: inline; margin: 0; padding: 0 6px 0 0 !important; border: 0 !important; background: none !important; font: inherit; }
/* Card gateway: the scheme and wallet marks replace the long text label (still read by screen readers). */
.mft #payment ul.payment_methods li > label:has(.mft-pay) { display: flex; align-items: center; padding: 0 !important; font-size: 0 !important; line-height: 0; }
.mft #payment label .mft-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 58px)); justify-content: start; gap: 6px; width: 100%; }
.mft #payment label .mft-pay li { width: auto; height: 38px; border-radius: 8px; box-shadow: inset 0 0 0 1px #d9dee8; }
.mft #payment label .mft-pay svg { height: 16px; }
.mft #payment label .mft-pay__mc svg { height: 24px; }
.mft #payment label .mft-pay__apple svg, .mft #payment label .mft-pay__google svg { height: 19px; }
.mft #payment div.payment_box { margin: 12px 0 0 !important; padding: 0 !important; background: none !important; font: 400 13px/1.6 var(--mft-font); color: var(--mft-ink-2); }
.mft #payment div.payment_box p { margin: 0; }
.mft #payment div.payment_box .mft-i { display: inline-block; width: 14px; height: 14px; margin-inline-end: 6px; vertical-align: -2px; color: var(--mft-green); }
.mft #order_review .mft-pay-h { margin: 4px 0 10px !important; font: 700 16px/1.3 var(--mft-font); color: var(--mft-ink); }
.mft-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font: 400 12.5px/1.5 var(--mft-font); color: var(--mft-ink-3); text-align: center; }
.mft-secure .mft-i { flex: none; width: 14px; height: 14px; color: var(--mft-green); }
.mft #payment div.payment_box::before { display: none !important; }
.mft #payment .place-order { margin: 0 !important; padding: 18px 0 0 !important; }
.mft .woocommerce-terms-and-conditions-wrapper { margin: 0 !important; font-size: 13.5px; }
.mft .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0 0 14px; }
.mft .woocommerce-terms-and-conditions-wrapper label.checkbox { display: flex; align-items: flex-start; gap: 8px; font: 400 13.5px/1.6 var(--mft-font); }
.mft .woocommerce-terms-and-conditions-wrapper input#terms { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--mft-navy); }

/* Phones: Kadence's boxed content adds 48px of side padding around the cart and checkout cards. */
@media (max-width: 767px) {
	.mft.woocommerce-cart .content-container, .mft.woocommerce-checkout .content-container { padding-inline: 16px; }
	.mft.woocommerce-cart .entry-content-wrap, .mft.woocommerce-checkout .entry-content-wrap { padding-inline: 0; }
	.mft.woocommerce-cart article.content-bg, .mft.woocommerce-checkout article.content-bg { margin-inline: 0; }
	.mft #order_review, .mft .woocommerce-billing-fields { padding-inline: 16px; }
}

@media (min-width: 960px) {
	.mft .woocommerce table.shop_table.cart tr.cart_item { grid-template-columns: 120px minmax(0, 1fr) 140px 120px 40px; grid-template-areas: "img name qty sub remove"; align-items: center; padding: 16px 20px; }
	.mft .woocommerce table.shop_table.cart td.product-thumbnail img { width: 120px !important; }
	.mft .woocommerce table.shop_table.cart td.product-subtotal { text-align: end !important; }
	.mft .woocommerce table.shop_table.cart td.product-remove { justify-self: end; }
	.mft #order_review { position: sticky; top: 100px; }
}

@media (prefers-reduced-motion: reduce) {
	.mft *, .mft *::before { transition: none !important; scroll-behavior: auto !important; }
	.mft-ann__in span { animation: none; }
	.mft-ann__in span:first-child { opacity: 1; }
}
