
.cz-cards-nodeposit.cz-nds-root {
  max-width: none;
  container-type: inline-size;
  padding: 24px 0 8px;
  border: 0 solid transparent;
  border-image: linear-gradient(var(--cdh-n-100), var(--cdh-n-100)) fill 0 / 0 / 0 100vmax;
  border-image: linear-gradient(180deg,
      var(--cdh-bg) 0,
      color-mix(in srgb, var(--cdh-n-100) 45%, var(--cdh-bg)) 80px,
      color-mix(in srgb, var(--cdh-n-100) 85%, var(--cdh-bg)) 150px,
      var(--cdh-n-100) 220px,
      var(--cdh-n-100) calc(100% - 200px),
      var(--cdh-bg) 100%) fill 0 / 0 / 0 100vmax;
}
.cz-nds-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.cz-nds-list > li::before { content: none; }
.cz-nds {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "op" "oferta" "cifre" "act";
  margin: 0;
  padding: 0;
  background: var(--cdh-bg);
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(var(--cdh-n-900-rgb), .08), 0 10px 26px rgba(var(--cdh-n-900-rgb), .14);
}
.cz-nds__logowrap {
  position: relative;
  flex: none;
  display: block;
  min-width: 20px;
  min-height: 20px;
}
.cz-nds__rank {
  position: absolute;
  top: -7px;
  left: -7px;
  z-index: 2;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cdh-ink);
  color: var(--cdh-cta-ink);
  box-shadow: 0 0 0 2px var(--cdh-bg);
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.cz-nds__op {
  grid-area: op;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 14px 12px;
}
.cz-nds__logo {
  flex: none;
  display: block;
  width: 85px;
  height: auto;
  aspect-ratio: 5 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: var(--cdh-n-100);
}
.cz-nds__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cz-nds__nume { font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--cdh-n-900); }
.cz-nds__nume a { color: var(--cdh-n-900); text-decoration: none; }
.cz-nds__nume a:hover { color: var(--cdh-accent-text); }
.cz-nds__verif {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--cdh-action-press);
}
.cz-nds__verif::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M8 12.5l2.8 2.8L16 9.6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M8 12.5l2.8 2.8L16 9.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cz-nds__lic { font-size: 11px; line-height: 1.35; color: var(--cdh-mut); }
.cz-nds__lic-nr { font-weight: 600; white-space: nowrap; color: var(--cdh-ink-2); }
.cz-nds__oferta {
  grid-area: oferta;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  background: var(--cdh-action-050);
  border-top: 1px solid var(--cdh-action-100);
  border-bottom: 1px solid var(--cdh-action-100);
}
.cz-nds__oferta > p { margin: 0; }
.cz-nds__bon { font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--cdh-n-900); }
.cz-nds__nr { font-size: 26px; line-height: 1; letter-spacing: -.01em; color: var(--cdh-action-press); }
.cz-nds__val { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--cdh-ink-2); }
.cz-nds__val strong { color: var(--cdh-action-press); }
.cz-nds__joc { font-size: 12.5px; line-height: 1.35; color: var(--cdh-mut); }
.cz-nds__cod { align-self: flex-start; margin-top: 6px; }
.cz-nds__oferta .cz-ndcard__codes-rest,
.cz-nds__alt .cz-ndcard__codes-rest { flex: none; width: auto; margin-top: 0; }
.cz-nds__cifre {
  grid-area: cifre;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 12px 14px 0;
}
.cz-nds__cifre > div { margin: 0; min-width: 0; }
.cz-nds__cifre dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cdh-mut);
}
.cz-nds__cifre dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--cdh-n-900); word-break: normal; overflow-wrap: normal; }
.cz-nds__act {
  grid-area: act;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 18px 16px 14px;
}
.cz-nds__cta,
.cz-nds__alt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--cdh-cta-bg);
  color: var(--cdh-cta-ink);
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.cz-nds__cta { flex: 1; min-height: 48px; padding: 0 14px; font-size: 14px; }
.cz-nds__cta:hover { background: var(--cdh-cta-bg-hover); color: var(--cdh-cta-ink); }
.cz-nds__det {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cdh-accent-text);
  text-decoration: none;
}
.cz-nds__det:hover { text-decoration: underline; }
.cz-nds__det-lung { display: none; }
.cz-nds__alt {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0 14px 14px;
  padding: 12px 14px 14px;
  border-radius: 14px;
  background: var(--cdh-n-100);
}
.cz-nds__alt-et {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--cdh-r-pill);
  background: var(--cdh-bg);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cdh-n-900);
}
.cz-nds__alt-et::before {
  content: "+";
  font-size: 13px;
  line-height: 1;
}
.cz-nds__alt-txt > p { margin: 0; }
.cz-nds__alt-bon { font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--cdh-n-900); }
.cz-nds__alt-bon .cz-nds__nr { font-size: 19px; }
.cz-nds__alt-txt > .cz-nds__alt-sub { margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--cdh-mut); }
.cz-nds__alt-cifre {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--cdh-ink-2);
}
.cz-nds__alt-cifre strong { color: var(--cdh-n-900); }
.cz-nds__alt-dt { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cdh-mut); }
.cz-nds__alt-cta {
  margin-top: 4px;
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
  background: var(--cdh-bg);
  border: 1.5px solid var(--cdh-cta-bg);
  color: var(--cdh-action-press);
}
.cz-nds__alt-cta:hover { background: var(--cdh-action-050); color: var(--cdh-action-press); }
.cz-nds__alt-cod { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: -2px; }
.cz-nds__alt-cod .cz-nds__cod { margin-top: 0; min-height: 0; padding: 3px 9px 3px 8px; font-size: .78rem; }
.cz-nds__alt-cod .cz-ndcard__code-label { font-size: .65rem; }
.cz-nds__alt-cod .cz-nds__cod::after { padding: 2px 6px; font-size: .6rem; }
.cz-nds-root--rot .cz-nds__cifre { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.cz-nds-root--rot .cz-nds__cifre dd { font-size: 14.5px; }
.cz-nds-root--rot .cz-nds__alt-cifre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 16px; }
.cz-nds-root--rot .cz-nds__alt-cifre > div { min-width: 0; }
.cz-nds-root--rot .cz-nds__alt-cifre dt { display: inline; }
.cz-nds-root--rot .cz-nds__alt-cifre dd { display: inline; margin: 0; font-weight: 700; color: var(--cdh-n-900); }
.cz-nds-root--rot .cz-nds__cifre .cz-nds__jocuri dd,
.cz-nds-root--rot .cz-nds__alt-cifre .cz-nds__jocuri {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.cz-nds-root--rot .cz-nds__act { padding-right: 14px; }
.cz-nds__fin { order: 1; grid-column: 1 / -1; display: flex; justify-content: center; padding: 0 14px 6px; margin-top: -8px; }
.cz-nds__fin .cz-nds__det-lung { display: inline; }
.cz-nds-root :focus-visible { outline: 2px solid var(--cdh-accent-text); outline-offset: 2px; }
@container (min-width: 560px) {
  .cz-nds__det-lung { display: inline; }
}
@container (min-width: 560px) and (max-width: 959.98px) {
  .cz-nds__cta { flex: none; min-width: 240px; padding: 0 28px; }
  .cz-nds__det { margin-left: auto; }
  .cz-nds__alt-cta { align-self: flex-start; min-width: 240px; padding: 0 28px; }
  .cz-nds-root--rot .cz-nds__cta { flex: 1; min-width: 0; }
  .cz-nds-root--rot .cz-nds__fin .cz-nds__det { margin-left: 0; }
  .cz-nds-root--rot .cz-nds__alt-cta { align-self: stretch; }
}
@container (min-width: 960px) {
  .cz-nds {
    grid-template-columns: 270px minmax(0, 1fr) 330px 196px;
    grid-template-areas: "op oferta cifre act";
    align-items: stretch;
    box-shadow: 0 2px 4px rgba(var(--cdh-n-900-rgb), .08), 0 12px 32px rgba(var(--cdh-n-900-rgb), .14);
  }
  .cz-nds__op { padding: 20px 18px 20px 20px; }
  .cz-nds__logo { width: 96px; }
  .cz-nds__nume { font-size: 16px; }
  .cz-nds__oferta {
    justify-content: center;
    gap: 6px;
    padding: 18px 22px;
    border-top: 0;
    border-bottom: 0;
    border-left: 1px solid var(--cdh-action-100);
    border-right: 1px solid var(--cdh-action-100);
  }
  .cz-nds__bon { font-size: 18px; }
  .cz-nds__nr { font-size: 30px; }
  .cz-nds__cifre { align-content: center; gap: 12px; padding: 18px 22px; }
  .cz-nds__cifre dt { font-size: 10.5px; }
  .cz-nds__cifre dd { margin-top: 2px; font-size: 17px; }
  .cz-nds__act {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px 18px 0;
  }
  .cz-nds__cta { flex: none; }
  .cz-nds__det { min-height: 0; }
  .cz-nds__alt {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) auto 176px;
    align-items: center;
    gap: 6px 20px;
    margin: 0 20px 20px;
    padding: 14px 20px;
  }
  .cz-nds__alt-et { align-self: center; justify-self: start; }
  .cz-nds__alt-cifre { flex-wrap: nowrap; gap: 18px; font-size: 13px; white-space: nowrap; }
  .cz-nds__alt-cta { margin-top: 0; min-height: 40px; }
  .cz-nds__alt > .cz-nds__alt-cod { grid-column: 2 / -1; grid-row: 2; }
  .cz-nds-root--rot .cz-nds { grid-template-columns: 250px minmax(0, 1fr) minmax(300px, 1.2fr) 196px; }
  .cz-nds-root--rot .cz-nds__cifre dd { font-size: 15px; }
  .cz-nds-root--rot .cz-nds__alt { grid-template-columns: 230px minmax(0, .8fr) minmax(0, 1.6fr) 176px; }
  .cz-nds-root--rot .cz-nds__alt-cifre { white-space: normal; }
  .cz-nds-root--rot .cz-nds {
    grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr);
    grid-template-areas:
      "op oferta cifre ."
      "op oferta cifre act"
      "op oferta cifre fin"
      "op oferta cifre .";
  }
  .cz-nds-root--rot .cz-nds__act { padding: 18px 20px 5px 0; }
  .cz-nds-root--rot .cz-nds__fin { grid-area: fin; justify-content: center; margin: 0; padding: 5px 20px 18px 0; }
  .cz-nds-root--rot .cz-nds__fin .cz-nds__det { min-height: 32px; }}
@media (max-width: 767.98px) {
  .cz-cards-nodeposit.cz-nds-root { gap: 14px; padding-top: 16px; }
  .wp-block-group:has(+ .wp-block-group .cz-nds-root) .wp-block-heading:first-child,
  .wp-block-group:has(+ .cz-nds-root) .wp-block-heading:first-child { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cz-nds__cta, .cz-nds__alt-cta { transition: none; }
}
.cz-codcal__coduri { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cz-codcal__cod { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
.cz-codcal__pentru { font-size: 12.5px; line-height: 1.4; color: var(--cdh-n-700); }
.cz-codcal__panou {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 12px;
  border-radius: 14px;
  background: var(--cdh-n-100);
}
@container (min-width: 960px) { .cz-codcal__panou { margin: 0 20px 16px; padding: 12px 16px; } }
.cz-codcal__panou .cz-nds__alt-et { align-self: flex-start; }
.cz-codcal__panou .cz-codcal__coduri {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0;
}
.cz-codcal__panou .cz-codcal__cod {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 8px 12px;
  border: 1px solid var(--cdh-n-200);
  border-radius: 10px;
  background: var(--cdh-bg);
}
.cz-codcal__panou .cz-ndcard__code { flex: 0 0 auto; min-width: 150px; justify-content: flex-start; }
.cz-codcal__panou .cz-codcal__pentru { flex: 1 1 220px; }
.cz-codcal__panou .cz-nds__alt-bon, .cz-codcal__panou .cz-nds__alt-sub { margin: 0; }
.cz-codcal .cz-nds__cifre dd { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--cdh-n-700); }
.cz-codcal .cz-nds__cifre { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.cz-codcal .cz-nds__cifre > div { display: flex; align-items: baseline; gap: 8px; }
.cz-codcal .cz-nds__cifre dt { flex: 0 0 52px; margin: 0; }
.cz-codcal .cz-nds__oferta { justify-content: center; gap: 4px; }
.cz-codcal .cz-nds__oferta > .cz-codcal__coduri { margin-top: 0; }
.cz-codcal .cz-codcal__cod .cz-ndcard__code { margin-top: 0; }
