/* Footer chrome — Flatsome .absolute-footer.dark (bg #333, padding 15px 0 25px, 90% type).
   Left: footer menu (floated links over a hairline that stops at the last link) then the
   copyright; right: social icons, top-aligned. Values copied from live. */
.mcb-footer { background: var(--mcb-footer-bg); color: #ddd; }
/* Live floats .left (shrink-wrapped to its one-row menu) and .right: when they no longer fit
   side by side (below ~914px) .right drops under .left, right-aligned, and the menu never
   wraps. flex-wrap + a non-shrinking left block + margin-left:auto on the social reproduce that. */
.mcb-footer__bar {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0;
  padding-top: 15px; padding-bottom: 25px;
  font-size: 14.4px; line-height: 14.4px;
}
.mcb-footer__left { flex: 0 0 auto; max-width: 100%; min-width: 0; }

/* ul.footer-nav {margin:0 0 10px; overflow:hidden} — natural width, so the li hairlines stop at
   the last link. li {float:left; padding-right:15px; border-bottom:1px solid rgba(255,255,255,.1)} */
.mcb-footer__menu {
  display: block; overflow: hidden; width: max-content; max-width: 100%;
  list-style: none; margin: 0 0 10px; padding: 0;
  font-size: 14.4px; line-height: 23.04px;
}
.mcb-footer__menu li {
  float: left; margin: 0; padding: 0 15px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mcb-footer__menu li:last-child { padding-right: 0; }
.mcb-footer__menu a {
  display: block; padding: 0 0 5px;
  /* Unitless 1.6 (= 18.432px), as live inherits it: Chrome rounds a px line-height UP to the next
     1/64 but a number-derived one down, and 18.432px made each link (and the stacked footer) taller. */
  font-size: 11.52px; line-height: 1.6; letter-spacing: 0;
  text-transform: uppercase; color: #999;
}
.mcb-footer__menu a:hover { color: #fff; text-decoration: underline; }
/* .right {float:right; font-size:90%}: shrink-wraps the icon row, last 5px margin included. */
.mcb-footer__social { flex: 0 0 auto; margin-left: auto; }
/* Rings on the dark bar: .dark .social-icons a {color:#fff} + .dark … border rgba(255,255,255,.2).
   Hover fills come from the shared brand rules in header.css. */
.mcb-footer__social .mcb-social .mcb-social__icon { color: #fff; border-color: rgba(255, 255, 255, .2); }

/* .copyright-footer: no rule, #ddd at .6; <strong> inherits the colour. */
.mcb-footer__copyright {
  border: 0; padding: 0;
  font-size: 14.4px; line-height: 14.4px; color: #ddd; opacity: .6;
}
.mcb-footer__copyright strong { color: inherit; font-weight: 700; }

/* Store-notice bar (p.demo_store, after the footer). Its static look is in shop.css; this adds
   what that rule's specificity blocks: live's Dismiss is a plain theme link, so hover is #777 and
   underlined. woocommerce.css also lifts the bar to z 99998, which live (a static p) does not. */
p.woocommerce-store-notice.demo_store { z-index: auto; box-shadow: none; }
/* Dismiss: woocommerce.js hides the bar with an inline display:none (on click, and on every load
   once the store_notice cookie says hidden). Belt and braces: shop.css's display:block has no
   !important, so the inline style already wins; this keeps that true if a later rule adds one. */
p.woocommerce-store-notice.demo_store[style*="none"] { display: none !important; }
p.woocommerce-store-notice.demo_store a.woocommerce-store-notice__dismiss-link:hover,
p.woocommerce-store-notice.demo_store a.woocommerce-store-notice__dismiss-link:focus { color: #777; text-decoration: underline; }

.mcb-promo { background: var(--mcb-promo-bg); color: #fff; text-align: center; }
.mcb-promo .mcb-container { padding-top: 12px; padding-bottom: 12px; font-size: 14px; }

/* Back to top (Flatsome #top-link.animated.fadeInUp): a 40px #111 disc, fixed 35px from the right
   and 10% up. At rest it is see-through and 30px low (.animated / .fadeInUp); header.js adds
   .is-visible (.start-anim) once #mcb-main is a viewport above the fold. Desktop only. */
.mcb-top-link {
  position: fixed; right: 35px; bottom: 10%; z-index: 99;
  display: block; box-sizing: border-box; width: 40px; height: 40px; padding: 0 8px 6px;
  border-radius: 100%; background: #111; color: #fff;
  font-size: 32px; line-height: 32px; font-weight: bold; text-align: center; text-decoration: none;
  opacity: 0; transform: translate3d(0, 30px, 0); pointer-events: none;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transition: transform 1.3s, opacity .5s ease-in;
}
.mcb-top-link.is-visible {
  opacity: 1; transform: translate3d(0, 0, 0) scale(1); pointer-events: auto;
  transition-delay: .1s;
}
/* On an iPhone it is always shown, top of the page included (animations.css:
   html[data-useragent*='iPhone'] .animated {opacity:1 !important; transform:translate3d(0,0,0) scale(1)}).
   It only shows above 768px, so in landscape; header.php sets the attribute. */
html[data-useragent*='iPhone'] .mcb-top-link {
  opacity: 1; transform: translate3d(0, 0, 0) scale(1); pointer-events: inherit;
  transition-delay: .1s;
}
/* #top-link's id outranks the theme's a:hover, so it never changes colour or underlines. */
.mcb-top-link:hover, .mcb-top-link:focus { color: #fff; text-decoration: none; }

/* Phone / tablet: <=768px (Foundation small), as the header. The columns stack full width and
   every footer link becomes its own row: a {padding:15px 0 5px} with a hairline under both the
   link and its li; the social block (.right) gets padding-top 15px. */
@media (max-width: 768px) {
  .mcb-footer__bar { flex-direction: column; align-items: stretch; gap: 0; }
  .mcb-footer__left { width: 100%; }
  .mcb-footer__menu { width: auto; }
  .mcb-footer__menu li { float: none; }
  .mcb-footer__menu a { padding: 15px 0 5px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .mcb-footer__social { margin-left: 0; padding-top: 15px; }
  .mcb-top-link { display: none; }
}
