/* Site header (header.php). Every class is prefixed smh- so it cannot clash with Bootstrap or the theme. */
.smh,.smh *{box-sizing:border-box}
.smh{display:contents;font-family:inherit}
.smh ul{list-style:none;margin:0;padding:0}
.smh-wrap{max-width:1170px;margin:0 auto;padding:0 15px}
.smh-lbl-short{display:none}

/* ---- Top bar ---- */
.smh-top{background:#FC2C62;color:#fff;font-size:13px}
.smh-top .smh-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px}
.smh-top-links{display:flex;align-items:center;gap:24px}
.smh .smh-top a{display:inline-flex;align-items:center;gap:7px;color:#fff;text-decoration:none}
.smh .smh-top-links a:hover{text-decoration:underline}
.smh-social{display:flex;gap:6px}
.smh .smh-social a{width:28px;height:28px;justify-content:center;border-radius:50%;background:rgba(255,255,255,.18);font-size:13px;transition:background .2s,color .2s}
.smh .smh-social a:hover{background:#fff;color:#FC2C62;text-decoration:none}

/* ---- Announcement ticker ---- */
.smh-ticker{background:linear-gradient(90deg,#d81b4e,#FC2C62 45%,#ff6a88);color:#fff;font-size:14px}
.smh-ticker .smh-wrap{display:flex;align-items:center;gap:14px;min-height:40px}
.smh-ticker-label{flex:0 0 auto;background:rgba(0,0,0,.22);border-radius:20px;padding:4px 12px;font-size:12.5px;font-weight:700;white-space:nowrap}
.smh-ticker-view{flex:1;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent)}
.smh-ticker-track{display:flex;width:max-content;animation:smh-scroll 42s linear infinite}
.smh-ticker-msg{display:inline-flex;align-items:center;gap:26px;padding-right:60px;white-space:nowrap}
.smh-ticker-view:hover .smh-ticker-track,.smh-ticker-view:focus-within .smh-ticker-track{animation-play-state:paused}
.smh .smh-ticker a{color:#fff;font-weight:700;text-decoration:underline}
.smh .smh-ticker a:hover{color:#1f2040}
@keyframes smh-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---- Main bar ---- */
.smh-main{position:sticky;top:0;z-index:1000;background:#fff;box-shadow:0 1px 0 #ececf3;transition:box-shadow .25s}
.smh-main.is-stuck{box-shadow:0 6px 24px rgba(20,20,60,.13)}
.smh-main .smh-wrap{display:flex;align-items:center;gap:20px;min-height:86px;transition:min-height .25s}
.smh-main.is-stuck .smh-wrap{min-height:66px}
.smh-logo{flex:0 0 auto;display:block;line-height:0}
.smh-logo img{display:block;width:72px;height:72px;object-fit:contain;transition:width .25s,height .25s}
.smh-main.is-stuck .smh-logo img{width:54px;height:54px}
.smh-nav{flex:1;display:flex;justify-content:flex-end;align-self:stretch}
.smh-menu{display:flex;align-items:stretch;gap:2px}
.smh-item{position:relative;display:flex;align-items:center}
.smh .smh-link{position:relative;display:flex;align-items:center;gap:6px;padding:12px 13px;color:#1f2040;font-size:14px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:color .2s}
.smh .smh-link:after{content:"";position:absolute;left:13px;right:13px;bottom:12px;height:3px;border-radius:3px;background:#FC2C62;transform:scaleX(0);transition:transform .22s}
.smh .smh-item:hover>.smh-link,.smh .smh-item:focus-within>.smh-link,.smh .smh-item.is-active>.smh-link{color:#FC2C62}
.smh .smh-item:hover>.smh-link:after,.smh .smh-item.is-active>.smh-link:after{transform:scaleX(1)}
.smh-chev{width:10px;height:10px;flex:0 0 10px;transition:transform .2s}
.smh-has-sub:hover>.smh-link .smh-chev,.smh-has-sub:focus-within>.smh-link .smh-chev,.smh-has-sub.is-open>.smh-link .smh-chev{transform:rotate(180deg)}
.smh-sub{position:absolute;top:100%;left:0;min-width:230px;padding:8px;background:#fff;border-radius:12px;box-shadow:0 14px 40px rgba(20,20,60,.18);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility 0s .2s}
.smh-sub-right{left:auto;right:0}
.smh-has-sub:hover>.smh-sub,.smh-has-sub:focus-within>.smh-sub,.smh-has-sub.is-open>.smh-sub{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.smh .smh-sub a{display:block;padding:10px 14px;border-radius:8px;color:#1f2040;font-size:14px;font-weight:500;text-decoration:none}
.smh .smh-sub a:hover,.smh .smh-sub a:focus{background:#fff0f4;color:#FC2C62}
.smh .smh-store{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border-radius:30px;background:#FC2C62;color:#fff;font-size:14px;font-weight:700;text-decoration:none;box-shadow:0 6px 16px rgba(252,44,98,.35);transition:background .2s,transform .2s}
.smh .smh-store:hover,.smh .smh-store:focus{background:#d81b4e;color:#fff;transform:translateY(-1px)}
.smh-burger{display:none;margin-left:auto;position:relative;width:46px;height:46px;padding:0;border:0;border-radius:12px;background:#fff0f4;cursor:pointer}
.smh-burger span{position:absolute;left:12px;right:12px;height:2.5px;border-radius:2px;background:#FC2C62}
.smh-burger span:nth-child(1){top:15px}.smh-burger span:nth-child(2){top:22px}.smh-burger span:nth-child(3){top:29px}

/* ---- Mobile drawer ---- */
.smh-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;background:rgba(10,12,40,.55);opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s}
.smh-drawer{position:fixed;top:0;right:0;bottom:0;z-index:100001;display:flex;flex-direction:column;width:86vw;max-width:340px;background:#fff;box-shadow:-10px 0 40px rgba(0,0,0,.22);transform:translateX(100%);visibility:hidden;transition:transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s .32s;font-family:inherit}
.smh-drawer,.smh-drawer *{box-sizing:border-box}
.smh-drawer ul{list-style:none;margin:0;padding:0}
body.smh-open .smh-overlay{opacity:1;visibility:visible;transition-delay:0s}
body.smh-open .smh-drawer{transform:none;visibility:visible;transition-delay:0s}
html.smh-lock,html.smh-lock body{overflow:hidden}
.smh-dhead{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #f0f0f5}
.smh-dhead img{display:block;width:48px;height:48px;object-fit:contain}
.smh-dclose{width:42px;height:42px;border:0;border-radius:50%;background:#f3f3f9;color:#1f2040;font-size:26px;line-height:1;cursor:pointer}
.smh-dbody{flex:1;overflow-y:auto;padding:10px 12px}
.smh-drawer .smh-dlink,.smh-drawer .smh-acc{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;padding:0 14px;border:0;border-radius:10px;background:none;color:#1f2040;font-family:inherit;font-size:15px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;text-align:left;text-decoration:none;cursor:pointer}
.smh-drawer .smh-dlink:hover,.smh-drawer .smh-acc:hover,.smh-drawer .smh-dlink:focus,.smh-drawer .smh-acc:focus{background:#fff0f4;color:#FC2C62}
.smh-drawer .is-active>.smh-dlink{background:#fff0f4;color:#FC2C62}
.smh-drawer .smh-chev{transition:transform .2s}
.smh-drawer .is-open>.smh-acc .smh-chev{transform:rotate(180deg)}
.smh-dsub{max-height:0;overflow:hidden;visibility:hidden;padding-left:14px;transition:max-height .3s,visibility 0s .3s}
.smh-drawer .is-open>.smh-dsub{max-height:420px;visibility:visible;transition-delay:0s}
.smh-drawer .smh-dsub a{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:10px;color:#444;font-size:14.5px;font-weight:500;text-decoration:none}
.smh-drawer .smh-dsub a:hover,.smh-drawer .smh-dsub a:focus{background:#fff0f4;color:#FC2C62}
.smh-dfoot{flex:0 0 auto;padding:14px 16px 18px;border-top:1px solid #f0f0f5}
.smh-drawer .smh-store{display:flex;justify-content:center;width:100%;padding:14px 20px;margin-bottom:14px;border-radius:30px;background:#FC2C62;color:#fff;font-size:15px;font-weight:700;text-decoration:none}
.smh-dsocial{display:flex;justify-content:center;gap:10px}
.smh-drawer .smh-dsocial a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#fff0f4;color:#FC2C62;font-size:16px;text-decoration:none}

/* Keyboard focus ring (hidden for mouse/touch taps) */
.smh a:focus-visible,.smh button:focus-visible,.smh-drawer a:focus-visible,.smh-drawer button:focus-visible{outline:2px solid #FC2C62;outline-offset:2px}
.smh-drawer a:focus:not(:focus-visible),.smh-drawer button:focus:not(:focus-visible),.smh a:focus:not(:focus-visible),.smh button:focus:not(:focus-visible){outline:none}

/* ---- Responsive ---- */
@media (max-width:1199px){
	.smh .smh-link{padding:12px 10px;font-size:13.5px}
	.smh .smh-link:after{left:10px;right:10px}
	.smh .smh-store{padding:10px 18px}
}
@media (max-width:991px){
	.smh-nav,.smh-main .smh-store{display:none}
	.smh-burger{display:block}
	.smh-main .smh-wrap{min-height:68px}
	.smh-main.is-stuck .smh-wrap{min-height:60px}
	.smh-logo img{width:54px;height:54px}
	.smh-main.is-stuck .smh-logo img{width:46px;height:46px}
}
@media (max-width:767px){
	.smh-top{font-size:12px}
	.smh-top .smh-wrap{min-height:34px}
	.smh-top-links{width:100%;justify-content:space-between;gap:6px}
	.smh-social{display:none}
	.smh-lbl-long{display:none}
	.smh-lbl-short{display:inline}
	.smh-ticker{font-size:13px}
	.smh-ticker .smh-wrap{gap:10px;min-height:36px}
	.smh-ticker-label{padding:3px 9px;font-size:11.5px}
}
@media (prefers-reduced-motion:reduce){
	.smh-ticker-track{animation:none;width:auto;flex-wrap:wrap}
	.smh-ticker-msg+.smh-ticker-msg{display:none}
	.smh-ticker-msg{flex-wrap:wrap;gap:4px 18px;padding:6px 0;white-space:normal}
	.smh-ticker-view{-webkit-mask-image:none;mask-image:none}
	.smh-overlay,.smh-drawer,.smh-sub,.smh-dsub,.smh-main,.smh .smh-link:after{transition:none}
}
