/* Last-loaded custom overrides. Add new CSS here when it must override other theme styles. */

.step-item.inactive {
  border: 1px solid #D4E9FF6B;
}

.steps-nav {
  gap: 0;
}

button.step-item {
  border-radius: 0;
}

.section-header.section-header--full {
  border-radius: 0;
  height: 45px;
  padding: 0 20px;
}

.config-left .section-header {
  height: 37px;
  border-radius: 4px;
  padding: 4.5px 0 7.5px 10px;
  max-height: 31px;
}

.config-wrapper .cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

label.card-option.card-option--imposte {
  width: 100%;
}

@media (max-width: 1200px) {
  .config-wrapper .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .config-wrapper .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .config-wrapper .cards-grid {
    grid-template-columns: repeat(var(--gamme-mobile-columns, 2), minmax(0, 1fr));
  }
}

label.card-option.card-option--opening {
  width: 100%;
}

label.card-option.card-option--window-type {
  width: 100%;
}

.cards-grid--dynamic .card-option--gamme {
  width: 100%;
  padding: 0 9px 0px;
}

.config-wrapper .section-subheader {
  width: unset;
}

/* Configurator dimensions - Figma 702:12858 */
[data-config-section="dimensions"] .config-section--figma-dimensions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  width: 100%;
}

[data-config-section="dimensions"] .section-header.section-header--full {
  align-items: center;
  box-sizing: border-box;
  background: #124170;
  border-radius: 0;
  color: #ffffff;
  display: flex;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 600;
  height: 30px;
  letter-spacing: 0;
  line-height: 20px;
  padding: 5px 10px;
  text-transform: uppercase;
  width: 100%;
}

[data-config-section="dimensions"] .section-label {
  color: #333;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  margin: 0 0 2px;
}

[data-config-section="dimensions"] .dimensions-grid--figma {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

[data-config-section="dimensions"] .dimension-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

[data-config-section="dimensions"] .dimension-field label {
  color: #222222;
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 12px;
  margin: 0;
}

[data-config-section="dimensions"] .dimension-label-unit {
  color: #222;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 18.571px;
}

[data-config-section="dimensions"] .dimension-input-wrap {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  height: 40px;
  overflow: hidden;
  width: 100%;
}

[data-config-section="dimensions"] .dimension-input-wrap .dim-value {
  background: transparent;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  color: #222;
  flex: 1 1 auto;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  height: 100%;
  line-height: 19.2px;
  min-width: 0;
  overflow: hidden;
  padding: 6px 8px;
  text-align: left;
  text-overflow: ellipsis;
  width: auto;
}

[data-config-section="dimensions"] .dimension-input-wrap .dim-value:focus {
  box-shadow: none;
  outline: 1px solid #91ae3b;
  outline-offset: -1px;
}

[data-config-section="dimensions"] .dimension-input-wrap .dim-value::placeholder {
  color: #222222;
  opacity: 1;
}

[data-config-section="dimensions"] .dimension-input-max {
  color: #222;
  flex: 0 0 auto;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.2px;
  overflow: hidden;
  padding: 0 8px;
  pointer-events: none;
  text-overflow: ellipsis;
}

[data-config-section="dimensions"] .dimension-limit-hint {
  display: none;
}

[data-config-section="dimensions"] .dimension-field-error {
  color: #b42318;
  font-family: Poppins, sans-serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 12px;
  margin: 2px 0 0;
}

[data-config-section="dimensions"] .dimension-field.has-error .dimension-input-wrap {
  border-color: #d92d20;
}

[data-config-section="dimensions"] .dimension-field.has-error .dim-value {
  box-shadow: none;
}

@media (max-width: 600px) {
  [data-config-section="dimensions"] .dimensions-grid--figma {
    grid-template-columns: 1fr;
  }
}

/* Configurator gamme grid */
.config-wrapper .cards-grid--range.gamme {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.config-wrapper .cards-grid--range.gamme .card-option--gamme {
  width: 100%;
}

@media (max-width: 900px) {
  .config-wrapper .cards-grid--range.gamme {
    grid-template-columns: repeat(var(--gamme-tablet-columns, 3), minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .config-wrapper .cards-grid--range.gamme {
    grid-template-columns: repeat(var(--gamme-mobile-columns, 2), minmax(0, 1fr));
  }
}

.cards-grid--dynamic .card-option--profile {
  padding: 0 14px 0px;
}

[data-config-section="dimensions"] .dimension-label-text {
  color: #222;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 18.571px;
}

.glazing-card {
  width: unset;
}

.glazing-card-row--families,
.glazing-card-row--options {
  display: grid;
  grid-template-columns: repeat(5, 4fr);
}

.cards-grid--dynamic .card-option--handle {
  width: 100%;
}

.cards-grid--dynamic .card-option--range,
.cards-grid--dynamic .card-option--gamme,
.cards-grid--dynamic .card-option--window-type,
.cards-grid--dynamic .card-option--special-shape,
.cards-grid--dynamic .card-option--opening,
.cards-grid--dynamic .card-option--imposte,
.cards-grid--dynamic .card-option--glazing,
.cards-grid--dynamic .card-option--spacer,
.cards-grid--dynamic .card-option--ventilation,
.cards-grid--dynamic .card-option--handle,
.cards-grid--dynamic .card-option--accessory {
  width: 100%;
}

.card-option .card-visual {
  padding: 0;
}

.card-option .card-visual img {
  object-fit: contain;
}

.volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--monobloc-rs,
.volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--monobloc-rn,
.volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--ra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.sliding-profile-card {
  width: 100%;
}

.color-material-band {
  width: unset;
}

[data-config-section="dimensions"] label.dimension-field .dimension-label {
  display: block;
  margin: 0;
}

[data-config-section="dimensions"] .dimension-input-wrap small {
  color: #222;
  flex: 0 0 auto;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.2px;
  padding: 0 8px 0 0;
}

[data-config-section="dimensions"] .config-info-message--dimensions {
  color: #777777;
  font-family: Poppins, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  margin: 0;
}

/* Sliding bay dimensions - Figma */
.config-section--sliding-bay-dimensions.config-section--figma-dimensions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  width: 100%;
}

.config-section--sliding-bay-dimensions .section-header.section-header--full {
  align-items: center;
  background: #124170;
  border-radius: 0;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 600;
  height: 30px;
  letter-spacing: 0;
  line-height: 20px;
  padding: 5px 10px;
  text-transform: uppercase;
  width: 100%;
}

.config-section--sliding-bay-dimensions .section-label {
  color: #333;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  margin: 0 0 2px;
}

.config-section--sliding-bay-dimensions .dimensions-grid--figma {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.config-section--sliding-bay-dimensions .dimension-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.config-section--sliding-bay-dimensions label.dimension-field .dimension-label {
  display: block;
  margin: 0;
}

.config-section--sliding-bay-dimensions .dimension-label-text {
  color: #222;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 18.571px;
}

.config-section--sliding-bay-dimensions .dimension-label-unit {
  color: #222;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 18.571px;
}

.config-section--sliding-bay-dimensions .dimension-input-wrap {
  align-items: center;
  background: #ffffff;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  box-sizing: border-box;
  display: flex;
  height: 40px;
  overflow: hidden;
  width: 100%;
}

.config-section--sliding-bay-dimensions .dimension-input-wrap .dim-value {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  color: #222;
  flex: 1 1 auto;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  height: 100%;
  line-height: 19.2px;
  min-width: 0;
  overflow: hidden;
  padding: 6px 8px;
  text-align: left;
  text-overflow: ellipsis;
  width: auto;
}

.config-section--sliding-bay-dimensions .dimension-input-max,
.config-section--sliding-bay-dimensions .dimension-input-wrap small {
  color: #222;
  flex: 0 0 auto;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.2px;
  overflow: hidden;
  padding: 0 8px;
  pointer-events: none;
  text-overflow: ellipsis;
}

.config-section--sliding-bay-dimensions .config-info-message--dimensions {
  color: #777777;
  font-family: Poppins, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  margin: 0;
}

@media (max-width: 600px) {
  .config-section--sliding-bay-dimensions .dimensions-grid--figma {
    grid-template-columns: 1fr;
  }
}

.config-wrapper .cards-grid.cards-grid--dynamic.cards-grid--material.cards-grid--sliding-bay-material {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.config-wrapper .cards-grid.cards-grid--dynamic.cards-grid--material {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.cards-grid--sliding-bay-step2 {
  overflow-x: unset;
}

.crossbar-preview-frame--sliding-bay {
  width: 100%;
}

.cards-grid.cards-grid--dynamic.cards-grid--profile.cards-grid--door-models {
  grid-template-columns: repeat(5, 1fr) !important;
}

.color-palette-grid {
  gap: 5px 5px;
}

.color-palette-option--image-only {
  margin: 0;
}

.crossbar-repartition {
  margin-bottom: 28px;
}

.cards-grid.cards-grid--dynamic.cards-grid--profile {
  grid-template-columns: repeat(3, 1fr) !important;
}

.color-palette-grid.color-palette-grid--aluminium.color-palette-grid--aluminium-bands {
  gap: unset;
}

.config-section--sliding-bay-material .card-option--material {
  width: 100%;
}

.garage-dimension-field input {
  width: unset;
}


/* Responsive audit fixes - 2026-06-21 */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#header,
header,
main,
#wrapper,
.container,
.config-page-header,
.config-wrapper,
.config-left,
.config-right,
.config-step-panel,
.config-section,
.section-header.section-header--full {
  max-width: 100%;
}

.section-header.section-header--full {
  width: 100%;
}

.config-page-header {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.config-page-header h1,
.config-page-header p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.blockcart.cart-preview.active,
header .middle #_desktop_cart,
#_desktop_cart {
  max-width: 100%;
  position: relative;
}

header .middle #_desktop_cart .cart-products-count,
#_desktop_cart .cart-products-count,
.cart-products-count {
  right: 0 !important;
  left: auto !important;
  max-width: 24px;
  transform: none !important;
}

.config-wrapper {
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
}

.config-wrapper .cards-grid,
.cards-grid,
.glazing-card-row--families,
.glazing-card-row--options,
.nf-accessoires-card-row,
.volet-type-grid,
.color-palette-grid {
  min-width: 0;
  max-width: 100%;
}

.config-wrapper .cards-grid > *,
.cards-grid > *,
.glazing-card-row--families > *,
.glazing-card-row--options > *,
.nf-accessoires-card-row > *,
.volet-type-grid > *,
.color-palette-grid > * {
  min-width: 0;
}

.card-option,
.nf-accessoires-card,
.nf-accessoires-family-card,
.glazing-card,
.sliding-profile-card,
.volet-type-card {
  max-width: 100%;
  min-width: 0;
}

.card-title,
.card-label,
.card-desc,
.card-meta,
.card-price,
.nf-accessoires-card strong,
.nf-accessoires-card span,
.nf-accessoires-family-card strong,
.nf-accessoires-family-card span {
  overflow-wrap: anywhere;
  word-break: normal;
}

.card-option .card-visual,
.card-option .card-visual img,
.nf-accessoires-card__image,
.nf-accessoires-family-card__image,
.glazing-card img {
  max-width: 100%;
}

.steps-nav {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.step-item {
  min-width: 0;
  white-space: nowrap;
}

@media (max-width: 1366px) {
  .config-page-header {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1024px) {
  .config-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .config-left,
  .config-right {
    width: 100% !important;
    max-width: 100% !important;
  }

  .config-wrapper .cards-grid,
  .config-wrapper .cards-grid.cards-grid--dynamic.cards-grid--material,
  .config-wrapper .cards-grid.cards-grid--dynamic.cards-grid--material.cards-grid--sliding-bay-material,
  .cards-grid.cards-grid--dynamic.cards-grid--profile,
  .cards-grid.cards-grid--dynamic.cards-grid--profile.cards-grid--door-models,
  .glazing-card-row--families,
  .glazing-card-row--options {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .config-wrapper .cards-grid--range.gamme,
  .volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--monobloc-rs,
  .volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--monobloc-rn,
  .volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--ra {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .nf-accessoires-card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body {
    min-width: 0;
  }

  header .bottom,
  header .bottom .container,
  header ul.bottom,
  header ul.bottom.has-active,
  .header-nav,
  .menu,
  .top-menu,
  #top-menu {
    max-width: 100%;
  }

  header ul.bottom,
  header ul.bottom.has-active,
  .top-menu,
  #top-menu {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }

  header ul.bottom li,
  header ul.bottom li.parent,
  .top-menu li,
  #top-menu li {
    flex: 0 0 auto;
  }

  .config-page-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .config-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }

  .steps-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow-x: hidden;
  }

  .step-item {
    width: 100%;
    min-height: 40px;
    padding-left: 8px;
    padding-right: 8px;
    white-space: normal;
  }

  .config-wrapper .cards-grid,
  .config-wrapper .cards-grid.cards-grid--dynamic.cards-grid--material,
  .config-wrapper .cards-grid.cards-grid--dynamic.cards-grid--material.cards-grid--sliding-bay-material,
  .cards-grid.cards-grid--dynamic.cards-grid--profile,
  .cards-grid.cards-grid--dynamic.cards-grid--profile.cards-grid--door-models,
  .glazing-card-row--families,
  .glazing-card-row--options,
  .config-wrapper .cards-grid--range.gamme,
  .volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--monobloc-rs,
  .volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--monobloc-rn,
  .volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--ra {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nf-accessoires-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .config-wrapper .cards-grid > .card-option {
    width: 100% !important;
  }

  a,
  button,
  input,
  select,
  textarea,
  label.card-option,
  .wishlistIcon,
  #ToggleMenu {
    min-height: 32px;
  }
}

@media (max-width: 430px) {
  .config-page-header,
  .config-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .config-page-header h1 {
    font-size: clamp(22px, 7vw, 32px);
    line-height: 1.15;
  }

  .config-page-header p {
    font-size: 14px;
    line-height: 1.4;
  }

  .steps-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-item {
    font-size: 12px;
    line-height: 16px;
  }

  .config-wrapper .cards-grid,
  .config-wrapper .cards-grid.cards-grid--dynamic.cards-grid--material,
  .config-wrapper .cards-grid.cards-grid--dynamic.cards-grid--material.cards-grid--sliding-bay-material,
  .cards-grid.cards-grid--dynamic.cards-grid--profile,
  .cards-grid.cards-grid--dynamic.cards-grid--profile.cards-grid--door-models,
  .glazing-card-row--families,
  .glazing-card-row--options,
  .config-wrapper .cards-grid--range.gamme,
  .volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--monobloc-rs,
  .volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--monobloc-rn,
  .volet-type-grid.volet-type-grid--type-volet-roulant.volet-type-grid--ra,
  .nf-accessoires-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .card-option,
  .nf-accessoires-card,
  .nf-accessoires-family-card,
  .glazing-card {
    width: 100% !important;
  }

  .section-header.section-header--full,
  .config-left .section-header {
    min-width: 0;
  }

  header .middle #_desktop_cart .cart-products-count,
  #_desktop_cart .cart-products-count,
  .cart-products-count {
    right: 0 !important;
  }
}

@media (max-width: 320px) {
  .config-page-header,
  .config-wrapper {
    padding-left: 8px;
    padding-right: 8px;
  }

  .steps-nav {
    grid-template-columns: 1fr;
  }
}

/* Desktop configurator layout correction */
@media (min-width: 1025px) {
  .config-page-header,
  .config-wrapper {
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .config-wrapper {
    max-width: 1340px;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
  }

  .config-left {
    width: 40%;
    min-width: 380px;
    position: sticky;
    top: var(--cfg-sticky-offset);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--cfg-sticky-offset) - 8px);
    max-height: calc(100vh - var(--cfg-sticky-offset) - 8px);
    min-height: 0;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .cards-grid--dynamic .card-option--gamme {
    width: 100% !important;
  }
}

/* Customer account pages */
body#my-account #content .links {
  gap: 24px;
  margin-top: 30px;
}

body#my-account #content .links a {
  display: block;
  padding: 0;
}

body#my-account #content .links .col-lg-4.col-md-6.col-sm-6.col-xs-12 span.link-item {
  background: #FFFFFF;
  border: 1px solid #E5E8EC;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(18, 65, 112, 0.08);
  color: #124170;
  gap: 14px;
  justify-content: center;
  min-height: 168px;
  padding: 28px 18px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body#my-account #content .links a:hover span.link-item {
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(18, 65, 112, 0.12);
  transform: translateY(-2px);
}

.page-my-account #content .links a i {
  align-items: center;
  background: #124170;
  border-radius: 50%;
  display: flex;
  font-size: 30px;
  height: 58px;
  justify-content: center;
  margin-bottom: 0;
  width: 58px;
}

body#my-account .page-footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

body#addresses section#wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
}

body#addresses .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

body#addresses #wrapper .container > .row,
body#addresses #content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

body#addresses .breadcrumb {
  margin-top: 38px;
  width: var(--fixwidth);
}

body#addresses h1 {
  color: #124170;
  font-family: "Playfair Display";
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  text-transform: capitalize;
}

body#identity #main,
body#address #main,
body#addresses #main {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 960px;
  width: 100%;
}

body#identity .page-content,
body#address .page-content,
body#addresses .page-content {
  background: #FFFFFF;
  border: 1px solid #E5E8EC;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(18, 65, 112, 0.08);
  margin: 28px auto 90px;
  padding: 34px;
  width: 100%;
}

body#addresses .page-content {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body#identity #customer-form > div,
body#address .js-address-form .form-fields {
  display: grid;
  gap: 22px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body#identity #customer-form .form-group,
body#address .js-address-form .form-group {
  margin: 0;
}

body#identity #customer-form .form-group.row,
body#address .js-address-form .form-group.row {
  display: block;
  margin-left: 0;
  margin-right: 0;
}

body#identity .form-control-label,
body#address .form-control-label,
body#identity .js-input-column,
body#address .js-input-column,
body#identity .form-control-comment,
body#address .form-control-comment,
body#identity .col-md-6,
body#identity .col-md-9,
body#address .col-md-6,
body#address .col-md-9 {
  float: none;
  max-width: none;
  padding: 0;
  width: 100%;
}

body#identity .form-control-label,
body#address .form-control-label {
  color: #1A1A1A;
  display: block;
  font-family: Poppins;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 9px;
  text-align: left;
}

body#identity .form-control-label.required::before,
body#identity .form-control-label.required::after,
body#address .form-control-label.required::before,
body#address .form-control-label.required::after {
  display: none;
}

body#identity .form-control,
body#identity select.form-control,
body#address .form-control,
body#address select.form-control {
  background: #FFFFFF;
  border: 1px solid #E5E8EC;
  border-radius: 10px;
  box-shadow: none;
  color: #1A1A1A;
  font-family: Lexend, sans-serif;
  font-size: 15px;
  font-weight: 300;
  height: 48px;
  line-height: 22px;
  padding: 11px 12px;
  width: 100%;
}

body#identity .form-control:focus,
body#address .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(145, 174, 59, 0.14);
  outline: 0;
}

body#identity .radio-inline,
body#identity .custom-checkbox,
body#address .custom-checkbox {
  align-items: center;
  color: #1A1A1A;
  display: inline-flex;
  font-family: Poppins;
  font-size: 15px;
  gap: 8px;
  margin: 4px 18px 4px 0;
}

.nf-address-type {
  align-items: center;
  background: #F7F9FB;
  border: 1px solid #E5E8EC;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px 16px;
  width: 100%;
}

.nf-address-type__label {
  color: #124170;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-right: 8px;
}

.nf-address-type__option {
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E5E8EC;
  border-radius: 999px;
  color: #1A1A1A;
  cursor: pointer;
  display: inline-flex;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 500;
  gap: 8px;
  margin: 0;
  padding: 9px 14px;
}

.nf-address-type__option input {
  margin: 0;
}

[data-nf-business-field].is-hidden,
[data-nf-business-field][hidden] {
  display: none !important;
}

body#identity .form-footer,
body#address .form-footer {
  border-top: 1px solid #EEF0F3;
  margin-top: 28px;
  padding-top: 24px;
}

body#identity .form-control-submit,
body#address .form-control-submit,
body#addresses .addresses-footer a {
  align-items: center;
  background: var(--blue);
  border: 0;
  border-radius: 61px;
  color: #FFFFFF !important;
  display: inline-flex;
  font-family: Poppins;
  font-size: 17px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.2;
  min-height: 46px;
  padding: 11px 24px;
  transition: background 0.2s ease, transform 0.2s ease;
}

body#identity .form-control-submit:hover,
body#address .form-control-submit:hover,
body#addresses .addresses-footer a:hover {
  background: var(--green);
  transform: translateY(-1px);
}

body#addresses .page-content {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  justify-content: center;
  max-width: 960px;
}

body#addresses .page-content > .col-lg-4,
body#addresses .page-content > .col-md-6,
body#addresses .page-content > .col-sm-6 {
  float: none;
  max-width: none;
  padding: 0;
  width: 100%;
}

body#addresses .page-content > .clearfix {
  display: none;
}

body#addresses .page-content > .alert {
  grid-column: 1 / -1;
  margin: 0;
}

body#addresses article.address {
  background: #FFFFFF;
  border: 1px solid #E5E8EC;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(18, 65, 112, 0.08);
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body#addresses article.address .address-body {
  min-height: 160px;
  padding: 26px;
}

body#addresses article.address h4 {
  color: #124170;
  font-family: Poppins;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 14px;
  text-transform: capitalize;
}

body#addresses article.address address {
  color: #1A1A1A;
  font-family: Poppins;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

body#addresses article.address .address-footer {
  background: #F7F9FB;
  border-top: 1px solid #E5E8EC;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  padding: 14px 20px;
}

body#addresses article.address .address-footer a {
  align-items: center;
  color: #124170;
  display: inline-flex;
  font-family: Poppins;
  font-size: 15px;
  font-weight: 500;
  gap: 6px;
}

body#addresses article.address .address-footer a:hover {
  color: var(--green);
}

body#addresses .addresses-footer {
  grid-column: 1 / -1;
  margin-top: 6px;
  text-align: center;
}

@media (max-width: 1024px) {
  body#addresses .breadcrumb {
    width: 90%;
  }

  body#addresses h1 {
    font-size: 25px;
  }

  body#identity #main,
  body#address #main,
  body#addresses #main {
    max-width: 90%;
    width: 90% !important;
  }

  body#identity .page-content,
  body#address .page-content {
    margin-bottom: 55px;
    padding: 22px;
    width: calc(100% - 44px) !important;
  }

  body#identity #customer-form > div,
  body#address .js-address-form .form-fields,
  body#addresses .page-content {
    grid-template-columns: 1fr;
  }

  body#addresses .page-content {
    margin-bottom: 55px;
    width: 100% !important;
  }

  body#my-account #content .links {
    gap: 14px;
  }

  body#my-account #content .links .col-lg-4.col-md-6.col-sm-6.col-xs-12 span.link-item {
    min-height: 132px;
    padding: 22px 12px;
  }
}

body#prices-drop #content-wrapper {
  float: none;
  max-width: 100%;
  width: 100%;
}

body#prices-drop #wrapper > .container > nav.breadcrumb {
  display: none;
}

body#prices-drop .card-block.category-additional-description {
  padding: 0;
}

body#prices-drop nav.breadcrumb.cate {
  display: block;
}

body#prices-drop nav.breadcrumb.cate a {
  color: rgba(35, 35, 35, 0.55);
  text-align: center;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

body#prices-drop .card-block.category-additional-description h1 {
  color: #124170;
  font-family: "Playfair Display";
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@media (max-width: 767px) {
  body#prices-drop nav.breadcrumb li:last-child,
  body#prices-drop nav.breadcrumb a {
    font-size: 14px;
  }

  body#prices-drop .card-block.category-additional-description h1 {
    font-size: 35px;
  }

  body#prices-drop .card-block.category-additional-description {
    width: 90%;
    gap: 20px;
  }

  body#prices-drop .novelfenCategoryTop {
    flex-direction: column;
  }

  body#prices-drop .novelfenCategoryTop .category-footer-text {
    margin: 0;
  }

  body#prices-drop nav.breadcrumb.cate {
    margin-top: 30px;
  }
}

/*================================*/
/******* Footer legal links ******/
/*================================*/
footer .content .top .topRight .col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer .content .top .topRight .col .socialIcons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
footer .content .top .topRight .col .socialIcons img {
  width: 25px;
}

/*================================*/
/****** Legal pages (2, 3, 8) *****/
/*================================*/
body#cms.cms-id-2 nav.breadcrumb,
body#cms.cms-id-3 nav.breadcrumb,
body#cms.cms-id-8 nav.breadcrumb {
  display: none;
}
body#cms.cms-id-2 #footer,
body#cms.cms-id-3 #footer,
body#cms.cms-id-8 #footer {
  margin-top: 0;
}
body.cms-id-2 main,
body.cms-id-8 main,
body.cms-id-3 main {
  background-color: #f5f6f9;
}

.legalPage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* --- Hero band --- */
.legalHero {
  width: 100%;
  background: linear-gradient(160deg, #16508a 0%, var(--blue) 55%, #0d3459 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 70px 20px 110px;
}
.legalHero .legalKicker {
  color: var(--green);
  font-family: Poppins;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
}
.legalHero h1 {
  color: #FFF;
  font-family: "Playfair Display";
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}
.legalHero .legalSub {
  color: rgba(255, 255, 255, 0.75);
  font-family: Poppins;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  max-width: 620px;
  margin: 0;
}

/* --- Body zone --- */
.legalBody {
  width: 100%;
  background: #F4F6F9;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 90px;
}
.legalCard {
  width: 100%;
  max-width: 940px;
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.10);
  padding: 52px 64px 60px;
  margin-top: -56px;
}

/* --- Sommaire (TOC chips) --- */
.legalCard .legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
  padding: 6px 0 26px;
  border-bottom: 1px solid rgba(18, 65, 112, 0.10);
}
.legalCard .legal-toc-title {
  width: 100%;
  color: rgba(35, 35, 35, 0.45);
  font-family: Poppins;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.legalCard .legal-toc a {
  color: var(--blue);
  background: rgba(18, 65, 112, 0.07);
  font-family: Poppins;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 999px;
  padding: 7px 15px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.legalCard .legal-toc a:hover {
  background: var(--blue);
  color: #FFF;
}

/* --- Typography --- */
.legalCard h2 {
  color: var(--blue);
  font-family: "Playfair Display";
  font-size: 27px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 46px 0 18px;
  scroll-margin-top: 40px;
}
.legalCard h2::after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
  margin-top: 10px;
}
.legalCard p,
.legalCard li {
  color: #423D3D;
  font-family: Poppins;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}
.legalCard p {
  margin: 0 0 14px;
}
.legalCard a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(18, 65, 112, 0.30);
  text-underline-offset: 3px;
  transition: color .15s ease;
}
.legalCard a:hover {
  color: var(--green);
  text-decoration-color: var(--green);
}
.legalCard strong {
  color: var(--blue);
  font-weight: 600;
}

/* --- Lists --- */
.legalCard ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legalCard ul li {
  position: relative;
  padding-left: 24px;
}
.legalCard ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* --- Callout box --- */
.legalCard .legal-callout {
  border-left: 4px solid var(--green);
  background: rgba(145, 174, 59, 0.09);
  border-radius: 0 10px 10px 0;
  padding: 18px 24px;
  margin: 20px 0 24px;
}
.legalCard .legal-callout p {
  margin: 0;
}

/* --- "À compléter" highlight --- */
.legalCard .legal-todo {
  background: #FDF3D0;
  color: #7A5B00;
  border-radius: 4px;
  padding: 1px 7px;
}

/* --- Contact strip --- */
.legalContact {
  width: 100%;
  max-width: 940px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 32px 44px;
  margin-top: 28px;
}
.legalContact .legalContactText p {
  color: #FFF;
  font-family: "Playfair Display";
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 4px;
}
.legalContact .legalContactText span {
  color: rgba(255, 255, 255, 0.70);
  font-family: Poppins;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.legalContact .legalContactActions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.legalContact .legalContactActions a {
  font-family: Poppins;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 999px;
  padding: 12px 24px;
  text-decoration: none;
  transition: opacity .15s ease, background .15s ease;
}
.legalContact .legalContactActions a.mail {
  background: #FFF;
  color: var(--blue);
}
.legalContact .legalContactActions a.mail:hover {
  background: var(--green);
  color: #FFF;
}
.legalContact .legalContactActions a.tel {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #FFF;
}
.legalContact .legalContactActions a.tel:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .legalHero {
    padding: 56px 20px 100px;
  }
  .legalHero h1 {
    font-size: 38px;
  }
  .legalCard {
    padding: 40px 36px 46px;
  }
}
@media (max-width: 600px) {
  .legalHero {
    padding: 46px 16px 92px;
    gap: 10px;
  }
  .legalHero h1 {
    font-size: 29px;
  }
  .legalHero .legalSub {
    font-size: 14px;
    line-height: 23px;
  }
  .legalBody {
    padding: 0 14px 60px;
  }
  .legalCard {
    padding: 30px 20px 36px;
    margin-top: -60px;
  }
  .legalCard h2 {
    font-size: 22px;
  }
  .legalContact {
    padding: 26px 22px;
  }
  .legalContact .legalContactActions a {
    padding: 11px 20px;
  }
}

/*================================*/
/******** Custom radio green ******/
/*================================*/
.custom-radio input[type=radio]:checked + span {
  background-color: #91ae3b;
}
