/*
 Theme Name:   InsahoCaps Thème
 Description:  Thème dédié pour le site Caps d'Insaho
 Author:       Matthieu Devaux Webdesigner
 Author URI:   https://www.md-webdesigner.com/
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


html {
    font-size: 62.5%;
}

::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-thumb {
    box-sizing: border-box;
    border: 3px solid transparent;
    border-radius: 100px;
    background-color: #00a8a8;
    background-clip: content-box;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 1px #919191;
    background: #fff;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #5b35ca;
}

:focus-visible {
    outline: none!important;
}

header.elementor-sticky--active.elementor-sticky--effects {
    background: #fff;
    box-shadow: 0 -2px 5px #2b2b2b;
}

header.elementor-sticky:not(.elementor-sticky--active) .btn-credits, header.elementor-sticky:not(.elementor-sticky--active) .solde-credits {
	display:none;
}

#am-modal.am-modal.am-in-body, #am-modal.am-modal.am-in-body a, #am-modal.am-modal.am-in-body div, #am-modal.am-modal.am-in-body h1, #am-modal.am-modal.am-in-body h2, #am-modal.am-modal.am-in-body h3, #am-modal.am-modal.am-in-body h4, #am-modal.am-modal.am-in-body li, #am-modal.am-modal.am-in-body p, #am-modal.am-modal.am-in-body section, #am-modal.am-modal.am-in-body span, #am-modal.am-modal.am-in-body ul, .amelia-app-booking #amelia-booking-wrap, .amelia-app-booking #amelia-booking-wrap a, .amelia-app-booking #amelia-booking-wrap div, .amelia-app-booking #amelia-booking-wrap h1, .amelia-app-booking #amelia-booking-wrap h2, .amelia-app-booking #amelia-booking-wrap h3, .amelia-app-booking #amelia-booking-wrap h4, .amelia-app-booking #amelia-booking-wrap li, .amelia-app-booking #amelia-booking-wrap p, .amelia-app-booking #amelia-booking-wrap section, .amelia-app-booking #amelia-booking-wrap span, .amelia-app-booking #amelia-booking-wrap ul {
    font-family: "Inter Tight", sans-serif!important;
}

.comments-area a, .page-content a {
    text-decoration: none!important;
}

.elementor-widget-text-editor a {
	text-decoration:underline;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    color: inherit;
    background-color: inherit;
}


.elementor-widget-button:not(.no-effect) .elementor-button {
	position:relative;
}

.elementor-widget-button:not(.no-effect) .elementor-button .elementor-button-content-wrapper,
#am-modal.am-modal.am-in-body .el-button--primary.el-button, .amelia-app-booking #amelia-booking-wrap .el-button--primary.el-button {
    transition: text-shadow cubic-bezier(0.71, 0.05, 0.41, 0.93) calc(400ms * 1.5) 0ms, z-index ease-in-out 400ms calc(400ms / 2), font-weight ease-in-out calc(400ms * 1.5) 0ms;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.elementor-widget-button:not(.no-effect) .elementor-button:hover .elementor-button-content-wrapper,
.elementor-widget-button:not(.no-effect) .elementor-button:focus .elementor-button-content-wrapper,
#am-modal.am-modal.am-in-body .el-button--primary.el-button, .amelia-app-booking #amelia-booking-wrap .el-button--primary.el-button {
    font-weight: 700;
    z-index: 4;
}

.elementor-widget-button:not(.no-effect) .elementor-button:before,
#am-modal.am-modal.am-in-body .el-button--primary.el-button:before, .amelia-app-booking #amelia-booking-wrap .el-button--primary.el-button:before {
    content: "";
    transition: all cubic-bezier(0.71, 0.05, 0.41, 0.93) 400ms 0ms;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 0%;
    border-radius: 8px;
	background: #00A8A8;
}

.elementor-widget-button .elementor-button:not(.no-effect):hover:before,
#am-modal.am-modal.am-in-body .el-button--primary.el-button:hover:before, .amelia-app-booking #amelia-booking-wrap .el-button--primary.el-button:hover:before{
    height: 100%;
}

.elementor-button-icon svg {
    width: inherit!important;
}

.elementor-button:hover svg, .elementor-button:focus svg {
    fill: initial!important;
}

h1 strong, h2 strong, h3 strong,
h1 b, h2 b, h3 b {
    padding: 4px 12px;
    position: relative;
    color: #5b35ca;
    position: relative;
    transform: rotate(-2.309deg);
    display: inline-block;
    font-weight: inherit;
    font-size: 90%;
    line-height: initial;
}

img.attachment-medium.size-medium.wp-image-845 {
	filter:none;
}

.titre-vert h1 strong, .titre-vert h2 strong, .titre-vert h3 strong,
.titre-vert h1 b, .titre-vert h2 b, .titre-vert h3 b {
	color:#fff;
}

.titre-vert h1 strong:before, .titre-vert h2 strong:before, .titre-vert h3 strong:before,
.titre-vert h1 b:before, .titre-vert h2 b:before, .titre-vert h3 b:before {
	background:#00A8A8;
}

h1 strong:before, h2 strong:before, h3 strong:before,
h1 b:before, h2 b:before, h3 b:before {
    content: "";
    background: #f6d81f;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 12px;
}

h1 u, h2 u, h3 u {
	position:relative;
	text-decoration:none;
	display:inline-block;
}

h1 u:before, h2 u:before, h3 u:before {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: 5px;
    z-index: -1;
    left: -4px;
    width: 105%;
    background: #f6d81f;
    height: 3px;
    border-radius: 60px;
    transform: skew(30deg, -1.5deg);
}

h1 span, h2 span, h3 span {
	color:#00A8A8;
}


/*
.keys.elementor-element.e-con {
    flex-direction: row;
    justify-content: space-around;
}
*/
.keys path {
    fill: rgb(55, 49, 71);
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 48px;
    border-radius: 6px;
}

/* ===========================
   CAL SKIN — look “Aqua”
   (scopé sur le bloc Bookings)
   =========================== */

:root {
  --ins-cal-bg: #0ea5e9;            /* accent aqua */
  --ins-cal-bg-weak: #e0f2fe;       /* aqua pâle */
  --ins-text: #0f172a;              /* slate-900 */
  --ins-text-weak: #475569;         /* slate-600 */
  --ins-border: #e5e7eb;            /* neutral-200 */
  --ins-chip: #f8fafc;              /* neutral-50 */
  --ins-shadow: 0 6px 14px rgba(2,132,199,.12);
}

/* conteneur principal */
.wp-block-woocommerce-bookings-availability-calendar-block {
  --gap: 10px;
  color: var(--ins-text);
}

/* header mois + nav */
.wc-bookings-availability-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}

.wc-bookings-availability-date {
  font-weight: 700; font-size: 22px;
}

.wc-bookings-availability-navigation {
  display: inline-flex; align-items: center; gap: 8px;
}
.wc-bookings-availability-navigation a {
  display:inline-flex; align-items:center; justify-content:center;
  height:36px; min-width:36px; padding:0 12px;
  border:1px solid var(--ins-border); border-radius:999px;
  background:#fff; color: var(--ins-text); text-decoration:none;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.wc-bookings-availability-navigation a:hover {
  border-color:#bae6fd; background:#f0f9ff;
  transform: translateY(-1px);
}
.wc-bookings-availability-navigation-current {
  pointer-events:none; font-weight:600;
}

/* grille mensuelle */
.wc-bookings-availability-calendar-container-month-view .wc-bookings-availability-calendar {
  gap: var(--gap);
}
.wc-bookings-availability-calendar-header-item {
  text-transform: lowercase; letter-spacing:.02em;
  color: var(--ins-text-weak); font-size:13px; font-weight:600;
}

/* cellule jour */
.wc-bookings-availability-calendar-day {
  border:1px solid var(--ins-border);
  border-radius:14px; background:#fff; min-height:120px;
  padding:8px; position:relative; overflow:hidden;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.wc-bookings-availability-calendar-day:hover {
  box-shadow: var(--ins-shadow);
  border-color:#dbeafe;
}

/* date (numéro en haut à gauche) */
.wc-bookings-availability-cal-date {
  font-size:12px; color: var(--ins-text-weak);
  margin:6px 0 4px 6px;
}

/* item dans une cellule */
.wc-bookings-availability-calendar-day-item {
  margin-top:6px;
}
.wc-bookings-availability-calendar-day-item-title {
  display:none !important; /* on masque le titre “nu” (doublon) */
}

/* bloc cloné (tooltip rendu en dur) */
.wba-static {
  display:block; background:#fff; border-radius:12px;
  border:1px solid var(--ins-border);
  box-shadow: var(--ins-shadow);
  padding:10px; font-size:13px; line-height:1.45;
}

/* Titre + badge catégorie */
.wba-static thead h4,
.wba-static thead a {
  font-size:14px; font-weight:700; color:#0369a1; text-decoration:none;
}
.wba-static thead a:hover { text-decoration:underline; }

.wba-cap-badge{
  display:inline-block; margin-left:8px; padding:2px 8px;
  font-size:11px; font-weight:600;
  background: var(--ins-cal-bg-weak); color:#075985;
  border-radius:999px;
}

/* tableau intérieur */
.wba-static table { width:100%; border-collapse:collapse; }
.wba-static td,
.wba-static th { padding:4px 0; }
.wba-static thead em { display:block; font-style:normal; color: var(--ins-text-weak); font-size:12px; margin-top:2px; }

/* lignes détail (on a retiré la ligne Date côté JS) */
.wba-static td.wc-bookings-availability-popover-container-label strong {
  color: var(--ins-text-weak); font-weight:600; font-size:12px;
}
.wba-static td.wc-bookings-availability-popover-container-value {
  font-weight:600;
}

/* prix / crédits */
.wba-static .wc-bookings-availability-popover-container-value div {
  display:inline-block; background: var(--ins-cal-bg-weak);
  padding:2px 8px; border-radius:999px; font-weight:700; color:#075985;
}

/* bouton réserver */
.wc-bookings-availability-book-button-container .wp-block-button__link {
  display:inline-flex; align-items:center; justify-content:center;
  width:100%; height:36px; border-radius:999px;
  background: var(--ins-cal-bg); color:#fff; text-decoration:none;
  font-weight:700; letter-spacing:.01em;
  box-shadow: 0 8px 16px rgba(14,165,233,.18);
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.wc-bookings-availability-book-button-container .wp-block-button__link:hover {
  background:#0284c7; transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(2,132,199,.22);
}

/* Filtres (chips en haut) */
#wba-filters{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:10px 0 14px 0; }
.wba-filter-label{ font-size:13px; color: var(--ins-text-weak); margin-right:2px; }
.wba-chip{
  border:1px solid var(--ins-border); background: var(--ins-chip);
  border-radius:999px; padding:8px 12px; font-size:12px; cursor:pointer;
  transition: background .15s ease, border-color .15s ease, transform .06s ease;
}
.wba-chip:hover{ background:#f1f5f9; transform: translateY(-1px); }
.wba-chip.active{ background: var(--ins-cal-bg); color:#fff; border-color: var(--ins-cal-bg); }
.wba-chip.wba-chip-reset{ border-color:#d1d5db; color: var(--ins-text-weak); background:#fff; }
.wba-chip.wba-chip-reset:hover{ background:#f3f4f6; }

/* couleurs par catégorie (déjà générées par JS via <style#wba-cat-style>) */

/* Catégorie avant le titre (texte) */
.wba-catname{
  color:#0369a1; /* même teinte que le titre pour cohérence */
  font-weight:700;
}
.wba-static thead a { font-weight:700; }

/* On peut réduire un peu l’écart si on garde aussi le badge */
.wba-cap-badge{ margin-left:6px; }
.wba-catline {
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 4px;
  font-size: 13px;
}


/* Bloc statique cloné */
.wba-static{
  display:block;
  border-radius:10px;
  padding:8px;
  margin-top:6px;
  box-shadow:0 1px 6px rgba(0,0,0,.07);
  font-size:13px;
  line-height:1.4;
  background:#fff; /* surchargé par couleur de catégorie si présente */
  position:relative;
}

/* Badge catégorie (injecté à côté du titre) */
.wba-cap-badge{
  display:inline-block;
  margin-left:8px;
  font-size:11px;
  background:rgba(0,0,0,.06);
  padding:2px 6px;
  border-radius:999px;
  vertical-align:baseline;
}

/* Masquer le titre "nu" d’origine (on garde le H4 dans le clone) */
.wc-bookings-availability-calendar-day-item[data-wba-static="1"]
  .wc-bookings-availability-calendar-day-item-title{
  display:none !important;
}

/* Barre de filtres (chips) */
#wba-filters{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  margin:10px 0 14px 0;
}
.wba-filter-label{ font-size:13px; color:#374151; margin-right:6px; }
.wba-chip{
  border:1px solid #e5e7eb; background:#fff; border-radius:999px; padding:6px 10px;
  font-size:12px; cursor:pointer;
}
.wba-chip:hover{ background:#f8fafc; }
.wba-chip.active{ background:#0ea5e9; color:#fff; border-color:#0ea5e9; }

.wba-chip.wba-chip-reset{
  border-color:#d1d5db; color:#374151;
}
.wba-chip.wba-chip-reset:hover{
  background:#f3f4f6;
}

/* Quand tu seras 100% satisfait du clonage, tu peux désactiver le tooltip natif :
.popover-slot { display:none!important; } */

/* Menu des sous-catégories Caps */
main .caps-menu, .elementor-location-archive .caps-menu { margin: 8px 0 16px; }
main .caps-menu__list, .elementor-location-archive .caps-menu__list, .archive .wpc-filters-main-wrap .wpc-filters-section:not(.wpc-filter-terms-count-0) ul.wpc-filters-labels {
  display:flex; flex-wrap:wrap; gap:10px;  list-style:none;justify-content:center;align-items:center;padding:0;
}
main .caps-menu__item {}
main .caps-menu__link, .elementor-location-archive .caps-menu__link  {
  display:inline-flex; align-items:center; gap:10px;justify-content:center;
   text-decoration:none; 
  transition: background .15s ease, border-color .15s ease, transform .06s ease;
}
main .caps-menu__link:hover, .elementor-location-archive .caps-menu__link:hover {  transform: translateY(-1px); }
main .caps-menu__item.is-active .caps-menu__link, .elementor-location-archive .caps-menu__item.is-active .caps-menu__link { background:#0ea5e9; color:#fff; border-color:#0ea5e9; }
main .caps-menu__count, .elementor-location-archive .caps-menu__count {
  display:inline-block; min-width:20px; padding:2px 6px; border-radius:999px;
  background:#eff6ff; color:#1e3a8a; font-size:12px; font-weight:700;
}

main a.caps-menu__link,
.elementor-location-archive a.caps-menu__link,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a {
    border-radius: 22px;
    height: 60px;
    color: #fff;
    font-family: 'Inter Tight';
    font-weight: bold;
    font-size: 1.2rem;
	line-height:1;
    width: 135px;
    padding: 10px;
	text-align:center;
}

.product_meta a,
thead .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label, {
	border-radius:8px;
	padding:5px 10px;
	color: #fff;
    font-family: 'Inter';
    font-weight: bold;
    font-size: 1.5rem;
}

.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label span.wpc-filter-label-wrapper {
	border:none;
	border-radius:12px;
	padding:0;
}

main a.caps-menu__link:hover, main a.caps-menu__link:focus,
.elementor-location-archive a.caps-menu__link:hover, .elementor-location-archive a.caps-menu__link:focus,
.product_meta a:hover, thead .wba-catline:hover ,
.product_meta a:focus, thead .wba-catline:focus,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a:hover, .archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a:focus {
	color:#fff;
}

.product_meta span.detail-content {
    color: transparent;
    font-size: 0;
}

.product_meta a[href$="caps/"] {
	display:none;
}

.insaho-caps-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.insaho-caps-badge{
  font-size: 1.5rem;
  padding: 5px 12px;
  border-radius: 12px;
  display: inline-block;
  text-decoration:none;
	line-height:1.8rem;
}


.product_meta span.detail-content a {
    font-size: 1.5rem;
    color: #fff;
    padding: 5px 12px;
    border-radius: 12px;
	background: var(--cat-color, #333);
	color: var(--cat-text, #fff);
}

.archive .wpc-horizontal-layout .wpc-filters-section:not(.wpc-filter-layout-submit-button), .archive .wpc-horizontal-layout.wpc-horizontal-cols-3 .wpc-filters-section:not(.wpc-filter-layout-submit-button) {
	max-width:100%;
	width:100%;
	margin-right:0;
}

.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label {
    border-radius: 12px;
    border: none;
    margin: 0;
    padding: 0;
}

.archive .wpc-filters-main-wrap input.wpc-label-input+label:hover span.wpc-filter-label-wrapper,
.archive .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper {
	background:none!important;
	    border: thin solid #00a8a8 !important;
}

.archive .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper, .archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item input:checked+label a {
    color: #00a8a8!important;
	border:thin solid;
	background:#fff!important;
}

.archive ul.wpc-filter-chips-list {
    display: flex;
    padding-left: 10px;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.widget .wpc-term-count-0:not(.wpc-has-not-empty-children) a, .widget-area .widget .wpc-term-count-0:not(.wpc-has-not-empty-children) a, .widget-area .wpc-filters-labels li.wpc-term-count-0:not(.wpc-has-not-empty-children) label, .widget-area .wpc-filters-labels li.wpc-term-count-0:not(.wpc-has-not-empty-children) label span.wpc-filter-label-wrapper, .wpc-filters-labels li.wpc-term-count-0:not(.wpc-has-not-empty-children) label, .wpc-filters-labels li.wpc-term-count-0:not(.wpc-has-not-empty-children) label span.wpc-filter-label-wrapper, .wpc-term-count-0:not(.wpc-has-not-empty-children), .wpc-term-count-0:not(.wpc-has-not-empty-children) a, body .wpc-filters-main-wrap li.wpc-term-count-0:not(.wpc-has-not-empty-children) label, body .wpc-filters-main-wrap li.wpc-term-count-0:not(.wpc-has-not-empty-children) label a {
    opacity: 1!important;
}

main a.caps-menu__link[href$="commercial/"], .elementor-location-archive a.caps-menu__link[href$="commercial/"],
.product_meta a[href$="commercial/"],
div[data-cap-subcat="commercial"] .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a[href$="commercial/"] {
    background: #F48C06;
}


main a.caps-menu__link[href$="mice/"], .elementor-location-archive a.caps-menu__link[href$="mice/"],
.product_meta a[href$="mice/"],
div[data-cap-subcat="mice"] .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a[href$="mice/"] {
    background: #00A8A8;
}

main a.caps-menu__link[href$="rse/"],
.elementor-location-archive a.caps-menu__link[href$="rse/"],
.product_meta a[href$="rse/"],
div[data-cap-subcat="rse"] .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a[href$="rse/"] {
    background: #667085;
}

main a.caps-menu__link[href$="special-restaurateurs/"], .elementor-location-archive a.caps-menu__link[href$="special-restaurateurs/"],
.product_meta a[href$="special-restaurateurs/"],
div[data-cap-subcat="special-restaurateurs"] .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a[href$="special-restaurateurs/"] {
    background: #DC180B;
}


main a.caps-menu__link[href$="pms-misterbooking/"], .elementor-location-archive a.caps-menu__link[href$="pms-misterbooking/"],
.product_meta a[href$="pms-misterbooking/"],
div[data-cap-subcat="pms-misterbooking"] .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a[href$="pms-misterbooking/"] {
    background: #EE645B;
}

main a.caps-menu__link[href*="relation-clients/"], .elementor-location-archive a.caps-menu__link[href*="relation-clients/"],
.product_meta a[href*="relation-clients/"],
div[data-cap-subcat="relation-clients"] .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a[href*="relation-clients/"] {
    background: #F6D81F;
}

main a.caps-menu__link[href$="excel/"], .elementor-location-archive a.caps-menu__link[href$="excel/"],
.product_meta a[href$="excel/"],
div[data-cap-subcat="excel"] .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a[href$="excel/"] {
    background: #AF52DE;
}

main a.caps-menu__link[href$="management/"], .elementor-location-archive a.caps-menu__link[href$="management/"],
.product_meta a[href$="management/"],
div[data-cap-subcat="management"] .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a[href$="management/"] {
    background: #1B99D4;
}

main a.caps-menu__link[href$="revenue-management/"],
.elementor-location-archive a.caps-menu__link[href$="revenue-management/"],
.product_meta a[href$="revenue-management/"],
div[data-cap-subcat="revenue-management"] .wba-catline,
.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a[href$="revenue-management/"] {
    background: #5B35CA;
}



.insaho-cats-slider{
  position:relative;
  max-width:100%;
}

.insaho-cats-track{
  width:100%;
  max-width:100%;
  display:flex;
  flex-wrap:nowrap;
	justify-content: center;
  gap:10px;

  overflow-x:auto;
  overflow-y:hidden;

  padding:10px 2px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;

  touch-action: pan-x;          /* important sur mobile */
  scrollbar-width:none;
}
.insaho-cats-track::-webkit-scrollbar{ display:none; }

.insaho-cat{
  flex:0 0 auto;
  scroll-snap-align:start;

  display:inline-flex;
  align-items:center;

  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  white-space:nowrap;
font-size: 1.2rem;
    font-weight: 600;
  background: var(--cat-color);
  color: var(--cat-text);

  transition: transform .12s ease, filter .12s ease;
}

.insaho-cat.is-active span.insaho-cat-label {
    font-weight: 900;
}

.insaho-cat:hover{ filter: brightness(0.96); }

.insaho-cat.is-active{
  transform: translateY(-1px) scale(1.12);
}

.archive:not(.tax-product_cat) .btn-allcaps {
	display:none;
}

.insaho-cat-count{
  margin-left:6px;
  opacity:.9;
  font-weight:400;
}

/* Flèches si arrows="1" */
.insaho-cats-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:34px; height:34px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  cursor:pointer;
  z-index:2;
}
.insaho-cats-btn.is-prev{ left:-10px; }
.insaho-cats-btn.is-next{ right:-10px; }

.insaho-cats-track.is-dragging{ cursor: grabbing; }
.insaho-cats-track{ cursor: grab; }


.ins-next-hidden-source { 
  opacity:0; pointer-events:none; transform:translateY(-200vh);
  position:relative; height:auto; overflow:hidden;
}

#am-modal.am-modal.am-in-body .el-button--primary.el-button, .amelia-app-booking #amelia-booking-wrap .el-button--primary.el-button {
    border-radius: 12px;
	background-color:#00a8a8!important;
}

.md-caps-sessions .amelia-app-booking #amelia-booking-wrap #am-events-booking .am-event-list .am-event .am-event-book-continue {
	justify-content:center;
	
}

.md-caps-sessions .amelia-app-booking #amelia-booking-wrap .el-button--primary.el-button span {
	font-size:1.5rem!important;
	font-weight:500!important;
}

.md-caps-sessions .amelia-app-booking #amelia-booking-wrap #am-events-booking .am-event-list {
	margin-top:0;
}

 .md-caps-empty {
    margin: 0 0 20px;
    font-family: 'Inter Tight';
    color: #5B35CA;
	 font-size: 1.4rem;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: #000!important;
}

#amelia-v2-booking-1000 #amelia-container .am-ecs__page * {
	font-family: 'Inter Tight';
}

#amelia-container .am-eli__description-text.ql-description a {
    text-decoration: none!important;
    padding: 6px 20px;
    border: thin solid #AF52DE;
    color: #AF52DE;
    border-radius: 8px;
    margin: 10px 0;
    display: inline-block;
    font-family: 'Inter Tight';
}
.amelia-v2-booking #amelia-container .am-ec__actions-price {
    padding-left: 15px;
}

/* Cacher le bouton "Filtres" */
#amelia-v2-booking-1000 .am-ecs__filters-btn { display: none !important; }

/* Forcer l'ouverture/affichage du menu de filtres */
#amelia-v2-booking-1000 #filtersMenu {
  display: flex !important;
  flex-wrap: wrap;
  gap: .5rem;
}

/* Par défaut, afficher les items du menu */
#amelia-v2-booking-1000 #filtersMenu .am-ecs__filters-menu__items {
  display: flex !important;
}

/* CACHER "Formateur" (organisateur) */
#amelia-v2-booking-1000 #filtersMenu .am-ecs__filters-menu__items:has(input[aria-label="Formateur"]),
#amelia-v2-booking-1000 #filtersMenu .am-ecs__filters-menu__items:has(.am-icon-employee) {
  display: none !important;
}

/* CACHER "Etat de la caps" (statut) */
#amelia-v2-booking-1000 #filtersMenu .am-ecs__filters-menu__items:has(input[aria-label="Etat de la caps"]),
#amelia-v2-booking-1000 #filtersMenu .am-ecs__filters-menu__items:has(.am-icon-circle-empty) {
  display: none !important;
}

/* (Optionnel) si tu veux cibler positivement la Catégorie/TAGS : 
   on s'assure qu'elle reste bien affichée */
#amelia-v2-booking-1000 #filtersMenu .am-ecs__filters-menu__items:has(input[aria-label="Catégorie de capsule"]),
#amelia-v2-booking-1000 #filtersMenu .am-ecs__filters-menu__items:has(.am-icon-folder) {
  display: flex !important;
}

.amelia-v2-booking #amelia-container .am-ecs__filters {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.amelia-v2-booking #amelia-container .am-ecs__filters-top {
    width: 70%;
}

.amelia-v2-booking #amelia-container .am-ecs__filters-menu div.am-ecs__filters-menu__items:not(:first-of-type), .am-ecs__filters-btn {
    display: none;
}

#amelia-v2-booking-1000 #filtersMenu {
    background: none;
    padding: 0;
    width: 25%;
    margin: 0;
}

.amelia-v2-booking #amelia-container .am-ecs__filters-menu__items {
    max-width: 100% !important;
}

#amelia-v2-booking-1000 #amelia-container .am-ecs .am-evt-wrapper {
    gap: 5px;
	padding:15px;
}

#amelia-v2-booking-1000 #amelia-container .am-ecs .am-evt-text {
    font-size: 1.6rem;
    line-height: 2rem;
    white-space: normal;
}

#amelia-v2-booking-1000 #amelia-container .am-ecs .am-evt-wrapper *,
#amelia-v2-booking-1000 #amelia-container .am-ecs .am-evt-wrapper {
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
}

.amelia-v2-booking #amelia-container .am-ecs .am-evt-block .am-evt-wrapper:not(.am-evt-closed, .am-evt-full)  * {
	color:#fff!important;
}

#amelia-v2-booking-1000 #amelia-container .am-ecs .fc.fc-theme-standard .fc-scrollgrid-liquid .fc-scrollgrid-section-header .fc-col-header-cell-cushion {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5b35ca;
}
/*
#amelia-v2-booking-1000 .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    background: #fff;
}

#amelia-v2-booking-1000 #amelia-container .am-ecs .am-evt-background {background-color:#fff;}

#amelia-v2-booking-1000 #amelia-container .am-ecs .am-evt-wrapper {
    border-radius: 8px;
    background-color: #fff;
    box-shadow: none;
    border: 3px solid #EAECF0;
}
*/

.amelia-v2-booking #amelia-container .am-ecs .am-evt-wrapper:not(.am-evt-closed, .am-evt-full) .am-evt-background {
	opacity:1!important
}

.amelia-v2-booking #amelia-container .am-ecs.am-evt-wrapper.am-evt-full .am-evt-background {
  opacity: .5 !important;
}

#amelia-v2-booking-1000 #amelia-container .am-ecs .am-evt-time {
    font-size: 2.2rem !important;

}

.amelia-v2-booking  #amelia-container .am-eli__description-title, .amelia-v2-booking  #amelia-container .am-eli .am-eli__timetable-title {
    font-weight: 600!important;
}

.amelia-v2-booking span.am-evt-spots-left {
    margin-top: 15px !important;
    font-weight: 300 !important;
    font-size: 1.3rem !important;
}

.amelia-v2-booking  #amelia-container .am-evt-wrapper.am-evt-full {
  cursor: default;
}

.amelia-v2-booking #amelia-container .am-ecs .am-evt-block .am-evt-wrapper.am-evt-full .am-evt-spots-left {
  font-weight: 500 !important;
  border: thin solid #fff !important;
  background: #fff;
  color: red !important;
}

.elementor-widget-image a {
    display: inline-block;
    width: 100%;
}

body:not(.logged-in) .elementor-widget-woocommerce-my-account,
.md-login-box {
    max-width: 600px !important;
    margin: 0 auto !important;
    width: 100%;
}

.md-login-box * {
	font-family: "Inter Tight", Sans-serif;
}

.single-product .am-event-details {
    display: none;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table thead {
    display: none;
} 

.woocommerce td.product-name .wc-item-meta .wc-item-meta-label, .woocommerce td.product-name .wc-item-meta dt, .woocommerce td.product-name dl.variation .wc-item-meta-label, .woocommerce td.product-name dl.variation dt {
    float: none;
}


.md-login-box {
	padding:36px!important;
}

.md-login-box h3 {
    font-family: "Inter Tight", Sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 2rem;
	margin-bottom:45px;
}

.md-login-box #loginform label {
	font-size: 1.4rem;
  font-weight: 500;
	margin-bottom:9px;
}

.md-login-box #loginform p {
	margin-bottom:15px;
}

.md-login-box #loginform .login-submit input[type="submit"] {
	background: #5bc0de;
	border-radius: 12px !important;
  background-color: #00a8a8 !important;
  color: #fff !important;
  padding: 12px 28px !important;
	border:none;
}

.md-login-box .md-login-links a,
.md-company-header div:last-child a{
	color:#5bc0de;
	font-size:1.2rem;
}

.md-login-box #loginform input {
	background:#f9fafa;
	font-size:1.4rem;
	padding:16px;
	border:none;
}

.md-coupon-log {
  font-size: 1.4rem;
  font-family: 'Inter Tight';
  border: 1px solid #e5e7eb;
}

.md-coupon-log td, .md-coupon-log th, .md-coupon-log tr {
	border:none;
	border-block-start:none!important
}


.woocommerce * {
    font-family: 'Inter Tight';
}

.md-coupon-log td:last-child {
	text-align:center;
}

.hero-single::before {
    width: 45%!important;
    left: 55% !important;
    position: absolute;
    top: 0;
    height: 100%;
	background-size:cover;
}

.hero-single:after {
    content: "";
    display: block;
    width: 45%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: url(https://insahocaps.fr/wp-content/uploads/Caps1_Masque-1.png) no-repeat left bottom / cover;
}

.archive .wpc-filter-header {
	display:none;
}

.archive .wpc-filters-section.wpc-filters-section-596.wpc-filter-product_cat.wpc-filter-taxonomy.wpc-filter-layout-labels.wpc-counter-length-1.wpc-filter-full-height.wpc-filter-terms-count-4.wpc-filter-visible-term-names {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.archive .wpc-filters-main-wrap .wpc-filters-section:not(.wpc-filter-terms-count-0) ul.wpc-filters-labels {
    justify-content: center;
    gap: 10px;   
}

.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a {
    margin: 0;
	color:#fff;
	display: flex;
    justify-content: center;
    align-items: center;
}

.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label {
    border-radius: 12px;
}

.archive .wpc-filters-main-wrap input.wpc-label-input+label:hover span.wpc-filter-label-wrapper, .archive .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper {
	border:none!important
}

.woocommerce-message {
    border-top-color: #00a8a8!important;
}

.woocommerce-message::before {
    color: #00a8a8!important;
}

a.restore-item {
    color: #EE645B;
}

.woocommerce-order {
    max-width: 920px;
    margin: auto;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    color: #5B35CA;
    margin-bottom: 50px;
    font-size: 4rem;
    font-weight: 600;
    text-align: center;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    margin-bottom: 50px;
}

p.order-again {
    text-align: center;
    margin: 50px 0;
}

p.order-again .button, p.order-again .button:hover, p.order-again .button:focus {
    background: #00a8a8;
    padding: 16px 28px;
    font-size: 1.8rem;
    color: #fff;
    border-radius: 12px;
    text-align: center;
}

p.md-order-actions a.md-my-account, p.md-order-actions a.md-my-account:hover, p.md-order-actions a.md-my-account:focus {
    font-size: 1.8rem;
    color: #00a8a8;
    background: transparent url(https://insahocaps.fr/wp-content/uploads/arrow-right2.svg) no-repeat right center / auto;
    margin-left: 20px;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f2effb;
    padding: 25px;
    border-radius: 12px;
}

.woocommerce ul.order_details li {
    border-right: none;
    color: #00a8a8;
}

.woocommerce ul.order_details li strong {
    font-weight: 500;
    color: #000;
}

section.woocommerce-order-details {
    border: thin solid #00a8a8;
    padding: 25px;
    border-radius: 12px;
}

section.woocommerce-order-details * {
    color: #000;
}

.woocommerce-order-received section.woocommerce-customer-details {
    display: none;
}

.e-woocommerce-notices-wrapper li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.e-woocommerce-notices-wrapper .button {
    color: var(--e-global-color-7e6d252);
    border-radius: 12px 12px 12px 12px;
    padding: 12px 20px;
    background-color: #00a8a8;
	flex: 1 0 auto;
}

/* Customisation Page Mon Compte */

/* Cacher la navigation + donner toute la largeur au contenu, pour CE widget uniquement */
.elementor-element[data-id="29e1193"] .woocommerce-MyAccount-navigation { display: none !important; }
.elementor-element[data-id="29e1193"] .woocommerce-MyAccount-content { margin: 0 !important; width: 100% !important; }
/* Petites retouches de spacing si besoin */
.elementor-element[data-id="29e1193"] .woocommerce-MyAccount-content-wrapper { padding: 0 !important; }

.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-dashboard-header, .amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-menu {
    display: none!important;
}

.woocommerce .woocommerce-error .button, .woocommerce .woocommerce-info .button, .woocommerce .woocommerce-message .button, .woocommerce-page .woocommerce-error .button, .woocommerce-page .woocommerce-info .button, .woocommerce-page .woocommerce-message .button, .woocommerce .button {
    border-radius: 12px!important;
    background-color: #00a8a8!important;
    color: #fff!important;
    padding: 12px 28px!important;
}

.amelia-app-booking #am-cabinet .am-cabinet-dashboard {
    box-shadow: none!important;
}

.woocommerce_account_subscriptions *  {
    background: none;
    border: none;
}

.woocommerce_account_subscriptions a.button {
	display:none;
}

.woocommerce-MyAccount-content-wrapper {
    padding: 36px!important;
    border-radius: 12px!important;
    border: thin solid #e5e7eb!important;
}

.p-CodeInput.CodeInput.Input {
    border: thin solid #e5e7eb;
}

.e-my-account-tabs-vertical.elementor-widget-woocommerce-my-account {
    margin: 10px;
    border: thin solid #e5e7eb;
    border-radius: 12px;
    padding: 36px;
}

form.woocommerce-form.woocommerce-form-login.login {
    padding: 0 !important;
}

.woocommerce-info {
    border: none;
    background: none;
    font-weight: 600;
	padding:0;
}

.woocommerce table.shop_table {
    border-radius: 12px;
    padding: 16px;
    border-color: #00a8a8;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce td, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce th, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tr {
    border: none!important;
}

.woocommerce-info::before {
	display:none;
}

.e-checkout-layout-two-column.elementor-widget.elementor-widget-woocommerce-checkout-page {
    border-radius: 12px;
    border: thin solid #e5e7eb;
    padding: 36px;
    margin: 10px;
}

table.widefat.striped.table-view-list tr {
    text-align: left;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab__add-payment-method #add_payment_method #payment {
    border: none;
    padding: 0;
}

.product-price {display:none;}

/* Pleine largeur du widget Amelia dans la section #caps-home */
#caps-home .amelia-v2-booking,
#caps-home #amelia-container,
#caps-home .am-ecs__main,
#caps-home .am-ecs{
  width:100% !important;
  max-width:100% !important;
}
#caps-home #amelia-container{
  /* Amelia limite via une variable : on la désactive en forçant très large */
  --am-mw-main: 9999px !important;
}

/* Limiter l’affichage aux 3 prochaines cartes (liste/grille d'événements) */
#caps-home .am-els__wrapper > *:nth-child(n+4),
#caps-home .am-evt-list  > *:nth-child(n+4),
#caps-home .am-evt-block:nth-of-type(n+4){
  display:none !important;
}

/* Optionnel : enlever la pagination/“voir plus” s’il apparaît */
#caps-home .am-pagination,
#caps-home .am-ecs__more,
#caps-home .am-els__available,
#caps-home .am-els__filters {
  display:none !important;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    margin-right: 5px;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message,
.elementor-widget-woocommerce-my-account {
	color: #000000!important;
}

.u-column2.col-2.woocommerce-Address {
    display: none;
}

.benefices b {
    color:#00A8A8;
    font-weight:initial;
}

.domaines .elementor-icon-box-icon {
    margin-top:-55px;
}

.logos-partenaire img {
    filter:invert(.8);
}



/* Footer */

footer .caps-menu {
	margin:0;
}

footer ul.caps-menu__list {
    padding: 0;
    list-style: none;
	display:block!important;
}

footer li.caps-menu__item {
    margin-bottom: 5px;
}

footer ul.caps-menu__list a {
    color:#fff;
	font-weight:300;
	font-size: 1.8rem;
    padding: 0;
    border: none;
	background:none;
	gap:5px;
}

footer ul.caps-menu__list a:hover, footer ul.caps-menu__list a:focus {
	background:none;
	transform:none;
	border:none;
}

footer ul.caps-menu__list a:before {
	content:"> "
}

/* RESPONSIVE
 * ------------------------ */

@media (min-width:1025px) {
	.menu-item .elementor-item {
    text-shadow: 0 0 #00a8a8, 0 1.2em #00a8a8;
    overflow: hidden;
    transition: all cubic-bezier(0.71, 0.05, 0.41, 0.93) 100ms;
    color: transparent!important;
}

.menu-item:hover .elementor-item {
    font-weight: 700!important;
    text-shadow: 0 -1.2em #00a8a8, 0 0 #5b35ca;
	color: transparent!important;
}
}

@media (min-width:768px) {
	
	
	.caps-excerpt {
		height:100%!important;
	}
	.elementor-swiper-button.elementor-swiper-button-next {
		right: -15px!important;
		top: 50%!important;
	}
	.elementor-swiper-button.elementor-swiper-button-prev {
		left:-15px!important;
		top:50%!important;
	}
}

@media (max-width:1024px) {
	.hero-single::before, 
	.hero-single::after {
		display:none!important;
	} 
	   .domaines .elementor-icon-box-icon {
    margin-top:-65px;
}
}

@media (max-width:767px) {
	
.amelia-v2-booking #amelia-container .am-ecs__filters {

    flex-direction: column;
}

.amelia-v2-booking #amelia-container .am-ecs__filters-top,
#amelia-v2-booking-1000 #filtersMenu {
    width: 100%;
}
	.e-woocommerce-notices-wrapper li {flex-direction:column;}
	p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {font-size:2.4rem;}
	.e-my-account-tabs-vertical.elementor-widget-woocommerce-my-account {padding:16px;}
table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details * {
    font-size: 1.4rem !important;
}
	
	.woocommerce-MyAccount-content-wrapper {
		padding: 16px !important;}
	td.woocommerce-PaymentMethod.woocommerce-PaymentMethod--actions.payment-method-actions:before {
		display:none;
	}
	
	td.woocommerce-PaymentMethod.woocommerce-PaymentMethod--actions.payment-method-actions {
    flex-wrap: wrap;
    gap: 5px;
    display: flex;
    justify-content: center;
}
	.woocommerce-account div#payment.woocommerce-Payment {
    padding: 0 !important;
}
.elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .order_details, .elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-table--order-downloads {
    padding: 0px;
}
	
	td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    flex-wrap: wrap;
    justify-content: space-evenly;
}
	
	td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions::before {
    width: 100%;
    text-align: left;
}
	
	td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    margin-right: 5px;
}
	
	   .domaines .elementor-icon-box-icon {
    margin-top:-40px;
} 
	
	.archive .wpc-filters-main-wrap .wpc-filters-section:not(.wpc-filter-terms-count-0) ul.wpc-filters-labels {
    justify-content: flex-start;
    gap: 0 5px;
}
	.archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item {
    margin-bottom: 5px;
}
	.page-content a.caps-menu__link, .archive .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a {
    height: auto;
    width: auto;
    padding: 10px;
}
	
	.archive .wpc-filters-open-button-container a.wpc-filters-open-widget, .archive .wpc-filters-open-button-container a.wpc-open-close-filters-button {
    border-radius: 12px;
    background: #00A8A8;
    color: #fff;
    border-color: #00A8A8;
}
	.archive .wpc-icon-html-wrapper span {background:#fff}
	
	.archive span.wpc-icon-line-1:after, .archive span.wpc-icon-line-2:after, .archive span.wpc-icon-line-3:after {
    border: 1px solid #fff;
	}	
}