.am360-tc-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.am360-wrapper {
    /* background-color: var(--blue-darken); */
    /* background-image: url('https://barabrushing.com/wp-content/uploads/themes/contact.jpg');
    background-size: 100%;
    background-position: center center; */
    padding: 0;
    /* border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4em;
    border-bottom-right-radius: 4em; */

}

/* @media(max-width: 567px) {
    .am360-wrapper {
        border-top-left-radius: 4em;
        border-top-right-radius: 4em;
    }
}


@media(min-width: 568px) {
    .am360-wrapper {
        padding: 3em 0;
        border-top-left-radius: 4em;
        border-top-right-radius: 4em;
    }
} */

.rounded-2em {
    border-radius: 2em
}

.rounded-4em {
    border-radius: 4em
}


.am360-tc-dashboard-wrapper,
.am360-tc-booking-wrapper {
    max-width: 1920px;
    margin: 0 1em;
    padding: 3rem 1rem;
    background: rgba(255,255,255, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    /* border: 1px solid rgba(0,0,0, 0.2)!important; */
}

.am360-tc-booking-wrapper {
    border-radius: 2em;
}


.am360-tc-dashboard-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.am360-tc-dashboard-nav button {
    border: none;
    background: none;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
}

.am360-tc-dashboard-nav button.am360-tc-active {
    border-color: #000;
    color: #000;
    font-weight: 600;
}

.am360-tc-card {
    /* border: 1px solid #e3e3e3; */
    border-radius: 8px;
    padding: 1rem 0.5rem;
    /* background: #fafafa; */
    margin-bottom: 1rem;
}

.form-group > label,
form label {
    padding-left: 1em;
}

.form-control,
.form-select {
    border-radius: 1.5rem!important;
    background: rgba(255, 255, 255, 0.7)!important;
    backdrop-filter: blur(16px)!important;
    -webkit-backdrop-filter: blur(16px)!important;
    border: 1px solid rgba(0, 0, 0, 0.2)!important;
    margin-bottom: 1em!important;
}

.am360-tc-flex {
    display: flex;
    gap: 0.25rem;
}

.am360-tc-flex-col {
    flex-direction: column;
}

.am360-tc-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.am360-tc-input,
.am360-tc-select {
    width: 100%;
    padding: 0.4rem 0.5rem;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.am360-tc-btn {
    display: inline-block;
    border-radius: 1.75em;
    border: 1px solid #000000;
    background: #000000;
    color: #ffffff;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.am360-tc-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.am360-tc-btn-secondary {
    border-color: #555d66;
    background: #555d66;
    color: var(--blue-darken)!important
}

.am360-tc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.am360-tc-table th,
.am360-tc-table td {
    border: 1px solid #e3e3e3;
    padding: 0.4rem 0.5rem;
    text-align: left;
}

.am360-tc-table th {
    background: #f0f0f0;
    font-weight: 600;
}

.am360-tc-badge {
    display: inline-block;
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: #f0f0f0;
}

.am360-tc-badge-status-pending {
    background: #fff3cd;
}

.am360-tc-badge-status-confirmed {
    background: #d4edda;
}

.am360-tc-badge-status-cancelled {
    background: #f8d7da;
}

.am360-tc-message {
    margin-top: 0.7rem;
    font-size: 0.9rem;
}

.am360-tc-message-success {
    color: #155724;
}

.am360-tc-message-error {
    color: #721c24;
}

.am360-tc-section-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    margin-top: 0.4rem;
}

.am360-tc-calendar-day-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
}


.am360-tc-slot-wrapper {
    margin-top: 0.75rem;
}

.am360-tc-slot-title {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.am360-tc-slot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.am360-tc-slot-list button {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
}

.am360-tc-btn-small {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    margin-right: 0.2rem;
}

.am360-tc-btn-outline {
    background: #ffffff;
    color: #000000;
}
.am360-tc-btn-outline:hover {
    background: #e6f4fa;
}

.am360-tc-hours-grid {
    display: grid;
    grid-template-columns: 140px 80px 90px 90px 70px;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.9rem;
}

.am360-tc-hours-header {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

/* Fiche salon publique */

.am360-tc-salon-page {
    margin: 2rem 0;
}

.am360-tc-salon-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.am360-tc-salon-hero-text {
    flex: 1 1 320px;
}

.am360-tc-salon-hero-map {
    flex: 1 1 320px;
}

.bb-map-container {
    width: 100%;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
}

.am360-tc-salon-subtitle {
    font-size: 1rem;
    margin: 0.25rem 0 1rem;
    opacity: 0.85;
}

.am360-tc-salon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.am360-tc-salon-meta p {
    margin: 0.25rem 0 0;
}

.am360-tc-salon-main {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.am360-tc-salon-column {
    flex: 1 1 260px;
}

.am360-tc-salon-block {
    margin-bottom: 1.5rem;
}

.am360-tc-salon-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.am360-tc-salon-tags li {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
}

.am360-tc-salon-services-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1em;
}

.am360-tc-service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    /* border-radius: 10px; */
    border-radius: none;
    border: 0!important;
    background: none;
}

.am360-tc-service-title {
    margin: 0;
    font-size: 0.95rem;
}

.am360-tc-service-meta {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    opacity: 0.85;
}

.am360-tc-service-cta .am360-tc-btn-ghost {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
}

.am360-tc-field-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.am360-tc-label-inline {
    font-size: 0.85rem;
}

/* Boutons */

.am360-tc-btn-primary {
    background: #111827;
    color: #ffffff;
}

.am360-tc-btn-ghost {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.am360-tc-btn-secondary {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}


/* Toggle Discrétion */

.am360-tc-discretion {
    margin-top: 0.9rem;
}

.am360-tc-discretion-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.am360-tc-discretion-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding-left: 0; /* on neutralise le label { padding-left: 1em; } global */
}

.am360-tc-discretion-switch {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 8px 18px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    padding: 3px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.am360-tc-discretion-knob {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #111827;
    transform: translateX(0);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.35);
}

.am360-tc-discretion-text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    line-height: 1.3;
}

.am360-tc-discretion-text small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* État coché */

.am360-tc-discretion-checkbox:checked + .am360-tc-discretion-label .am360-tc-discretion-switch {
    background: #111827;
    border-color: #111827;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.35),
        0 10px 22px rgba(15, 23, 42, 0.4);
}

.am360-tc-discretion-checkbox:checked + .am360-tc-discretion-label .am360-tc-discretion-knob {
    transform: translateX(18px);
    background: #f9fafb;
    box-shadow:
        0 0 0 2px rgba(249, 250, 251, 0.9),
        0 4px 12px rgba(15, 23, 42, 0.35);
}

/* Focus clavier */

.am360-tc-discretion-checkbox:focus-visible + .am360-tc-discretion-label .am360-tc-discretion-switch {
    box-shadow:
        0 0 0 2px rgba(59, 130, 246, 0.6),
        0 8px 18px rgba(15, 23, 42, 0.18);
}

/* Petite adaptation sur mobile */

@media (max-width: 575.98px) {
    .am360-tc-discretion-label {
        align-items: flex-start;
    }
}


/* Carte globale du planning (onglet Planning) */
.am360-tc-card {
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    padding: 1.25rem 1.4rem;
}



/* En-tête de journée */
.am360-tc-calendar-day-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--blue-darken);
    margin-bottom: 0.45rem;
}

.am360-tc-calendar-day-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--or-darken);
}

/* Table des rendez-vous du jour */
.am360-tc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.am360-tc-table th,
.am360-tc-table td {
    border: 0;
    padding: 0.35rem 0.4rem;
    text-align: left;
}

.am360-tc-table thead tr {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.am360-tc-table tbody tr + tr {
    border-top: 1px solid rgba(15, 23, 42, 0.03);
}

/* Colonnes un peu resserrées */
.am360-tc-table th:nth-child(1),
.am360-tc-table td:nth-child(1) {
    white-space: nowrap;
    width: 120px;
    font-weight: 500;
}

.am360-tc-table th:nth-child(4),
.am360-tc-table td:nth-child(4) {
    white-space: nowrap;
}

/* Badges statut / paiement un peu plus premium */
.am360-tc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.am360-tc-badge-status-pending {
    background: rgba(250, 204, 21, 0.14);
    color: #92400e;
}

.am360-tc-badge-status-confirmed {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.am360-tc-badge-status-cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

/* Boutons d’action dans le planning */
.am360-tc-table .am360-tc-btn-small {
    border-radius: 999px;
    padding: 0.18rem 0.6rem;
    font-size: 0.75rem;
    line-height: 1.2;
}

.am360-tc-table .am360-tc-btn-outline {
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--blue-darken);
}

.am360-tc-table .am360-tc-btn-outline:hover {
    background: rgba(15, 23, 42, 0.04);
}

.am360-tc-table .am360-tc-btn-small:not(.am360-tc-btn-outline) {
    background: var(--blue-darken);
    border-color: var(--blue-darken);
}

.am360-tc-planning-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem;
    /* margin-top: 0.75rem; */
    overflow-x: auto;
    padding: 1em 0;
}



/* Sur mobile, on passe en slider horizontal */
@media (max-width: 767.98px) {
    .am360-tc-planning-grid {
        grid-template-columns: repeat(7, 260px);
        padding-bottom: 0.5rem;
    }
}

/* .am360-tc-calendar-day table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.am360-tc-calendar-day table thead,
.am360-tc-calendar-day table tbody,
.am360-tc-calendar-day table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
} */


.am360-tc-calendar-day {
    border-radius: 1.5rem;
    background: rgba(223, 101, 101, 0.12)!important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.85);
    padding: 0.5rem;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    overflow: visible; /* pas de coupure du contenu */
}

.am360-tc-calendar-day .am360-tc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.am360-tc-calendar-day .am360-tc-table th,
.am360-tc-calendar-day .am360-tc-table td {
    padding: 0.35rem 0.4rem;
    white-space: nowrap;
}


.am360-tc-calendar-day-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b1a33;
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.am360-tc-calendar-day-title::before {
    content: "";
    display: inline-block;
    width: .55rem;
    height: .55rem;
    /* background: #d8b465; */
    border-radius: 50%;
}

/* Toggle entre les 2 vues du planning */
.am360-tc-planning-toggle {
    display: inline-flex;
    gap: 0.4rem;
    margin: 0.1rem 0 0.6rem;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.15rem;
}

.am360-tc-planning-toggle button {
    border: none;
    background: transparent;
    font-size: 0.8rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    cursor: pointer;
    color: #4b5563;
}

.am360-tc-planning-toggle button.am360-tc-planning-toggle-active {
    background: #111827;
    color: #f9fafb;
}

/* Vue planning : petits slots dans les cartes */
.am360-tc-calendar-day-planning {
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.am360-tc-calendar-slot {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.am360-tc-calendar-slot-time {
    font-weight: 600;
}

/* Vue gestion : blocs pleine largeur avec tableau + actions */
.am360-tc-manage-day {
    margin-top: 0.75rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.am360-tc-manage-day .am360-tc-calendar-day-title {
    margin-bottom: 0.5rem;
}

.am360-tc-manage-day .am360-tc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.am360-tc-manage-day .am360-tc-table th,
.am360-tc-manage-day .am360-tc-table td {
    padding: 0.35rem 0.4rem;
    white-space: nowrap;
}


/* Filtre collaborateur au-dessus du planning */
.am360-tc-planning-filter {
    display: block;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
}

.am360-tc-planning-filter label {
    font-weight: 500;
    opacity: 0.8;
}

.am360-tc-planning-filter select {
    font-size: 0.8rem;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
}

.am360-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.am360-modal {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 1140px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

.woocommerce.woocommerce-result-count {
    margin-bottom: 0!important;
    display: flex!important;
    align-items: center!important;
}


.am360-tc-price-old {
  text-decoration: line-through;
  opacity: 0.65;
  margin-right: 6px;
  white-space: nowrap;
}

.am360-tc-price-new {
  font-weight: 700;
  white-space: nowrap;
}

.am360-tc-price-original{
  text-decoration: line-through !important;
  opacity: 0.65;
  margin-right: 8px;
  white-space: nowrap;
}

.am360-tc-price-effective{
  font-weight: 700;
  white-space: nowrap;
}



/* =========================
   UI Prestations (Planity-like)
   Scope: .am360-tc-salon-services-grouped
   ========================= */

.am360-tc-salon-services-grouped {
  --am360-text: var(--blue-darken, #0b1a33);
  --am360-muted: rgba(11, 26, 51, 0.68);
  --am360-border: rgba(15, 23, 42, 0.50);
  --am360-border-strong: rgba(15, 23, 42, 0.16);
  --am360-surface: rgba(255, 255, 255, 0.60);
  --am360-surface-strong: rgba(255, 255, 255, 0.85);
  --am360-shadow: 0 4.5px 10px rgba(15, 23, 42, 0.05);
  --am360-radius: 18px;
  --am360-radius-pill: 999px;
  --am360-cta: #111827;
  --am360-accent: var(--or-darken, #d8b465);

  color: var(--am360-text);
}

/* Reset propre dans le scope */
.am360-tc-salon-services-grouped * {
  box-sizing: border-box;
}

/* =========================
   Switch Desktop / Mobile
   ========================= */

/* Desktop: tabs visibles, accordion caché */
.am360-tc-salon-services-grouped .am360-accordion { display: none !important; }
.am360-tc-salon-services-grouped .am360-tabs,
.am360-tc-salon-services-grouped .am360-tabpanels { display: block !important; }

/* Mobile: accordion visible, tabs cachés */
@media (max-width: 768px) {
  .am360-tc-salon-services-grouped .am360-accordion { display: block !important; }
  .am360-tc-salon-services-grouped .am360-tabs,
  .am360-tc-salon-services-grouped .am360-tabpanels { display: none !important; }
}

.am360-tc-salon-services-grouped .am360-panel { display: none; }
.am360-tc-salon-services-grouped .am360-panel.is-active { display: block; }

/* =========================
   Tabs (Desktop) - Planity-like
   ========================= */

.am360-tc-salon-services-grouped .am360-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 6px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--am360-border);
}

/* scrollbar discret */
.am360-tc-salon-services-grouped .am360-tabs::-webkit-scrollbar { height: 6px; }
.am360-tc-salon-services-grouped .am360-tabs::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.12);
  border-radius: 999px;
}

.am360-tc-salon-services-grouped .am360-tab {
  flex: 0 0 auto;
  border: 1px solid var(--am360-border);
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-radius: var(--am360-radius-pill);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--am360-text);
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.am360-tc-salon-services-grouped .am360-tab:hover {
  border-color: var(--am360-border-strong);
  background: rgba(255,255,255,0.55);
}

.am360-tc-salon-services-grouped .am360-tab.is-active {
  background: var(--am360-cta);
  border-color: var(--am360-cta);
  color: #ffffff;
}

/* Panels spacing */
.am360-tc-salon-services-grouped .am360-tabpanels {
  padding-top: 6px;
}

/* =========================
   Cards (Prestations)
   ========================= */

.am360-tc-salon-services-grouped .am360-tc-salon-services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.am360-tc-salon-services-grouped .am360-tc-service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--am360-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
  @media(max-width: 567px) {
    .am360-tc-salon-services-grouped.am360-tc-service-card {
        border-bottom: 1px solid var(--am360-border)!important;
        border-radius: none!important;
        box-shadow: none!important;
    }

    .am360-tc-salon-services-list > .am360-tc-service-card {
        border-bottom: 1px solid var(--am360-border)!important;
        padding-bottom: 2em;
        border-radius: none!important;
        box-shadow: none!important;
    }

    .am360-tc-salon-services-list > .am360-tc-service-card:last-child {
        border: 0!important;
        border-radius: none!important;
        box-shadow: none!important;
    }
  }

  @media(min-width: 568px) {
    .am360-tc-salon-services-grouped .am360-tc-service-card {
        border-radius: none!important;
        border-bottom: 1px solid var(--am360-border)!important;
        box-shadow: none!important;
    }

    .am360-tc-salon-services-list > .am360-tc-service-card:last-child {
        border: 0!important;
        border-radius: none!important;
        box-shadow: none!important;
    }
  }

.am360-tc-salon-services-grouped .am360-tc-service-main {
  min-width: 0;
  flex: 1 1 auto;
}

.am360-tc-salon-services-grouped .am360-tc-service-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--am360-text);
}

.am360-tc-salon-services-grouped .am360-tc-service-meta {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--am360-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.am360-tc-salon-services-grouped .am360-tc-price-original,
.am360-tc-salon-services-grouped .am360-tc-price-old {
  text-decoration: line-through !important;
  opacity: 0.65;
  white-space: nowrap;
}

.am360-tc-salon-services-grouped .am360-tc-price-effective,
.am360-tc-salon-services-grouped .am360-tc-price-new {
  font-weight: 400;
  white-space: nowrap;
  color: var(--am360-text);
}

.am360-tc-salon-services-grouped .am360-tc-service-desc {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(11, 26, 51, 0.88);

  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-line;
}

/* CTA style (Planity-like pill) */
.am360-tc-salon-services-grouped .am360-tc-service-cta {
  flex: 0 0 auto;
}

.am360-tc-salon-services-grouped .am360-tc-service-cta .btn,
.am360-tc-salon-services-grouped .am360-tc-service-cta a.btn {
  border-radius: var(--am360-radius-pill) !important;
  padding: 10px 16px !important;
  font-weight: 400 !important;
  background: var(--am360-cta) !important;
  border-color: var(--am360-cta) !important;
  color: #ffffff !important;
  white-space: nowrap;
}

/* Mobile: carte en colonne, CTA full width */
@media (max-width: 768px) {
  .am360-tc-salon-services-grouped .am360-tc-service-card {
    flex-direction: column;
    align-items: stretch;
  }

  .am360-tc-salon-services-grouped .am360-tc-service-cta .btn,
  .am360-tc-salon-services-grouped .am360-tc-service-cta a.btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   Accordion (Mobile)
   ========================= */

.am360-tc-salon-services-grouped .am360-accordion {
  margin-top: 6px;
}

.am360-tc-salon-services-grouped .am360-acc-item {
  border: 1px solid var(--am360-border);
  border-radius: var(--am360-radius);
  overflow: hidden;
  background: var(--am360-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--am360-shadow);
  margin-bottom: 12px;
}

/* enlever le marker natif */
.am360-tc-salon-services-grouped .am360-acc-item summary {
  list-style: none;
}
.am360-tc-salon-services-grouped .am360-acc-item summary::-webkit-details-marker {
  display: none;
}

.am360-tc-salon-services-grouped .am360-acc-summary {
  padding: 14px 16px;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  color: var(--am360-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* Chevron */
.am360-tc-salon-services-grouped .am360-acc-summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(11, 26, 51, 0.55);
  border-bottom: 2px solid rgba(11, 26, 51, 0.55);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex: 0 0 auto;
}

.am360-tc-salon-services-grouped .am360-acc-item[open] .am360-acc-summary::after {
  transform: rotate(-135deg);
}

.am360-tc-salon-services-grouped .am360-acc-body {
  padding: 14px 16px;
}

/* =========================
   Finitions (cohérence visuelle)
   ========================= */

/* petit accent visuel type Planity */
.am360-tc-salon-services-grouped .am360-tab.is-active {
  position: relative;
}
.am360-tc-salon-services-grouped .am360-tab.is-active::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -11px;
  height: 3px;
  border-radius: 999px;
  background: var(--am360-accent);
}

/* titles si tu as un H2/H3 autour */
.am360-tc-salon-services-grouped h2,
.am360-tc-salon-services-grouped h3 {
  color: var(--am360-text);
  letter-spacing: -0.01em;
}


.am360-sections-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

.am360-sections-nav {
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
}

.am360-sections-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    line-height: 1.2;
}

.am360-sections-link.is-active {
    font-weight: 600;
}

.am360-cat-section-presta {
    /* padding-top: 1em!important; */
    /* min-height: 550px!important; */
}

.am360-cat-section + .am360-cat-section {
    margin-top: 28px;
}

.am360-cat-title {
    /* margin: 0 0 12px; */
    margin: 1em 0;
    font-size: 18px;
    font-weight: 600;
    font-family: "Playfair Display"
}

/* Optionnel: scroll plus propre quand on clique nav */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 2em;
}


/* .am360-wrapper-img {
    background-image: url('https://barabrushing.com/wp-content/uploads/themes/salon-coiffure.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 1em;
    border-radius: 1.75em
} */

.am360-wrapper-media {
  position: relative;
  margin: 1em;
  border-radius: 1.75em;
  overflow: hidden;
  min-height: 320px;
}

.am360-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  object-position: center center;
}


@media(max-width: 567px) {
    .am360-bg-video {
        object-position: left;
    }
}

.am360-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.am360-media-content {
  position: relative;
  z-index: 1;
  padding: 5px;
}

hr {
    margin: 2em 0!important;
    border-top: 1px solid #000!important;
    opacity: 1!important
}

.am360-sections-content > hr:last-child {
    display: none!important;
}

.am360-event-colored {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--am360-staff-rgb), 0.35);
  background: rgba(var(--am360-staff-rgb), 0.14);
}

.am360-event-colored::before {
  content: "";
  position: absolute;
  inset: -16px;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(var(--am360-staff-rgb), 0.85),
    rgba(var(--am360-staff-rgb), 0.0) 70%
  );
  filter: blur(14px);
  transform: scale(1.1);
  pointer-events: none;
}

.am360-event-content {
  position: relative;
  z-index: 1;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.2;
}

.am360-lane-colored {
  position: relative;
}

.am360-lane-colored::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(var(--am360-staff-rgb), 0.9);
  filter: blur(4px);
}

.am360-switches {
  display: block;
}

.am360-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
  user-select: none;
}

.am360-switch-label {
  font-weight: 500;
}

.am360-switch-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.am360-switch-ui {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  flex: 0 0 auto;
  transition: background 150ms ease;
}

.am360-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  transition: transform 150ms ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.am360-switch-input:checked + .am360-switch-ui {
  background: rgba(var(--am360-staff-rgb, 0, 0, 0), 0.9);
}

.am360-switch-input:checked + .am360-switch-ui::after {
  transform: translateX(20px);
}

.am360-switch-row:focus-within {
  outline: 2px solid rgba(0,0,0,0.15);
  outline-offset: 2px;
}

.am360-tc-home-card-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}

.am360-tc-home-card-icon{
  font-size:18px;
  line-height:1;
  opacity:.85;
}


.am360-tc-home-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
  gap:14px;
  margin-top:14px;
}

.am360-tc-home-card{
  display:block;
  width:100%;
  text-align:left;
  padding:14px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}

.am360-tc-home-card:hover{
  border-color: rgba(0,0,0,.18);
}

.am360-tc-home-card-title{
  font-weight:600;
  margin-bottom:6px;
}

.am360-tc-home-card-desc{
  opacity:.75;
  font-size:13px;
  line-height:1.35;
}



.am360-planning-timeline {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.am360-planning-axis-col {
  flex: 0 0 52px;
}

.am360-planning-axis-head {
  width: 52px;
}

.am360-planning-axis {
  position: relative;
  width: 52px;
}

.am360-hour-tick {
  position: absolute;
  left: 0;
  right: 0;
  font-size: 10px;
  opacity: 0.75;
  transform: translateY(-50%);
}

.am360-planning-lanes {
  flex: 1 1 auto;
  min-width: 0;
}

.am360-planning-lanes-head,
.am360-planning-lanes-body {
  display: flex;
  gap: 6px;
}

.am360-planning-lane-title {
  flex: 1 1 0;
  font-size: 10px;
  opacity: 0.8;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.am360-planning-lane {
  flex: 1 1 0;
  position: relative;
  min-width: 0;
  border-radius: 6px;
}

.am360-hour-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(0,0,0,0.2);
  opacity: 0.7;
}

.am360-event {
  position: absolute;

  box-sizing: border-box;
  padding: 0 10px;
  border-radius: 5px;
  z-index: 2;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(var(--black-rgb), 0.15);
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  color: var(--white);
  font-size: 0.595em!important;

  cursor: grab;
  user-select: none;
}

.am360-event-dragging {
  cursor: grabbing;
}

/* .am360-event-outside-hours {
  outline: 2px dashed #d97706;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(217,119,6,0.15),
    rgba(217,119,6,0.15) 6px,
    transparent 6px,
    transparent 12px
  );
} */

.am360-legend-outside {
  display:inline-block;
  width:16px;
  height:16px;
  background:rgba(0,0,0,0.08);
  margin-right:6px;
}


.am360-presence-week {
  background: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.02),
    rgba(0,0,0,0.02) 10px,
    rgba(0,0,0,0.04) 10px,
    rgba(0,0,0,0.04) 20px
  );
}


.am360-presence-grid {
  display: flex;
  align-items: stretch;
}

.am360-presence-grid > div:first-child {
  width: 60px;
  position: relative;
}

.am360-presence-grid > div:last-child {
  flex: 1;
  position: relative;
}

.am360-presence-grid .am360-hour-tick {
  left: 0;
}

.am360-presence-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px; /* clé */
}

.am360-tc-select {
  height: 36px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
}

.am360-presence-ghost {
  position: absolute;
  left: 4px;
  right: 4px;
  background: rgba(0, 123, 255, 0.15);
  border: 2px dashed #007bff;
  border-radius: 6px;
  pointer-events: none;
  z-index: 10;
}

.am360-planning-lane {
  cursor: crosshair;
}

.am360-presence-empty::after {
  content: "Aucune présence définie";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  opacity: 0.6;
  pointer-events: none;
}

.am360-presence-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  opacity: 0.6;
  pointer-events: none;
  text-align: center;
}

.am360-tc-btn.is-active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.am360-tc-btn.is-active:hover {
  background-color: #111;
  border-color: #111;
}


.tc-client-card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.tc-client-header {
  margin-bottom: 12px;
}

.tc-client-name {
  font-size: 18px;
  font-weight: 600;
}

.tc-client-meta {
  font-size: 13px;
  color: #666;
  display: flex;
  gap: 12px;
}

.tc-client-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.tc-stat {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 10px;
}

.tc-stat-label {
  font-size: 12px;
  color: #777;
}

.tc-stat-value {
  font-size: 14px;
  font-weight: 600;
}


.tc-client-services {
  margin-top: 20px;
}

.tc-client-services h4 {
  margin-bottom: 8px;
}

.tc-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-service-list li {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.tc-service-name {
  font-weight: 500;
}

.tc-service-meta {
  font-size: 12px;
  color: #777;
}

.am360-tc-badge-new {
  background: #e7f7ee;
  color: #1a7f4c;
  font-weight: 600;
}
