/* Footer v3 semantic palette contract. */
[data-deceti-footer],
[data-deceti-footer] :is(p, a, li, address, span, strong, b, div) {
  font-family: Arial, sans-serif !important;
}
/* Footer v3 is self-contained: its colors never depend on Header v3 CSS. */
body .cys3-footer[data-deceti-footer="footer-v3"] {
  /* Separate page content from the dark footer on every storefront route. */
  margin-top: 50px !important;
  padding: 40px 0 30px !important;
  color: #D4DEE2 !important;
  background: #10232D !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-shell {
  width: min(1422px, calc(100% - 56px));
  margin-inline: auto;
}
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__grid {
  display: grid;
  min-height: 0 !important;
  margin-block: 0 !important;
  padding-block: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(300px, 1.55fr);
  align-content: start !important;
  align-items: start !important;
  gap: 10px 28px;
}
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__block {
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  margin-block: 0 !important;
  padding-block: 0 !important;
  align-self: start !important;
  font-size: 16px;
  line-height: 1.3;
}
html body.deceti-theme .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__block h2 {
  margin: 0 0 8px;
  color: #FFFFFF !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: none;
}
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__block ul { margin: 0; padding: 0; list-style: none; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__block li { margin: 0 0 5px; list-style: none; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__block a { color: #F1F5F6 !important; font-size: 16px; line-height: 1.3; text-decoration: none; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__block a:hover { color: #14C7E8 !important; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__block :is(i, svg) { color: #FFFFFF !important; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__block a:hover :is(i, svg) { color: #10232D !important; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__brand { display: flex; flex-direction: column; min-height: 0 !important; height: auto !important; align-items: center; align-self: start !important; gap: 8px; padding-left: 0; border-left: 0; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__brand img { display: block; width: 145px; max-height: 72px; object-fit: contain; }
html body.deceti-theme .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__slogan { margin: 0; color: #FFD62A !important; font-size: 24px; font-weight: 900; font-style: italic; line-height: 1; white-space: pre-line; transform: rotate(-2deg); }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__slogan::after { display: block; width: 96px; height: 5px; margin-top: 8px; border-radius: 20px; content: ""; background: #14C7E8; transform: rotate(-4deg); }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__contact address,
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__contact p { margin: 0 0 5px; color: #D4DEE2 !important; font-size: 16px; line-height: 1.3; font-style: normal; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__contact > a { display: block; margin: 0 0 5px; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__contact a.cys3-footer__contact-button { display: inline-flex !important; width: max-content; margin-top: 6px !important; padding: 8px 13px; border-radius: 8px; color: #10232D !important; background: #FF5A0A !important; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__contact a.cys3-footer__contact-button:hover,
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__contact a.cys3-footer__contact-button:focus-visible { color: #10232D !important; background: #FF5A0A !important; }
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__bottom { display: flex; min-height: 0 !important; grid-column: 1 / -1; align-items: center; justify-content: space-between; margin: 0 !important; padding: 5px 0 0 !important; border-top: 1px solid #D7DFE4; color: #D4DEE2 !important; font-size: 13px; line-height: 1.3; }
@media (max-width: 1180px) {
  body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__brand { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}
@media (max-width: 700px) {
  body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__brand { grid-column: 1 / -1; }
  body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Honor the existing Footer profile's Five columns setting. */
body .cys3-footer[data-deceti-footer="footer-v3"][data-footer-grid="five-equal"] .cys3-footer__grid {
 grid-template-columns:repeat(4,minmax(0,1fr)) minmax(210px,1.2fr);
 gap:24px;
}
body .cys3-footer[data-deceti-footer="footer-v3"][data-footer-grid="five-equal"] .cys3-footer__brand {grid-column:auto;}
body .cys3-footer[data-deceti-footer="footer-v3"] .cys3-footer__block a {overflow-wrap:anywhere;}
/* Keep the saved five-column footer on every desktop width. */
@media(max-width:980px) {
 body .cys3-footer[data-deceti-footer="footer-v3"][data-footer-grid="five-equal"] .cys3-footer__grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;}
}
@media(max-width:700px) {
 body .cys3-footer[data-deceti-footer="footer-v3"][data-footer-grid="five-equal"] .cys3-footer__grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px;}
}
@media(max-width:480px) {
 body .cys3-footer[data-deceti-footer="footer-v3"][data-footer-grid="five-equal"] .cys3-footer__grid {grid-template-columns:minmax(0,1fr);}
}

/* Older profiles stored four link/contact columns plus a brand block. Keep
   that fifth brand beside them; no database repair is required for rendering.
   Explicit other layouts and the administrator's link order stay intact. */
@media (min-width:981px) {
  body .cys3-footer[data-deceti-footer="footer-v3"][data-footer-grid="four-equal"] .cys3-footer__grid:has(> .cys3-footer__brand):has(> section.cys3-footer__block:nth-of-type(5)):not(:has(> section.cys3-footer__block:nth-of-type(6))) {
    grid-template-columns:repeat(4,minmax(0,1fr)) minmax(210px,1.2fr);
    gap:24px;
  }
  body .cys3-footer[data-deceti-footer="footer-v3"][data-footer-grid="four-equal"] .cys3-footer__grid:has(> section.cys3-footer__block:nth-of-type(5)):not(:has(> section.cys3-footer__block:nth-of-type(6))) > .cys3-footer__brand {
    grid-column:auto;
  }
}
