/*
 * DECETI footer v0 — responsive layout.
 * Loaded explicitly by the V0 modular footer Twig after the legacy layout CSS.
 */
.deceti-modular-footer[data-footer-layout="footer-v0"] {
  display: block;
  width: 100%;
  min-width: 0;
  font-family: Arial, sans-serif !important;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] :is(p, a, li, address, span, strong, b, div) {
  font-family: Arial, sans-serif !important;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__inner {
  box-sizing: border-box;
  width: min(100% - 48px, 1400px);
  margin-inline: auto;
  padding-block: clamp(32px, 5vw, 64px) 28px;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__blocks {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-areas:
    "about about about about"
    "products information contact aside"
    "bottom_left bottom_center bottom_right bottom_right" !important;
  align-items: start;
  column-gap: clamp(18px, 2.8vw, 40px);
  row-gap: clamp(24px, 3vw, 40px);
  min-width: 0;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="about"] { grid-area: about; }
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="products"] { grid-area: products; }
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="information"] { grid-area: information; }
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="contact"] { grid-area: contact; }
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="aside"] { grid-area: aside; }
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="bottom_left"] { grid-area: bottom_left; }
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="bottom_center"] { grid-area: bottom_center; }
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="bottom_right"] { grid-area: bottom_right; }

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block h2 {
  margin: 0 0 14px;
  line-height: 1.25;
  font-family: Arial, sans-serif !important;
  color: #ffffff !important;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block p,
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block address {
  margin: 0 0 10px;
  line-height: 1.5;
  font-style: normal;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] button {
  font-family: Arial, sans-serif !important;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] :is(input, select, textarea) {
  font-family: Arial, sans-serif !important;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block li + li {
  margin-top: 8px;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-trust-items,
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-icon-items,
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-widget {
  min-width: 0;
  max-width: 100%;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-trust-items img,
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-icon-items img,
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-widget img,
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-widget iframe {
  box-sizing: border-box;
  max-width: 100%;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-trust-items img,
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-icon-items img {
  height: auto;
  object-fit: contain;
}

/* Payment-options artwork only: keep certification and partner marks square. */
.deceti-modular-footer[data-footer-layout="footer-v0"] img[src*="logo-payments"] {
  border-radius: 8px;
}

@media (max-width: 991px) {
  .deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__inner {
    width: min(100% - 32px, 760px);
    padding-block: 36px 24px;
  }

  .deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "about about"
      "products information"
      "contact aside"
      "bottom_left bottom_center"
      "bottom_right bottom_right" !important;
    column-gap: 28px;
    row-gap: 28px;
  }
}

@media (max-width: 575px) {
  .deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__inner {
    width: calc(100% - 32px);
    padding-block: 28px 20px;
  }

  .deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__blocks {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "about"
      "products"
      "information"
      "contact"
      "aside"
      "bottom_left"
      "bottom_center"
      "bottom_right" !important;
    gap: 22px;
  }
}

/* Keep footer links readable on the dark footer surface. */
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block a {
  color: #ffffff !important;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block a:hover,
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block a:focus {
  color: #7fe8ff !important;
}

/* Compact default for DECETI v0: only meaningful footer blocks reserve space. */
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="hours"] { grid-area: hours; }
.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block[data-footer-region="icons"] { grid-area: icons; }

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__inner {
  padding-block: clamp(28px, 3vw, 40px) 20px;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__blocks {
  grid-template-areas:
    "about about about about"
    "products information contact aside"
    "products information hours icons"
    "bottom_left bottom_left bottom_left bottom_left" !important;
  row-gap: clamp(18px, 2vw, 28px);
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block {
  font-size: 15px;
  line-height: 1.45;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block h2 {
  margin-bottom: 9px;
  font-size: var(--deceti-footer-heading-size, clamp(22px, 1.65vw, 28px)) !important;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block li + li {
  margin-top: 5px;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block :is(p, address, span, strong, b, li) {
  color: var(--color-footer-text, #f0f0f0) !important;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-block--copyright {
  font-size: 14px;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-trust-items {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-trust-items > a {
  display: block;
  line-height: 0;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-trust-items img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 44px;
}

@media (max-width: 991px) {
  .deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__blocks {
    grid-template-areas:
      "about about"
      "products information"
      "contact aside"
      "hours icons"
      "bottom_left bottom_left" !important;
    row-gap: 22px;
  }
}

@media (max-width: 575px) {
  .deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-modular-footer__blocks {
    grid-template-areas:
      "about"
      "products"
      "information"
      "contact"
      "hours"
      "aside"
      "icons"
      "bottom_left" !important;
    gap: 18px;
  }
}

/* Shared footer spacing and the dedicated payment-logo slot. */
.deceti-modular-footer[data-footer-layout="footer-v0"] {
  margin-top: 80px;
}

.deceti-modular-footer[data-footer-layout="footer-v0"] .deceti-footer-icon-items .deceti-footer-icon-item img {
  border-radius: 8px;
}
