/* Homepage brand showcase. Loaded after the existing theme; VIP ads stay separate. */
html.mermi-admin-theme body #promotions{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px!important;align-items:stretch;margin-top:22px}
html.mermi-admin-theme body #promotions>.mermi-brand-card{display:flex;flex-direction:column;min-width:0;margin:0!important;overflow:hidden;position:relative;background:linear-gradient(160deg,#17202d,#101620)!important;border:1px solid #d6b46a30!important;border-radius:16px!important;box-shadow:0 8px 24px #0002!important;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
html.mermi-admin-theme body #promotions .mermi-brand-stage{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:17px;min-height:140px;padding:20px 14px 22px;background:radial-gradient(ellipse at 50% 95%,#e5bd5b15,transparent 72%),linear-gradient(135deg,#ffffff03,transparent)}
html.mermi-admin-theme body #promotions .mermi-brand-stage:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#ffe7b122 48%,#ffffff12 51%,transparent 64%);transform:translateX(-140%)}
html.mermi-admin-theme body #promotions .mermi-brand-category{max-width:100%;border:1px solid #d6b46a38;border-radius:99px;padding:4px 10px;color:#dec58e;font:600 10px/1.4 Arial,sans-serif;letter-spacing:.3px;text-align:center;overflow-wrap:anywhere;background:#d6b46a08}
html.mermi-admin-theme body #promotions .mermi-brand-stage h3{width:100%;margin:0!important;padding:0!important;font:800 27px/1.1 Arial,sans-serif;text-align:center;text-transform:none;letter-spacing:-.5px}
html.mermi-admin-theme body #promotions .mermi-brand-mark{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;padding:0 3px;color:#f2ddad;text-decoration:none;filter:drop-shadow(0 2px 9px #e6c37a26);transition:transform .35s ease,filter .35s ease;overflow-wrap:anywhere}
html.mermi-admin-theme body #promotions .mermi-brand-mark img.promotion-brand-logo{position:static!important;display:block;width:100%!important;max-width:190px!important;height:48px!important;max-height:48px!important;object-fit:contain!important;object-position:center!important;background:transparent!important;border:0!important;border-radius:0!important;opacity:1!important;transform:none!important;filter:none!important}
html.mermi-admin-theme body #promotions .mermi-brand-actions{display:flex;flex-direction:column;gap:10px;flex:1;min-height:144px;padding:14px;border-top:1px solid #ffffff08}
html.mermi-admin-theme body #promotions .mermi-brand-code.code-row{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;padding:0!important;min-height:38px;width:100%;background:transparent!important;border:0!important}
html.mermi-admin-theme body #promotions .mermi-brand-code .promo-code{display:block;min-width:0;max-width:100%;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#e6ce9b!important;font:700 12px/1.4 Consolas,monospace!important;letter-spacing:.35px!important;white-space:normal!important;overflow-wrap:anywhere;text-shadow:none!important;box-shadow:none!important}
html.mermi-admin-theme body #promotions .mermi-brand-code .copy-btn{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;min-width:38px!important;width:38px!important;min-height:38px!important;height:38px!important;padding:9px!important;gap:0!important;border:1px solid #d6b46a40!important;border-radius:9px!important;background:#dfbd7810!important;color:#e6ce9b!important;cursor:pointer;transform:none!important}
html.mermi-admin-theme body #promotions .mermi-brand-code .copy-btn svg{display:block!important;width:17px!important;height:17px!important;flex:none}
html.mermi-admin-theme body #promotions .mermi-copy-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.mermi-admin-theme body #promotions .mermi-brand-code .copy-btn.copied{background:#27523b!important;color:#c8ffdc!important;border-color:#73aa8c!important}
html.mermi-admin-theme body #promotions .mermi-brand-cta{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 8px;margin-top:auto;border:1px solid #e8c986;border-radius:9px;background:linear-gradient(110deg,#ecd49b,#d1ac64);color:#211b10;font:800 13px/1.35 Arial,sans-serif;text-decoration:none;text-align:center;transition:filter .2s ease}
html.mermi-admin-theme body #promotions .mermi-brand-detail{display:flex;align-items:center;justify-content:center;min-height:26px;padding:3px 0;color:#b5bdca;font:500 11px/1.4 Arial,sans-serif;text-align:center;text-decoration:none}
html.mermi-admin-theme body #promotions .mermi-brand-detail:hover{text-decoration:underline;color:#eddbb5}
html.mermi-admin-theme body #promotions .mermi-brand-card a:focus-visible,html.mermi-admin-theme body #promotions .mermi-brand-card button:focus-visible{outline:2px solid #ffe2a0;outline-offset:3px}
@media(hover:hover) and (pointer:fine){
 html.mermi-admin-theme body #promotions>.mermi-brand-card:hover{transform:translateY(-4px);border-color:#e7c78499!important;box-shadow:0 12px 30px #0004,0 0 20px #dfbd7812!important}
 html.mermi-admin-theme body #promotions .mermi-brand-card:hover .mermi-brand-mark,html.mermi-admin-theme body #promotions .mermi-brand-card:focus-within .mermi-brand-mark{transform:scale(1.045);filter:drop-shadow(0 0 12px #eccd8960)}
 html.mermi-admin-theme body #promotions .mermi-brand-card:hover .mermi-brand-stage:after{animation:mermi-brand-sheen .8s ease-out}
 html.mermi-admin-theme body #promotions .mermi-brand-cta:hover{filter:brightness(1.08)}
}
@keyframes mermi-brand-sheen{to{transform:translateX(140%)}}
@media(max-width:1199px){html.mermi-admin-theme body #promotions{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:899px){html.mermi-admin-theme body #promotions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}}
@media(max-width:640px){
 html.mermi-admin-theme body #promotions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html.mermi-admin-theme body #promotions .mermi-brand-stage{padding:16px 10px;gap:13px;min-height:122px}
 html.mermi-admin-theme body #promotions .mermi-brand-stage h3{font-size:23px}
 html.mermi-admin-theme body #promotions .mermi-brand-category{font-size:9px;padding:4px 7px;letter-spacing:0}
 html.mermi-admin-theme body #promotions .mermi-brand-mark img.promotion-brand-logo{height:40px!important;max-height:40px!important}
 html.mermi-admin-theme body #promotions .mermi-brand-actions{padding:11px 9px;gap:8px;min-height:142px}
 html.mermi-admin-theme body #promotions .mermi-brand-code .promo-code{font-size:10px!important;letter-spacing:0!important}
 html.mermi-admin-theme body #promotions .mermi-brand-code .copy-btn{flex-basis:36px!important;min-width:36px!important;width:36px!important}
 html.mermi-admin-theme body #promotions .mermi-brand-cta{font-size:12px}
 html.mermi-admin-theme body #promotions .mermi-brand-detail{font-size:10px}
}
@media(prefers-reduced-motion:reduce){html.mermi-admin-theme body #promotions .mermi-brand-card,html.mermi-admin-theme body #promotions .mermi-brand-mark,html.mermi-admin-theme body #promotions .mermi-brand-stage:after{animation:none!important;transition:none!important;transform:none!important}}
