/* Footer layout; contact and payment content remain owned by OpenCart modules. */
.mm-footer{background:#f4f7fa;border-top:1px solid #e2e8f0;color:#304361;font:14px/1.6 MMInter,Arial,sans-serif;padding:0;margin-top:32px;clear:both}
.mm-footer *{box-sizing:border-box}
.mm-footer #footer.mm-footer-inner{width:100%;margin:0;padding:40px 0 24px;background:transparent;border:0;color:inherit}
.mm-footer .mm-footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1.25fr;gap:36px}
.mm-footer .mm-footer-group{border:0;padding:0;margin:0;min-width:0}
.mm-footer .mm-footer-group summary{display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:16px;line-height:1.5;font-weight:600;color:#142b58;padding:0;min-height:44px;cursor:default}
.mm-footer summary::-webkit-details-marker{display:none}
.mm-footer summary span{display:none}
.mm-footer .mm-footer-group ul{list-style:none;padding:0;margin:8px 0 0}
.mm-footer #footer a{color:#304361;text-decoration:none;overflow-wrap:anywhere}
.mm-footer #footer a:hover{color:#2d55a0;text-decoration:underline}
.mm-footer .mm-footer-group li{padding:0;margin:0;list-style:none}
.mm-footer .mm-footer-group li a{display:flex;align-items:center;min-height:36px;font-size:14px;line-height:1.5;padding:6px 0}
.mm-footer :is(a,button,summary):focus-visible{outline:2px solid #2d55a0;outline-offset:3px;border-radius:3px}
.mm-footer .mm-footer-contact{min-width:0;padding:0;float:none;width:auto}
.mm-footer .mm-footer-contact .html-module-title:empty{display:none}
.mm-footer .mm-footer-contact .html-module-description{font:inherit;color:#5c6b80;line-height:1.7}
.mm-footer .mm-footer-contact .html-module-description>div{margin:0 0 8px}
.mm-footer .mm-footer-contact .html-module-description>br{display:none}
.mm-footer .mm-footer-contact :is(h2,h3,h4,h5,.h5){font:600 16px/1.5 MMInter,Arial,sans-serif;margin:10px 0 16px;color:#142b58}
.mm-footer .mm-footer-contact .footer_phone{display:flex;flex-direction:column;align-items:flex-start;gap:0;font:14px/1.7 MMInter,Arial,sans-serif;margin:0 0 8px;overflow-wrap:anywhere}
.mm-footer .mm-footer-contact .footer_phone>br{display:none}
.mm-footer .mm-footer-contact .footer_phone i{display:none}
.mm-footer #footer .footer_phone a{font:600 24px/1.5 MMManrope,Arial,sans-serif;color:#0050dc;display:inline-flex;align-items:center;min-height:44px}
.mm-footer .mm-footer-contact img{display:block;max-width:160px;width:100%;height:auto;object-fit:contain;margin-top:12px}
.mm-footer .mm-footer-trust{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:28px;align-items:center;border-top:1px solid #e2e8f0;margin-top:32px;padding-top:24px;font-size:13px}
.mm-footer #footer .mm-footer-google{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:44px;font-size:13px;font-weight:600;color:#2d55a0}
.mm-footer .mm-footer-stars{color:#b77b00;font:22px/1.2 Arial,sans-serif;white-space:nowrap}
.mm-footer .mm-footer-anpc{display:flex;align-items:center;min-height:44px}
.mm-footer .mm-footer-anpc img{max-width:100%;height:auto}
.mm-footer .mm-footer-payments{min-width:0;float:none;width:auto}
.mm-footer .mm-footer-payments .html-module-title:empty{display:none}
.mm-footer .footer-payment,.mm-footer .payment-block{padding:0;margin:0;float:none;width:auto;text-align:left}
.mm-footer .payment-block ul{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:0;list-style:none}
.mm-footer .payment-block ul li{display:flex;align-items:center;justify-content:center;width:56px;height:40px;float:none;margin:0;padding:5px;background:#fff;border:1px solid #e2e8f0;border-radius:6px}
.mm-footer .payment-block ul li:first-child{width:126px}
.mm-footer .payment-block img{max-width:100%;max-height:28px;object-fit:contain;margin:0!important;top:auto!important;position:static!important;height:auto!important}
.mm-footer .payment-block li a{display:block;margin:0!important;width:40px;height:23px;background-image:url('../image/megnor/payment.png');background-repeat:no-repeat}
.mm-footer .payment-block .visa a{background-position:-165px 0}
.mm-footer .payment-block .mastercard a{background-position:0 0}
.mm-footer .mm-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px;font-size:12px;color:#5c6b80}
.mm-footer .mm-footer-bottom>a,.mm-footer .open-cookie-settings{display:inline-flex;align-items:center;gap:6px;min-height:44px}
.mm-footer .open-cookie-settings{border:0;background:none;padding:0;font:inherit;color:#304361;cursor:pointer}
.mm-footer .open-cookie-settings:hover{text-decoration:underline;color:#2d55a0}
.mm-footer .mm-footer-copyright{font-size:12px}
@media(max-width:1100px){.mm-footer .mm-footer-grid{gap:20px}.mm-footer .mm-footer-trust{grid-template-columns:1fr auto}.mm-footer .mm-footer-anpc{grid-column:1/-1}}
@media(max-width:700px){
.mm-footer>.container{padding-left:16px;padding-right:16px}
.mm-footer #footer.mm-footer-inner{padding:24px 0}
.mm-footer .mm-footer-grid{display:flex;flex-direction:column;gap:0}
.mm-footer .mm-footer-contact{order:-1;padding-bottom:18px}
.mm-footer .mm-footer-contact :is(h2,h3,h4,h5,.h5){margin:0 0 4px}
.mm-footer .mm-footer-contact .html-module-description{font-size:13px}
.mm-footer .mm-footer-contact .html-module-description>br{display:none}
.mm-footer .mm-footer-contact img{max-width:128px;margin-top:10px}
.mm-footer .mm-footer-group{border-top:1px solid #e2e8f0}
.mm-footer .mm-footer-group summary{min-height:56px;cursor:pointer;font-size:15px}
.mm-footer summary span{display:block;transition:transform .15s}
.mm-footer details[open] summary span{transform:rotate(180deg)}
.mm-footer .mm-footer-group ul{margin:0 0 12px}
.mm-footer .mm-footer-group li a{min-height:44px}
.mm-footer .mm-footer-trust{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin-top:0;padding-top:16px}
.mm-footer .mm-footer-payments{width:100%}
.mm-footer .mm-footer-bottom{border-top:1px solid #e2e8f0;padding-top:16px;margin-top:20px;gap:8px;align-items:flex-start;flex-direction:column}
}
/* Override legacy contact-module typography without changing its configured HTML. */
.mm-footer #footer .footer_phone :is(span,a){font-family:MMManrope,Arial,sans-serif;font-weight:600}
.mm-footer #footer .mm-footer-contact .h5{color:#142b58;font:600 16px/1.5 MMInter,Arial,sans-serif}
@media(max-width:700px){.mm-footer summary span{font-size:0;width:7px;height:7px;border-right:1.5px solid #2d55a0;border-bottom:1.5px solid #2d55a0;transform:rotate(45deg);margin-right:4px}.mm-footer details[open] summary span{transform:rotate(225deg)}}
/* Admin content may inherit legacy display fonts; restrict these overrides to contact links. */
.mm-footer #footer .footer_phone a[href^="tel:"]{font-family:MMManrope,MMInter,Arial,sans-serif!important;font-weight:600!important}
.mm-footer #footer .footer_phone a.mm-footer-email{font:400 14px/1.6 MMInter,Arial,sans-serif;min-height:44px;color:#304361}
/* Reuse the consent module's controls and handlers inside a responsive dialog. */
.mm-cookie-panel .eupopup-head{display:none}
.mm-cookie-panel .eupopup-body{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;width:100%;padding:24px;box-shadow:none;color:#304361}
.mm-cookie-panel .eupopup-content{width:100%;max-width:560px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);padding:0;overflow:hidden;border-radius:16px;background:#fff;color:#304361;text-align:left;font:14px/1.6 MMInter,Arial,sans-serif;box-shadow:0 20px 64px #142b5833}
.mm-cookie-panel .mm-cookie-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;border-bottom:1px solid #dce4ee;flex-shrink:0}
.mm-cookie-panel #mm-cookie-title{font:600 20px/1.3 MMManrope,MMInter,Arial,sans-serif;color:#142b58;margin:0;text-transform:none}
.mm-cookie-panel .mm-cookie-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:20px 24px}
.mm-cookie-panel .cli-tab-section-container{margin-top:20px}
.mm-cookie-panel .cli-tab-section{border-top:1px solid #e2e8f0;margin:0;padding:8px 0}
.mm-cookie-panel .cli-tab-header{background:#fff;padding:0;align-items:center;min-height:48px;gap:12px;border-radius:0}
.mm-cookie-panel .cli-tab-header a.cli-nav-link{color:#142b58;font:600 14px/1.5 MMInter,Arial,sans-serif;min-height:44px}
.mm-cookie-panel .cli-tab-header a:before{border-color:#2d55a0;flex-shrink:0}
.mm-cookie-panel .cli-necessary-caption{font-size:12px;color:#5c6b80;text-align:right}
.mm-cookie-panel .cli-tab-content{background:#f4f7fa;border-radius:8px;color:#304361}
.mm-cookie-panel .cli-tab-content p{font:400 13px/1.6 MMInter,Arial,sans-serif;margin:0;padding:12px}
.mm-cookie-panel .cli-switch{width:48px;height:44px;flex:0 0 48px;padding:0}
.mm-cookie-panel .cli-switch .cli-slider{width:48px;height:28px;top:8px;background:#8190a5}
.mm-cookie-panel .cli-switch .cli-slider:before{width:22px;height:22px;left:3px;bottom:3px}
.mm-cookie-panel .cli-switch .cli-slider:after{display:none}
.mm-cookie-panel .cli-switch input:checked+.cli-slider{background:#2d55a0}
.mm-cookie-panel .cli-switch input:checked+.cli-slider:before{transform:translateX(20px)}
.mm-cookie-panel .eupopup-buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex-shrink:0;border-top:1px solid #dce4ee;padding:16px 24px;margin:0;background:#fff}
.mm-cookie-panel .eupopup-buttons .clearfix{display:none}
.mm-cookie-panel .eupopup-buttons :is(button,a){min-height:44px;display:inline-flex;align-items:center;justify-content:center;font:600 14px/1.4 MMInter,Arial,sans-serif;text-transform:none}
.mm-cookie-panel .eupopup-modify{color:#2d55a0}
.mm-cookie-panel .eupopup-accept{margin-left:auto;border:1px solid #2d55a0;background:linear-gradient(135deg,#0068ff,#004acb);color:white;border-radius:8px!important;box-shadow:none}
.mm-cookie-panel :is(button,a):focus-visible,.mm-cookie-panel input:focus-visible+.cli-slider{outline:2px solid #2d55a0;outline-offset:3px}
@media(max-width:700px){
 .mm-cookie-panel .eupopup-body{padding:12px}
 .mm-cookie-panel .eupopup-content{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:12px}
 .mm-cookie-panel .mm-cookie-header{padding:10px 16px}
 .mm-cookie-panel #mm-cookie-title{font-size:18px}
 .mm-cookie-panel .mm-cookie-scroll{padding:16px}
 .mm-cookie-panel .eupopup-buttons{padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));gap:8px}
 .mm-cookie-panel .eupopup-accept{flex:1;padding:12px 16px!important}
}
.mm-cookie-panel .cli-switch input[type=checkbox]{width:48px;height:44px;top:0;z-index:2;cursor:pointer}

/* Keep legal links clear of the existing reCAPTCHA badge; do not hide the badge. */
body:has(.grecaptcha-badge) .mm-footer .mm-footer-bottom{padding-right:80px}
@media(max-width:700px){.mm-footer #footer .footer_phone a[href^="tel:"]{font-size:23px}}

/* Official social profiles configured in store settings. */
.mm-footer .mm-footer-social{margin-top:20px;padding-top:16px;border-top:1px solid #dce4ee}
.mm-footer .mm-footer-social-title{margin:0 0 10px;font-weight:600;color:#142b58}
.mm-footer .mm-footer-social-links{display:flex;flex-wrap:wrap;gap:8px}
.mm-footer #footer .mm-footer-social-links a{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:8px;background:transparent;text-decoration:none}
.mm-footer .mm-footer-social-links svg{display:block;flex:0 0 24px;width:24px;height:24px}
.mm-footer #footer .mm-footer-social-links a:hover{background:#e7edf7;text-decoration:none}
.mm-footer #footer .mm-footer-social-links a:focus-visible{outline:2px solid #2d55a0;outline-offset:2px}
