/* SSS Foundation: enhance existing footer without altering theme or product configurators. */
.sss-fcf-legal-footer {
  --sss-fcf-navy: #0d1e46;
  color: #eef3ff;
  background: var(--sss-fcf-navy);
  padding: 28px max(22px, calc((100vw - 1180px) / 2)) 18px;
  box-sizing: border-box;
  font-family: inherit;
}
.sss-footer .sss-fcf-legal-footer { padding: 28px 0 4px; }
.sss-footer:has(.sss-fcf-legal-footer) {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.sss-footer .sss-container:has(.sss-fcf-legal-footer) {
  width: min(calc(100% - 36px), 1180px) !important;
  max-width: 1180px;
  box-sizing: border-box;
  margin: 0 auto;
}
.sss-fcf-footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(300px, 1.45fr) minmax(180px, 1fr);
  gap: 36px;
  align-items: start;
}
.sss-fcf-legal-footer h2 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.45;
}
.sss-fcf-legal-footer p {
  font-size: 13px;
  color: #e2eafb;
  line-height: 1.85;
  margin: 8px 0 0;
}
.sss-fcf-legal-footer a { color: #e2eafb; text-decoration: none; }
.sss-fcf-legal-footer a:hover,
.sss-fcf-legal-footer a:focus-visible { color: #fff; text-decoration: underline; }
.sss-fcf-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  background: #fff;
  padding: 8px 12px;
  box-sizing: border-box;
}
.sss-fcf-brand-text { font-size: 20px; font-weight: 800; letter-spacing: -.025em; color: #fff; }
.sss-fcf-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sss-fcf-links a { font-size: 13px; line-height: 1.45; }
.sss-fcf-bottom-line {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  color: #c9d7ef;
  font-size: 12px;
}
.sss-fcf-original-copyright { display: none !important; }

/* Always show WooCommerce add-to-cart confirmations near the top of the viewport. */
#sss-fcf-notice-area {
  position: fixed;
  z-index: 2147480000;
  top: 86px;
  right: 20px;
  left: auto;
  width: min(460px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
#sss-fcf-notice-area > .woocommerce-message {
  pointer-events: auto;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  position: relative !important;
  float: none !important;
  inset: auto !important;
  width: 100% !important;
  min-height: 58px;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 16px 46px 16px 50px !important;
  background: #ffffff !important;
  color: #0d1e46 !important;
  border: 1px solid #e4eaf3 !important;
  border-left: 4px solid #2ca875 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 34px rgba(13, 30, 70, .18) !important;
  line-height: 1.45;
  font-size: 13px;
  text-align: left;
  animation: sss-fcf-slide-in .22s ease-out;
}
#sss-fcf-notice-area > .woocommerce-message::before {
  content: '✓' !important;
  position: absolute !important;
  inset: 18px auto auto 17px !important;
  width: 21px;
  height: 21px;
  line-height: 21px;
  color: #fff !important;
  text-align: center;
  background: #2ca875;
  border-radius: 50%;
  font-family: inherit !important;
  font-weight: 700;
  font-size: 12px;
}
#sss-fcf-notice-area > .woocommerce-message a.button,
#sss-fcf-notice-area > .woocommerce-message a.wc-forward {
  order: 2;
  background: #0d1e46 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 7px !important;
  font-weight: 650;
  font-size: 12px;
  float: none !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  line-height: 1.2;
  white-space: nowrap;
}
#sss-fcf-notice-area .sss-fcf-dismiss {
  position: absolute;
  top: 7px;
  right: 8px;
  color: #334363;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 7px;
}
@keyframes sss-fcf-slide-in { from { opacity: .4; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
  .sss-fcf-footer-grid { grid-template-columns: minmax(180px, 1fr) minmax(240px, 1.3fr); gap: 22px; }
  .sss-fcf-links { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .sss-fcf-legal-footer { padding: 26px 20px 18px; }
  .sss-footer .sss-fcf-legal-footer { padding-top: 22px; }
  .sss-fcf-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .sss-fcf-links { grid-column: auto; }
  .sss-fcf-bottom-line { flex-direction: column; margin-top: 22px; }
  #sss-fcf-notice-area { top: 72px; left: 16px; right: 16px; width: auto; }
  #sss-fcf-notice-area > .woocommerce-message { padding: 14px 38px 14px 46px !important; }
}
@media (prefers-reduced-motion: reduce) { #sss-fcf-notice-area > .woocommerce-message { animation: none; } }

/* Compact footer alignment on small screens. */
@media(max-width:580px){.sss-footer .sss-container:has(.sss-fcf-legal-footer){width:calc(100% - 32px)!important;}}
