/* Max Office Site Kit */
:root {
	--mof-navy: #0B2C5F;
	--mof-navy-deep: #071E44;
	--mof-yellow: #F7B500;
	--mof-ink: #16213A;
	--mof-muted: #5A6478;
	--mof-surface: #F3F6FB;
	--mof-line: #E2E8F2;
	--mof-shadow: 0 6px 22px rgba(11, 44, 95, .09);
}
.mof-ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* Search */
.mof-search { display: flex; width: 100%; border: 1.5px solid var(--mof-line); border-radius: 8px; overflow: hidden; background: #fff; }
.mof-search input[type=search] { flex: 1; border: 0 !important; padding: 12px 16px !important; font-size: 14px; color: var(--mof-ink); background: transparent; min-width: 0; box-shadow: none !important; outline: none; }
.mof-search button { border: 0; background: var(--mof-navy); color: #fff; padding: 0 18px; cursor: pointer; display: flex; align-items: center; border-radius: 0; }
.mof-search button:hover { background: var(--mof-yellow); color: var(--mof-navy); }
.mof-search:focus-within { border-color: var(--mof-navy); }

/* Header actions */
.mof-actions { display: flex; gap: 28px; justify-content: flex-end; }
.mof-actions a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--mof-ink); font: 600 13px/1.2 Poppins, sans-serif; text-decoration: none; }
.mof-actions a .mof-ico { width: 28px; height: 28px; }
.mof-actions a:hover { color: var(--mof-navy); }
.mof-badge { position: absolute; top: -6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--mof-yellow); color: var(--mof-navy); font: 700 11px/18px Poppins, sans-serif; text-align: center; font-style: normal; }
.mof-badge[hidden] { display: none; }
@media (max-width: 767px) {
	.mof-actions { gap: 16px; }
	.mof-actions a span { display: none; }
	.mof-actions a .mof-ico { width: 24px; height: 24px; }
}

/* Category menu */
.mof-catmenu { position: relative; display: inline-block; }
.mof-catmenu-btn { display: flex; align-items: center; gap: 10px; background: var(--mof-yellow); color: var(--mof-navy); border: 0; border-radius: 6px; padding: 11px 18px; font: 600 14px/1 Poppins, sans-serif; cursor: pointer; white-space: nowrap; }
.mof-catmenu-btn:hover, .mof-catmenu-btn:focus { background: var(--mof-yellow); color: var(--mof-navy); }
.mof-catmenu-btn .mof-ico:last-child { margin-left: 18px; transition: transform .2s; }
.mof-catmenu-list { position: absolute; z-index: 999; top: calc(100% + 6px); left: 0; min-width: 240px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border-radius: 8px; box-shadow: 0 14px 40px rgba(7, 30, 68, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.mof-catmenu-list li { margin: 0; }
.mof-catmenu-list a { display: block; padding: 10px 18px; color: var(--mof-ink); font: 500 14px/1.3 'DM Sans', sans-serif; text-decoration: none; }
.mof-catmenu-list a:hover { background: var(--mof-surface); color: var(--mof-navy); }
.mof-catmenu-list .mof-all a { border-top: 1px solid var(--mof-line); font-weight: 700; color: var(--mof-navy); }
.mof-catmenu:hover .mof-catmenu-list, .mof-catmenu.is-open .mof-catmenu-list { opacity: 1; visibility: visible; transform: none; }
.mof-catmenu.is-open .mof-catmenu-btn .mof-ico:last-child { transform: rotate(180deg); }

/* Main nav */
.mof-nav-list { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; list-style: none; }
.mof-nav-list > li { position: relative; margin: 0; }
.mof-nav-list a { display: block; padding: 6px 0; color: #fff; font: 500 14.5px/1.3 Poppins, sans-serif; text-decoration: none; border-bottom: 2px solid transparent; }
.mof-nav-list a:hover, .mof-nav-list .current-menu-item > a { color: var(--mof-yellow); border-bottom-color: var(--mof-yellow); }
.mof-nav-list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px 0; margin: 0; list-style: none; background: #fff; border-radius: 8px; box-shadow: 0 14px 40px rgba(7, 30, 68, .18); display: none; z-index: 999; }
.mof-nav-list li:hover > .sub-menu { display: block; }
.mof-nav-list .sub-menu a { color: var(--mof-ink); padding: 9px 16px; border: 0; }
.mof-nav-toggle, .mof-nav-close { display: none; background: transparent; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.mof-nav-toggle:hover, .mof-nav-toggle:focus, .mof-nav-close:hover, .mof-nav-close:focus { background: transparent; color: var(--mof-yellow); }
.mof-nav-toggle .mof-ico, .mof-nav-close .mof-ico { width: 28px; height: 28px; }
@media (max-width: 1024px) {
	.mof-nav-toggle { display: flex; }
	.mof-nav-panel { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--mof-navy-deep); padding: 64px 24px 24px; transform: translateX(100%); transition: transform .25s; z-index: 99999; overflow-y: auto; box-shadow: -10px 0 40px rgba(0, 0, 0, .3); }
	.mof-nav.is-open .mof-nav-panel { transform: none; }
	.mof-nav-close { display: flex; position: absolute; top: 14px; right: 14px; }
	.mof-nav-list { flex-direction: column; gap: 0; }
	.mof-nav-list a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 16px; }
	.mof-nav-list .sub-menu { position: static; display: block; box-shadow: none; background: transparent; padding-left: 14px; }
	.mof-nav-list .sub-menu a { color: #cfd8e8; }
}

/* Product cards */
.mof-grid { display: grid; grid-template-columns: repeat(var(--mof-cols, 5), minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .mof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .mof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.mof-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--mof-line); border-radius: 10px; padding: 16px 14px 18px; box-shadow: var(--mof-shadow); transition: transform .2s, box-shadow .2s; }
.mof-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11, 44, 95, .14); }
.mof-card-img { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: var(--mof-surface); }
.mof-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; }
.mof-card-title { margin: 14px 0 4px; font: 600 15px/1.3 Poppins, sans-serif; }
.mof-card-title a { color: var(--mof-ink); text-decoration: none; }
.mof-card-title a:hover { color: var(--mof-navy); }
.mof-card-price { font: 700 17px/1.3 Poppins, sans-serif; color: var(--mof-ink); margin-bottom: 12px; }
.mof-card-price del { color: var(--mof-muted); font-weight: 400; font-size: 14px; }
.mof-card-price ins { text-decoration: none; }
.mof-btn, .mof-card .mof-atc { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding: 8px 18px; border-radius: 6px; background: var(--mof-yellow); color: var(--mof-navy) !important; font: 600 13px/1.2 Poppins, sans-serif; text-decoration: none; transition: background .2s, color .2s; }
.mof-btn:hover, .mof-card .mof-atc:hover { background: var(--mof-navy); color: #fff !important; }
.mof-btn .mof-ico { width: 16px; height: 16px; }
.mof-card .added_to_cart { display: block; margin-top: 8px; font-size: 13px; color: var(--mof-navy); font-weight: 600; }
.mof-card .mof-atc.loading { opacity: .6; }
.mof-wl { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; padding: 6px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--mof-ink); cursor: pointer; }
.mof-wl:hover, .mof-wl:focus { background: #fff; color: #d6283b; }
.mof-wl .mof-ico { width: 20px; height: 20px; }
.mof-wl[aria-pressed=true] { color: #d6283b; }
.mof-wl[aria-pressed=true] path { d: path("M12 21 10.6 19.7C5.4 15 2 11.9 2 8.1 2 5 4.4 2.7 7.5 2.7c1.7 0 3.4.8 4.5 2.1 1.1-1.3 2.8-2.1 4.5-2.1C19.6 2.7 22 5 22 8.1c0 3.8-3.4 6.9-8.6 11.6L12 21Z"); }
.mof-empty { padding: 30px; text-align: center; background: var(--mof-surface); border-radius: 10px; color: var(--mof-muted); }

/* Elementor helpers (add class in Advanced > CSS Classes) */
.mof-tile { transition: transform .2s, box-shadow .2s; }
.mof-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11, 44, 95, .16) !important; }
.mof-tile .elementor-image-box-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.mof-project img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .4s; }
.mof-project { overflow: hidden; border-radius: 10px; }
.mof-project:hover img { transform: scale(1.04); }
.mof-cover img { width: 100%; height: 100%; object-fit: cover; }
.mof-slant { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 1024px) { .mof-slant { clip-path: none; } }

/* Contact Form 7 */
.mof-form .wpcf7-form p { margin-bottom: 14px; }
.mof-form .wpcf7-form label { display: block; font: 600 13.5px/1.4 Poppins, sans-serif; color: var(--mof-ink); }
.mof-form input:not([type=submit]), .mof-form select, .mof-form textarea { width: 100%; margin-top: 6px; padding: 11px 14px; border: 1.5px solid var(--mof-line); border-radius: 6px; background: #fff; font-size: 15px; color: var(--mof-ink); }
.mof-form input:focus, .mof-form select:focus, .mof-form textarea:focus { border-color: var(--mof-navy); outline: none; }
.mof-form textarea { height: 120px; }
.mof-form .mof-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 767px) { .mof-form .mof-row { grid-template-columns: 1fr; } }
.mof-form input[type=submit] { background: var(--mof-yellow); color: var(--mof-navy); border: 0; border-radius: 999px; padding: 13px 32px; font: 600 15px/1 Poppins, sans-serif; cursor: pointer; }
.mof-form input[type=submit]:hover { background: var(--mof-navy); color: #fff; }

/* WooCommerce look */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--mof-yellow) !important; color: var(--mof-navy) !important; border-radius: 6px !important; font-family: Poppins, sans-serif; font-weight: 600; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--mof-navy) !important; color: #fff !important; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--mof-ink) !important; font-weight: 700; }
.woocommerce span.onsale { background: var(--mof-yellow); color: var(--mof-navy); }

/* WhatsApp */
.mof-wa { position: fixed; right: 20px; bottom: 20px; z-index: 9999; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.mof-wa:hover { color: #fff; transform: scale(1.06); }
.mof-wa .mof-ico { width: 30px; height: 30px; }

/* Footer links */
.mof-site-footer a:hover { color: var(--mof-yellow) !important; }
