#st-secondary-content {
  display: none;
}

@media (max-width: 1200px) {
  .woocommerce-account #st-primary-content {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

.woocommerce-account #st-primary-content > .woocommerce {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1.5rem !important;
}

@media (min-width: 992px) {
  .woocommerce-account #st-primary-content > .woocommerce {
    flex-direction: row !important;
  }
}

.woocommerce-account #post-section .woocommerce::before,
.woocommerce-account #post-section .woocommerce::after {
  content: none !important;
}

.woocommerce-account .woocommerce-notices-wrapper {
  width: 100% !important;
}

.woocommerce-account #post-section .woocommerce .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Navigation */

.woocommerce-MyAccount-navigation {
  width: 100% !important;
}

@media (min-width: 992px) {
  .woocommerce-MyAccount-navigation {
    position: sticky !important;
    top: 200px !important;
    min-width: 250px !important;
    width: 300px !important;
    flex: 0 1 auto;
  }
}

.woocommerce-MyAccount-navigation ul {
  border-radius: 0.75rem !important;
  overflow: hidden !important;
}

.woocommerce-MyAccount-navigation ul li a {
  text-decoration: none !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

/* Content Card */

.woocommerce-MyAccount-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 1 0% !important;
  border-radius: 0.75rem !important;
  background-color: var(--bs-white) !important;
  padding: 1.5rem !important;
  min-height: 0 !important;
  width: 100% !important;
}

@media (min-width: 992px) {
  .woocommerce-MyAccount-content {
    width: auto !important;
  }
}

@media (min-width: 768px) {
  .woocommerce-MyAccount-content {
    padding: 2rem !important;
  }
}

/* Adresses */

.woocommerce-Addresses {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  margin-top: 1.5rem !important;
}

.woocommerce-Addresses::before,
.woocommerce-Addresses::after {
  content: none !important;
}

.woocommerce-Address {
  padding: unset !important;
  border: none !important;
}

.woocommerce-Address header {
  display: flex !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  column-gap: 1rem !important;
  margin-bottom: 0.5rem !important;
}

.woocommerce-Address header::before,
.woocommerce-Address header::after {
  content: none !important;
}

.woocommerce-Address header h3 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
}

.woocommerce-Address header a {
  position: initial !important;
}

.woocommerce-Address address {
  border-radius: 0.5rem !important;
  padding: 1rem !important;
  background-color: #f5f5f5 !important;
}

/* Détails du compte */

.woocommerce-EditAccountForm {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.woocommerce-EditAccountForm > h3 {
  font-size: 1.25rem !important;
  background-color: #f5f5f5 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.25rem !important;
  font-weight: normal !important;
  margin-bottom: 0 !important;
}

.woocommerce-EditAccountForm fieldset {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-EditAccountForm fieldset > legend {
  font-size: 1.125rem !important;
  color: var(--bs-primary) !important;
  margin-bottom: 1.5rem !important;
  font-weight: 600 !important;
}

.woocommerce-EditAccountForm fieldset > legend::before {
  content: '';
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  background-color: var(--bs-primary);
  border-radius: 0.25rem;
  margin-right: 0.75rem;
}

.woocommerce-EditAccountForm fieldset > .field {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  column-gap: 1.5rem !important;
  row-gap: 0.5rem;
  margin-top: 1rem !important;
}

@media (min-width: 768px) {
  .woocommerce-EditAccountForm fieldset > .field {
    margin: auto 2rem !important;
  }

  .woocommerce-EditAccountForm fieldset > .field:not(:first-of-type) {
    margin-top: 0.75rem !important;
  }
}

.woocommerce-EditAccountForm fieldset > .field > label {
  flex-basis: 40% !important;
  text-wrap: wrap !important;
  font-size: 0.875rem;
}

.woocommerce-EditAccountForm fieldset > .field > label > span.required {
  color: red !important;
}

.woocommerce-EditAccountForm fieldset > .field input[type='text'],
.woocommerce-EditAccountForm fieldset > .field input[type='tel'],
.woocommerce-EditAccountForm fieldset > .field input[type='date'],
.woocommerce-EditAccountForm fieldset > .field input[type='email'],
.woocommerce-EditAccountForm fieldset > .field > .password-input {
  flex: 1 1 0% !important;
  min-width: 20rem !important;
}

.woocommerce-EditAccountForm fieldset > .field input[type='text'],
.woocommerce-EditAccountForm fieldset > .field input[type='tel'],
.woocommerce-EditAccountForm fieldset > .field input[type='date'],
.woocommerce-EditAccountForm fieldset > .field input[type='email'],
.woocommerce-EditAccountForm fieldset > .field input[type='password'] {
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  padding: 0.25rem 0.75rem !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
  border-radius: 0.375rem !important;
  color: black !important;
}

.woocommerce-EditAccountForm > .buttons-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin-top: 2rem !important;
}

.woocommerce-EditAccountForm > .buttons-container > button {
  min-width: 20rem !important;
  margin: 0 !important;
}

/* Commandes */

.woocommerce-orders-container {
  overflow: auto !important;
  width: 100% !important;
  margin: -1.5rem !important;
  width: calc(100% + 3rem) !important;
}

@media (min-width: 768px) {
  .woocommerce-orders-container {
    margin: -2rem !important;
    width: calc(100% + 4rem) !important;
  }
}

.woocommerce-orders-table {
  border: none !important;
  margin: 0 !important;
  word-break: normal !important;
  border-collapse: collapse !important;
}

.woocommerce-orders-table tr {
  display: table-row !important;
}

.woocommerce-orders-table__row {
  cursor: pointer !important;
}

.woocommerce-orders-table thead {
  display: table-header-group !important;
}

.woocommerce-orders-table td:not(.woocommerce-orders-table__cell-order-total) {
  display: table-cell !important;
}

.woocommerce-orders-table td {
  text-align: left !important;
  background-color: transparent !important;
}

.woocommerce-orders-table td::before {
  content: none !important;
}

.woocommerce-orders-table__header {
  height: 2.5rem !important;
  padding: 0 1rem !important;
  font-size: 0.875rem !important;
  background-color: transparent !important;
}

.woocommerce-orders-table__cell {
  padding: 0.5rem 1rem !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.woocommerce-orders-table__cell-order-number {
  color: var(--bs-primary) !important;
}

.woocommerce-orders-table__cell-order-total {
  display: flex;
  flex-direction: column;
}

.woocommerce-Price-amount.amount {
  font-weight: 700 !important;
}

.woocommerce-order-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.woocommerce-order-badge > svg {
  display: inline-block;
  height: 1.25rem;
  width: 1.25rem;
  margin: -0.125rem 0 -0.125rem -0.5rem;
}

.woocommerce-order-badge.tone--neutral {
  background-color: rgba(0, 0, 0, 0.06);
  color: #616161;
  fill: #616161;
}

.woocommerce-order-badge.tone--info {
  background-color: #d5ebff;
  color: #003a5a;
  fill: #003a5a;
}

.woocommerce-order-badge.tone--warning {
  background-color: #ffd6a4;
  color: #5e4200;
  fill: #b28400;
}

.woocommerce-order-badge.tone--attention {
  background-color: #ffeb78;
  color: #4f4700;
  fill: #8f7f00;
}

.woocommerce-order-badge.tone--critical {
  background-color: #fed3d1;
  color: #8e1f0b;
  fill: #8e1f0b;
}

.woocommerce-order-badge.tone--success {
  background-color: #b4fed2;
  color: #0c5132;
  fill: #29845a;
}

.woocommerce-orders-table__cell-details-trigger > svg {
  display: inline-block !important;
  width: 1rem !important;
  height: 1rem !important;
}

/* .woocommerce-order-details__container {
  background: #f5f5f5;
  padding: .5rem 1rem;
} */

.woocommerce-order-details__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  background-color: #f5f5f5 !important;
}

.woocommerce-order-details__header > img {
  width: 2rem !important;
}

.woocommerce-order-details__header > h3 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.woocommerce-order-details__header > h3 > .product-name {
  color: var(--bs-primary) !important;
  font-weight: 700 !important;
}

.woocommerce-order-details__details-container {
  display: flex !important;
  padding: 1rem !important;
  margin-bottom: 1rem !important;
  gap: 2rem;
}

.woocommerce-order-details__first-col {
  flex-basis: 35% !important;
}

.woocommerce-order-details__second-col,
.woocommerce-order-details__third-col {
  flex: 1 1 0%;
}

.woocommerce-order-details__second-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

.woocommerce-order-details__second-col > ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-order-details__total {
  display: flex;
  justify-content: space-between;
  /* flex-direction: column; */
}

.woocommerce-order-details__third-col .buttons-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  text-align: center !important;
}

.woocommerce-order-details__third-col .woocommerce-button {
  line-height: 1rem !important;
  font-size: 0.75rem !important;
}

.woocommerce-order-details__status-container {
  display: flex !important;
  flex-direction: column !important;
  margin: 1rem 0 !important;
}

.woocommerce-order-details__stepper {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  padding: 1rem !important;
}

.woocommerce-order-details__stepper > li {
  flex: 1;
  display: flex;
  flex-direction: column;
  --bg-color: #9ca3af;
  --border-color: #9ca3af;
  --icon-color: white;
  --text-color: #6b7280;
}

.woocommerce-order-details__stepper__icon-container {
  align-self: center;
  margin-bottom: 0.5rem;
  width: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0.5rem !important;
  border-radius: 50% !important;
  background-color: var(--bg-color) !important;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Subtext */
.woocommerce-order-details__stepper > li > p {
  color: var(--text-color);
  align-self: center;
  margin: 0;
  text-align: center;
}

/* Icon */
.woocommerce-order-details__stepper__icon-container > svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  color: var(--icon-color) !important;
}

/* Line */
.woocommerce-order-details__stepper > li:not(:last-child):after {
  content: '';
  position: relative;
  top: 1.25rem;
  left: calc(50% + 2rem);
  width: calc(100% - 4rem);
  border-top: 2px dashed var(--border-color);
  order: -1;
}

/* State: Critical */
.woocommerce-order-details__stepper > li.critical {
  --bg-color: #ef4444;
  --text-color: #ef4444;
  font-weight: 500;
}

/* State: Attention */
.woocommerce-order-details__stepper > li.attention {
  --bg-color: #eab308;
  --text-color: #eab308;
  font-weight: 500;
}

/* State: Warning */
.woocommerce-order-details__stepper > li.warning {
  --bg-color: #f59e0b;
  --text-color: #f59e0b;
  font-weight: 500;
}

/* State: Success */
.woocommerce-order-details__stepper > li.success {
  --bg-color: var(--bs-primary);
  --border-color: var(--bs-primary);
  --text-color: var(--bs-primary);
  font-weight: 500;
}

.woocommerce-pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
  margin: 1rem 0;
}

.woocommerce .cart_item > td.product-name {
  padding: 1rem !important;
}

.woocommerce .cart_item > td.product-total {
  padding: 1rem !important;
}

.woocommerce .cart_item > td.product-name > .variation {
  margin-top: 1rem;
}

table.woocommerce-table--order-details .woocommerce-table__line-item > td {
  padding: 1rem !important;
}
