/* V18 legal and customer requests: readable, compact, consistent with the storefront. */
.legal-main {
  background: #f6f8fa;
  padding: 32px 0 56px;
}
body.pd-v11 .legal-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  max-width: 1280px;
  margin-inline: auto;
}
.legal-nav {
  display: grid;
  gap: 6px;
  padding-top: 8px;
  position: sticky;
  top: 170px;
}
.legal-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  color: #29445a;
  font-size: 15px;
  text-decoration: none;
}
.legal-nav a:hover,
.legal-nav a[aria-current='page'] {
  background: #e7eef4;
  color: #122b45;
}
.legal-nav a[aria-current='page'] {
  font-weight: 700;
  box-shadow: inset 3px 0 #f77924;
}
body.pd-v11 .pd-legal.legal-v18 {
  max-width: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #dce5ec;
  border-radius: 20px;
  background: #fff;
}
.legal-v18 .legal-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid #e3eaf0;
  margin-bottom: 24px;
}
body.pd-v11 .legal-v18 h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin: 12px 0 16px;
}
body.pd-v11 .legal-v18 h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 0 0 12px;
}
.legal-v18 section {
  margin: 0 0 30px;
}
body.pd-v11 .legal-v18 p,
body.pd-v11 .legal-v18 li {
  font-size: 16px;
  line-height: 1.65;
  color: #41586c;
}
.legal-v18 p {
  margin: 0 0 12px;
}
body.pd-v11 .legal-v18 .legal-lead {
  font-size: 18px;
  line-height: 1.55;
  color: #29445a;
}
body.pd-v11 .legal-v18 .legal-updated {
  font-size: 13px;
  color: #62748a;
  margin: 0;
}
.legal-v18 a:not(.button),
.legal-end button {
  color: #164d73;
  text-underline-offset: 3px;
}
.legal-v18 ol {
  padding-left: 24px;
}
.legal-v18 li {
  margin-bottom: 10px;
  padding-left: 4px;
}
.legal-facts {
  margin: 16px 0 0;
  border: 1px solid #dce5ec;
  border-radius: 12px;
  overflow: hidden;
}
.legal-facts div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 12px 16px;
}
.legal-facts div + div {
  border-top: 1px solid #e3eaf0;
}
.legal-facts dt {
  color: #536a7c;
  font-size: 14px;
}
.legal-facts dd {
  margin: 0;
  color: #122b45;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.legal-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.legal-choice-grid .legal-choice {
  padding: 22px;
  border: 1px solid #dce5ec;
  border-radius: 14px;
  background: #f8fafc;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.legal-choice .pd-eyebrow {
  font-size: 11px;
  color: #a24816;
  margin-bottom: 14px;
}
body.pd-v11 .legal-v18 .button {
  color: #122b45;
  text-decoration: none;
}
.legal-choice .button {
  margin-top: auto;
  min-height: 46px;
  padding: 12px 16px;
  font-size: 14px;
  white-space: normal;
}
.legal-table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
}
.legal-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.legal-table-wrap caption {
  text-align: left;
  color: #536a7c;
  margin-bottom: 10px;
}
.legal-table-wrap th {
  text-align: left;
  background: #edf3f7;
  color: #122b45;
}
.legal-table-wrap th,
.legal-table-wrap td {
  padding: 14px 12px;
  border: 1px solid #dce5ec;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.legal-table-wrap td {
  color: #41586c;
}
.legal-end {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  border-top: 1px solid #e3eaf0;
  padding-top: 22px;
  font-size: 15px;
}
[data-legal-field] {
  white-space: pre-line;
}
[data-page='retragere'] .pc-account-heading {
  padding: 22px 0 28px;
}
[data-page='retragere'] .pc-account-heading h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
}
[data-page='retragere'] .pc-account-heading p:not(.eyebrow) {
  max-width: 800px;
  font-size: 17px;
}
[data-page='retragere'] .pc-withdrawal-layout {
  gap: clamp(24px, 4vw, 64px);
}
#withdrawal-app {
  padding: clamp(20px, 3vw, 32px);
}
#withdrawal-app .withdrawal-kind {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
}
#withdrawal-app .withdrawal-kind legend {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}
#withdrawal-app .withdrawal-kind label {
  display: flex;
  gap: 10px;
  align-items: start;
  border: 1px solid #dce5ec;
  border-radius: 10px;
  padding: 12px;
  margin: 0 0 8px;
  cursor: pointer;
}
#withdrawal-app .withdrawal-kind input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #153550;
}
#withdrawal-app .withdrawal-kind label:has(input:checked) {
  border-color: #173b58;
  background: #f1f6fa;
}
#withdrawal-app .withdrawal-kind strong {
  display: block;
  font-size: 15px;
}
#withdrawal-app .withdrawal-kind small {
  display: block;
  font-size: 13px;
  color: #536a7c;
  margin-top: 4px;
  line-height: 1.45;
}
#withdrawal-app .withdrawal-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
#withdrawal-app .withdrawal-fields label {
  margin: 0;
  min-width: 0;
}
#withdrawal-app .withdrawal-fields .pc-full {
  grid-column: 1/-1;
}
#withdrawal-app input,
#withdrawal-app textarea {
  min-height: 46px;
  font-size: 16px;
}
#withdrawal-app textarea {
  min-height: 94px;
}
#withdrawal-app .pc-keyvalue strong {
  overflow-wrap: anywhere;
}
#withdrawal-app .pc-withdrawal-declaration p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#withdrawal-app [data-receipt-mail] {
  padding: 12px 14px;
  background: #eef4f8;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.legal-v18 a:focus-visible,
#withdrawal-app button:focus-visible,
.legal-nav a:focus-visible {
  outline: 3px solid #da611b;
  outline-offset: 3px;
}
.legal-guarantee {
  display: block;
  width: min(100%, 650px);
  height: auto;
  margin: 18px 0;
}
@media (max-width: 800px) {
  body.pd-v11 .legal-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .legal-nav {
    display: flex;
    flex-wrap: wrap;
    position: static;
    gap: 4px;
  }
  .legal-nav a {
    padding: 10px 12px;
  }
  .legal-main {
    padding-top: 18px;
  }
}
@media (max-width: 580px) {
  .legal-choice-grid {
    grid-template-columns: 1fr;
  }
  .legal-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  body.pd-v11 .legal-v18 h2 {
    font-size: 19px;
  }
  #withdrawal-app .withdrawal-fields {
    grid-template-columns: 1fr;
  }
  .legal-table-wrap th,
  .legal-table-wrap td {
    padding: 10px 8px;
    font-size: 13px;
  }
}
@media print {
  .site-header,
  .topbar,
  .site-footer,
  .legal-nav,
  .legal-end,
  .pc-withdrawal-aside,
  .skip-link,
  .pc-account-heading,
  .pc-withdrawal-actions {
    display: none !important;
  }
  .legal-main,
  .legal-v18,
  .pc-main {
    background: #fff !important;
    padding: 0 !important;
  }
  .legal-layout,
  .pc-withdrawal-layout {
    display: block !important;
  }
  body.pd-v11 .pd-legal.legal-v18,
  #withdrawal-app {
    border: 0;
    padding: 0;
  }
  .legal-v18 section {
    break-inside: avoid;
  }
}
