
/* ===== GLOBAL FOOTER: isolated ===== */
.nmg-foot,
.nmg-foot *{box-sizing:border-box}
.nmg-foot{
 --nmg-blue:#98351b;
 --nmg-ink:#48261d;
 --nmg-muted:#887570;
 --nmg-line:#ede1de;
 --nmg-soft:#faf6f5;
 font-family:Arial,Helvetica,sans-serif;
 color:var(--nmg-ink);
}
.nmg-foot a{color:inherit;text-decoration:none}
.nmg-foot-wrap{
 width:min(1180px,calc(100% - 36px));
 margin:0 auto;
}
.nmg-med-warning{
 background:#faf1ef;
 border-top:1px solid #efdfdb;
 border-bottom:1px solid #efdfdb;
}
.nmg-med-warning__inner{
 min-height:56px;
 display:flex;
 align-items:center;
 justify-content:center;
 padding:12px 0;
 color:#57291c;
 font-size:14px;
 font-weight:800;
 text-align:center;
 letter-spacing:.015em;
}
.nmg-footer-main{
 background:#fcf9f8;
 padding:42px 0 30px;
 border-bottom:1px solid var(--nmg-line);
}
.nmg-footer-grid{
 display:grid;
 grid-template-columns:1.05fr 1.05fr 1.05fr 1.35fr;
 gap:38px;
}
.nmg-foot h3{
 margin:0 0 15px;
 color:#411e15;
 font-size:15px;
 font-weight:800;
}
.nmg-foot-links{
 display:grid;
 gap:9px;
}
.nmg-foot-links a{
 width:max-content;
 max-width:100%;
 color:#775d56;
 font-size:13.5px;
 line-height:1.4;
}
.nmg-foot-links a:hover{
 color:var(--nmg-blue);
 text-decoration:underline;
 text-underline-offset:3px;
}
.nmg-foot-contact{
 display:grid;
 gap:10px;
 color:#765d57;
 font-size:13.5px;
 line-height:1.45;
}
.nmg-foot-contact strong{
 display:block;
 margin-bottom:2px;
 color:#523027;
 font-size:12px;
 text-transform:uppercase;
 letter-spacing:.05em;
}
.nmg-foot-contact a{color:#733220}
.nmg-foot-note{
 margin-top:28px;
 padding-top:22px;
 border-top:1px solid #eee5e2;
 display:flex;
 justify-content:space-between;
 gap:28px;
 align-items:flex-start;
}
.nmg-foot-about{
 max-width:650px;
}
.nmg-foot-about strong{
 display:block;
 margin-bottom:7px;
 color:#4a271e;
 font-size:15px;
}
.nmg-foot-about p{
 margin:0;
 color:#86746f;
 font-size:12.5px;
 line-height:1.55;
}
.nmg-foot-license{
 max-width:390px;
 color:#8a7873;
 font-size:12px;
 line-height:1.55;
 text-align:right;
}
.nmg-footer-bottom{
 background:#fff;
 padding:15px 0;
}
.nmg-footer-bottom__inner{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:20px;
 color:#93827d;
 font-size:11.5px;
}
.nmg-bottom-links{
 display:flex;
 flex-wrap:wrap;
 justify-content:flex-end;
 gap:15px;
}
.nmg-bottom-links a:hover{color:var(--nmg-blue)}

@media(max-width:820px){
 .nmg-foot-wrap{width:min(100% - 28px,1180px)}
 .nmg-footer-grid{grid-template-columns:1fr 1fr;gap:30px}
 .nmg-foot-note{display:block}
 .nmg-foot-license{
 margin-top:16px;
 max-width:none;
 text-align:left;
 }
}
@media(max-width:520px){
 .nmg-foot-wrap{width:calc(100% - 24px)}
 .nmg-med-warning__inner{font-size:12.5px}
 .nmg-footer-main{padding:32px 0 24px}
 .nmg-footer-grid{grid-template-columns:1fr;gap:25px}
 .nmg-footer-bottom__inner{
 display:block;
 line-height:1.6;
 }
 .nmg-bottom-links{
 justify-content:flex-start;
 margin-top:8px;
 gap:8px 14px;
 }
}

/* ===== COOKIE CONSENT / SETTINGS ===== */
.nmg-foot .nmg-cookie-settings-link{
 border:0;
 padding:0;
 margin:0;
 background:transparent;
 color:inherit;
 font:inherit;
 cursor:pointer;
}
.nmg-foot .nmg-cookie-settings-link:hover{
 color:var(--nmg-blue);
}

.nmg-cookie-banner,
.nmg-cookie-banner * ,
.nmg-cookie-modal,
.nmg-cookie-modal *{
 box-sizing:border-box;
}
.nmg-cookie-banner,
.nmg-cookie-modal{
 font-family:Arial,Helvetica,sans-serif;
 color:#48261d;
}
.nmg-cookie-banner[hidden],
.nmg-cookie-modal[hidden]{
 display:none!important;
}

.nmg-cookie-banner{
 position:fixed;
 left:16px;
 right:16px;
 bottom:16px;
 z-index:2147483000;
 max-width:1120px;
 margin:0 auto;
 padding:18px 20px;
 border:1px solid #e7d6d2;
 border-radius:16px;
 background:#fff;
 box-shadow:0 18px 50px rgba(20,55,86,.18);
}
.nmg-cookie-banner__grid{
 display:grid;
 grid-template-columns:1fr auto;
 gap:22px;
 align-items:center;
}
.nmg-cookie-banner h2{
 margin:0 0 7px!important;
 color:#512519!important;
 font-size:18px!important;
 line-height:1.25!important;
 font-family:Arial,Helvetica,sans-serif!important;
 font-weight:800!important;
}
.nmg-cookie-banner p{
 margin:0;
 color:#836a63;
 font-size:13.5px;
 line-height:1.55;
}
.nmg-cookie-banner p a{
 color:#98351b;
 text-decoration:underline;
 text-underline-offset:2px;
}
.nmg-cookie-actions{
 display:flex;
 flex-wrap:wrap;
 gap:8px;
 justify-content:flex-end;
}
.nmg-cookie-btn{
 min-height:42px;
 padding:0 14px;
 border:1px solid #e6d3ce;
 border-radius:10px;
 background:#fff;
 color:#762b17;
 font-size:13px;
 font-weight:800;
 cursor:pointer;
}
.nmg-cookie-btn--primary{
 border-color:#98351b;
 background:#98351b;
 color:#fff;
}
.nmg-cookie-btn:hover{
 filter:brightness(.98);
}

.nmg-cookie-modal{
 position:fixed;
 inset:0;
 z-index:2147483001;
 display:grid;
 place-items:center;
 padding:18px;
 background:rgba(10,28,46,.48);
}
.nmg-cookie-dialog{
 width:min(620px,100%);
 max-height:min(760px,calc(100vh - 36px));
 overflow:auto;
 border:1px solid #e7d6d2;
 border-radius:18px;
 background:#fff;
 box-shadow:0 22px 64px rgba(12,39,65,.28);
}
.nmg-cookie-dialog__head{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:18px;
 padding:22px 22px 14px;
 border-bottom:1px solid #f2e9e6;
}
.nmg-cookie-dialog__head h2{
 margin:0 0 5px!important;
 color:#512519!important;
 font:800 22px/1.2 Arial,Helvetica,sans-serif!important;
}
.nmg-cookie-dialog__head p{
 margin:0;
 color:#8b756f;
 font-size:13px;
 line-height:1.5;
}
.nmg-cookie-close{
 flex:0 0 auto;
 width:38px;
 height:38px;
 border:1px solid #e9dcd8;
 border-radius:10px;
 background:#fff;
 color:#67443b;
 font-size:24px;
 line-height:1;
 cursor:pointer;
}
.nmg-cookie-dialog__body{
 padding:18px 22px 8px;
}
.nmg-cookie-option{
 display:grid;
 grid-template-columns:1fr auto;
 gap:18px;
 align-items:center;
 padding:16px 0;
 border-bottom:1px solid #f5efee;
}
.nmg-cookie-option:last-child{
 border-bottom:0;
}
.nmg-cookie-option strong{
 display:block;
 margin-bottom:5px;
 color:#48261d;
 font-size:15px;
}
.nmg-cookie-option p{
 margin:0;
 color:#8a746e;
 font-size:13px;
 line-height:1.48;
}
.nmg-cookie-fixed{
 color:#7e615a;
 font-size:12px;
 font-weight:800;
 white-space:nowrap;
}
.nmg-cookie-switch{
 position:relative;
 display:inline-flex;
 align-items:center;
 width:48px;
 height:28px;
}
.nmg-cookie-switch input{
 position:absolute;
 opacity:0;
 pointer-events:none;
}
.nmg-cookie-slider{
 position:absolute;
 inset:0;
 border-radius:999px;
 background:#cfbfbb;
 cursor:pointer;
 transition:.2s ease;
}
.nmg-cookie-slider:before{
 content:"";
 position:absolute;
 width:22px;
 height:22px;
 left:3px;
 top:3px;
 border-radius:50%;
 background:#fff;
 box-shadow:0 1px 4px rgba(0,0,0,.18);
 transition:.2s ease;
}
.nmg-cookie-switch input:checked + .nmg-cookie-slider{
 background:#98351b;
}
.nmg-cookie-switch input:checked + .nmg-cookie-slider:before{
 transform:translateX(20px);
}
.nmg-cookie-switch input:focus-visible + .nmg-cookie-slider{
 outline:3px solid rgba(11,99,168,.22);
 outline-offset:2px;
}
.nmg-cookie-dialog__foot{
 display:flex;
 flex-wrap:wrap;
 justify-content:flex-end;
 gap:8px;
 padding:16px 22px 22px;
}
.nmg-cookie-legal{
 padding:0 22px 20px;
 color:#8a7873;
 font-size:12px;
 line-height:1.5;
}
.nmg-cookie-legal a{
 color:#98351b;
 text-decoration:underline;
 text-underline-offset:2px;
}

@media(max-width:720px){
 .nmg-cookie-banner{
 left:10px;
 right:10px;
 bottom:10px;
 padding:16px;
 }
 .nmg-cookie-banner__grid{
 grid-template-columns:1fr;
 gap:14px;
 }
 .nmg-cookie-actions{
 display:grid;
 grid-template-columns:1fr;
 justify-content:stretch;
 }
 .nmg-cookie-btn{
 width:100%;
 }
 .nmg-cookie-dialog__head,
 .nmg-cookie-dialog__body,
 .nmg-cookie-dialog__foot{
 padding-left:17px;
 padding-right:17px;
 }
 .nmg-cookie-dialog__foot{
 display:grid;
 grid-template-columns:1fr;
 }
}

