/* MC Butikken — forside-pakke (kun CSS + JS, ingen ændring af shoppen). Udkast fra BjergMotion. */
:root{--mcb-red:#d20613;--mcb-ink:#0b0b0c;--mcb-line:#e5e7eb}
.mcb-hero{position:relative;overflow:hidden;background:var(--mcb-ink);color:#fff;border-radius:14px;margin:6px 0 18px;padding:28px 28px 22px;font-family:Roboto,Poppins,sans-serif}
.mcb-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 58%,rgba(210,6,19,.95) 58.2%,rgba(210,6,19,.95) 61%,transparent 61.2%),linear-gradient(115deg,transparent 64%,rgba(255,255,255,.12) 64.2%,rgba(255,255,255,.12) 65.5%,transparent 65.7%);pointer-events:none}
.mcb-hero>*{position:relative}
.mcb-hero h2{font-size:clamp(1.55rem,3.2vw,2.35rem);line-height:1.08;font-weight:800;letter-spacing:-.01em;margin:0 0 6px;max-width:20ch;text-transform:none}
.mcb-hero p.mcb-sub{margin:0 0 18px;color:#c9ccd1;font-size:.98rem;max-width:46ch}
.mcb-types{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.mcb-types a{display:inline-flex;align-items:center;gap:8px;background:var(--mcb-red);color:#fff!important;font-weight:700;font-size:1rem;padding:13px 20px;border-radius:10px;text-decoration:none!important;min-height:48px;transition:transform .15s,background .15s}
.mcb-types a:hover{background:#ef1523;transform:translateY(-1px)}
.mcb-types a.alt{background:#fff;color:var(--mcb-ink)!important}
.mcb-brands{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;max-width:640px}
.mcb-brands a{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#fff!important;border-radius:999px;padding:7px 14px;font-size:.88rem;text-decoration:none!important;min-height:36px;display:inline-flex;align-items:center}
.mcb-brands a:hover{background:#fff;color:var(--mcb-ink)!important}
.mcb-find{display:flex;gap:8px;max-width:560px;margin:0 0 18px}
.mcb-find input{flex:1;min-width:0;border:0;border-radius:10px;padding:13px 14px;font-size:1rem;min-height:48px}
.mcb-find button{border:0;border-radius:10px;background:#fff;color:var(--mcb-ink);font-weight:700;padding:0 18px;min-height:48px}
.mcb-trust{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0;padding:14px 0 0;border-top:1px solid rgba(255,255,255,.16);list-style:none;font-size:.86rem;color:#d7d9dd}
.mcb-trust li:before{content:"";display:inline-block;width:7px;height:7px;background:var(--mcb-red);border-radius:50%;margin-right:8px}
.mcb-help-link{background:none;border:0;color:#fff;text-decoration:underline;padding:0;font-size:.95rem;min-height:44px}
/* hjælp-dialog */
.mcb-dlg{margin:auto;position:fixed;inset:0;height:fit-content;max-height:calc(100vh - 24px);overflow:auto;border:0;border-radius:14px;padding:0;width:min(520px,calc(100vw - 24px));box-shadow:0 20px 60px rgba(0,0,0,.35);font-family:Roboto,sans-serif}
.mcb-dlg::backdrop{background:rgba(0,0,0,.55)}
.mcb-dlg form{padding:22px;display:grid;gap:12px}
.mcb-dlg h3{margin:0;font-size:1.3rem;font-weight:800}
.mcb-dlg p{margin:0;color:#4b5563;font-size:.92rem}
.mcb-dlg label{display:grid;gap:4px;font-weight:600;font-size:.85rem}
.mcb-dlg input,.mcb-dlg textarea,.mcb-dlg select{border:1px solid #cfd3d9;border-radius:8px;padding:11px;font-size:1rem;font-weight:400;width:100%}
.mcb-dlg .row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mcb-dlg .acts{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.mcb-dlg .go{background:var(--mcb-red);color:#fff;border:0;border-radius:10px;padding:13px 20px;font-weight:700;min-height:48px}
.mcb-dlg .no{background:#f0f0f0;border:0;border-radius:10px;padding:13px 18px;min-height:48px}
.mcb-fab{position:fixed;right:16px;bottom:16px;z-index:1030;background:var(--mcb-red);color:#fff;border:0;border-radius:999px;padding:14px 20px;font-weight:700;box-shadow:0 8px 24px rgba(0,0,0,.3);min-height:52px}
.mcb-bar{display:none}
@media (max-width:991px){
  .mcb-hero{padding:22px 16px 18px;border-radius:12px}
  .mcb-hero:before{background:linear-gradient(115deg,transparent 80%,rgba(210,6,19,.95) 80.3%,rgba(210,6,19,.95) 84%,transparent 84.3%)}
  .mcb-types{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mcb-types a{justify-content:center;padding:11px 10px;min-height:46px;font-size:.95rem}.mcb-types a:first-child{grid-column:1/-1}
  .mcb-brands{flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding-right:16px;scrollbar-width:none}.mcb-brands a{white-space:nowrap}
  .mcb-hero h2{max-width:none}
  .mcb-fab{display:none}
  .mcb-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1030;background:var(--mcb-ink);padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:10px;box-shadow:0 -6px 20px rgba(0,0,0,.25)}
  .mcb-bar button{flex:1;border:0;border-radius:10px;min-height:48px;font-weight:700;font-size:.98rem}
  .mcb-bar .a{background:var(--mcb-red);color:#fff}.mcb-bar .b{background:#fff;color:var(--mcb-ink)}
  body{padding-bottom:70px}
}
/* cookie-vindue: kompakt i bunden i stedet for fuld skærm */
#CookieModalWindow .modal-dialog{margin:0 auto;position:fixed;left:0;right:0;bottom:0;max-width:760px;width:100%}
#CookieModalWindow .modal-content{max-height:78vh;overflow:auto;border-radius:14px 14px 0 0}
#CookieModalWindow .accordion-button{background:#f3f4f6!important;color:#111!important;border:1px solid var(--mcb-line)!important;padding:6px 12px!important;font-size:.85rem!important;width:auto!important}
@media (max-width:575px){#CookieModalWindow .modal-content{max-height:64vh}}
#CookieModalWindow .modal-content{font-size:.86rem;line-height:1.35}
#CookieModalWindow .modal-content h1,#CookieModalWindow .modal-content h2,#CookieModalWindow .modal-content h5{font-size:1.05rem;margin:0 0 6px}
#CookieModalWindow .modal-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--mcb-line);padding:8px 12px;flex-wrap:wrap;gap:6px;z-index:2}
@media (max-width:575px){#CookieModalWindow .modal-content{max-height:72vh}#CookieModalWindow .modal-body{padding:10px 14px}}
/* Cookie window appears in place, without the slide-in that counts as layout shift on phones. */
#CookieModalWindow,#CookieModalWindow .modal-dialog{transition:none!important;animation:none!important}
#CookieModalWindow.fade .modal-dialog,#CookieModalWindow.show .modal-dialog{transform:none!important}
/* Fixed height on phones: the cookie window keeps its place when the shop's web font arrives. */
@media (max-width:575px){#CookieModalWindow .modal-dialog{height:72vh}#CookieModalWindow .modal-content{height:100%;max-height:none}}
