/* ══ Sidebar scroll global (toutes tailles d'écran) ══ */
.vertical_nav {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}
.vertical_nav::-webkit-scrollbar {
    width: 4px;
}
.vertical_nav::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}
.vertical_nav::-webkit-scrollbar-track {
    background: transparent;
}

/* ══ Admin/Organizer sidebar toggle (< 992px, hidden on desktop via d-lg-none) ══ */
@media (max-width: 991.98px) {
.toggle_menu {
    position: fixed !important;
    bottom: 20px;
    left: 16px;
    width: 48px !important;
    height: 48px !important;
    line-height: 48px;
    border-radius: 50%;
    background: #6ac045 !important;
    color: #fff;
    border: none !important;
    box-shadow: 0 4px 14px rgba(106,192,69,0.4);
    z-index: 1100;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0 !important;
    float: none !important;
}
.toggle_menu:active {
    transform: scale(0.92);
}
.toggle_menu i {
    font-size: 18px !important;
    color: #fff !important;
    background: transparent !important;
    width: auto !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.vertical_nav {
    left: -240px;
    transition: left 0.3s ease-out;
}
.vertical_nav__opened {
    left: 0 !important;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
}
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 990;
}
.sidebar-overlay.active {
    display: block;
}
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

/* ── Navbar: compact mobile layout ─────────────────────────────────────── */
.navbar.fixed-top {
    padding: 6px 0 !important;
    min-height: 56px;
}
.navbar .container {
    padding-left: 10px;
    padding-right: 10px;
}
.navbar-toggler {
    padding: 0;
    font-size: 20px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    margin-right: 8px;
}
.navbar-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.res-main-logo {
    display: flex;
}
.res-main-logo img {
    height: 36px;
}
.main-logo {
    display: none;
}

/* Right header: flex row, tight spacing */
/* Navbar right icons — force single row, never wrap */
.right-header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.right-header > ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}
.right-header ul li {
    margin: 0 !important;
}

/* ── UNIFIED NAVBAR ICONS — seul .nav-icon-btn controle les tailles ── */
.nav-icon-btn { width: 36px; height: 36px; font-size: 15px; }
.nav-icon-avatar { width: 36px; height: 36px; }
.account-link img { width: 36px; height: 36px; }
.navbar-toggler { width: 36px !important; height: 36px !important; }
.cart-badge {
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    top: 0px;
    right: -2px;
}
.arrow-icon {
    margin-left: 2px;
    font-size: 10px;
}
/* Sign in btn: icon only on mobile */
.create-btn {
    padding: 0 8px;
    height: 36px;
    font-size: 14px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.create-btn span {
    display: none;
}
.create-btn i {
    margin-right: 0;
}
.navbar-nav .nav-link {
    padding: 12px 25px 12px 20px !important;
	font-size: 1.1em;
}

.navbar-nav .nav-link:hover {
	color: #6ac045 !important;
	background-color: #e8f7f7;
}

.offcanvas-header {
    border: 1px solid #efefef;
}

.offcanvas-logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.offcanvas-body {
    padding: 0 0 1rem !important;
}

.pe_5 {
    padding-right: 0 !important;
}

.navbar-nav .dropdown-menu {
    position: static;
	border: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0 20px !important;
}

.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 18px;
	padding: 0.6rem 1rem !important;
	color: #000;
}

.dropdown-submenu .dropdown-item:hover {
	color: #6ac045 !important;
	background-color: transparent !important;
}

.navbar-nav .dropdown-menu .dropdown-item::before {
    content:'\f068';
	font-family:'Font Awesome 6 Free';
	font-weight: 600;
	font-size: 16px;
    margin-right: 10px;
}

.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    float: right;
    margin-top: 10px;
}

.submenu-item:after {
    content: '\f0dd';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    font-size: 12px;
	padding-right: 10px;
}

.offcanvas-top-area {
    display: block;
	padding: 0 0 20px;
	text-align: center;
}

.create-bg {
    background-color: #f1f2f3;
    border-radius: 0;
    padding: 30px;
}

.dropdown-submenu {
    width: 100%;
}

.hero-banner-content h2 {
    font-size: 24px;
    line-height: 34px;
}

.hero-banner-content p {
    padding: 0;
}

.easy-steps-tab .nav {
    display: block;
	width: 100%;
}

.step-link {
    width: 100%;
}

.main-title h3 {
    font-size: 24px;
	line-height: 42px;
}

.p-80 {
    padding: 20px 0 40px;
}

.app-form-sidebar {
    display: none;
}

.sign-logo {
	display: block;
}

.app-top-right-link {
    display: none;
}

.app-top-items {
    display: block;
    width: 100%;
    text-align: center;
}

.registration-title {
    text-align: center;
}

.event-top-date {
	display: none;
}

.event-top-dt {
	margin-left: 0;
}

.event-main-title {
    font-size: 24px;
}

.event-type-name {
    font-size: 14px;
}

.countdown-item {
    padding: 10px 0;
}

.user-right-dt {
    margin-top: 40px;
}

.tab-link {
    width: 100%;
}

.custom-tabs .tab-link.active, .tab-tabs .show>.tab-link {
    color: #fff;
    background-color: #6ac045;
    border-bottom: 2px solid #6ac045;
    border-radius: 3px;
}

.custom-tabs .tab-link.active:hover {
    color: #fff;
    background-color: #6ac045;
	border-bottom: 2px solid #6ac045;
}

.custom-tabs .tab-link:hover {
	color: #6ac045;
    background-color: #fff;
	border-bottom: 2px solid transparent;
}

.card-top {
    display: block;
    width: 100%;
}

.card-event-img {
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    margin-right: 0;
}

.event-top .card-event-img {
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    margin-right: 0;
}

.card-bottom-item {
    width: 50%;
}

.card-bottom-item {
    display: block;
    padding: 20px;
    text-align: center;
}

.card-dt-text {
    margin-left: 0;
}

.card-icon i {
    margin-bottom: 15px;
}

.my-event-tabs {
    display: block;
}

.event-link {
    width: 100%;
    border-bottom: none;
}

.my-event-tabs .event-link.active, .my-event-tabs .show>.event-link {
    color: #fff !important;
    background-color: #6ac045 !important;
    border-bottom: none !important;
}

.my-event-tabs .event-link.active span, .my-event-tabs .show>.event-link span {
    color: #fff !important;
}

.my-event-tabs .event-link.active .event-count, .my-event-tabs .show>.event-link .event-count {
    color: #fff !important;
	background: #7fdb57 !important;
}

.event-link {
    padding: 1.5rem !important;
}

.user-follow-card {
    display: block;
}

.follow-card-btn {
    margin-left: 77px;
}

.add-organisation-card {
    display: block;
    text-align: center;
    padding: 1.25rem 1rem !important;
}

.ocard-left {
    display: block;
}

.ocard-avatar {
    display: inline-block;
    margin: 0;
}

.ocard-name {
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Paris badge centered on mobile */
.ocard-right {
    justify-content: center;
}
.ocard-right .co-main-btn {
    padding: 6px 14px !important;
    font-size: 13px;
    min-width: auto !important;
    min-height: auto !important;
    display: inline-flex;
    align-items: center;
    border-radius: 20px;
}

/* KPI cards: better internal spacing */
.dashboard-report-content {
    padding: 0 0.5rem;
}
.dashboard-report-card {
    padding: 14px 16px !important;
    border-radius: 10px !important;
    margin-bottom: 10px;
}
.dashboard-report-card .card-content .card-title {
    font-size: 11px !important;
}
.dashboard-report-card .card-content .card-sub-title {
    font-size: 1.4rem !important;
}
.dashboard-report-card .card-media {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 18px;
}

/* Reduce excessive whitespace on org card mt-5 */
.add-organisation-card.mt-5 {
    margin-top: 1rem !important;
}

/* KPI main-card reduce top margin */
.dashboard-wrap-content {
    padding: 12px 0 0;
}

.rs {
    margin-top: 27px;
}

.custom2-tabs .tab-link {
    width: 100%;
    display: block;
    margin: 0 0 5px 0 !important;
}

.relative-input .form-control {
    width: 100%;
}

.event-list .event-top .dropdown {
    position: absolute;
    right: 26px;
    top: 26px;
}

.option-btn {
    color: rgba(255,255,255,.7);
}

.option-btn:hover {
    color: rgba(255,255,255,1);
	border: 1px solid #fff;
}

.contact-list .top .icon-box {
    min-width: 100%;
    margin-bottom: 15px;
}

.contact-list .bottom .icon-box {
    min-width: 200px;
    margin-bottom: 30px;
}

.rmt_4 {
	margin-top: 5px;
}

.tracking-tab .nav-tabs .nav-item {
    margin-bottom: 10px;
    width: 100%;
}

.organisation-profile {
    max-width: 100%;
    min-width: 100%;
}

.profile-edit-btn {
    right: 20px;
}

.upgrade-content .upgrade-premium-center {
	max-width: 100%;
}

.upgrade-banner img {
	height: auto;
}

.brn-checkbox-radio {
    padding-left: 30px;
}

.br-checkbox {
    position: absolute;
    left: 0px;
}

.input-content {
    padding-left: 30px;
}

.price-ticket-card-head .top-name .icon-box {
    min-width: 100%;
    margin-bottom: 15px;
}

.price-ticket-card .price-ticket-card-body .icon-box {
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
}

.price-ticket-card .price-ticket-card-body .icon-box:last-child {
    margin-bottom: 0;
}

.sell-calculate-banner-bg {
    max-width: 100%;
}

.flex-slide {
    display: block;
}

.flex-slide .left {
    flex: 0 1 100%;
}

.blog-img-card img {
    width: 100%;
    max-height: 250px;
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
}

.flex-slide .right {
    padding: 1.5rem;
}

.flex-slide .right .blog--title {
    font-size: 18px;
    margin-bottom: 15px;
}

.blog-block .right .post-meta span {
	font-size: 14px;
}

.blog-block .right p {
	font-size: 14px;
}

.prev_title {
    max-width: 100px !important;
}

.communities-item {
	height: auto;
}

.easy-step {
    height: auto;
}

.coming-soon-content h2 {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 0;
}

.coming-soon-content #timer div {
    width: 75px;
    height: 75px;
    font-size: 24px;
    margin-bottom: 10px;
	margin-left: 5px;
	margin-right: 5px;
}

.coming-soon-content {
    padding: 37px 20px;
}

.error-404-content p {
    padding: 0 0;
}

.calculate-top {
    padding: 5px 20px 20px;
}

.blog-img-card img {
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* ── Event cards: grille 2 colonnes sur mobile ── */
#eventGrid {
    margin-left: -6px;
    margin-right: -6px;
}
#eventGrid > [class*="col-"] {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 6px;
    padding-right: 6px;
}
#eventGrid > [class*="col-"] > .main-card {
    margin-top: 10px !important;
}
.main-card {
    position: relative;
    z-index: 0;
    isolation: isolate;
    border-radius: 10px;
}
.bookmark-icon {
    z-index: 2;
    width: 26px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    right: 6px;
    top: 6px;
}
.event-thumbnail a img {
    aspect-ratio: 3 / 2;
    height: auto;
}
.event-content {
    padding: 8px 10px 6px;
}
.event-content > .event-title {
    font-size: 12.5px;
    line-height: 1.25;
    min-height: 31px;
    max-height: 31px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 4px;
}
.event-type-badge {
    font-size: 9px;
    padding: 1px 6px;
    margin-bottom: 2px;
}
.event-meta {
    margin-top: 6px;
    padding-top: 6px;
}
.duration-price-remaining {
    margin-top: 3px !important;
}
.duration-price {
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}
.remaining-price {
    font-size: 10.5px;
    font-weight: 600;
}
.event-footer {
    padding: 6px 10px;
}
.event-footer .publish-date {
    font-size: 11px;
}
.event-footer .publish-date .dot {
    font-size: 3px;
    margin: 0 3px;
}
.music-style-tags {
    gap: 3px;
    padding-top: 0 !important;
    min-height: 22px;
    max-height: 22px;
    overflow: hidden;
    flex-wrap: nowrap;
    position: relative;
    align-items: center;
    -webkit-mask-image: linear-gradient(to right, #000 75%, transparent 100%);
    mask-image: linear-gradient(to right, #000 75%, transparent 100%);
}
.music-tag {
    font-size: 8.5px;
    padding: 2px 6px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    height: 18px;
}

/* ── Storefront products: grille 2 colonnes sur mobile ── */
.storefront-section .row .row {
    margin-left: -6px;
    margin-right: -6px;
}
.storefront-section .row .row > [class*="col-"] {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 6px;
    padding-right: 6px;
}
.storefront-section .row .row > [class*="col-"] > .product-card-link > .product-card {
    margin-top: 10px !important;
}
.product-img {
    height: 110px;
}
.product-info {
    padding: 8px 10px;
}
.product-name {
    font-size: 12px;
    line-height: 1.25;
    margin-bottom: 2px;
}
.product-desc {
    font-size: 10px;
    line-height: 1.3;
    margin-bottom: 4px;
    -webkit-line-clamp: 1;
}
.product-meta {
    margin-bottom: 0;
}
.product-rating {
    font-size: 9px;
}
.product-rating i {
    font-size: 9px;
}
.product-price {
    font-size: 12px;
}
.product-cta {
    display: none;
}
.storefront-section {
    padding: 40px 0 !important;
}
.storefront-section .section-title {
    font-size: 20px;
}

/* ── Fix 1 : Bouton achat/tickets visible et cliquable sur mobile ── */
.select-tickets-block {
    padding: 0 10px 20px;
}

.booking-btn {
    padding: 0 10px 15px;
}

.booking-btn .main-btn,
.booking-btn .booking-btn,
#add-to-cart-btn,
.select-tickets-block .main-btn {
    min-height: 48px;
    font-size: 16px;
    width: 100%;
    display: block;
    text-align: center;
}

/* ── Fix 2 : Empêcher chevauchement des sections event detail ── */
.event-dt-right-group {
    padding: 0 10px;
    margin-bottom: 20px;
}

.event-right-dt {
    margin-top: 15px;
}

.event-about-section,
.event-about-card {
    margin-bottom: 15px;
}

.main-event-dt {
    margin-top: 20px;
    padding: 0 10px;
}

.event-dt-block {
    padding: 30px 0 40px;
}

.main-card {
    margin-bottom: 15px;
}

/* ── Fix 3 : Dashboard organisateur — sidebar off-canvas sur mobile ── */
.wrapper-body {
    margin-left: 0 !important;
    padding: 10px 15px;
}

/* ── Dashboard title spacing ── */
.d-main-title {
    padding-top: 14px;
    margin-bottom: 6px;
}
.d-main-title h3 {
    font-size: 20px;
}

/* Phase 11 — Toast notification responsive (evite overflow sur petits ecrans) */
.movetan-toast {
    left: 16px;
    right: 16px;
    min-width: auto;
    max-width: none;
}

}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {

/* Navbar unified icon sizes */
.nav-icon-btn { width: 38px; height: 38px; font-size: 16px; }
.nav-icon-avatar { width: 38px; height: 38px; }
.account-link img { width: 36px; height: 36px; }

/* Phase 11 — organisation-profile min-width fix (aussi couvert en <576px) */
.organisation-profile {
    max-width: 100%;
    min-width: 100%;
}

/* Fix navbar spacing — prevent elements from colliding */
.right-header > ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.right-header > ul > li {
    margin: 0 !important;
}
/* Caret arrow: smaller + closer to avatar, not overlapping next element */
.arrow-icon {
    margin-left: 2px;
    font-size: 10px;
}
.res-main-logo {
    display: flex;
}

.res-main-logo img {
    height: 40px;
}

.main-logo {
    display: none;
}

.create-btn {
	padding: 5px 15px;
}

/* Bug 3 fix : bouton "Créer événement" en icon-only (pas display:none) */
a.create-btn[href="/create"] {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border-radius: 6px;
}
a.create-btn[href="/create"] span {
	display: none;
}
a.create-btn[href="/create"] i {
	margin-right: 0;
}

/* Bug 1 fix : bouton Connexion visible en icon-only */
a.create-btn[href="/sign_in"] {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border-radius: 6px;
}
a.create-btn[href="/sign_in"] span {
	display: none;
}
a.create-btn[href="/sign_in"] i {
	margin-right: 0;
	font-size: 14px;
}

/* Les autres .create-btn — span caché par défaut */
.create-btn span {
    display: none;
}

.create-btn i {
    margin-right: 0;
}

/* Bug 2 fix : Langue — toujours montrer le texte FR/EN */
.create-btn.lang-btn {
    display: inline-flex !important;
    min-width: 34px;
    padding: 0 8px;
    height: 34px;
}
.create-btn.lang-btn span {
    display: inline !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    padding: 12px 25px 12px 20px !important;
	font-size: 1.1em;
}

.navbar-nav .nav-link:hover {
	color: #6ac045 !important;
	background-color: #e8f7f7;
}

.pe_5 {
    padding-right: 0 !important;
}

.offcanvas-header {
    border: 1px solid #efefef;
}

.offcanvas-logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.offcanvas-body {
    padding: 0 0 1rem !important;
}

.navbar-nav .dropdown-menu {
    position: static;
	border: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0 20px !important;
}

.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 18px;
	padding: 0.6rem 1rem !important;
	color: #000;
}

.dropdown-submenu .dropdown-item:hover, .dropdown-submenu .dropdown-item:focus {
	color: #6ac045 !important;
	background-color: transparent !important;
}

.navbar-nav .dropdown-menu .dropdown-item::before {
    content:'\f068';
	font-family:'Font Awesome 6 Free';
	font-weight: 600;
	font-size: 16px;
    margin-right: 10px;
}

.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    float: right;
    margin-top: 10px;
}

.submenu-item:after {
    content: '\f0dd';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    font-size: 12px;
	padding-right: 10px;
}

.offcanvas-top-area {
    display: block;
	padding: 0 0 20px;
	text-align: center;
}

.create-bg {
    background-color: #f1f2f3;
    border-radius: 0;
    padding: 30px;
}

.dropdown-submenu {
    width: 100%;
}

.hero-banner-content h2 {
    font-size: 24px;
    line-height: 34px;
}

.hero-banner-content p {
    padding: 0;
}

.easy-steps-tab .nav {
    display: block;
	width: 100%;
}

.step-link {
    width: 100%;
}

.main-title h3 {
    font-size: 24px;
	line-height: 42px;
}

.p-80 {
    padding: 20px 0 40px;
}

.app-form-sidebar {
    display: none;
}

.sign-logo {
	display: block;
}

.app-top-right-link {
    display: none;
}

.app-top-items {
    display: block;
    width: 100%;
    text-align: center;
}

.registration-title {
    text-align: center;
}

.contact-list .bottom .icon-box {
    min-width: 270px;
    margin-bottom: 30px;
}

.event-top-date {
	display: none;
}

.event-top-dt {
	margin-left: 0;
}

.event-main-title {
    font-size: 24px;
}

.event-type-name {
    font-size: 14px;
}

.user-right-dt {
    margin-top: 40px;
}

.tab-link {
    width: 100%;
}

.custom-tabs .tab-link.active, .tab-tabs .show>.tab-link {
    color: #fff;
    background-color: #6ac045;
    border-bottom: 2px solid #6ac045;
    border-radius: 3px;
}

.custom-tabs .tab-link.active:hover {
    color: #fff;
    background-color: #6ac045;
	border-bottom: 2px solid #6ac045;
}

.custom-tabs .tab-link:hover {
	color: #6ac045;
    background-color: #fff;
	border-bottom: 2px solid transparent;
}

.avatar-img-btn {
    left: 60%;
}

.card-top {
    display: block;
    width: 100%;
}

.card-event-img {
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    margin-right: 0;
}

.card-bottom-item {
    width: 50%;
}

.card-bottom-item {
    display: block;
    padding: 20px;
    text-align: center;
}

.card-dt-text {
    margin-left: 0;
}

.card-icon i {
    margin-bottom: 15px;
}

.custom2-tabs .tab-link {
    display: block;
    margin: 0 5px 5px 0 !important;
}

.mt_r4 {
	margin-top: 1.5rem;
}

.relative-input .form-control {
    width: 100%;
}

.event-top .card-event-img {
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    margin-right: 0;
}

.event-list .event-top .dropdown {
    position: absolute;
    right: 26px;
    top: 26px;
}

.option-btn {
    color: #fff;
}

.rmt_4 {
	margin-top: 5px;
}

.upgrade-banner img {
	height: auto;
}

.brn-checkbox-radio {
    padding-left: 30px;
}

.br-checkbox {
    position: absolute;
    left: 0px;
}

.input-content {
    padding-left: 30px;
}

.price-ticket-card-head .top-name .icon-box {
    min-width: 100%;
    margin-bottom: 15px;
}

.price-ticket-card .price-ticket-card-body .icon-box {
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
}

.price-ticket-card .price-ticket-card-body .icon-box:last-child {
    margin-bottom: 0;
}

.sell-calculate-banner-bg {
    max-width: 100%;
}

.flex-slide {
    display: block;
}

.flex-slide .left {
    flex: 0 1 100%;
}

.blog-img-card img {
    width: 100%;
    max-height: 250px;
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
}

.flex-slide .right {
    padding: 1.5rem;
}

.flex-slide .right .blog--title {
    font-size: 18px;
    margin-bottom: 15px;
}


.blog-block .right .post-meta span {
	font-size: 14px;
}

.blog-block .right p {
	font-size: 14px;
}

.prev_title {
    max-width: 100px !important;
}

.communities-item {
	height: auto;
}

.easy-step {
    height: auto;
}

.coming-soon-content h2 {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 0;
}

.coming-soon-content #timer div {
    width: 75px;
    height: 75px;
    font-size: 24px;
    margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
}

.coming-soon-content {
    padding: 37px 30px;
}

.error-404-content p {
    padding: 0 0;
}

.calculate-top {
    padding: 5px 20px 20px;
}

.blog-img-card img {
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* ── Fix responsive : ticket button + dashboard sidebar (576-767px) ── */
.select-tickets-block {
    padding: 0 15px 25px;
}

.booking-btn .main-btn,
#add-to-cart-btn {
    min-height: 44px;
    width: 100%;
}

.wrapper-body {
    margin-left: 0 !important;
    padding: 10px 15px;
}

/* Dashboard title spacing (576-767) */
.d-main-title {
    padding-top: 14px;
    margin-bottom: 6px;
}

.add-organisation-card.mt-5 {
    margin-top: 1.5rem !important;
}

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {

/* Navbar unified icon sizes */
.nav-icon-btn { width: 38px; height: 38px; font-size: 16px; }
.nav-icon-avatar { width: 38px; height: 38px; }
.account-link img { width: 36px; height: 36px; }

/* Bug 5 fix : styles tablette dédiés — navbar complète */
.res-main-logo {
    display: flex;
}
.res-main-logo img {
    height: 42px;
}
.main-logo {
    display: none;
}
.right-header > ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.right-header > ul > li {
    margin: 0 !important;
}
.create-btn {
    height: 36px;
    min-width: 36px;
    font-size: 13px;
    padding: 0 10px;
}
/* Bug 3 fix : bouton Créer événement visible en icon-only sur tablette */
a.create-btn[href="/create"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
}
a.create-btn[href="/create"] span {
    display: none;
}
a.create-btn[href="/create"] i {
    margin-right: 0;
}
/* Bug 1 fix : bouton Connexion visible en icon-only sur tablette */
a.create-btn[href="/sign_in"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
}
a.create-btn[href="/sign_in"] span {
    display: none;
}
a.create-btn[href="/sign_in"] i {
    margin-right: 0;
    font-size: 14px;
}
/* Cacher les spans des autres .create-btn par défaut */
.create-btn span {
    display: none;
}
.create-btn i {
    margin-right: 0;
}
/* Bug 2 fix : Langue — toujours montrer le texte FR/EN sur tablette */
.create-btn.lang-btn {
    display: inline-flex !important;
    min-width: 36px;
    padding: 0 10px;
    height: 36px;
}
.create-btn.lang-btn span {
    display: inline !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    padding: 12px 25px 12px 20px !important;
	font-size: 1.1em;
}

.navbar-nav .nav-link:hover {
	color: #6ac045 !important;
	background-color: #e8f7f7;
}

.pe_5 {
    padding-right: 0 !important;
}

.offcanvas-header {
    border: 1px solid #efefef;
}

.offcanvas-logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.offcanvas-body {
    padding: 0 0 1rem !important;
}

.navbar-nav .dropdown-menu {
    position: static;
	border: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0 20px !important;
}

.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 18px;
	padding: 0.6rem 1rem !important;
	color: #000;
}

.dropdown-submenu .dropdown-item:hover, .dropdown-submenu .dropdown-item:focus {
	color: #6ac045 !important;
	background-color: transparent !important;
}

.navbar-nav .dropdown-menu .dropdown-item::before {
    content:'\f068';
	font-family:'Font Awesome 6 Free';
	font-weight: 600;
	font-size: 16px;
    margin-right: 10px;
}

.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    float: right;
    margin-top: 10px;
}

.submenu-item:after {
    content: '\f0dd';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    font-size: 12px;
	padding-right: 10px;
}

.offcanvas-top-area {
    display: block;
	padding: 0 0 20px;
	text-align: center;
}

.create-bg {
    background-color: #f1f2f3;
    border-radius: 0;
    padding: 30px;
}

.dropdown-submenu {
    width: 100%;
}

.hero-banner-content h2 {
    font-size: 30px;
    line-height: 42px;
}


.easy-steps-tab .nav {

	width: 100%;
}

.step-link {
    width: 50%;
}

.step-link:first-child {
	border-left: 1px solid #efefef;
	border-right: 1px solid #efefef;
	border-top: 1px solid #efefef;
}

.step-link:last-child {
	border-left: 1px solid #efefef;
	border-right: 1px solid #efefef;
}

.step-link:nth-child(2) {
	border-right: 1px solid #efefef;
	border-top: 1px solid #efefef;
}

.step-link:nth-child(3) {
	border-left: 1px solid #efefef;
}

.feature-step-link:nth-child(4) {
	border-right: 1px solid #efefef;
	border-left: 1px solid #efefef;
}

.bg-dark .step-link:first-child {
	border-left: 1px solid #52565b;
	border-right: 1px solid #52565b;
	border-top: 1px solid #52565b;
}

.bg-dark .step-link:last-child {
	border-left: 1px solid #52565b;
	border-right: 1px solid #52565b;
}

.bg-dark .step-link:nth-child(2) {
	border-right: 1px solid #52565b;
	border-top: 1px solid #52565b;
}

.bg-dark .step-link:nth-child(3) {
	border-left: 1px solid #52565b;
}

.app-form-sidebar {
    display: none;
}

.sign-logo {
	display: block;
}

.app-top-right-link {
    display: none;
}

.app-top-items {
    display: block;
    width: 100%;
    text-align: center;
}

.registration-title {
    text-align: center;
}

.user-right-dt {
    margin-top: 40px;
}

.avatar-img-btn {
    left: 57%;
}

.card-bottom-item {
    width: 50%;
}

.card-bottom-item {
    display: block;
    padding: 20px;
    text-align: center;
}

.card-dt-text {
    margin-left: 0;
}

.card-icon i {
    margin-bottom: 15px;
}

.subscription-item {
    height: 205px;
}

.brn-checkbox-radio {
    padding-left: 30px;
}

.br-checkbox {
    position: absolute;
    left: 0px;
}

.input-content {
    padding-left: 30px;
}

.sell-calculate-banner-bg {
    max-width: 100%;
}

.flex-slide .left {
    flex: 0 1 40%;
}

.blog-img-card img {
    width: 100%;
    max-height: 600px;
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
}

.flex-slide .right {
    padding: 1.5rem;
}

.communities-item {
    height: auto;
    display: flex;
	align-items: stretch;
    transition: 300ms;
    position: relative;
}

.communities-img {
	flex: 0 1 40%;
    padding: 10px 10px 10px;
}

.communities-img img {
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
    height: 100%;
}

.communities-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
}

.easy-step {
    height: auto;
}

.error-404-content p {
    padding: 0 0;
}

.kb-card {
    display: block;
    height: 190px;
}

/* ── Fix responsive : dashboard sidebar (768-991px) ── */
.wrapper-body {
    margin-left: 0 !important;
    padding: 10px 15px;
}

/* Dashboard title spacing (768-991) */
.d-main-title {
    padding-top: 14px;
    margin-bottom: 6px;
}

.add-organisation-card.mt-5 {
    margin-top: 1.5rem !important;
}

.dashboard-report-content {
    padding: 0 0.5rem;
}

/* Fix KPI card overflow — remove main-card border/shadow for KPI containers */
.kpi-section {
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
.kpi-section:hover {
    transform: none !important;
    box-shadow: none !important;
}

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {

/* Bug 4 fix : logo fluide à 992px — même hauteur lion que tablette */
.main-logo img {
    height: 40px;
}
.logo-text,
.logo-text-inverse {
    font-size: 20px;
}

.navbar-expand-lg .offcanvas-footer {
    display: none;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.2rem !important;
    padding-left: 1.2rem !important;
}

/* Bug C fix : alignement vertical de tous les boutons droits */
.right-header > ul {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.right-header > ul > li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.create-btn {
    padding: 0;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.create-btn span {
    display: none;
}

.create-btn i {
    margin-right: 0;
}

/* Bug 2 fix : Langue — toujours montrer le texte FR/EN en 992-1199px */
.create-btn.lang-btn {
    height: 40px;
    width: auto;
    border-radius: 3px;
    display: inline-flex !important;
    align-items: center;
    padding: 0 14px;
}
.create-btn.lang-btn span {
    display: inline !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* night_mode + account-link img : herite de .nav-icon-btn (40px dans style.css) */

.app-form-sidebar {
    display: none;
}

.sign-logo {
	display: block;
}

.new-sign-link {
    display: none;
}

.card-bottom-item {
    width: 50%;
}

.card-bottom-item {
    display: block;
    padding: 20px;
    text-align: center;
}

.card-dt-text {
    margin-left: 0;
}

.card-icon i {
    margin-bottom: 15px;
}

.subscription-item {
    height: 230px;
}

.brn-checkbox-radio {
    padding-left: 30px;
}

.br-checkbox {
    position: absolute;
    left: 0px;
}

.input-content {
    padding-left: 30px;
}

.flex-slide .right {
    padding: 1.5rem;
}

.kb-card {
    display: block;
    height: 190px;
}
}

/* Extra large devices (large desktops, 1200px and up) */
 @media (min-width: 1200px) {

.navbar-expand-lg .offcanvas-footer {
    display: none;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.2rem !important;
    padding-left: 1.2rem !important;
}

/* Bug 3 fix : montrer le texte du bouton Créer événement en XL */
.create-btn span {
    display: inline !important;
}
.create-btn i {
    margin-right: 6px;
}

.new-sign-link {
    display: none;
}

.pe_right {
	padding-right: 150px;
}

.ticket-instructions-content {
    padding-left: 55px;
}

.kb-card {
    display: block;
    height: 190px;
}
}

/* desktop view */
@media all and (min-width: 992px) {

.dropdown-menu li{
	position: relative;
}

.dropdown-menu .submenu{ 
	display: none;
	position: absolute;
	left:100%; top:-7px;
}

.dropdown-menu .submenu-left{ 
	right:100%; left:auto;
}

.dropdown-menu > li:hover > .submenu{
	display: block;
}
}

/* ── Mobile navbar responsive fixes (< 992px) ── */
@media (max-width: 991.98px) {
  .navbar > .container {
    flex-wrap: nowrap;
  }
  .right-header {
    display: flex;
    align-items: center;
  }
  .right-header > ul {
    display: flex;
    flex-wrap: nowrap;
  }
  /* Logos: mobile = lion seul, desktop = lion + texte */
  .res-main-logo {
    display: inline-block;
  }
  .main-logo {
    display: none;
  }
  /* Boutons: icon-only sous 992px (sauf lang) */
  .right-header .create-btn:not(.lang-btn) span {
    display: none;
  }
  /* Lang: toujours afficher le texte FR/EN */
  .create-btn.lang-btn span {
    display: inline !important;
  }
  .navbar-toggler {
    padding: 0;
    margin-right: 4px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   ZEN FILTER SYSTEM — Responsive
   ========================================================================== */

/* Tablet (< 992px) */
@media (max-width: 991.98px) {
  .zen-smart-tabs {
    gap: 2px;
    padding: 3px;
  }
  .zen-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  .zen-event-name {
    max-width: 260px;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
  /* Filter bar: search full width, then buttons wrap as 2-column grid */
  .zen-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
  }
  .zen-search-wrap {
    width: 100%;
    flex: none;
    min-width: auto;
  }
  .zen-filter-divider { display: none !important; }

  /* 5 filter buttons → 2-column grid below search */
  .zen-filter-toggle-btn {
    flex: 1 1 calc(50% - 4px);
    min-width: calc(50% - 4px);
    max-width: calc(50% - 4px);
    justify-content: center;
    font-size: 12px;
    padding: 9px 10px;
  }

  /* Inline panels: full width, no rounding bottom */
  .zen-inline-panel {
    border-radius: 10px;
  }

  /* Radio cards: 2 per row */
  .zen-inline-options-row {
    flex-wrap: wrap;
  }
  .zen-radio-card {
    flex: 1 1 calc(50% - 4px);
  }
  .zen-radio-card-body {
    padding: 8px 12px;
    font-size: 12px;
    justify-content: center;
  }

  /* Event cards */
  .zen-card-img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 8px;
  }

  .zen-card-footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 10px 12px;
  }

  .zen-event-name {
    max-width: 180px;
    font-size: 14px;
  }

  .zen-music-tags {
    max-width: 200px;
    overflow: hidden;
  }

  .zen-active-filters {
    flex-wrap: wrap;
  }
  .zen-chip-label { display: none; }
  .zen-clear-all { margin-left: 0; width: 100%; text-align: center; margin-top: 4px; }
}

/* Small mobile (< 576px) */
@media (max-width: 575.98px) {
  /* Smart Tabs: wrap on 2 lines, all labels visible */
  .zen-smart-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 4px;
    padding: 4px;
  }
  .zen-tab {
    padding: 8px 12px;
    font-size: 12px;
    flex: 0 1 auto;
  }
  /* All labels stay visible — no hiding */
  .zen-tab-label {
    display: inline !important;
  }
  .zen-tab-count {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }
  /* P11-10/13 — view-all-link mobile */
  .shop-section .main-title,
  .more-events-section .main-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .shop-section .view-all-link,
  .more-events-section .view-all-link {
    position: static;
    align-self: flex-start;
    font-size: 14px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   LANDSCAPE MOBILE — Fixes for short viewport height (dvh = barre URL exclue)
   Targets: phones in landscape orientation where viewport height < 500px
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-height: 488px) and (orientation: landscape) {

    /* ── Navbar compacte paysage — hauteur reduite ── */
    .nav-icon-btn { width: 34px; height: 34px; font-size: 14px; }
    .nav-icon-avatar { width: 34px; height: 34px; }
    .account-link img { width: 34px; height: 34px; }
    .right-header > ul { gap: 8px; }
    .navbar-toggler { width: 34px !important; height: 34px !important; }
    .navbar.fixed-top { min-height: 44px; padding: 2px 0 !important; }
    .res-main-logo img { height: 30px; }

    /* ── Dropdown profil navbar — scrollable ── */
    .dropdown-menu-account {
        max-height: calc(100vh - 70px);  /* fallback */
        max-height: calc(100dvh - 70px); /* iOS Safari real height */
        overflow-y: auto;
        padding-bottom: 10px !important;
    }
    .dropdown-account-header {
        padding: 10px;
    }
    .account-holder-avatar img {
        width: 40px;
        height: 40px;
    }
    .dropdown-account-header h5 {
        font-size: 14px;
        margin-top: 6px;
        margin-bottom: 2px;
    }
    .dropdown-account-header p {
        font-size: 11px;
    }

    /* ── Dropdown Aide navbar — scrollable ── */
    .dropdown-submenu {
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
    }

    /* ── Offcanvas menu — hide social footer, maximize nav space ── */
    .offcanvas-footer {
        display: none !important;
    }
    .offcanvas-body {
        max-height: calc(100vh - 60px);
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
    }

    /* ── Modales — scrollable et compactes ── */
    .modal-dialog {
        margin: 5px auto;
    }
    .modal-body {
        max-height: calc(100vh - 120px);
        max-height: calc(100dvh - 120px);
        overflow-y: auto;
    }
    .modal-dialog-centered {
        min-height: auto;
    }

    /* ── Zen Filter System — compact tabs ── */
    .zen-smart-tabs {
        gap: 2px;
        padding: 2px;
    }
    .zen-tab {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* ── Padding global réduit ── */
    .p-80 {
        padding: 20px 0;
    }

    /* ── Breadcrumb compact ── */
    .breadcrumb-block {
        padding: 10px 0 !important;
        min-height: auto !important;
    }

    /* ── Navbar — compact spacing in landscape ── */
    .right-header > ul {
        gap: 8px;
    }
    .arrow-icon {
        margin-left: 2px;
        font-size: 10px;
    }
    .account-link img {
        width: 34px !important;
        height: 34px !important;
    }

    /* ── Page scan — masquer breadcrumb pour max d'espace caméra ── */
    body.scan-page .breadcrumb-block {
        display: none;
    }

    /* ── Dashboard sidebar — overlay compact ── */
    .wrapper-body {
        padding: 5px 10px;
    }

    /* ── Cards + listes — espacement réduit ── */
    .main-card {
        margin-bottom: 8px;
    }
    .mt-3 {
        margin-top: 0.5rem !important;
    }
}

/* ══ Bloc 2a : Tablette paysage — 768-991px largeur, paysage ═════════ */
/* Le navbar est encore en offcanvas (< 992px) mais on a la largeur    */
/* pour afficher le logo texte et grossir les éléments                 */
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: landscape) {
    .res-main-logo {
        display: none !important;
    }
    .main-logo {
        display: flex !important;
        align-items: center;
    }
    .main-logo img {
        height: 36px;
    }
    .main-logo .logo-text,
    .main-logo .logo-text-inverse {
        font-size: 18px !important;
    }
    .create-btn.lang-btn {
        margin-left: 6px;
    }
}

/* ══ Bloc 2b : Layout optimisé paysage — phones ≥ 667px ═════════════ */
/* Logo texte, 3 colonnes events/boutique, espacement navbar           */
@media (min-width: 667px) and (max-height: 500px) and (orientation: landscape) {

    /* ── Navbar : afficher le texte "Movétan" ── */
    .res-main-logo {
        display: none !important;
    }
    .main-logo {
        display: flex !important;
        align-items: center;
    }
    .main-logo img {
        height: 32px;
    }
    .main-logo .logo-text,
    .main-logo .logo-text-inverse {
        font-size: 16px !important;
    }

    .create-btn.lang-btn {
        margin-left: 6px;
    }

    /* ── Events : 3 colonnes en paysage ── */
    #eventGrid > .col-sm-12 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }

    /* ── Boutique : 3 colonnes en paysage ── */
    #storefrontGrid > .col-sm-6 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }

    /* ── Container pleine largeur en paysage (pas de max-width restrictif) ── */
    .container {
        max-width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* ── Event cards : format 3:2 en paysage ── */
    .event-thumbnail img {
        aspect-ratio: 3 / 2;
        height: auto;
        width: 100%;
        object-fit: cover;
    }
    .product-img img {
        aspect-ratio: 3 / 2;
        height: auto;
        width: 100%;
        object-fit: cover;
    }
}

/* ══ Phase 10a fixes ══ */

/* FIX2 — Profile tabs horizontally scrollable on mobile */
@media (max-width: 575.98px) {
    .profile-tabs .nav-pills.garren-line-tab,
    .profile-tabs .nav.nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .profile-tabs .nav-pills::-webkit-scrollbar { display: none; }
    .profile-tabs .nav-link {
        white-space: nowrap;
        font-size: 12px;
        padding: 8px 12px;
    }

    /* FIX9 — Email verify banner overflow 320px */
    .email-verify-banner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 12px;
        font-size: 13px;
    }
    .email-verify-banner .btn {
        font-size: 12px;
        padding: 4px 10px;
    }

    /* FIX14 — Auth form padding on mobile */
    .app-form-content {
        padding: 30px 15px;
    }
}

/* FIX10 — Stepper connectors hidden on very small screens */
@media (max-width: 400px) {
    .step-connector { display: none; }
    .step-item { margin-bottom: 8px; }
}

/* Blog articles 2 columns from 745px (mobile landscape S25 Ultra) */
@media (min-width: 745px) and (max-width: 767.98px) {
    .blog-highlight-slider .item,
    .row > [class*="col-md-6"][class*="col-lg-4"],
    .row > [class*="col-xl-3"][class*="col-md-6"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}