.nav-tabs .nav-link {
    color: #6c757d;
}

.nav-tabs .nav-link.active {
    color: var(--default);
    border-color: var(--default) !important;
    background-color: color-mix(in srgb, var(--default) 5%, transparent);
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.transition {
    transition: all 0.3s ease;
}

.service-card {
    transition: transform 0.3s ease, shadow 0.3s ease;
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.feature-badge {
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    width: fit-content;
}

.text-reveal {
    max-width: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    margin-left: 0;
}

.feature-badge:hover {
    border-color: var(--default) !important;
    padding-right: 1rem !important;
}

.feature-badge:hover .text-reveal {
    max-width: 275px;
    opacity: 1;
    margin-left: 0.5rem;
}

.picto-domaine .st0 {
    fill: var(--default);
}

.group:hover .group-hover-bg-orange {
    background-color: var(--orange) !important;
}

.group:hover .group-hover-text-white {
    color: white !important;
}

.group:hover .group-hover-bg-default {
    background-color: var(--default) !important;
}

.nav-hover-default:hover {
    color: var(--default) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-opacity-75:hover {
    opacity: 0.75;
}

.border-orange-subtle {
    border: 1px solid rgba(234, 107, 11, 0.2);
}

.shadow-xs {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-white {
    background-color: #ffffff;
}

.group-hover-opacity-100 {
    opacity: 1 !important;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background: var(--default);
    color: #fff;
    border-color: var(--default);
}

.swiper-pagination-bullet-active {
    background-color: var(--default) !important;
}

.swiper-slide {
    height: auto !important;
}

.product-carousel {
    padding-bottom: 50px !important;
    overflow: visible !important;
}

.product-carousel .swiper-pagination {
    bottom: 0 !important;
}

.category-link:hover {
    border-color: var(--default) !important;
    background-color: color-mix(in srgb, var(--default) 10%, transparent) !important;
}


.card-img-container {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    border-radius: 8px 8px 0 0;
}

.card-img-container img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Effet au survol de la carte */
.item-compatible {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.item-compatible:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.item-compatible:hover .card-img-container img {
    transform: scale(1.05);
}

.item-compatible .card-body {
    border-top: 1px solid #eee;
}


.badge-status-obsolete {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.badge-status-obsolete i {
    color: #dc3545;
}

.product-obsolete-image {
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.product-obsolete-image:hover {
    filter: grayscale(0.5);
    opacity: 0.9;
}

/* Deuxième dock : liens utiles autour du produit
   Corrigé : onglet fermé par défaut, décalé pour ne pas se superposer au dock Solutions,
   même largeur visuelle que l'onglet Solutions et libellé en majuscules. */

.product-resource-dock__header {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.1rem .85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.product-resource-dock__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--orange, #ea6b0b);
    background: color-mix(in srgb, var(--orange, #ea6b0b) 10%, #fff);
}

.product-resource-dock__title {
    color: #111827;
    font-size: .95rem;
    font-weight: 800;
}

.product-resource-dock__subtitle {
    color: #64748b;
    font-size: .72rem;
}

.product-resource-dock__links {
    padding: .45rem .65rem .75rem;
}

.product-resource-dock__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .68rem .55rem;
    color: #1f2933;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 650;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.product-resource-dock__link span {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

.product-resource-dock__link i:first-child {
    color: var(--default);
    width: 16px;
    text-align: center;
}

.product-resource-dock__link:hover {
    background: color-mix(in srgb, var(--default) 9%, transparent);
    color: var(--default);
    transform: translateX(2px);
}

.product-resource-dock__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .55rem;
    padding: .7rem .8rem;
    border-radius: 12px;
    color: #fff !important;
    background: var(--default);
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--default) 28%, transparent);
}

.product-resource-dock__cta:hover {
    filter: brightness(.95);
}


#prodComp {
  scroll-margin-top: 12rem;
}

#services-accompagnement,
#actualites-liees,
#questions-frequentes-produit {
  scroll-margin-top: 3rem;
}

.parent-product-link{
    text-decoration: none;
    background-color: #fff;
    border-radius: 0 0 0.375rem 0.375rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.parent-product-link:hover{
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.2);
}

.all-linked-parent-products{
    text-decoration: none;
    font-weight: 600;
    text-align: right;
    width: 100%;
    display: block;
}
.all-linked-parent-products:hover{
    text-decoration: underline;
}
.parent-minia{
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 0.2rem;
}