/* =====================================================================
   Shared site chrome for inner pages: top header (topheader.aspx) and
   footer (leftnav.aspx). Replaces the old left side menu.
   Loaded after dev.css / dev-footwearclasify.css so it wins.
   ===================================================================== */

/* Page layout: header on top, content full width, footer at the bottom */
main { display: flex; flex-direction: column; min-height: 100vh; }
main > .edzLeftContainer { order: 1; flex: 1 0 auto; }
main > .siteFooter { order: 2; }
.edz_sideDrower, .overlay, .humburgerButton { display: none !important; }
.edzLeftContainer { float: none !important; margin-left: 0 !important; width: 100% !important; }
.edzLeftContainer .ezh_container { max-width: 1240px; margin-left: auto; margin-right: auto; }

/* Header */
.siteHeader { background: #fff; margin-bottom: 28px; box-shadow: 0 1px 0 #eef1f5; }
.siteNav { max-width: 1180px; margin: 0 auto; padding: 0 32px; height: 84px; display: flex; align-items: center; gap: 28px; font-family: 'poppins', sans-serif; }
.siteLogo img { height: 40px; display: block; }
.siteLinks { display: flex; gap: 28px; margin-left: 24px; font-size: 15px; font-weight: 500; }
.siteLinks a { color: #7a8195; text-decoration: none; }
.siteLinks a:hover, .siteLinks a.on { color: #3639a4; }
.siteSearch { margin-left: auto; display: flex; align-items: center; background: #f7f7f8; border-radius: 999px; padding: 0 6px 0 18px; height: 44px; width: 300px; }
.siteSearch input { border: 0; background: none; font: inherit; font-size: 13px; flex: 1; outline: 0; color: #2b2b38; min-width: 0; height: 44px; }
.siteSearch button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #7ad1ff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.siteUser { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.siteUser li { list-style: none; }
.siteUser a { color: #3639a4; text-decoration: none; display: inline-flex; align-items: center; }
.siteUser i { position: relative; }
.siteUser .icon-icon-mail { font-size: 16px; }
.siteUser .icon-bell { font-size: 21px; }
.siteUser .counter { position: absolute; right: -6px; top: -6px; width: 12px; height: 12px; border: 2px solid #fff; background: #3c9cf0; border-radius: 50%; }
.siteAccount a { font-weight: 600; font-size: 15px; gap: 6px; }
.siteAccount a span { display: inline-flex; font-size: 16px; }
.siteAccount .icon-user { font-size: 22px; }

/* Footer */
.siteFooter { background: #fff; border-top: 1px solid #eef1f5; margin-top: 40px; font-family: 'poppins', sans-serif; }
.siteFooterIn { max-width: 1180px; margin: 0 auto; padding: 26px 32px; display: flex; align-items: center; gap: 24px; }
.siteFooterLogo img { height: 30px; display: block; }
.siteSocial { display: flex; gap: 10px; margin: 0 auto; padding: 0; }
.siteSocial li { list-style: none; }
.siteSocial a { width: 38px; height: 38px; border-radius: 12px; background: #7ad1ff; display: grid; place-items: center; color: #fff; font-size: 16px; text-decoration: none; transition: background .2s; }
.siteSocial a:hover { background: #3c9cf0; }
.siteCopy { font-size: 13px; color: #7a8195; }

/* Phones / small tablets */
@media screen and (max-width: 900px) {
  .siteNav { height: auto; flex-wrap: wrap; padding: 16px 20px; gap: 12px; }
  .siteLinks { order: 3; width: 100%; margin-left: 0; gap: 20px; overflow-x: auto; white-space: nowrap; font-size: 14px; }
  .siteSearch { order: 4; width: 100%; }
  .siteUser { margin-left: auto; gap: 16px; }
  .siteFooterIn { flex-direction: column; text-align: center; padding: 24px 18px; gap: 14px; }
  .siteSocial { margin: 0; }
}

/* footwear.aspx: make the "Find your tax rate!" tile read as a button */
.findTaxRateLink { display: block; text-decoration: none; cursor: pointer; }
.findTaxRateLink .findTaxRate { transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 10px 24px rgba(54, 57, 164, .25); animation: findPulse 2.4s ease-in-out infinite; }
.findTaxRateLink:hover .findTaxRate { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(54, 57, 164, .32); animation: none; }
.findTaxRateCta { display: block; width: 221px; max-width: 100%; box-sizing: border-box; text-align: center; margin: 12px auto 0; font-size: 14px; font-weight: 600; color: #3c9cf0; background: #e3f1fd; border-radius: 999px; padding: 6px 16px; transition: background .2s, color .2s; }
.findTaxRateLink:hover .findTaxRateCta { background: #3c9cf0; color: #fff; }
@keyframes findPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .findTaxRateLink .findTaxRate { animation: none; } }
@media screen and (min-width: 768px) { .findTaxRateCta { margin-left: 56px; } }

/* "Add to home screen" link (js/pwa.js wires it up and hides it inside the installed app) */
.siteAddApp { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid #dbe3ee; border-radius: 999px; color: #3639a4; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.siteAddApp:hover { border-color: #3c9cf0; color: #2f86e8; background: #f5f9ff; }
.siteAddApp svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.siteFooterIn .siteAddApp { margin-left: auto; }
.lpFooter .siteAddApp { margin-left: auto; }
.acctAddApp { display: block; margin-top: 4px; font-weight: 600; }
@media screen and (max-width: 768px) {
  .siteFooterIn .siteAddApp, .lpFooter .siteAddApp { margin-left: 0; }
}

/* Landing footer on phones: stack logo, social, add-to-home and copyright (was one row and overflowed) */
.lpFooter .lpWrap { flex-wrap: wrap; gap: 16px; }
@media screen and (max-width: 768px) {
  .lpFooter .lpWrap { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .lpFooter .siteSocial { margin: 0; }
  .lpFooter .lpWrap > span { white-space: normal; }
}
/* Safety net: nothing on the landing page can push the page sideways on phones */
@media screen and (max-width: 768px) {
  .lp { overflow-x: hidden; overflow-x: clip; }
}
