html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer {
  --mc-footer-bg: #262626;
  --mc-footer-panel: #333;
  --mc-footer-line: #4b4b4b;
  --mc-footer-text: #f7f7f7;
  --mc-footer-muted: #d2d2d2;
  background: var(--mc-footer-bg) !important;
  color: var(--mc-footer-text) !important;
  border-top: 3px solid var(--yc-primary, #F27A1A) !important;
}

html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.5vw, 32px);
  padding-block: 32px;
}

html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer :is(h2, a, .drn-footer-security-label) {
  color: var(--mc-footer-text) !important;
}

html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer :is(p, small, .drn-reference-footer-merchant span) {
  color: var(--mc-footer-muted) !important;
}

body.maycep-storefront .drn-reference-footer-grid h2 {
  margin: 0 0 13px;
  font-size: 16px;
  line-height: 1.25;
}

body.maycep-storefront .drn-reference-footer-grid ul {
  display: grid;
  gap: 0;
}

body.maycep-storefront .drn-reference-footer-grid li a {
  display: inline-block;
  padding-block: 5px;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

html body.maycep-storefront .drn-reference-footer a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.maycep-storefront .drn-reference-footer a:focus-visible {
  outline: 2px solid #FFD5B3;
  outline-offset: 3px;
}

body.maycep-storefront .drn-reference-footer-logo {
  display: inline-flex;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff;
}

body.maycep-storefront .drn-reference-footer-logo a {
  color: #262626 !important;
}

body.maycep-storefront .drn-reference-footer-logo img {
  max-width: 140px;
  height: auto;
}

body.maycep-storefront .drn-reference-footer-brand p {
  max-width: 38ch;
  line-height: 1.55;
}

body.maycep-storefront .drn-reference-footer-contact {
  display: grid;
  gap: 8px;
}

body.maycep-storefront .drn-reference-footer-contact :is(a, p) {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--mc-footer-panel);
  overflow-wrap: anywhere;
}

body.maycep-storefront .drn-reference-footer-contact svg {
  flex: 0 0 16px;
  margin-top: 2px;
  color: #FFD5B3;
}

body.maycep-storefront .drn-reference-footer-contact .drn-reference-footer-whatsapp svg {
  color: #91e2b1;
}

html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer :is(
  .drn-reference-footer-security, .drn-reference-footer-merchant, .drn-reference-footer-bottom
) {
  background: var(--mc-footer-bg) !important;
  border-color: var(--mc-footer-line) !important;
}

body.maycep-storefront .drn-reference-footer-security .drn-reference-container,
body.maycep-storefront .drn-reference-footer-merchant .drn-reference-container,
body.maycep-storefront .drn-reference-footer-bottom .drn-reference-container {
  padding-block: 16px;
}

body.maycep-storefront .drn-reference-footer-security .drn-footer-security-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr));
  gap: 8px;
}

html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer .drn-footer-security-chips > .drn-footer-security-chip {
  min-height: 54px;
  padding: 8px;
  border: 1px solid var(--mc-footer-line) !important;
  border-radius: 8px;
  background: var(--mc-footer-panel) !important;
}

html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer .drn-footer-security-chip > .drn-footer-security-icon {
  background: #454545 !important;
  color: #fff !important;
}

html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer .drn-footer-security-chip > .drn-footer-security-icon.is-ministry {
  background: #fff !important;
}

body.maycep-storefront .drn-reference-footer-merchant .drn-reference-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

@media (max-width: 900px) {
  html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.maycep-storefront .drn-reference-footer-brand {
    grid-column: 1 / -1;
  }

  body.maycep-storefront .drn-reference-footer-contact {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
  }
}

.maycep-storefront .drn-reference-footer-grid > section > ul[hidden] {
  display: none;
}

@media (max-width: 767px) {
  html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 20px 12px !important;
  }

  html body.maycep-storefront .drn-reference-footer-grid .drn-reference-footer-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer .drn-reference-footer-logo {
    padding: 5px 8px;
  }

  html body.maycep-storefront .drn-reference-footer-logo .yc-logo :is(img, picture) {
    max-width: 98px !important;
    height: 30px !important;
  }

  html body.maycep-storefront .drn-reference-footer-brand > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
  }

  html body.maycep-storefront .drn-reference-footer-contact {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
  }

  html body.maycep-storefront .drn-reference-footer-contact :is(a, p) {
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 7px 9px;
    font-size: 13px;
    line-height: 1.35;
  }

  html body.maycep-storefront .drn-reference-footer-contact svg {
    margin: 0;
  }

  html body.maycep-storefront .drn-reference-footer-contact :is(a[href^="mailto:"], p) {
    grid-column: 1 / -1;
  }

  html body.maycep-storefront .drn-reference-footer-contact p {
    min-height: 0;
    padding: 2px 0;
    background: transparent;
    font-size: 12px;
  }

  html body.maycep-storefront .maycep-footer-accordion > section:not(.drn-reference-footer-brand) {
    border-top: 1px solid var(--mc-footer-line);
  }

  html body.maycep-storefront .maycep-footer-accordion > section > h2 {
    margin: 0;
  }

  html body.maycep-storefront .maycep-footer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 8px 4px 8px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  html body.maycep-storefront .maycep-footer-toggle::after {
    width: 7px;
    height: 7px;
    flex: none;
    border-right: 2px solid var(--mc-footer-muted);
    border-bottom: 2px solid var(--mc-footer-muted);
    transform: translateY(-2px) rotate(45deg);
    content: "";
  }

  html body.maycep-storefront .maycep-footer-toggle[aria-expanded="true"]::after {
    transform: translateY(2px) rotate(225deg);
  }

  html body.maycep-storefront .maycep-footer-toggle:focus-visible {
    outline: 2px solid #FFD5B3;
    outline-offset: -2px;
  }

  html body.maycep-storefront .drn-reference-footer-grid > section > ul:not([hidden]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    padding-bottom: 10px;
  }

  html body.maycep-storefront .drn-reference-footer-grid li a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: 5px;
    font-size: 13px;
  }

  html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer :is(
    .drn-reference-footer-security, .drn-reference-footer-merchant, .drn-reference-footer-bottom
  ) {
    padding-block: 0;
  }

  html body.maycep-storefront .drn-reference-footer :is(
    .drn-reference-footer-security, .drn-reference-footer-merchant, .drn-reference-footer-bottom
  ) > .drn-reference-container {
    padding-block: 14px;
  }

  html body.maycep-storefront .drn-reference-footer-security .drn-reference-container > p {
    margin: 0 0 8px;
    text-align: left;
  }

  html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer-security .drn-footer-security-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 6px;
    padding: 5px;
    border: 1px solid var(--mc-footer-line);
    border-radius: 10px;
    background: var(--mc-footer-panel);
  }

  html body.drn-reference-global.nsc-baklava.maycep-storefront .drn-reference-footer .drn-footer-security-chips > .drn-footer-security-chip {
    gap: 6px;
    min-width: 0;
    min-height: 44px;
    padding: 4px 3px;
    border: 0 !important;
    background: transparent !important;
  }

  html body.drn-reference-global.maycep-storefront .drn-reference-footer-security .drn-footer-security-chip > .drn-footer-security-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  html body.drn-reference-global.maycep-storefront .drn-reference-footer-security .drn-footer-security-icon.is-ministry :is(img, svg) {
    max-width: 20px !important;
    height: 20px !important;
  }

  html body.maycep-storefront .drn-reference-footer-security a .drn-footer-security-label {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  html body.maycep-storefront .drn-reference-footer-merchant .drn-reference-container {
    gap: 4px 12px;
    justify-content: flex-start;
  }

  html body.maycep-storefront .drn-reference-footer .drn-reference-footer-bottom > .drn-reference-container {
    gap: 3px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}
