/**
 * @company MG Technologies
 * @author Manu Mahesh
 * @date 19 Nov 2026
 * MG: Site header (app/templates/header_v2.php), no Bootstrap. Colours from mg-base.css.
 *   Desktop (1080px+): logo, menu with drop-downs / mega menus, search, wishlist, account, cart, "Sell your theme".
 *   Below 1080px: sticky bar (menu, logo, search, account, cart) and a slide-in menu.
 * (common.css forces every link to #333 / weight 400 with !important, hence the !important on link colours here.)
 */

.mg-hd, .mg-hd-drawer{ font-family:var(--mg-font-body); }
.mg-hd *, .mg-hd *::before, .mg-hd *::after, .mg-hd-drawer *, .mg-hd-drawer *::before, .mg-hd-drawer *::after{ box-sizing:border-box; }
.mg-hd svg, .mg-hd-drawer svg{ flex:0 0 auto; }
.mg-hd ul, .mg-hd-drawer ul{ list-style:none; margin:0; padding:0; }
.mg-hd{ position:sticky; top:0; z-index:900; background:#fff; }

/* ---------- Top bar ---------- */
.mg-hd-top{ background:var(--mg-forest); color:#fff; }
.mg-hd-top__in{ position:relative; max-width:1240px; margin:0 auto; padding:8px 52px; text-align:center; }
a.mg-hd-top__msg{ display:inline-flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:6px 12px; color:#fff !important; font-size:14px; line-height:1.4; text-decoration:none !important; }
.mg-hd-top__cta{ display:inline-block; padding:3px 12px; border-radius:999px; background:#fff; color:var(--mg-forest); font-size:12.5px; font-weight:700; }
a.mg-hd-top__msg:hover .mg-hd-top__cta{ background:var(--mg-primary-soft); }
/* MG 21 Nov 2026: announcements slide up one after another (assets/js/mg-header.js); all share one grid cell */
.mg-hd-top__slides{ display:grid; overflow:hidden; }
.mg-hd-top__slides > .mg-hd-top__msg{ grid-area:1 / 1; align-self:center; justify-self:center; transition:transform .5s ease, opacity .5s ease; }
.mg-hd-top__slides[data-mg-hd-slides] > .mg-hd-top__msg{ opacity:0; transform:translateY(110%); visibility:hidden; transition:transform .5s ease, opacity .5s ease, visibility 0s linear .5s; }
.mg-hd-top__slides[data-mg-hd-slides] > .mg-hd-top__msg.mg-is-active{ opacity:1; transform:none; visibility:visible; transition:transform .5s ease, opacity .5s ease, visibility 0s; }
.mg-hd-top__slides[data-mg-hd-slides] > .mg-hd-top__msg.mg-is-leaving{ opacity:0; transform:translateY(-110%); visibility:visible; }
@media (prefers-reduced-motion: reduce){
  .mg-hd-top__slides[data-mg-hd-slides] > .mg-hd-top__msg{ transition:none !important; transform:none !important; }
}
.mg-hd-top__close{ position:absolute; right:12px; top:50%; transform:translateY(-50%); width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:8px; background:transparent; color:var(--mg-forest-ink); cursor:pointer; }
.mg-hd-top__close:hover{ background:var(--mg-forest-2); color:#fff; }
.mg-hd-top__close svg{ width:16px; height:16px; }

/* ---------- Main bar ---------- */
.mg-hd-bar{ border-bottom:1px solid var(--mg-border); background:#fff; }
.mg-hd-bar__in{ max-width:1240px; height:72px; margin:0 auto; padding:0 20px; display:flex; align-items:center; gap:18px; }
.mg-hd-logo{ flex:0 0 auto; display:inline-flex; align-items:center; }
.mg-hd-logo img{ display:block; width:200px; height:auto; }

.mg-hd-icon{ position:relative; flex:0 0 auto; width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:12px; background:transparent; color:var(--mg-ink) !important; cursor:pointer; text-decoration:none !important; }
.mg-hd-icon:hover{ background:var(--mg-badge-bg); }
.mg-hd-icon[aria-expanded="true"]{ background:var(--mg-primary-soft); color:var(--mg-primary-dark) !important; }
.mg-hd-icon svg{ width:21px; height:21px; }
.mg-hd .mg-h-cart-count{ top:3px; right:2px; }
.mg-hd-burger{ display:none; margin-left:-8px; }

/* Menu */
.mg-hd-nav{ flex:1 1 auto; display:flex; justify-content:center; min-width:0; }
.mg-hd-nav__list{ display:flex; align-items:center; gap:4px; }
.mg-hd-nav__item{ position:relative; }
a.mg-hd-nav__link{ display:inline-flex; align-items:center; gap:4px; height:72px; padding:0 12px; color:var(--mg-ink) !important; font-size:15px; font-weight:600 !important; text-decoration:none !important; white-space:nowrap; }
a.mg-hd-nav__link:hover, .mg-hd-nav__item--drop:hover > a.mg-hd-nav__link, .mg-hd-nav__item--drop:focus-within > a.mg-hd-nav__link, a.mg-hd-nav__link[aria-current="page"]{ color:var(--mg-primary) !important; }
a.mg-hd-nav__link[aria-current="page"]{ box-shadow:inset 0 -3px 0 var(--mg-primary); }
.mg-hd-nav__caret{ width:15px; height:15px; opacity:.6; transition:transform .15s ease; }
.mg-hd-nav__item--drop:hover .mg-hd-nav__caret, .mg-hd-nav__item--drop:focus-within .mg-hd-nav__caret{ transform:rotate(180deg); }

/* Drop-downs and mega menus */
.mg-hd-drop{ display:none; position:absolute; left:50%; top:100%; transform:translateX(-50%); padding-top:2px; z-index:950; }
.mg-hd-nav__item--drop:hover > .mg-hd-drop, .mg-hd-nav__item--drop:focus-within > .mg-hd-drop{ display:block; }
.mg-hd-drop__in{ display:flex; background:#fff; border:1px solid var(--mg-border); border-radius:var(--mg-radius-md); box-shadow:0 24px 48px -16px rgba(17,24,39,.22); overflow:hidden; text-align:left; }
.mg-hd-drop__group{ padding:22px 24px 20px; min-width:220px; }
.mg-hd-drop__group + .mg-hd-drop__group{ background:var(--mg-bg-hero); border-left:1px solid var(--mg-border); }
.mg-hd-drop__group--3{ width:600px; } .mg-hd-drop__group--2{ width:420px; }
a.mg-hd-drop__title{ display:block; margin:0 0 8px; padding:0 0 10px; border-bottom:1px solid var(--mg-border); color:var(--mg-ink) !important; font-size:15px; font-weight:700 !important; text-decoration:none !important; }
.mg-hd-drop__list{ column-gap:20px; }
.mg-hd-drop__group--3 .mg-hd-drop__list{ column-count:3; } .mg-hd-drop__group--2 .mg-hd-drop__list{ column-count:2; }
.mg-hd-drop__list li{ break-inside:avoid; }
.mg-hd-drop__list a{ display:block; padding:6px 0; color:var(--mg-badge-ink) !important; font-size:14px; line-height:1.35; text-decoration:none !important; }
.mg-hd-drop__list--simple{ padding:10px; min-width:220px; }
.mg-hd-drop__list--simple a{ padding:9px 12px; border-radius:8px; }
.mg-hd-drop__list a:hover, a.mg-hd-drop__title:hover{ color:var(--mg-primary) !important; }
.mg-hd-drop__list--simple a:hover{ background:var(--mg-bg-highlight); }
a.mg-hd-drop__all{ display:inline-block; margin-top:12px; color:var(--mg-primary) !important; font-size:13.5px; font-weight:700 !important; text-decoration:none !important; }
a.mg-hd-drop__all:hover{ text-decoration:underline !important; }

/* Tools */
.mg-hd-tools{ flex:0 0 auto; display:flex; align-items:center; gap:2px; margin-left:auto; }
a.mg-hd-sell{ display:inline-flex; align-items:center; gap:8px; height:42px; margin-left:10px; padding:0 16px; border:1.5px solid var(--mg-forest); border-radius:12px; color:var(--mg-forest) !important; font-size:14px; font-weight:700 !important; text-decoration:none !important; white-space:nowrap; }
a.mg-hd-sell:hover{ background:var(--mg-forest); color:#fff !important; }
a.mg-hd-sell svg{ width:18px; height:18px; }

/* Account drop-down */
.mg-hd-acc{ position:relative; }
.mg-hd-acc__menu{ position:absolute; right:0; top:calc(100% + 10px); z-index:960; width:250px; padding:8px; background:#fff; border:1px solid var(--mg-border); border-radius:var(--mg-radius-md); box-shadow:0 24px 48px -16px rgba(17,24,39,.22); }
.mg-hd-acc__who{ margin:4px 10px 8px; color:var(--mg-ink-soft); font-size:13px; line-height:1.4; overflow:hidden; text-overflow:ellipsis; }
.mg-hd-acc__who strong{ color:var(--mg-ink); }
.mg-hd-acc__menu a{ display:block; padding:9px 10px; border-radius:8px; color:var(--mg-ink) !important; font-size:14px; text-decoration:none !important; }
.mg-hd-acc__menu a:hover{ background:var(--mg-bg-highlight); color:var(--mg-primary-dark) !important; }
.mg-hd-acc__out{ margin-top:4px; padding-top:4px; border-top:1px solid var(--mg-border); }

/* ---------- Search panel ---------- */
.mg-hd-search{ position:absolute; left:0; right:0; top:100%; background:#fff; border-bottom:1px solid var(--mg-border); box-shadow:0 24px 40px -24px rgba(17,24,39,.3); }
.mg-hd-search__in{ max-width:820px; margin:0 auto; padding:14px 20px; display:flex; align-items:center; gap:10px; }
.mg-hd-search__form, .mg-hd-drawer__search{ position:relative; flex:1 1 auto; min-width:0; display:flex; gap:8px; }
.mg-hd-search__icon{ position:absolute; left:15px; top:50%; width:19px; height:19px; transform:translateY(-50%); color:var(--mg-ink-faint); pointer-events:none; }
.mg-hd-search__form input, .mg-hd-drawer__search input{ flex:1 1 auto; min-width:0; height:48px; padding:0 14px 0 44px; border:1.5px solid var(--mg-border); border-radius:12px; background:#fff; color:var(--mg-ink); font-size:16px; }
.mg-hd-search__form input:focus, .mg-hd-drawer__search input:focus{ outline:none; border-color:var(--mg-primary); box-shadow:0 0 0 3px rgba(17,132,55,.14); }
.mg-hd-search__go{ flex:0 0 auto; height:48px; padding:0 22px; border:0; border-radius:12px; background:var(--mg-primary); color:#fff; font-size:15px; font-weight:700; }
.mg-hd-search__go:hover{ background:var(--mg-primary-dark); }
.mg-hd-search .mg-sr-suggest, .mg-hd-drawer .mg-sr-suggest{ top:calc(100% + 6px); }

/* ---------- Slide-in menu ---------- */
.mg-hd-drawer{ position:fixed; inset:0; z-index:10000; }
.mg-hd-drawer__backdrop{ position:absolute; inset:0; background:rgba(15,23,42,.5); opacity:0; transition:opacity .2s ease; }
.mg-hd-drawer__panel{ position:absolute; left:0; top:0; bottom:0; width:min(90vw, 400px); display:flex; flex-direction:column; background:#fff; box-shadow:20px 0 50px -20px rgba(0,0,0,.35); transform:translateX(-100%); transition:transform .24s ease; }
.mg-hd-drawer.mg-is-open .mg-hd-drawer__backdrop{ opacity:1; }
.mg-hd-drawer.mg-is-open .mg-hd-drawer__panel{ transform:translateX(0); }
.mg-hd-drawer__head{ flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; height:60px; padding:0 10px 0 18px; border-bottom:1px solid var(--mg-border); }
.mg-hd-drawer__logo img{ display:block; width:150px; height:auto; }
.mg-hd-drawer__body{ flex:1 1 auto; overflow-y:auto; overscroll-behavior:contain; padding:16px 18px 28px; }
.mg-hd-drawer__search{ margin-bottom:10px; }
.mg-hd-mnav > ul > li{ border-bottom:1px solid var(--mg-border); }
.mg-hd-mnav__toggle, a.mg-hd-mnav__link{ display:flex; align-items:center; justify-content:space-between; width:100%; min-height:54px; padding:0 4px; border:0; background:transparent; color:var(--mg-ink) !important; font-size:17px; font-weight:700 !important; text-align:left; text-decoration:none !important; cursor:pointer; }
.mg-hd-mnav__toggle svg{ width:20px; height:20px; color:var(--mg-ink-soft); transition:transform .15s ease; }
.mg-hd-mnav__toggle[aria-expanded="true"]{ color:var(--mg-primary) !important; }
.mg-hd-mnav__toggle[aria-expanded="true"] svg{ transform:rotate(180deg); color:var(--mg-primary); }
a.mg-hd-mnav__link--sub{ min-height:44px; font-size:15px; font-weight:600 !important; padding-left:12px; }
.mg-hd-mnav__sub{ padding:0 4px 16px; }
.mg-hd-mnav__group{ margin:10px 0 8px; }
.mg-hd-mnav__group a{ color:var(--mg-ink) !important; font-size:15px; font-weight:700 !important; text-decoration:none !important; }
.mg-hd-mnav__chips{ display:flex; flex-wrap:wrap; gap:8px; }
.mg-hd-mnav__chips a{ display:inline-flex; align-items:center; min-height:38px; padding:0 13px; border:1px solid var(--mg-border); border-radius:999px; background:#fff; color:var(--mg-badge-ink) !important; font-size:14px; text-decoration:none !important; }
.mg-hd-mnav__chips a:hover{ border-color:var(--mg-primary); color:var(--mg-primary-dark) !important; }
a.mg-hd-mnav__all{ display:inline-block; margin:12px 0 6px; color:var(--mg-primary) !important; font-size:14px; font-weight:700 !important; text-decoration:none !important; }
.mg-hd-maccount{ margin-top:22px; }
.mg-hd-maccount__title{ margin:0 0 10px; color:var(--mg-ink-soft); font-size:13px; font-weight:700; }
.mg-hd-maccount__btns{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:10px; }
.mg-hd-maccount__btns .mg-b-btn{ min-height:46px; padding:0 12px; font-size:14.5px; }
.mg-hd-maccount ul a{ position:relative; display:flex; align-items:center; gap:8px; min-height:44px; color:var(--mg-ink) !important; font-size:15px; text-decoration:none !important; }
.mg-hd-maccount ul a:hover{ color:var(--mg-primary-dark) !important; }
.mg-hd-drawer .mg-hd-maccount__n{ position:static; }
.mg-hd-drawer .mg-hd-maccount__n:not(.mg-is-empty){ display:inline-block; }
.mg-hd-mfoot{ display:grid; gap:14px; margin-top:22px; padding-top:18px; border-top:1px solid var(--mg-border); }
a.mg-hd-sell--block{ justify-content:center; height:48px; margin:0; }
.mg-hd-mfoot__cur{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0; color:var(--mg-ink-soft); font-size:14px; font-weight:600; }
.mg-hd-mfoot__cur select{ height:40px; padding:0 34px 0 12px; border:1px solid var(--mg-border); border-radius:10px; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 12px; color:var(--mg-ink); font-size:14px; font-weight:600; -webkit-appearance:none; appearance:none; }
html.mg-hd-locked, html.mg-hd-locked body{ overflow:hidden; }

/* ---------- Responsive ---------- */
@media (max-width:1240px){
  a.mg-hd-nav__link{ padding:0 9px; font-size:14.5px; }
  .mg-hd-logo img{ width:180px; }
  .mg-hd-drop__group--3{ width:520px; }
}
@media (max-width:1079px){
  .mg-hd-bar__in{ height:60px; gap:6px; padding:0 14px; }
  .mg-hd-burger{ display:inline-flex; }
  .mg-hd-nav, a.mg-hd-sell:not(.mg-hd-sell--block){ display:none; }
  .mg-hd-logo img{ width:150px; }
  .mg-hd-search__in{ padding:12px 14px; }
}
@media (max-width:480px){
  .mg-hd-top__in{ padding:7px 44px 7px 12px; }
  a.mg-hd-top__msg{ font-size:12.5px; gap:4px 8px; }
  .mg-hd-top__cta{ display:none; }
  a.mg-hd-top__msg{ text-decoration:underline !important; text-underline-offset:3px; }
  .mg-hd-top__close{ right:4px; }
  .mg-hd-icon--wish{ display:none; }
  .mg-hd-logo img{ width:138px; }
  .mg-hd-icon{ width:40px; height:40px; }
  .mg-hd-search__go{ padding:0 14px; }
}
@media (prefers-reduced-motion:reduce){
  .mg-hd-drawer__panel, .mg-hd-drawer__backdrop, .mg-hd-nav__caret, .mg-hd-mnav__toggle svg{ transition:none; }
}
.mg-hd-top{ font-family:var(--mg-font-body); }

/* ================= Footer (app/templates/footer_v2.php) ================= */
.mg-ft{ margin-top:0; background:var(--mg-bg-hero); border-top:1px solid var(--mg-border); font-family:var(--mg-font-body); color:var(--mg-ink-soft); }
.mg-ft ul{ list-style:none; margin:0; padding:0; }
.mg-ft__in{ max-width:1240px; margin:0 auto; padding:44px 20px 30px; display:grid; grid-template-columns:minmax(0,1.5fr) repeat(4, minmax(0,1fr)); gap:32px; }
.mg-ft__logo img{ display:block; width:190px; height:auto; }
.mg-ft__brand p{ margin:14px 0 0; max-width:34ch; font-size:14px; line-height:1.6; }
.mg-ft__mail a{ color:var(--mg-ink) !important; font-weight:600 !important; }
.mg-ft__social{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px !important; }
.mg-ft__social a{ display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; border-radius:10px; }
.mg-ft__social a:hover{ background:#fff; box-shadow:var(--mg-shadow-sm); }
.mg-ft__social img{ width:30px; height:30px; }
.mg-ft__title{ margin:0 0 12px; color:var(--mg-ink); font-family:var(--mg-font-display); font-size:15px; font-weight:700; }
.mg-ft__col li a{ display:inline-block; padding:5px 0; color:var(--mg-ink-soft) !important; font-size:14px; text-decoration:none !important; }
.mg-ft__col li a:hover{ color:var(--mg-primary) !important; }
.mg-ft__bottom{ border-top:1px solid var(--mg-border); }
.mg-ft__bottom-in{ max-width:1240px; margin:0 auto; padding:14px 20px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 20px; font-size:13.5px; }
.mg-ft__bottom-in p{ margin:0; }
.mg-ft .mg-f-currency{ margin:0; }
@media (max-width:1023px){
  .mg-ft__in{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:26px 20px; }
  .mg-ft__brand{ grid-column:1 / -1; }
}
@media (max-width:767px){

  .mg-ft__in{ padding:32px 16px 24px; }
  /* MG 21 Nov 2026: logo, text, email and social icons centred on mobile */
  .mg-ft__brand{ text-align:center; }
  .mg-ft__logo{ display:inline-block; }
  .mg-ft__brand p{ margin-left:auto; margin-right:auto; }
  .mg-ft__social{ justify-content:center; }
  .mg-ft__col li a{ padding:7px 0; font-size:14.5px; }
  .mg-ft__bottom-in{ padding:14px 16px 76px; justify-content:center; text-align:center; }
}


/* ---------- Festive offers (sys/helpers/mg_offers.php): bar, banner, corner card, item page note ---------- */
.mg-hd-top--offer{ background:var(--mg-offer-bg, var(--mg-forest)); }
.mg-offer-pill{ display:inline-block; padding:2px 10px; border-radius:999px; background:var(--mg-offer-accent, #FDE68A); color:#111; font-size:12.5px; font-weight:800; }
.mg-offer-count{ font-variant-numeric:tabular-nums; opacity:.92; }
.mg-hd-top--offer .mg-hd-top__cta{ background:var(--mg-offer-accent, #fff); color:#111; }
.mg-offer-banner{ background:var(--mg-offer-bg, var(--mg-forest)); color:#fff; }
.mg-offer-banner__in{ max-width:1240px; margin:0 auto; padding:26px 20px; display:flex; align-items:center; gap:28px; }
.mg-offer-banner__big{ flex:0 0 auto; display:flex; flex-direction:column; align-items:center; justify-content:center; width:118px; height:118px; border-radius:50%; background:var(--mg-offer-accent, #FDE68A); color:#111; font-family:var(--mg-font-display); line-height:1; }
.mg-offer-banner__big span{ font-size:40px; font-weight:800; letter-spacing:-1px; }
.mg-offer-banner__big small{ font-size:14px; font-weight:700; text-transform:lowercase; margin-top:2px; }
.mg-offer-banner__text{ flex:1 1 auto; min-width:0; }
.mg-offer-banner h2{ margin:0 0 6px; color:#fff; font-family:var(--mg-font-display); font-size:28px; line-height:1.2; font-weight:800; }
.mg-offer-banner p{ margin:0 0 4px; color:rgba(255,255,255,.88); font-size:15.5px; line-height:1.55; max-width:70ch; }
.mg-offer-banner__ends{ font-weight:600; color:#fff !important; }
.mg-offer-banner__btn{ flex:0 0 auto; display:inline-flex; align-items:center; min-height:48px; padding:0 24px; border-radius:12px; background:var(--mg-offer-accent, #fff); color:#111 !important; font-weight:800 !important; font-size:15px; text-decoration:none !important; }
.mg-offer-banner__btn:hover{ filter:brightness(1.06); }
.mg-offer-pop{ position:fixed; left:20px; bottom:20px; z-index:9990; width:min(340px, calc(100vw - 40px)); padding:22px 22px 20px; border-radius:18px; background:var(--mg-offer-bg, var(--mg-forest)); color:#fff; box-shadow:0 24px 48px -12px rgba(0,0,0,.45); font-family:var(--mg-font-body); animation:mg-offer-in .35s ease-out; }
.mg-offer-pop[hidden]{ display:none; }
@keyframes mg-offer-in{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ .mg-offer-pop{ animation:none; } }
.mg-offer-pop .mg-offer-pop__big{ margin:0 0 4px; color:var(--mg-offer-accent, #FDE68A); font-family:var(--mg-font-display); font-size:34px; font-weight:800; line-height:1.1; letter-spacing:-.5px; }
.mg-offer-pop h2{ margin:0 0 8px; color:#fff; font-size:19px; font-weight:700; }
.mg-offer-pop p{ margin:0 0 10px; color:rgba(255,255,255,.88); font-size:14px; line-height:1.5; }
.mg-offer-pop .mg-offer-pop__ends{ font-weight:600; color:#fff !important; }
.mg-offer-pop__btn{ display:flex; align-items:center; justify-content:center; min-height:44px; margin-top:6px; border-radius:12px; background:var(--mg-offer-accent, #fff); color:#111 !important; font-weight:800 !important; text-decoration:none !important; }
.mg-offer-pop__close{ position:absolute; right:10px; top:10px; width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:8px; background:transparent; color:rgba(255,255,255,.8); cursor:pointer; }
.mg-offer-pop__close:hover{ background:rgba(255,255,255,.12); color:#fff; }
.mg-offer-pop__close svg{ width:16px; height:16px; }
.mg-offer-note{ margin:4px 0 10px; color:#9A3412; font-size:13.5px; font-weight:600; }
.mg-product-card__license--offer{ background:#111 !important; color:#FACC15 !important; }
@media (max-width:767px){
  .mg-offer-banner__in{ flex-wrap:wrap; gap:16px; padding:22px 16px; }
  .mg-offer-banner__big{ width:84px; height:84px; }
  .mg-offer-banner__big span{ font-size:28px; }
  .mg-offer-banner h2{ font-size:22px; }
  .mg-offer-banner__btn{ width:100%; justify-content:center; }
  .mg-offer-pop{ left:12px; right:12px; bottom:12px; width:auto; }
}
.mg-sl-offer{ margin:0 0 24px; border-radius:18px; overflow:hidden; }
.mg-sl-offer .mg-offer-banner__in{ padding:24px 26px; }

.mg-offer-bar__short{ display:none; }
@media (max-width:640px){
  .mg-hd-top .mg-offer-bar__long{ display:none; }
  .mg-hd-top .mg-offer-bar__short{ display:inline; }
  .mg-hd-top--offer a.mg-hd-top__msg{ text-decoration:none !important; }
  .mg-offer-pop > p:not(.mg-offer-pop__big):not(.mg-offer-pop__ends){ display:none; }
  .mg-offer-pop{ padding:18px 18px 16px; }
}

/* MG 20 Nov 2026: signed-in dot sits on the person icon (it was at the corner of the 42px button, far from the icon) */
.mg-hd .mg-h-account-link.mg-is-logged-in::after{ top:calc(50% - 12px); right:calc(50% - 13px); width:9px; height:9px; }
/* "Sell your theme" text link under the drawer button */
.mg-hd-mfoot__link{ display:block; margin:10px 0 2px; text-align:center; color:var(--mg-forest) !important; font-size:14px; font-weight:600; text-decoration:underline !important; text-underline-offset:3px; }
