.ves-account {
  padding: 40px 20px;
}

.ves-account__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.ves-account__sidebar {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.ves-account__content {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.ves-account-nav__title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.ves-account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ves-account-nav__item + .ves-account-nav__item {
  margin-top: 8px;
}

.ves-account-nav__link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ves-account-nav__item.is-active .ves-account-nav__link,
.ves-account-nav__link:hover {
  background: rgba(0, 168, 168, 0.08);
}

@media (max-width: 900px) {
  .ves-account__inner {
    grid-template-columns: 1fr;
  }

  .ves-account__sidebar,
  .ves-account__content {
    padding: 20px;
  }
}

/******************************************************************************/
/* DASHBOARD */
/******************************************************************************/

.ves-dashboard__hero {
  margin-bottom: 32px;
}

.ves-dashboard__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.ves-dashboard__subtitle {
  margin-top: 8px;
  color: #666;
}

.ves-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ves-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.ves-card--highlight {
  grid-column: span 2;
}

.ves-card__title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.ves-card__text {
  margin: 0 0 16px;
  color: #555;
}

.ves-list {
  margin: 0;
  padding-left: 18px;
}

.ves-list li + li {
  margin-top: 8px;
}

.ves-button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  background: var(--wp--preset--color--primary);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ves-button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.ves-button--secondary {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
  .ves-dashboard__grid {
    grid-template-columns: 1fr;
  }

  .ves-card--highlight {
    grid-column: auto;
  }
}

/******************************************************************************/
/* MES ATELIERS */
/******************************************************************************/

.ves-bookings__header {
  margin-bottom: 32px;
}

.ves-bookings__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.ves-bookings__subtitle {
  margin-top: 8px;
  color: #666;
}

.ves-bookings-group + .ves-bookings-group {
  margin-top: 40px;
}

.ves-bookings-group__header {
  margin-bottom: 18px;
}

.ves-bookings-group__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.ves-bookings__list {
  display: grid;
  gap: 20px;
}

.ves-booking-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.ves-booking-card--past {
  opacity: 0.92;
}

.ves-booking-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.ves-booking-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.ves-booking-card__body {
  margin-top: 4px;
}

.ves-booking-card__details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ves-booking-card__details li {
  color: #444;
  line-height: 1.5;
}

.ves-booking-card__details strong {
  display: inline-block;
  min-width: 95px;
  color: #111;
}

.ves-booking-card__actions {
  margin-top: 22px;
}

.ves-booking-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.ves-booking-card__badge--upcoming {
  background: rgba(0, 168, 168, 0.10);
  color: #0b6b6b;
}

.ves-booking-card__badge--past {
  background: rgba(0, 0, 0, 0.06);
  color: #555;
}

.ves-empty-state {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.ves-empty-state__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.25;
}

.ves-empty-state__text {
  margin: 0 0 20px;
  color: #666;
}

@media (max-width: 700px) {
  .ves-booking-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ves-booking-card__badge {
    white-space: normal;
  }

  .ves-booking-card__details strong {
    min-width: 0;
    margin-right: 6px;
  }
}

/******************************************************************************/
/* DETAIL ACHAT */
/******************************************************************************/

.ves-order-summary {
  display: grid;
  gap: 32px;
}

.ves-order-summary__eyebrow {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #888;
  letter-spacing: 0.02em;
}

.ves-order-summary__title {
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
}

.ves-order-summary__subtitle {
  margin: 18px 0 0;
  color: #666;
  max-width: 720px;
}

.ves-order-section {
  display: grid;
  gap: 16px;
}

.ves-order-section__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

/* Cartes ateliers */

.ves-order-bookings,
.ves-order-items {
  display: grid;
  gap: 18px;
}

.ves-order-booking-card,
.ves-order-item-card,
.ves-order-total-card,
.ves-order-billing-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.ves-order-booking-card__top,
.ves-order-item-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.ves-order-booking-card__title,
.ves-order-item-card__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.ves-order-booking-card__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ves-order-booking-card__details li {
  color: #444;
  line-height: 1.5;
}

.ves-order-booking-card__details strong {
  display: inline-block;
  min-width: 110px;
  color: #111;
}

.ves-order-item-card__price {
  font-weight: 700;
  white-space: nowrap;
}

/* Total */

.ves-order-total-card__amount {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

/* Facturation */

.ves-order-billing-card {
  display: grid;
  gap: 18px;
}

.ves-order-billing-card__address {
  line-height: 1.7;
  color: #333;
}

.ves-order-billing-card__email {
  margin: 0;
  color: #555;
}

/* Actions */

.ves-order-summary__actions {
  padding-top: 8px;
}

/* Responsive */

@media (max-width: 900px) {
  .ves-order-summary__title {
    font-size: 2.3rem;
  }

  .ves-order-section__title {
    font-size: 1.6rem;
  }
}

@media (max-width: 700px) {
  .ves-order-booking-card__top,
  .ves-order-item-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ves-order-booking-card__details strong {
    min-width: 0;
    margin-right: 6px;
  }

  .ves-order-summary__title {
    font-size: 2rem;
  }
}

/******************************************************************************/
/* SECTIONS GENERIQUES */
/******************************************************************************/

.ves-account-section__header {
  margin-bottom: 32px;
}

.ves-account-section__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.ves-account-section__subtitle {
  margin-top: 8px;
  color: #666;
}

/******************************************************************************/
/* MES ACHATS */
/******************************************************************************/

.ves-purchases-list {
  display: grid;
  gap: 20px;
}

.ves-purchase-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.ves-purchase-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.ves-purchase-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.ves-purchase-card__meta {
  margin: 8px 0 0;
  color: #666;
}

.ves-purchase-card__amount {
  font-weight: 700;
  white-space: nowrap;
}

.ves-purchase-card__items {
  margin: 0;
  padding-left: 18px;
}

.ves-purchase-card__items li + li {
  margin-top: 6px;
}

.ves-purchase-card__actions {
  margin-top: 20px;
}

@media (max-width: 700px) {
  .ves-purchase-card__top {
    flex-direction: column;
    align-items: flex-start;
  }
}