/* Nouveau menu mobile responsive */
.mobile-navbar {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 9999;
}
.mobile-navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}
.mobile-logo img {
    height: 40px;
}
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.mobile-menu-icon {
    display: block;
    width: 28px;
    height: 3px;
    background: #222;
    position: relative;
}
.mobile-menu-icon::before,
.mobile-menu-icon::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background: #222;
    position: absolute;
    left: 0;
    transition: 0.3s;
}
.mobile-menu-icon::before {
    top: -8px;
}
.mobile-menu-icon::after {
    top: 8px;
}
.mobile-menu {
    display: none;
    background: #fff;
    box-shadow: 0 2px 8px #0001;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}
.mobile-menu.open {
    display: block;
}
.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu ul li {
    border-bottom: 1px solid #eee;
}
.mobile-menu ul li a {
    display: block;
    padding: 14px 20px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
}
.mobile-menu ul li a:hover {
    background: #f8f8f8;
}
.mobile-menu .has-submenu > .submenu-toggle::after {
    content: '\25BC';
    float: right;
    font-size: 12px;
    margin-left: 8px;
}
.mobile-menu .submenu {
    display: none;
    background: #f8f8f8;
}
.mobile-menu .submenu.open {
    display: block;
}
.mobile-menu .submenu li a {
    padding-left: 36px;
    font-size: 14px;
}
header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0 0 10px #0000001a;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler {
    border: 0 !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Navbar open/close icons toggle */
.navbar-toggler .navbar-close {
    display: none;
}
.test{
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background-color: #f8f8f8;
}

.navbar-mobile .submenu.open {
    max-height: 2000px;
}

.navbar-mobile .submenu li > a {
    display: block;
    padding: 11px 20px 11px 36px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.navbar-mobile .submenu li > a:hover {
    color: #8a2432;
    background-color: #f0f0f0;
}

/* Sous-sous-menu (niveau 2) : indentation plus profonde */
.navbar-mobile .submenu .submenu li > a {
    padding-left: 52px;
    font-size: 12px;
    background-color: #f0eded;
}

.slick-dots {
    bottom: -60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slick-dots li {
    width: auto !important;
    height: auto !important;
}

.slick-dots li button {
    padding: 0;
}

.slick-dots li button:before {
    font-size: 12px;
}

.ql-align-center {
    text-align: center !important;
}

.container-nested-carousel p {
    color: #333;
    font-size: 18px;
}

.font-size-16 {
    font-size: 14px;
}

.header-topbar .btn-norwood {
    background-color: #8a2432;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

.header-topbar .btn-norwood:hover {
    background-color: #641620;
    transition: all 0.3s ease-in-out;
}

.header-topbar .btn-authenticity-verification {
    background-color: #222;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

.header-topbar .btn-authenticity-verification:hover {
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.list-social li a i {
    font-size: 20px;
}
/*
.owl-carousel[data-type="featured-products"] .item-action {
    position: absolute;
    top: 27rem;
}

@media (max-width: 960px) {
    .owl-carousel[data-type="featured-products"] .item-action {
        position: relative;
        top: auto;
    }

    .container-nested-carousel p {
        font-size: 16px;
        height: 200px;
    }

    .container-nested-carousel .owl-carousel[data-type="1"] {
        margin-top: 0 !important;
    }

    .owl-carousel[data-type="2"] .item-subtitle {
        height: 1.5rem !important;
    }

    .owl-carousel[data-type="2"] .item-description {
        height: 2.5rem !important;
    }

    .header-topbar .btn-norwood,
    .header-topbar .btn-authenticity-verification {
        font-size: 11px;
        padding: 10px;
    }

    .list-social li a i {
        font-size: 16px;
    }

    html body .norwood-mobile .step-01.active {
        height: 60vh !important;
    }
}

.table-borderless,
.table-borderless tr,
.table-borderless th,
.table-borderless td {
    background-color: transparent;
}

.table-borderless tr th:first-child,
.table-borderless tr td:first-child {
    padding-left: 0;
}

.footer-menu ul li {
    height: 32px;
}

.footer-menu ul li a {
    font-size: 14px;
}

@media (max-width: 960px) {
    .footer-menu ul li {
        height: 28px;
    }

    html body .btn {
        padding: 0.6rem 2.5rem !important;
    }

    .h1,
    h1 {
        font-size: 1.5rem;
    }

    .h3,
    h3 {
        font-size: 1.25rem;
    }

    .h5,
    h5 {
        font-size: 1.125rem;
    }

    .owl-carousel[data-type="2"] .owl-nav .owl-next {
        display: none;
    }

    .doctor-img-mobil-cls {
        height: 500px !important;
    }

    html body .owl-carousel[data-type="3"] .item-body .item-description {
        line-height: auto;
        height: auto;
        font-size: 0.85rem;
        line-height: 1rem;
        height: 5.5rem !important;
        overflow: hidden;
    }

    html body .owl-carousel[data-type="3"] .item-body .item-title {
        line-height: auto;
        height: auto;
        font-size: 1rem;
        line-height: 1.25rem;
        height: 3.5rem;
        overflow: hidden;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .mobile-carrousel-title {
        height: 3.5rem;
        overflow: hidden;
    }

    .mobil-size-carousel {
        display: block;
    }

    html body footer .footer-menu .footer-menu-heading {
        font-size: 1.2rem !important;
    }
}

.owl-carousel[data-type="2"] .owl-nav {
    position: absolute;
    top: 35%;
    width: 100%;
}

.owl-carousel[data-type="2"] .owl-nav .owl-prev {
    position: absolute;
    left: -75px;
}

.owl-carousel[data-type="2"] .owl-nav .owl-next {
    position: absolute;
    right: -75px;
}

.owl-carousel[data-type="2"] .owl-nav .owl-prev:hover,
.owl-carousel[data-type="2"] .owl-nav .owl-next:hover {
    background-color: transparent;
}
*/

.home-slider {
    position: relative;
}

.home-carousel .slide-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.dark-mode .info-box {
    background-color: #343a40;
    color: #fff;
}

.info-box {
    box-shadow:
        0 0 1px rgba(0, 0, 0, 0.125),
        0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    background-color: #fff;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: 0.5rem;
    position: relative;
    width: 100%;
}

.info-box .info-box-icon {
    border-radius: 0.25rem;
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    font-size: 1.875rem;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    width: 70px;
}

.info-box .info-box-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    line-height: 1.8;
    -ms-flex: 1;
    flex: 1;
    padding: 0 10px;
    overflow: hidden;
}

.info-box .info-box-text,
.info-box .progress-description {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-box .info-box-number {
    display: block;
    margin-top: 0.25rem;
    font-weight: 700;
}
.drag-handle {
    cursor: grab;
    font-size: 18px;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing;
}
.drag-handle:hover {
    color: #0d6efd; /* bleu bootstrap */
}


/* ----------------
  Cart count animation	
  ----------------*/
.cart-count {
	display: inline-block;
	transition: transform 0.2s ease;
}

.cart-count.animate {
	animation: pulse 0.4s ease;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.4);
	}

	100% {
		transform: scale(1);
	}
}

/* Overlay pour le panier : fond semi-transparent couvrant toute la page */
.cart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .4);
	opacity: 0;
	animation: fadeIn .3s forwards;
}

/* Modal du panier : panneau latéral droit pour afficher le contenu du panier */
.cart-modal {
	position: fixed;
	top: 0;
	right: 0;
	width: 380px;
	height: 100%;
	background: #fff;
	transform: translateX(100%);
	animation: slideIn .3s forwards;
	box-shadow: -4px 0 10px rgba(0, 0, 0, .2);
	display: flex;
	flex-direction: column;
	z-index: 9999;
}

/* Animations pour l'ouverture du modal et de l'overlay */
@keyframes slideIn {
	to {
		transform: translateX(0);
	}
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

/* En-tête du modal : titre et bouton de fermeture */
.cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px;
	border-bottom: 1px solid #eee;
}

.cart-header .title {
	width: 100%;
	color: var(--fkcart-primary-text-color);
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	line-height: 1.5;
}

.cart-header .modal-close {
	cursor: pointer;
	line-height: 20px;
	display: flex;
	align-items: center;
}

/* Pied du modal : actions comme le checkout */
.cart-footer {
	padding: 15px;
	border-bottom: 1px solid #eee;
}

.cart-footer {
	border-top: 1px solid #eee;
	border-bottom: none;
}

/* Corps du modal : contenu scrollable des articles */
.cart-body {
	padding: 15px;
	flex: 1;
	overflow-y: auto;
}

/* Bouton de fermeture générique */
.close-btn {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

/* Bouton de checkout : plein largeur, sombre */
.btn-checkout {
	width: 100%;
	padding: 10px;
	background: #111;
	color: #fff;
	border: none;
}

/* Article du panier : disposition en ligne avec image et infos */
.cart-item {
	display: flex;
	gap: 20px;
	margin-bottom: 10px;
	animation: itemFade .2s ease-in;
}

/* Animation d'apparition des articles */
@keyframes itemFade {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
}

.cart-item .image-item {
	width: 60px;
}

.cart-item .remove-item {
	width: 30px;
}

/* Infos de l'article : taille de police réduite */
.cart-info {
	font-size: 14px;
}

/* Contrôles de quantité : boutons + et - avec input */
.qty-control {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 5px;
}

.qty-control button {
	width: 28px;
	height: 28px;
	border: 1px solid #ccc;
	background: #f8f8f8;
	cursor: pointer;
}

.qty-control span {
	min-width: 20px;
	text-align: center;
}

/* Bouton de suppression d'article */
.remove-btn {
	background: none;
	border: none;
	font-size: 20px;
	color: #999;
	cursor: pointer;
}

.remove-btn:hover {
	color: red;
}

/* Conteneur principal pour la quantité, alignement horizontal avec espacement */
.quantity-wrapper {
	display: flex;
	align-items: center;
	gap: 15px;
	font-family: Arial, sans-serif;
}

/* Style pour le label de quantité */
.label {
	font-weight: 600;
	letter-spacing: 1px;
}

/* Conteneur pour l'input de quantité avec bordure arrondie */
.quantity-input {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 30px;
	padding: 6px 12px;
	background: #fff;
	transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Effet au survol du conteneur input */
.quantity-input:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

/* Style pour l'input texte au centre */
.quantity-input input {
	width: 40px;
	text-align: center;
	border: none;
	outline: none;
	font-size: 16px;
	font-weight: 600;
}

/* Boutons plus et moins sans fond, avec curseur pointeur */
.btn-qty {
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
	padding: 0 12px;
	color: #444;
	transition: transform 0.15s ease, color 0.2s ease;
}

/* Effet au survol des boutons */
.btn-qty:hover {
	color: #000;
	transform: scale(1.2);
}

/* Effet à l'appui des boutons */
.btn-qty:active {
	transform: scale(0.9);
}

/* Animation de rebond pour l'input */
@keyframes bounce {
	0% {
		transform: scale(1);
	}

	30% {
		transform: scale(1.15);
	}

	60% {
		transform: scale(0.95);
	}

	100% {
		transform: scale(1);
	}
}

/* Classe pour déclencher l'animation de rebond */
.quantity-input.animate {
	animation: bounce 0.25s ease;
}

/* === SHIMMER IMAGE PRODUIT === */
.img-wrapper {
	position: relative;
	width: 200px;
	height: 200px;
	margin: auto;
	overflow: hidden;
}

.shimmer {
	position: absolute;
	inset: 0;
	background: #e0e0e0;
	z-index: 1;

}

.shimmer::after {
	content: "";
	position: absolute;
	top: 0;
	left: -150px;
	width: 150px;
	height: 100%;
	background: linear-gradient(90deg,
			transparent,
			rgba(255, 255, 255, 0.6),
			transparent);
	animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
	100% {
		left: 100%;
	}
}

/* Image produit */
.product-img {
	width: 200px;
	height: 200px;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.4s ease;
	position: relative;
	z-index: 2;
}

.en-vente-tag {
	position: absolute;
	right: 16px;
	top: 14px;
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	color: #fff;

	line-height: 1;
	text-transform: uppercase;
	padding: 5px 0px 1px;
	border-radius: 15px;
	width: 42px;
	min-width: 65px;
	z-index: 20;
	/* au-dessus de TOUT */
	background: #50e550;

}

.rupture-tag {
	position: absolute;
	right: 16px;
	top: 14px;
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	line-height: 1;
	text-transform: uppercase;
	padding: 5px 0px 1px;
	border-radius: 15px;
	width: 42px;
	min-width: 65px;
	z-index: 20;
	/* au-dessus de TOUT */
	background-color: #f51167;
}
.shopping-card {
	display: inline-block;
	position: relative;
}

.shopping-card span {
	position: absolute;
	top: -4px;
	left: 100%;
	height: 16px;
	min-width: 16px;
	color: #fff;
	font-size: 13px;
	background: #f51167;
	text-align: center;
	border-radius: 30px;
	padding: 0 2px;
	margin-left: -7px;
}
