/* ===== Cioraderm Footer ===== */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer {
  width: 100%;
  border-top: 1px solid #ececed;
  container-type: inline-size;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 24px 28px;
}

/* ===== Top ===== */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #ececed;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: none;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__logo {
  text-decoration: none;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__logo-img {
  height: var(--cio-flogo-m, var(--cio-flogo, 30px));
  width: auto;
  object-fit: contain;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__logo-text {
  font-size: var(--cio-footer-logotext-size, 20px);
  font-weight: var(--cio-footer-logotext-weight, 600);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cio-footer-logotext-color, #1a1a1a);
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__desc {
  font-size: var(--cio-footer-desc-size, 14px);
  line-height: 1.6;
  color: var(--cio-footer-desc-color, #8a8a8a);
  font-weight: var(--cio-footer-desc-weight, inherit);
}

/* newsletter — underline + arrow */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #cfcfcf;
  width: 100%;
  max-width: 420px;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  padding: 8px 0;
  font-size: var(--cio-footer-nlinput-size, 14px);
  font-family: inherit;
  color: var(--cio-footer-nlinput-color, #1a1a1a);
  font-weight: var(--cio-footer-nlinput-weight, inherit);
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-input::placeholder {
  color: #9a9a9a;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-arrow {
  background: none;
  border: none;
  padding: 0 2px;
  cursor: pointer;
  color: #1a1a1a;
  display: inline-flex;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-arrow:hover {
  transform: translateX(3px);
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-arrow:disabled {
  opacity: 0.5;
  cursor: default;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-success {
  margin: 0;
  font-size: var(--cio-footer-nlsuccess-size, 14px);
  font-weight: var(--cio-footer-nlsuccess-weight, 500);
  color: var(--cio-footer-nlsuccess-color, #2f7a4f);
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-error {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  font-size: var(--cio-footer-nlerror-size, 12px);
  color: var(--cio-footer-nlerror-color, #b3261e);
  font-weight: var(--cio-footer-nlerror-weight, inherit);
}

/* link columns — mobile: accordion */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__cols {
  display: block;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col {
  border-bottom: 1px solid #ececed;
}
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col:first-child {
  border-top: 1px solid #ececed;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 20px 4px;
  font-size: var(--cio-footer-coltitle-size, 17px);
  font-weight: var(--cio-footer-coltitle-weight, 500);
  color: var(--cio-footer-coltitle-color, #1a1a1a);
  cursor: pointer;
  list-style: none;
}
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-title::-webkit-details-marker {
  display: none;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-chevron {
  flex-shrink: 0;
  color: #1a1a1a;
  transition: transform 0.2s ease;
}
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col[open] .cio-footer__col-chevron {
  transform: rotate(180deg);
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 4px 20px;
}

/* footer links — mobile values first (fall back to desktop, then default) */
/* Column links and legal links are styled independently — they used to share
   one `--cio-flink-*` set, so editing either one moved both. */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-link {
  color: var(--cio-flink-m, var(--cio-flink, #9a9a9a));
  font-size: var(--cio-flink-size-m, var(--cio-flink-size, 14px));
  font-weight: var(--cio-flink-weight-m, var(--cio-flink-weight, 400));
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__legal-link {
  color: var(--cio-flegal-m, var(--cio-flegal, #9a9a9a));
  font-size: var(--cio-flegal-size-m, var(--cio-flegal-size, 14px));
  font-weight: var(--cio-flegal-weight-m, var(--cio-flegal-weight, 400));
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-link {
  text-decoration: none;
  width: fit-content;
  transition: color 0.15s ease;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-link:hover {
  color: var(--cio-flink-hover, #1a1a1a);
}

/* ===== Bottom bar — mobile: centered stack, socials → legal ===== */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 36px 0 8px;
}

/* top copyright hidden on mobile; secondary copyright carries it */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__copyright {
  display: none;
  font-size: var(--cio-footer-copyright-size, 13px);
  color: var(--cio-footer-copyright-color, #8a8a8a);
  font-weight: var(--cio-footer-copyright-weight, inherit);
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__copyright p {
  margin: 0;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cio-flegal-gap-m, var(--cio-flegal-gap, 16px));
  order: 2;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__legal-link {
  text-decoration: none;
  transition: color 0.15s ease;
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__legal-link:hover {
  color: var(--cio-flegal-hover, #1a1a1a);
}

.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  order: 1;
}

/* ===== Secondary copyright ===== */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__sub {
  text-align: center;
  padding-top: 26px;
  font-size: var(--cio-footer-sub-size, 12px);
  letter-spacing: 0.04em;
  color: var(--cio-footer-sub-color, #b0b0b0);
  text-transform: uppercase;
  font-weight: var(--cio-footer-sub-weight, inherit);
}

/* focus */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-link:focus-visible, .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__legal-link:focus-visible, .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-arrow:focus-visible {
  outline: 2px solid #4b2f4f;
  outline-offset: 2px;
}

/* ===== Tablet+ : brand left, columns expand (no accordion) ===== */
@container (min-width: 768px) {
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__logo-img {
    height: var(--cio-flogo, 30px);
  }

  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__top {
    grid-template-columns: 1.4fr 2fr;
    gap: 60px;
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__brand {
    align-items: flex-start;
    text-align: left;
    max-width: 340px;
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl {
    max-width: 300px;
  }

  /* columns back to a grid, always-open, no chevron */
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col, .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col:first-child {
    border: none;
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-title {
    padding: 0 0 18px;
    font-size: var(--cio-footer-coltitle-size, 15px);
    font-weight: var(--cio-footer-coltitle-weight, 600);
    cursor: default;
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-chevron {
    display: none;
  }
  /* force links visible even when <details> is closed */
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col:not([open]) .cio-footer__col-links {
    display: flex;
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-links {
    padding: 0;
  }

  /* bottom back to a row, copyright visible, legal horizontal */
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 0;
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__copyright {
    display: block;
    order: 0;
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__legal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--cio-flegal-gap, 28px);
    flex: 1;
    justify-content: center;
    order: 0;
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__socials {
    order: 0;
  }

  /* links use the desktop typography vars */
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-link {
    color: var(--cio-flink, #9a9a9a);
    font-size: var(--cio-flink-size, 14px);
    font-weight: var(--cio-flink-weight, 400);
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__legal-link {
    color: var(--cio-flegal, #9a9a9a);
    font-size: var(--cio-flegal-size, 13px);
    font-weight: var(--cio-flegal-weight, 400);
  }
}

/* ===== Desktop : 4 columns ===== */
@container (min-width: 1024px) {
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-arrow, .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-link, .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__legal-link {
    transition: none;
  }
}

/* merchant HTML may carry inline fonts — force the theme (inherited) font */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__copyright, .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__copyright * {
  font-family: inherit !important;
}

/* Mobile size overrides — each falls back to its desktop var, then the default. */
@media (max-width: 767px) {
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__logo-text {
    font-size: var(--cio-footer-logotext-size-m, var(--cio-footer-logotext-size, 20px));
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__desc {
    font-size: var(--cio-footer-desc-size-m, var(--cio-footer-desc-size, 14px));
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-title {
    font-size: var(--cio-footer-coltitle-size-m, var(--cio-footer-coltitle-size, 17px));
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-input {
    font-size: var(--cio-footer-nlinput-size-m, var(--cio-footer-nlinput-size, 14px));
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-success {
    font-size: var(--cio-footer-nlsuccess-size-m, var(--cio-footer-nlsuccess-size, 14px));
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-error {
    font-size: var(--cio-footer-nlerror-size-m, var(--cio-footer-nlerror-size, 12px));
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__copyright {
    font-size: var(--cio-footer-copyright-size-m, var(--cio-footer-copyright-size, 13px));
  }
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__sub {
    font-size: var(--cio-footer-sub-size-m, var(--cio-footer-sub-size, 12px));
  }
}

/* Merchant-controlled side gutters. Appended last so they win over the layout
   rules above (breakpoint blocks included); the fallbacks are exactly what
   those rules already produce, so an unset prop changes nothing. */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__inner {
  padding-left: var(--cio-sidepad-l, 24px);
  padding-right: var(--cio-sidepad-r, 24px);
}
@media (max-width: 767px) {
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__inner {
    padding-left: var(--cio-sidepad-l-m, var(--cio-sidepad-l, 24px));
    padding-right: var(--cio-sidepad-r-m, var(--cio-sidepad-r, 24px));
  }
}

/* Merchant-controlled button side padding. Appended last so it wins over the
   rules above (breakpoint blocks included); the fallbacks are what those
   rules already produce, so an unset prop leaves the button unchanged. */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-arrow {
  padding-left: var(--cio-btn-nlBtn-l, 2px);
  padding-right: var(--cio-btn-nlBtn-r, 2px);
}
@media (max-width: 767px) {
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__nl-arrow {
    padding-left: var(--cio-btn-nlBtn-l-m, var(--cio-btn-nlBtn-l, 2px));
    padding-right: var(--cio-btn-nlBtn-r-m, var(--cio-btn-nlBtn-r, 2px));
  }
}

/* Merchant-controlled top/bottom padding. Appended after the side gutters so
   both longhands win over the `padding` shorthand above; the fallbacks are the
   shorthand's own values, so an unset prop changes nothing. Vertical padding is
   px, not a percentage — a percentage here would resolve against the container's
   WIDTH, which makes the gap grow with the viewport rather than with the design. */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__inner {
  padding-top: var(--cio-vpad-t, 48px);
  padding-bottom: var(--cio-vpad-b, 28px);
}
@media (max-width: 767px) {
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__inner {
    padding-top: var(--cio-vpad-t-m, var(--cio-vpad-t, 48px));
    padding-bottom: var(--cio-vpad-b-m, var(--cio-vpad-b, 28px));
  }
}

/* Space above and below the link column itself. Appended last, and the desktop
   half repeats the @container query so it still beats the block further up that
   zeroes this padding on tablet+. Fallbacks match what those rules produce:
   0 / 20px on mobile, 0 / 0 from 768px. */
.cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-links {
  padding-top: var(--cio-flinks-pt-m, var(--cio-flinks-pt, 0));
  padding-bottom: var(--cio-flinks-pb-m, var(--cio-flinks-pb, 20px));
}
@container (min-width: 768px) {
  .cc_MdNZYCy9lp_iopi0qVWLh .cio-footer__col-links {
    padding-top: var(--cio-flinks-pt, 0);
    padding-bottom: var(--cio-flinks-pb, 0);
  }
}
