.single-products .content_row_wrapper {
    padding-bottom: 0;
}

html body.single-products .col.product-details:after {
    content: none;
}

/* En-tête */
html body.single-products .breadcrumb {
    padding-left: 20px;
}

html body.single-products .sub_page_header {
    background-color: #E2EAEB !important;
}

html body.single-products .sub_page_header .content_row_wrapper.underlap {
    padding-top: 20px;
    padding-bottom: 80px
}


html body.single-products .sub_page_header h1 {
    color: #000000 !important;
    text-transform: uppercase;
    font-size: 48px !important;
    font-weight: 700;
}

html body.single-products .sub_page_header .page-title {
    max-width: unset;
}

html body.single-products .sub_page_header .col.col-sm-12 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 80px;
    padding: 10px 20px;
}

html body.single-products .tab_content * {
    color: #000000
}

html .single-products {
    margin-top: 40px;
}

html body.single-products .product-summary .rt-image-carousel .owl-carousel .owl-item img {
    border-radius: 0;
}

html body.single-products .product-summary .social_share_holder,
html body.single-products .product-summary .product_meta {
    display: none;
}

html body.single-products .tab_content h1,
html body.single-products .tab_content h2,
html body.single-products .tab_content h3,
html body.single-products .tab_content h4,
html body.single-products .tab_content h5,
html body.single-products .tab_content h6 {
    font-weight: 700;
}
html body.single-products .tab_content p {
    font-size: 16px;
}

/* Onglets fiche produit (tab_nav) */
html body.single-products .rt_tabs.tab-style-1 .tab_nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    border: none;
    margin: 0 0 20px;
    padding: 0;
}

html body.single-products .rt_tabs.tab-style-1 .tab_nav > li {
    display: inline-flex;
    align-items: center;
    border: none;
    padding: 0 0 12px;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .02em;
    color: #1a1a1a;
}

html body.single-products .rt_tabs.tab-style-1 .tab_nav > li.active:after {
    display: none;
}

html body #single-product-details .tab_title {
    text-transform: none !important;
}

/* "Infos produit" et "PDF" : soulignement noir, orange quand actif */
html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-1-title,
html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-3-title {
    border-bottom: 2px solid #1a1a1a;
}

html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-1-title.active,
html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-3-title.active {
    color: #e6aa21;
    border-bottom-color: #e6aa21;
}

html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-1-title {
    order: 1;
}

html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-3-title {
    order: 2;
}

html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-1-title .icon-doc-alt {
    display: none;
}

html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-3-title .icon-download {
    order: 2;
    margin-left: 6px;
    margin-right: 0;
}

/* Icône PDF : SVG dédiée à la place du glyphe de la police d'icônes */
html body.single-products .rt_tabs.tab-style-1 .tab_content_wrapper > .tab_title > .icon-download,
html body.single-products .rt_tabs.tab-style-1 .tab_nav > li > .icon-download {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6%209L2.25%205.25L3.3%204.1625L5.25%206.1125V0H6.75V6.1125L8.7%204.1625L9.75%205.25L6%209ZM1.5%2012C1.0875%2012%200.734375%2011.8531%200.440625%2011.5594C0.146875%2011.2656%200%2010.9125%200%2010.5V8.25H1.5V10.5H10.5V8.25H12V10.5C12%2010.9125%2011.8531%2011.2656%2011.5594%2011.5594C11.2656%2011.8531%2010.9125%2012%2010.5%2012H1.5Z'%20fill='%23171616'/%3E%3C/svg%3E") no-repeat center / contain;
}

html body.single-products .rt_tabs.tab-style-1 .tab_content_wrapper > .tab_title > .icon-download:before,
html body.single-products .rt_tabs.tab-style-1 .tab_nav > li > .icon-download:before {
    content: none;
}

/* "Devis gratuit" : bouton plein, poussé à droite */
html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-2-title {
    order: 3;
    margin-left: auto;
    background-color: #e6aa21;
    padding: 10px 18px;
    text-transform: none;
}

html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-2-title .icon-mail-1 {
    display: none;
}

html body.single-products .rt_tabs.tab-style-1 .tab_nav > #tab-2-title font {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
}

/* Mobile : on garde la même barre d'onglets qu'en desktop (.tab_nav) au lieu
   du titre par défaut du thème affiché au-dessus de chaque panneau
   (.tab_title.visible-xs). */
@media screen and (max-width: 767px) {
    html body.single-products .rt_tabs.tab-style-1 .tab_nav.hidden-xs {
        display: flex !important;
        gap: 16px;
    }

    html body.single-products .rt_tabs.tab-style-1 .tab_content_wrapper > .tab_title.visible-xs {
        display: none !important;
    }

    html body.single-products .breadcrumb {
        padding-left: 0;

        ol {
            text-align: left;
        }
    }

    html body.single-products .sub_page_header .page-title h1 {
        font-size: 42px !important;
    }
}

@media screen and (min-width: 768px) {
    html body.single-products .product-summary {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

@media screen and (min-width: 1024px) {
    html body.single-products .product-summary {
        padding-right: 60px;
    }
}

/* Produits de même catégorie */
/* Bloc en pleine largeur de viewport, même si son parent (.content_row_wrapper)
   est limité à 980px : on sort du conteneur avec des marges négatives basées
   sur le viewport, puis on recentre le contenu dans .similar-products__inner. */
html body.single-products .similar-products {
    clear: both;
    box-sizing: border-box;
    width: 100vw;
    margin-top: 40px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 40px 20px 100px;
    background-color: #E2EAEB;
}

html body.single-products .similar-products__inner {
    margin: 0 auto;
}

html body.single-products .similar-products__header {
    margin-bottom: 24px;
}

html body.single-products .similar-products__eyebrow {
    margin: 0 0 4px;
    color: #5A7880;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', 'sans-serif';
}

html body.single-products .similar-products__title {
    margin: 0;
    color: #A3B9BD;
    font-size: 32px;
    text-transform: uppercase;
    line-height: 18px
}

html body.single-products .similar-products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 60px 0 40px 0;
}

html body.single-products .similar-products__item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #ffffff;
    text-decoration: none;
}

html body.single-products .similar-products__thumb {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

@media screen and (min-width: 1024px) {
    html body.single-products .similar-products__item {
        flex-direction: row;
    }

    html body.single-products .similar-products__thumb {
        flex: 0 0 230px;
        width: 230px;
    }
}

html body.single-products .similar-products__image {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

html body.single-products .similar-products__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 16px;
}

html body.single-products .similar-products__name {
    margin: 0;
    color: #171616;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

html body.single-products .similar-products__price {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    border: 2px solid #e6aa21;
    color: #e6aa21;
    font-size: 16px;
    font-weight: 700;
}

html body.single-products a.similar-products__item:hover .similar-products__name {
    color: #e6aa21;
}

html body.single-products .similar-products__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: #e6aa21;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

html body.single-products .similar-products__cta:hover {
    background-color: #cf9518;
}

/* Flèche CTA : SVG dédiée à la place du glyphe de la police d'icônes */
html body.single-products .similar-products__cta .icon-right-open {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cmask%20id='mask0_45_402'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='18'%20height='18'%3E%3Crect%20x='7.86805e-07'%20y='18'%20width='18'%20height='18'%20transform='rotate(-90%207.86805e-07%2018)'%20fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg%20mask='url(%23mask0_45_402)'%3E%3Cpath%20d='M3%209.75L12.1313%209.75L7.93125%2013.95L9%2015L15%209L9%203L7.93125%204.05L12.1313%208.25L3%208.25L3%209.75Z'%20fill='white'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

html body.single-products .similar-products__cta .icon-right-open:before {
    content: none;
}

@media screen and (min-width: 768px) {
    html body.single-products .similar-products__grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

/* Bouton de téléchargement du PDF (hors système d'onglets) */
html body.single-products .pdf-download {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
}

html body.single-products .pdf-download__label {
    margin: 0 0 12px;
    color: #171616;
    font-size: 24px;
    font-family: 'Roboto Condensed', 'sans-serif';
}

html body.single-products .pdf-download__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid #e6aa21;
    color: #e6aa21;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

html body.single-products .pdf-download__button:hover {
    background-color: #e6aa21;
    color: #ffffff;
}

/* Icône du bouton : SVG dédiée à la place du glyphe de la police d'icônes */
html body.single-products .pdf-download__button .icon-download {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cmask%20id='mask0_45_474'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='18'%20height='18'%3E%3Crect%20width='18'%20height='18'%20fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg%20mask='url(%23mask0_45_474)'%3E%3Cpath%20d='M9%2012L5.25%208.25L6.3%207.1625L8.25%209.1125V3H9.75V9.1125L11.7%207.1625L12.75%208.25L9%2012ZM4.5%2015C4.0875%2015%203.73438%2014.8531%203.44063%2014.5594C3.14688%2014.2656%203%2013.9125%203%2013.5V11.25H4.5V13.5H13.5V11.25H15V13.5C15%2013.9125%2014.8531%2014.2656%2014.5594%2014.5594C14.2656%2014.8531%2013.9125%2015%2013.5%2015H4.5Z'%20fill='%23E6AA21'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

html body.single-products .pdf-download__button .icon-download:before {
    content: none;
}

html body.single-products .pdf-download__button:hover .icon-download {
    background: url("data:image/svg+xml,%3Csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cmask%20id='mask0_45_474'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='18'%20height='18'%3E%3Crect%20width='18'%20height='18'%20fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg%20mask='url(%23mask0_45_474)'%3E%3Cpath%20d='M9%2012L5.25%208.25L6.3%207.1625L8.25%209.1125V3H9.75V9.1125L11.7%207.1625L12.75%208.25L9%2012ZM4.5%2015C4.0875%2015%203.73438%2014.8531%203.44063%2014.5594C3.14688%2014.2656%203%2013.9125%203%2013.5V11.25H4.5V13.5H13.5V11.25H15V13.5C15%2013.9125%2014.8531%2014.2656%2014.5594%2014.5594C14.2656%2014.8531%2013.9125%2015%2013.5%2015H4.5Z'%20fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
