/* =========================================================
   La Maison Finnoise - Pages systeme
   Panier, checkout, compte client, CMS et contenus generiques
   ========================================================= */

:root {
  --lmf-page-ink: #17251c;
  --lmf-page-accent: #0f4b35;
  --lmf-page-accent-hover: #24392d;
  --lmf-page-muted: #5f6d64;
  --lmf-page-soft: #f7f5f0;
  --lmf-page-line: rgba(16, 32, 24, 0.1);
  --lmf-page-card: #fff;
  --lmf-page-shadow: 0 18px 45px rgba(16, 32, 24, 0.06);
  --lmf-page-serif: "Cormorant Garamond", Georgia, serif;
  --lmf-page-sans: "Inter", Arial, sans-serif;
}

body:not(#index):not(#product):not(#category) .columns-container.container,
body:not(#index):not(#product):not(#category) #wrapper .container {
  width: min(80%, 1680px);
  max-width: min(80%, 1680px);
}

body:not(#index):not(#product):not(#category) #wrapper .page,
body:not(#index):not(#product):not(#category) #wrapper .page-content {
  color: var(--lmf-page-ink);
  font-family: var(--lmf-page-sans);
}

body:not(#index):not(#product):not(#category) #wrapper .page-header,
body:not(#index):not(#product):not(#category) #wrapper .page-title-section {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

body:not(#index):not(#product):not(#category) #wrapper .page-title,
body:not(#index):not(#product):not(#category) #wrapper .page-title-section h1,
body:not(#index):not(#product):not(#category) #wrapper h1 {
  color: var(--lmf-page-accent);
  font-family: var(--lmf-page-serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 0.98;
}

body:not(#index):not(#product):not(#category) #wrapper h2,
body:not(#index):not(#product):not(#category) #wrapper h3 {
  color: var(--lmf-page-accent);
  font-family: var(--lmf-page-serif);
  font-weight: 700;
}

body:not(#index):not(#product):not(#category) #wrapper a {
  color: var(--lmf-page-accent);
  text-decoration-color: rgba(15, 75, 53, 0.35);
  text-underline-offset: 0.18em;
}

body:not(#index):not(#product):not(#category) #wrapper a:hover,
body:not(#index):not(#product):not(#category) #wrapper a:focus {
  color: #6f9386;
  text-decoration-color: currentColor;
}

body:not(#index):not(#product):not(#category) #wrapper .link-primary,
body:not(#index):not(#product):not(#category) #wrapper .text-primary,
body:not(#index):not(#product):not(#category) #wrapper .btn-link,
body:not(#index):not(#product):not(#category) #wrapper .nav-link {
  color: var(--lmf-page-accent);
}

body:not(#index):not(#product):not(#category) #wrapper .btn-link:hover,
body:not(#index):not(#product):not(#category) #wrapper .btn-link:focus,
body:not(#index):not(#product):not(#category) #wrapper .nav-link:hover,
body:not(#index):not(#product):not(#category) #wrapper .nav-link:focus,
body:not(#index):not(#product):not(#category) #wrapper .nav-link.active {
  color: var(--lmf-page-accent-hover);
}

body:not(#index):not(#product):not(#category) #wrapper .btn-primary,
body:not(#index):not(#product):not(#category) #wrapper .btn-outline-primary:hover,
body:not(#index):not(#product):not(#category) #wrapper .cart__checkout-button,
body#checkout .checkout-grid .btn-primary,
body#cart .cart-grid .btn-primary {
  border-color: var(--lmf-page-ink);
  border-radius: 999px;
  background: var(--lmf-page-ink);
  color: #fff;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body:not(#index):not(#product):not(#category) #wrapper .btn-primary:hover,
body:not(#index):not(#product):not(#category) #wrapper .btn-primary:focus,
body#checkout .checkout-grid .btn-primary:hover,
body#cart .cart-grid .btn-primary:hover {
  border-color: var(--lmf-page-accent-hover);
  background: var(--lmf-page-accent-hover);
  color: #fff;
}

body:not(#index):not(#product):not(#category) #wrapper .btn-outline-primary,
body:not(#index):not(#product):not(#category) #wrapper .btn-secondary {
  border-color: rgba(16, 32, 24, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--lmf-page-ink);
  font-weight: 800;
}

body:not(#index):not(#product):not(#category) #wrapper .form-control,
body:not(#index):not(#product):not(#category) #wrapper .form-select,
body:not(#index):not(#product):not(#category) #wrapper input[type="text"],
body:not(#index):not(#product):not(#category) #wrapper input[type="email"],
body:not(#index):not(#product):not(#category) #wrapper input[type="password"],
body:not(#index):not(#product):not(#category) #wrapper input[type="tel"],
body:not(#index):not(#product):not(#category) #wrapper textarea,
body:not(#index):not(#product):not(#category) #wrapper select {
  border: 1px solid rgba(16, 32, 24, 0.14);
  border-radius: 4px;
  background-color: #fff;
  color: var(--lmf-page-ink);
}

body:not(#index):not(#product):not(#category) #wrapper .form-check-input,
body:not(#index):not(#product):not(#category) #wrapper input[type="checkbox"],
body:not(#index):not(#product):not(#category) #wrapper input[type="radio"] {
  border-color: rgba(16, 32, 24, 0.28);
  accent-color: var(--lmf-page-accent);
}

body:not(#index):not(#product):not(#category) #wrapper .form-check-input:checked {
  border-color: var(--lmf-page-accent);
  background-color: var(--lmf-page-accent);
}

body:not(#index):not(#product):not(#category) #wrapper .form-check-input:focus {
  border-color: rgba(15, 75, 53, 0.45);
  box-shadow: 0 0 0 0.18rem rgba(15, 75, 53, 0.12);
}

body:not(#index):not(#product):not(#category) #wrapper .form-check-label {
  color: #3d463f;
}

body:not(#index):not(#product):not(#category) #wrapper .form-control:focus,
body:not(#index):not(#product):not(#category) #wrapper .form-select:focus,
body:not(#index):not(#product):not(#category) #wrapper input:focus,
body:not(#index):not(#product):not(#category) #wrapper textarea:focus,
body:not(#index):not(#product):not(#category) #wrapper select:focus {
  border-color: rgba(15, 75, 53, 0.45);
  box-shadow: 0 0 0 0.18rem rgba(15, 75, 53, 0.08);
  outline: 0;
}

body:not(#index):not(#product):not(#category) #wrapper .card,
body:not(#index):not(#product):not(#category) #wrapper .page-content--general,
body:not(#index):not(#product):not(#category) #wrapper .page-content--cms,
body:not(#index):not(#product):not(#category) #wrapper .page-content--customer,
body:not(#index):not(#product):not(#category) #wrapper .account-menu,
body:not(#index):not(#product):not(#category) #wrapper .address,
body:not(#index):not(#product):not(#category) #wrapper .customer-form,
body:not(#index):not(#product):not(#category) #wrapper .cart-grid__aside-wrapper,
body:not(#index):not(#product):not(#category) #wrapper .checkout-grid__aside-wrapper {
  border: 1px solid var(--lmf-page-line);
  border-radius: 14px;
  background: var(--lmf-page-card);
  box-shadow: var(--lmf-page-shadow);
}

body.page-customer-account:not(#authentication):not(#registration):not(#password):not(#guest-tracking) .breadcrumb__wrapper,
body#module-psgdpr-gdpr .breadcrumb__wrapper {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

/* =========================================================
   Connexion au compte
   ========================================================= */

body#authentication .lmf-auth-container {
  width: min(92%, 1120px);
  max-width: 1120px;
  padding-top: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 7rem);
}

body#authentication .page-content--general {
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 24px 65px rgba(16, 32, 24, 0.1);
  overflow: hidden;
}

body#authentication .lmf-auth {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  min-height: 590px;
  background: #fff;
}

body#authentication .lmf-auth__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.11), transparent 34%),
    #173426;
  color: #fff;
}

body#authentication .lmf-auth__eyebrow {
  margin: 0 0 0.8rem;
  color: #a9c1b5;
  font-family: var(--lmf-page-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body#authentication .lmf-auth__title {
  max-width: 8ch;
  margin: 0 0 1.25rem;
  color: #d5e2d8 !important;
  font-family: var(--lmf-page-serif);
  font-size: clamp(2.7rem, 4vw, 4.3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.94;
}

body#authentication .lmf-auth__lead {
  max-width: 33rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.75;
}

body#authentication .lmf-auth__reassurance {
  display: grid;
  gap: 0.8rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

body#authentication .lmf-auth__reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 650;
}

body#authentication .lmf-auth__reassurance-item .material-icons {
  color: #b9cbbf;
  font-size: 1.1rem;
}

body#authentication .lmf-auth__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

body#authentication .lmf-auth__card-header {
  margin-bottom: 2rem;
}

body#authentication .lmf-auth__card-header h2 {
  margin: 0 0 0.6rem;
  color: var(--lmf-page-accent);
  font-family: var(--lmf-page-serif);
  font-size: clamp(2.3rem, 3.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1;
}

body#authentication .lmf-auth__card-header > p:last-child {
  margin: 0;
  color: var(--lmf-page-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

body#authentication #login-form .mb-3 {
  margin-bottom: 1.15rem !important;
}

body#authentication #login-form .form-label {
  margin-bottom: 0.45rem;
  color: var(--lmf-page-ink);
  font-size: 0.78rem;
  font-weight: 750;
}

body#authentication #login-form .form-control {
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

body#authentication #login-form .password-field {
  position: relative;
  display: block;
}

body#authentication #login-form .password-field > .form-control {
  width: 100%;
  padding-right: 4rem;
  border-radius: 10px !important;
}

body#authentication #login-form .password-field .btn {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 0.38rem;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 0 !important;
  border-radius: 8px !important;
  background: #eef2ee !important;
  color: var(--lmf-page-accent) !important;
  box-shadow: none !important;
  transform: translateY(-50%);
}

body#authentication #login-form .password-field .btn:hover,
body#authentication #login-form .password-field .btn:focus-visible {
  background: #e2e9e3 !important;
  color: var(--lmf-page-ink) !important;
}

body#authentication #login-form .buttons-wrapper {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

body#authentication #submit-login {
  width: 100%;
  min-height: 52px;
}

body#authentication #login-form .btn-basic {
  align-self: center;
  padding: 0.2rem;
  color: var(--lmf-page-accent);
  font-size: 0.78rem;
  font-weight: 650;
}

body#authentication .lmf-auth__register {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--lmf-page-line);
  text-align: center;
}

body#authentication .lmf-auth__register p {
  margin: 0;
  color: var(--lmf-page-muted);
  font-size: 0.8rem;
}

body#authentication .lmf-auth__register .btn {
  min-height: 48px;
}

@media (max-width: 767.98px) {
  body.page-customer-account:not(#authentication):not(#registration):not(#password):not(#guest-tracking) .breadcrumb__wrapper,
  body#module-psgdpr-gdpr .breadcrumb__wrapper {
    margin-bottom: 0.85rem;
  }

  body#authentication .lmf-auth-container {
    width: min(92%, 36rem);
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }

  body#authentication .lmf-auth {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body#authentication .lmf-auth__intro {
    padding: 2rem;
  }

  body#authentication .lmf-auth__title {
    max-width: none;
    font-size: 2.6rem;
  }

  body#authentication .lmf-auth__reassurance {
    display: none;
  }

  body#authentication .lmf-auth__card {
    padding: 2rem;
  }
}

/* =========================================================
   Création de compte et récupération du mot de passe
   ========================================================= */

body#registration .lmf-account-container {
  width: min(92%, 1180px);
  max-width: 1180px;
  padding-top: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

body#registration .page-content--general,
body#password .page-content--general {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body#registration .lmf-account-flow {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  align-items: stretch;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(16, 32, 24, 0.1);
  overflow: hidden;
}

body#registration .lmf-account-flow__intro {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: clamp(2rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 255, 255, 0.11), transparent 35%),
    #173426;
  color: #fff;
}

body#registration .lmf-account-flow__eyebrow,
body#password .lmf-recovery__eyebrow {
  margin: 0 0 0.8rem;
  color: #a9c1b5;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body#registration .lmf-account-flow__intro h1 {
  max-width: 9ch;
  margin: 0 0 1.2rem;
  color: #d5e2d8 !important;
  font-family: var(--lmf-page-serif);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.96;
}

body#registration .lmf-account-flow__intro > p:not(.lmf-account-flow__eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.7;
}

body#registration .lmf-account-flow__benefits {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

body#registration .lmf-account-flow__benefits > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
}

body#registration .lmf-account-flow__benefits .material-icons {
  color: #b9cbbf;
  font-size: 1.1rem;
}

body#registration .lmf-account-flow__card {
  padding: clamp(2rem, 5vw, 4.5rem);
}

body#registration .lmf-account-flow__header {
  margin-bottom: 2rem;
}

body#registration .lmf-account-flow__header h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 1;
}

body#registration .lmf-account-flow__header > p:last-child,
body#registration .lmf-account-flow__login-prompt {
  margin: 0;
  color: var(--lmf-page-muted);
  font-size: 0.84rem;
}

body#registration #customer-form .form-control,
body#registration #customer-form .form-select {
  min-height: 50px;
  border-radius: 10px;
}

body#registration #customer-form .form-label {
  margin-bottom: 0.4rem;
  color: var(--lmf-page-ink);
  font-size: 0.77rem;
  font-weight: 750;
}

body#registration #customer-form .password-field {
  position: relative;
  display: block;
}

body#registration #customer-form .password-field > .form-control {
  width: 100%;
  padding-right: 4rem;
  border-radius: 10px !important;
}

body#registration #customer-form .password-field .btn {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 0.32rem;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 0 !important;
  border-radius: 8px !important;
  background: #eef2ee !important;
  color: var(--lmf-page-accent) !important;
  box-shadow: none !important;
  transform: translateY(-50%);
}

body#registration #customer-form .buttons-wrapper {
  margin-top: 1.75rem;
}

body#registration #customer-form .form-control-submit {
  width: 100%;
  min-height: 52px;
}

body#registration .lmf-account-flow__login-prompt {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lmf-page-line);
  text-align: center;
}

body#registration .lmf-account-flow__login-prompt a {
  margin-left: 0.2rem;
  font-weight: 750;
}

body#password .lmf-recovery-container {
  width: min(92%, 650px);
  max-width: 650px;
  padding-top: clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

body#password .lmf-recovery {
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--lmf-page-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(16, 32, 24, 0.1);
  text-align: center;
}

body#password .lmf-recovery__icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: #edf3ee;
  color: var(--lmf-page-accent);
}

body#password .lmf-recovery__icon .material-icons {
  font-size: 1.65rem;
}

body#password .lmf-recovery h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 0.98;
}

body#password .lmf-recovery__lead {
  max-width: 34rem;
  margin: 0 auto 1.8rem;
  color: var(--lmf-page-muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

body#password .lmf-recovery form,
body#password .lmf-recovery form .mb-3 {
  text-align: left;
}

body#password .lmf-recovery .form-control {
  min-height: 52px;
  border-radius: 10px;
}

body#password .lmf-recovery .form-label {
  font-size: 0.78rem;
  font-weight: 750;
}

body#password #send-reset-link,
body#password .lmf-recovery__submit,
body#password .lmf-recovery--success .btn {
  width: 100%;
  min-height: 52px;
}

body#password .lmf-recovery__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-size: 0.79rem;
  font-weight: 700;
}

body#password .lmf-recovery__back .material-icons {
  font-size: 1rem;
}

body#password .lmf-recovery__account {
  margin: 0 0 1.4rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: var(--lmf-page-soft);
  color: var(--lmf-page-muted);
  font-size: 0.8rem;
  text-align: center;
}

body#password .lmf-recovery .password-field {
  position: relative;
  display: block;
}

body#password .lmf-recovery .password-field > .form-control {
  width: 100%;
  padding-right: 4rem;
  border-radius: 10px !important;
}

body#password .lmf-recovery .password-field .btn {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 0.38rem;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 0 !important;
  border-radius: 8px !important;
  background: #eef2ee !important;
  color: var(--lmf-page-accent) !important;
  box-shadow: none !important;
  transform: translateY(-50%);
}

@media (max-width: 767.98px) {
  body#registration .lmf-account-flow {
    grid-template-columns: 1fr;
  }

  body#registration .lmf-account-flow__intro {
    position: static;
    min-height: 0;
    padding: 2rem;
  }

  body#registration .lmf-account-flow__intro h1 {
    max-width: none;
    font-size: 2.5rem;
  }

  body#registration .lmf-account-flow__benefits {
    display: none;
  }

  body#registration .lmf-account-flow__card,
  body#password .lmf-recovery {
    padding: 2rem;
  }
}

body#cart .cart-grid,
body#checkout .checkout-grid {
  row-gap: 2rem;
}

body#cart .cart-grid {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

body#cart .cart-grid__products-details,
body#checkout .checkout-grid__content .tab-content,
body#cart .cart-grid__aside-wrapper,
body#checkout .checkout-grid__aside-wrapper {
  border: 1px solid var(--lmf-page-line);
  border-radius: 14px;
  background: var(--lmf-page-card);
  box-shadow: var(--lmf-page-shadow);
}

body#cart .cart-grid__products-details,
body#checkout .checkout-grid__content .tab-content {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

body#cart .cart-grid__aside-wrapper,
body#checkout .checkout-grid__aside-wrapper {
  position: sticky;
  top: var(--scroll-padding-top, 13rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

body#cart .cart-grid__aside-wrapper h2,
body#checkout .accordion-button {
  color: var(--lmf-page-accent);
  font-family: var(--lmf-page-serif);
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1;
}

body#checkout .accordion-button {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body#checkout .accordion-button:not(.collapsed) {
  color: var(--lmf-page-accent);
}

body#cart .cart__item,
body#checkout .cart-summary__product {
  border-bottom: 1px solid var(--lmf-page-line);
}

body#cart .cart__item:last-child,
body#checkout .cart-summary__product:last-child {
  border-bottom: 0;
}

body#cart .cart__continue-shopping {
  margin-top: 1.25rem;
}

body#cart .quantity-button input[id^="quantity_input_"],
body#checkout .quantity-button input[id^="quantity_input_"],
body#cart .product-line__quantity-input,
body#checkout .product-line__quantity-input,
body#cart .js-cart-line-product-quantity,
body#checkout .js-cart-line-product-quantity {
  border-radius: 4px;
  text-align: center;
}

body#cart .quantity-button .btn,
body#checkout .quantity-button .btn {
  border-radius: 4px;
}

body#cart .cart-summary,
body#checkout .cart-summary {
  color: var(--lmf-page-ink);
}

body#checkout .checkout-steps {
  width: min(80%, 980px);
  margin: clamp(1.25rem, 3vw, 2.5rem) auto clamp(1.5rem, 3vw, 2.75rem);
  color: var(--lmf-page-ink);
}

body#checkout .checkout-steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--lmf-page-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 32, 24, 0.05);
  overflow: hidden;
}

body#checkout .checkout-steps__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 5.25rem;
  border-right: 1px solid var(--lmf-page-line);
  background: #fff;
}

body#checkout .checkout-steps__step--current,
body#checkout .checkout-steps__step:has(.checkout-steps__btn.active),
body#checkout .checkout-steps__step:has(.checkout-steps__btn[aria-selected="true"]) {
  background: var(--lmf-page-soft);
}

body#checkout .checkout-steps__step::before,
body#checkout .checkout-steps__step::after,
body#checkout .checkout-steps__step--current::before,
body#checkout .checkout-steps__step--current::after,
body#checkout .checkout-steps__step--success::before,
body#checkout .checkout-steps__step--success::after {
  display: none;
  background: transparent;
}

body#checkout .checkout-steps__step:last-child {
  border-right: 0;
}

body#checkout .checkout-steps__number {
  position: relative;
  top: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  margin: 0.7rem auto 0.15rem;
  border-radius: 999px;
  background: rgba(16, 32, 24, 0.16);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

body#checkout .checkout-steps__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0.25rem 1rem 0.95rem;
  color: var(--lmf-page-muted);
  font-weight: 750;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

body#checkout .checkout-steps__btn.active,
body#checkout .checkout-steps__btn[aria-selected="true"] {
  color: var(--lmf-page-ink);
  background: transparent;
}

body#checkout .checkout-steps__step:has(.checkout-steps__btn.active) .checkout-steps__number,
body#checkout .checkout-steps__step:has(.checkout-steps__btn[aria-selected="true"]) .checkout-steps__number {
  background: var(--lmf-page-ink);
}

body#checkout #personal-information-tabs {
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--lmf-page-line);
}

body#checkout #personal-information-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.85rem 0;
  color: var(--lmf-page-muted);
  font-weight: 850;
  text-transform: uppercase;
}

body#checkout #personal-information-tabs .nav-link.active {
  border-bottom-color: var(--lmf-page-accent);
  color: var(--lmf-page-accent);
}

body#my-account .account-menu,
body:not(#index):not(#product):not(#category) .account-menu--sidebar,
body#identity .page-content,
body#addresses .page-content,
body#address .page-content,
body#history .page-content,
body#order-slip .page-content,
body#discount .page-content,
body#order-follow .page-content,
body#module-psgdpr-gdpr .page-content {
  padding: clamp(1.5rem, 3vw, 3rem);
}

body#module-psgdpr-gdpr .page-content h2.h5 {
  margin-bottom: 1rem;
  color: var(--lmf-page-accent);
  font-family: var(--lmf-page-serif);
  font-size: clamp(1.525rem, calc(2.4vw - 2px), 2.125rem);
  font-weight: 700;
  line-height: 1.08;
}

body:not(#index):not(#product):not(#category) .account-menu--sidebar {
  position: sticky;
  top: 1.25rem;
  box-shadow: none;
}

body:not(#index):not(#product):not(#category) .account-menu__title {
  margin: 0 0 1rem;
  color: var(--lmf-page-accent);
  font-family: var(--lmf-page-serif);
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  line-height: 1;
}

body:not(#index):not(#product):not(#category) .account-menu__nav {
  display: grid;
  gap: 0.6rem;
}

body#my-account .account-menu--main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body#my-account .account-menu__link,
body:not(#index):not(#product):not(#category) .account-menu--sidebar .account-menu__link,
body:not(#index):not(#product):not(#category) .account-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 5rem;
  border: 1px solid var(--lmf-page-line);
  border-radius: 12px;
  padding: 1rem;
  background: linear-gradient(135deg, #fff 0%, #fbfaf6 100%);
  color: var(--lmf-page-ink);
  font-weight: 800;
  text-decoration: none;
}

body#my-account .account-menu__link:hover,
body#my-account .account-menu__link:focus,
body:not(#index):not(#product):not(#category) .account-menu--sidebar .account-menu__link:hover,
body:not(#index):not(#product):not(#category) .account-menu--sidebar .account-menu__link:focus,
body:not(#index):not(#product):not(#category) .account-link:hover,
body:not(#index):not(#product):not(#category) .account-link:focus {
  border-color: rgba(15, 75, 53, 0.28);
  color: var(--lmf-page-accent);
  transform: translateY(-1px);
}

body:not(#index):not(#product):not(#category) .account-menu__link--active {
  border-color: rgba(15, 75, 53, 0.32);
  background: #f7f5f0;
  color: var(--lmf-page-accent);
}

body#my-account .account-menu__icon,
body:not(#index):not(#product):not(#category) .account-menu--sidebar .account-menu__icon,
body:not(#index):not(#product):not(#category) .account-link .material-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(15, 75, 53, 0.08);
  color: var(--lmf-page-accent);
}

body:not(#index):not(#product):not(#category) .account-menu__back {
  margin-bottom: 1rem;
}

body#cms .page-content--cms,
body.cms .page-content--cms,
body#content .page-content,
body.page-content .page-content {
  padding: clamp(1.5rem, 4vw, 4rem);
}

body#cms .page-content--cms,
body.cms .page-content--cms {
  background: #fff;
}

body#cms .page-content--cms > *,
body.cms .page-content--cms > * {
  max-width: 72ch;
}

body#cms .page-content--cms h2,
body.cms .page-content--cms h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.08;
}

body#cms .page-content--cms p,
body.cms .page-content--cms p,
body#cms .page-content--cms li,
body.cms .page-content--cms li {
  color: #3d463f;
  font-size: 1rem;
  line-height: 1.78;
}

body#cms .page-content--cms li + li,
body.cms .page-content--cms li + li {
  margin-top: 0.45rem;
}

body:not(#index):not(#product):not(#category) table,
body:not(#index):not(#product):not(#category) .table {
  border-color: var(--lmf-page-line);
  color: var(--lmf-page-ink);
}

body:not(#index):not(#product):not(#category) .table-responsive {
  border-radius: 12px;
}

body:not(#index):not(#product):not(#category) thead,
body:not(#index):not(#product):not(#category) .table thead {
  background: var(--lmf-page-soft);
  color: var(--lmf-page-accent);
  font-weight: 800;
}

body:not(#index):not(#product):not(#category) .alert {
  border-radius: 12px;
  border-color: rgba(15, 75, 53, 0.14);
}

@media (max-width: 1199.98px) {
  body:not(#index):not(#product):not(#category) .columns-container.container,
  body:not(#index):not(#product):not(#category) #wrapper .container {
    width: min(88%, 1320px);
    max-width: min(88%, 1320px);
  }

  body#my-account .account-menu--main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body#checkout .checkout-steps {
    width: min(88%, 980px);
  }
}

@media (max-width: 991.98px) {
  body#cart .cart-grid__aside-wrapper,
  body#checkout .checkout-grid__aside-wrapper,
  body:not(#index):not(#product):not(#category) .account-menu--sidebar {
    position: static;
  }

  body#checkout .checkout-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body#checkout .checkout-steps__step:nth-child(2n) {
    border-right: 0;
  }

  body#checkout .checkout-steps__step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--lmf-page-line);
  }
}

@media (max-width: 767.98px) {
  body:not(#index):not(#product):not(#category) .columns-container.container,
  body:not(#index):not(#product):not(#category) #wrapper .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0.9rem;
  }

  body#cart .cart-grid__products-details,
  body#checkout .checkout-grid__content .tab-content,
  body#cart .cart-grid__aside-wrapper,
  body#checkout .checkout-grid__aside-wrapper,
  body#my-account .account-menu,
  body:not(#index):not(#product):not(#category) .account-menu--sidebar,
  body:not(#index):not(#product):not(#category) .page-content--customer,
  body#identity .page-content,
  body#addresses .page-content,
  body#address .page-content,
  body#history .page-content,
  body#order-slip .page-content,
  body#discount .page-content,
  body#order-follow .page-content,
  body#module-psgdpr-gdpr .page-content,
  body#cms .page-content--cms,
  body.cms .page-content--cms {
    border-radius: 10px;
    padding: 1rem;
    box-shadow: none;
  }

  body#my-account .account-menu--main {
    grid-template-columns: 1fr;
  }

  body#cart .cart-grid {
    margin-top: 1.25rem;
  }

  body#checkout .checkout-steps {
    width: 100%;
    margin: 1rem 0 1.35rem;
    padding-inline: 0.9rem;
  }

  body#checkout .checkout-steps__desktop {
    display: none;
  }

  body#checkout .checkout-steps__mobile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    border: 1px solid var(--lmf-page-line);
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
  }

  body:not(#index):not(#product):not(#category) .page-title,
  body:not(#index):not(#product):not(#category) .page-title-section h1,
  body:not(#index):not(#product):not(#category) h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }
}
