/******************************************************************************/
/*                                    INIT                                    */
/******************************************************************************/

:root {
    --container-padding: 20px;
    --container-width: 1500px;
    --header-max-height: 82px;

    --size-unit: 1em;
    --size-xxs: calc(0.25 * var(--size-unit));
    --size-xs: calc(0.5 * var(--size-unit));
    --size-sm: calc(0.75 * var(--size-unit));
    --size-md: calc(1.25 * var(--size-unit));
    --size-lg: calc(2 * var(--size-unit));
    --size-xl: calc(3.25 * var(--size-unit));
    --size-xxl: calc(4.25 * var(--size-unit));
    --size-xxxl: calc(5.5 * var(--size-unit));
    --size-xxxxl: calc(6.75 * var(--size-unit));

    --font-color: #353C41;
    --font-title-color: #121518;

    --background: #f7fafb;
    --main-background: white;
    --widget-background: white;

    --border-light: #e6eff4;

    --color-primary: #1967d2;
    --color-primary-light: #e8f0fe;

    /*--box-shadow: rgb(15 22 19 / 20%) 0 0.33rem 0.33rem -0.33rem;*/
    --box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);

    --btn-primary-background: #1C7FF2;
}

html,
body {
    font: 400 14px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-style: normal;
    line-height: 1.5;
    color: var(--font-color);
    margin: 0;
    padding: 0;
    background: var(--background);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.2;
    color: var(--font-title-color);
}

a {
    color: inherit;
    text-decoration: inherit;
    cursor: pointer;
}

.primary-link {
    color: var(--color-primary);
    font-weight: bold;
}

a:active, a:focus, a:visited {
    outline: none !important;
    border: none !important;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

textarea {
    margin: var(--size-md) 0;
    padding: var(--size-xs);
    resize: none;
}

.border-dashed {
    border: 1px dashed #d9d9d9 !important;
    border-radius: 6px;
}

.app-input {
    font: bolder var(--size-unit) calibri, sans-serif;
    margin-bottom: var(--size-md);
    max-width: 450px;
    background-color: #dcdfe62e;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    display: inline-block;
    font-size: inherit;
    height: 40px;
    line-height: 40px;
    outline: 0;
    padding: 0 15px;
    transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    width: 100%;
}

.app-textarea {
    margin-top: 0;
    height: inherit;
    line-height: inherit;
    padding: var(--size-sm);

}

.app-table {
    border-collapse: collapse;
    /*width: 100%;*/
}

.app-table thead {
    vertical-align: bottom;
}

.app-table th, .app-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.app-table tbody tr:nth-child(odd) {
    background-color: #edf3f5;
}

.app-table tr:last-child td {
    border-bottom: none;
}

label {
    display: inline-block;
    font-weight: bold;
    margin-bottom: var(--size-sm);
}

.alert-info {
    margin: var(--size-sm) 0;
    padding: 1em;
    background-color: #e7f3fe;
    border: 1px solid #b3d8f6;
    border-radius: 4px;
    color: #31708f;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .alert-info {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .alert-info {
        font-size: 0.8em;
    }
}

/******************************************************************************/
/*                                    FONTS                                 */
/******************************************************************************/

/* https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap */

/* cyrillic-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* vietnamese */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* vietnamese */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* vietnamese */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*!******************************************************************************!*/
/*!*                                    HEADER                                *!*/
/*!******************************************************************************!*/

header {
    position: fixed;
    width: 100%;
    z-index: 200;
    background: white;
    line-height: 1;
    box-shadow: rgba(0, 0, 0, 0.09) 0 3px 12px;
    padding: 0.83em 0 0.5em;
}

header .container {
    padding-left: inherit;
    padding-right: inherit;
}

header img {
    width: 215px;
    height: 50px;
    margin-left: 10px;
}

header div {
    display: flex;
    justify-content: space-between;
}

header #searchForm {
    width: 360px;
}

header #searchForm input {
    margin-bottom: var(--size-sm);
}

#brand-name {
    font-size: 24px;
}

header nav {
    padding: var(--size-xs);
}

header ul {
    align-items: center;
    font-weight: bold;
}

#web-menu ul:first-child {
    display: flex;
}

#web-menu ul:first-child > * + * {
    margin-left: 1.7em;
}

header li:hover, #resp-menu-trigger:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0
}

#resp-menu-trigger {
    display: none;
    cursor: pointer;
    margin-top: 0.3em;
    font-size: var(--size-md);
    margin-bottom: var(--size-sm);

}

#resp-menu {
    display: none;
}

#resp-menu ul li {
    padding: var(--size-md) var(--size-md);
}

.visible {
    display: block !important;
}

@media screen and (max-width: 1400px) {
    header #searchForm {
        width: 250px;
    }
}

@media screen and (max-width: 1300px) {
    header #searchForm {
        width: 300px;
    }

    #resp-menu-trigger {
        width: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #web-menu {
        display: none;
    }

    header img {
        width: inherit;
        max-width: 150px;
        height: 35px;
        margin-top: 3px;
    }

    header nav ul > * + * {
        margin-left: var(--size-sm);
    }
}

@media screen and (max-width: 900px) {
    header img {
        height: 35px;
        margin-top: 3px;
    }

    header #searchForm {
        width: 55%;
    }
}

#brands-menu {
    display: none;
    padding: var(--size-sm);
    margin: 0 var(--size-md) var(--size-sm) var(--size-sm);
    background: white;
}

#brands-menu ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: scroll;
}

#brand-name::-webkit-scrollbar {
    display: none;
}

#brands-menu li {
    flex: 0 0 auto;
    position: relative;
    margin: 0 var(--size-md);
}

#brand-name li:last-child {
    margin-left: auto;
}

/* Séparateurs entre les items */
#brands-menu li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
}

#brands-menu a {
    font-weight: bold;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--font-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

#brands-menu a:hover {
    color: var(--color-primary);
}

#brands-menu img {
    height: 25px;
    width: auto;
    margin-right: 5px;
    vertical-align: middle;
}

/* Affichage du menu sur desktop */
@media (min-width: 850px) {
    #brands-menu {
        display: block;
    }
}


/*!******************************************************************************!*/
/*!*                               MAIN BLOC                                    *!*/
/*!******************************************************************************!*/

main {
    padding-top: calc(var(--header-max-height) + 10px) !important;
}

.container {
    position: relative;
    max-width: var(--container-width);
    margin: auto;
    box-sizing: border-box;
    width: 100%;
}

.default-layout-container {
    /*display: grid;*/
    /*gap: var(--size-md);*/
    /*grid-template-columns: 1fr;*/
    /*grid-template-columns: auto 225px;*/
    min-height: 70vh;
    padding: 1em var(--size-sm);
}

.default-right-content {
    margin-top: 3.9em;
}

@media screen and (max-width: 1120px) {
    /*.default-layout-container {*/
    /*    display: block;*/
    /*    padding: 1em var(--size-sm);*/
    /*}*/
    .default-right-content {
        display: none;
    }
}

@media only screen and (max-width: 993px) {
    h1 {
        text-align: center;
        margin-top: 0;
    }

    h2 {
        font-size: 18px;
    }

    .container {
        max-width: 98%;
    }
}

/*!******************************************************************************!*/
/*!*                                    FOOTER                                *!*/
/*!******************************************************************************!*/

footer {
    background: var(--background);
    border-top: solid 4px var(--border-light);
    padding: var(--size-md);
    margin-top: var(--size-lg);
    font-weight: bold;
    color: black;
}

footer #content {
    display: grid;
    grid-template-columns: 220px 150px 120px 280px 100px 100px;
    grid-column-gap: var(--size-xs);
    margin-top: var(--size-md);
}

@media screen and (max-width: 900px) {
    footer #content {
        grid-template-columns: 1fr;
        grid-column-gap: var(--size-md);
        grid-row-gap: var(--size-md);
        text-align: center;
    }
}

footer a:hover {
    color: var(--color-primary);
}

/*!******************************************************************************!*/
/*!*                                    GLOBALS                                *!*/
/*!******************************************************************************!*/

.content-widget {
    padding: var(--size-md);
    background: var(--widget-background);
    border-radius: var(--size-sm);
    margin-bottom: var(--size-md);
    box-shadow: var(--box-shadow);
}

.title:hover {
    color: var(--color-primary);
}

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

.sub-text {
    font-size: 10px;
    color: #9a9a9a;
}

.app-button {
    font-weight: bold;
    background: white;
    outline: none;
    border: none;
    padding: var(--size-sm);
    cursor: pointer;
    border-radius: 4px;
    line-height: 1;
}

.app-button-primary {
    color: white;
    background: var(--btn-primary-background) !important;
}

.app-button:hover {
    backface-visibility: hidden;
    transform: scale(1.05);
    transition: transform .25s ease-out;
}

.form-group {
    margin-bottom: var(--size-xs);
}

.checkbox-round {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid black;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    margin-right: 10px;
}

.checkbox-round:checked {
    background-color: var(--color-primary);
    border: none;
    content: "✓";
    color: white;
}

.checkbox-round:checked::after {
    position: absolute;
    left: 5px;
    top: 2px;
    content: "✓";
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/******************************************************************************/
/*                                    SIMULATEUR                              */
/******************************************************************************/

#taxes-calculator-widget {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--size-md);
}

#taxes-calculator-form-button {
    padding-left: 150px;
}

#taxes-calculator-results {
    border-radius: var(--size-sm);
    background: var(--background);
    padding: var(--size-md) var(--size-md);
    align-self: center;
    min-height: 80%;
}

#taxes-calculator-results h3 {
    margin-top: 0;
    margin-bottom: var(--size-md);
}

#taxes-calculator-results #efficiency-badge-container {
    position: relative;
    width: 100%;
    height: 50px;
}

#taxes-calculator-results #efficiency-badge-text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
}

#taxes-calculator-results p {
    font-size: 1.1em;
}

#taxes-calculator-results em {
    font-size: 0.8em;
}

#calculator-comments {
    margin: var(--size-md) 0;
}

#calculator-comments p {
    font-size: 0.9em;
}

.faq-item {
    margin-bottom: var(--size-lg);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: var(--size-md);
}

#weight-table {
    display: flex;
    justify-content: space-between
}

#weight-table table {
    width: 32%;
}

#weight-table div {
    background: var(--background);
    padding: 0 var(--size-md);
    width: 62%;
}

#co2-table {
    height: 550px;
    overflow: scroll;
}

#co2-table::-webkit-scrollbar {
    width: 4px;
    background-color: transparent;
}

#co2-table::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #666;
}

@media screen and (max-width: 1320px) {
    #calculator-layout-container {
        grid-template-columns: 1fr;
        padding: 0;
    }

    #taxes-calculator-form-button {
        padding-left: inherit;
    }

    #calculator-right-content {
        display: none;
    }
}

@media screen and (max-width: 920px) {
    #index-p {
        display: none;
    }

    #taxes-calculator-form-button {
        text-align: center;
    }

    #taxes-calculator-form .app-input {
        width: 100%;
        max-width: 100%;
    }

    #taxes-calculator-form-button button {
        width: 60%;
        margin-bottom: var(--size-md);
    }

    #taxes-calculator-widget {
        grid-template-columns: 1fr;
        align-items: center;
        gap: var(--size-sm);
    }

    #taxes-calculator-widget div:first-child {
        width: 100%;
    }

    #taxes-calculator-form {
        width: 100%;
    }

    #taxes-calculator-results {
        min-height: inherit;
        width: 100%;
        padding: 0;
        margin-top: var(--size-md);
        background: inherit;
    }

    #weight-table {
        flex-direction: column !important;
    }

    #weight-table table, #weight-table div {
        width: 100% !important;
        margin-bottom: var(--size-md);
    }

    #weight-table div {
        padding: 0;
        background: inherit;
    }
}

/*!******************************************************************************!*/
/*                                    MANUFACTURERS                              */
/*!******************************************************************************!*/

#manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 25px;
    padding: var(--size-md) 0;
    justify-items: center;
    margin-top: var(--size-md);
}

.manufacturer-bloc {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--size-sm);
    background: var(--widget-background);
    border-radius: var(--size-sm);
    margin-bottom: var(--size-md);
    box-shadow: var(--box-shadow);
    width: 200px;
    min-height: 160px;
    transition: transform 0.3s;
}

.manufacturer-bloc:hover {
    transform: scale(1.03);
}

.manufacturer-bloc h3 {
    margin: var(--size-sm) 0 var(--size-sm) 0;
}

.manufacturer-bloc p {
    margin: 0 0 var(--size-sm) 0;
}

.manufacturer-bloc figure {
    display: grid;
    justify-content: center;
    align-content: center;
    height: 90px;
    margin: var(--size-sm);
}

.manufacturer-bloc img {
    max-width: 100%;
    /*margin-bottom: var(--size-md);*/
}

/*!******************************************************************************!*/
/*                            MANUFACTURERS DETAILS                               */
/*!******************************************************************************!*/

.manufacturer-model-type:after {
    content: "";
    display: block;
    width: 150px;
    height: 3px;
    background: var(--border-light);
    margin: var(--size-md) 0;
}

.manufacturers-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 25px;
    width: 100%;
}

.manufacturer-detail-bloc {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--size-sm);
    background: var(--widget-background);
    border-radius: var(--size-sm);
    margin-bottom: var(--size-md);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
}

.manufacturer-detail-bloc figure {
    margin: var(--size-sm);
    height: 135px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.manufacturer-detail-bloc h3 {
    margin-top: 0;
    margin-bottom: var(--size-xs);
}

.manufacturer-detail-bloc p {
    margin: 0 0 var(--size-sm) 0;
}

.manufacturer-detail-bloc:hover {
    transform: scale(1.03);
}

/*!******************************************************************************!*/
/*                               MODEL  DETAILS                                   */
/*!******************************************************************************!*/

#model-detail-description {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
    padding: var(--size-md) 0;
}

#model-detail-description picture {
    height: 150px;
}

.model-detail-malus-excerpt {
    margin: 1.5em 0 0 0;
    line-height: 1.7em;
    padding: var(--size-sm) var(--size-md);
    border-radius: var(--size-sm);
}

.model-detail-malus-excerpt h4 {
    margin: 0;
    line-height: 1.7em;
}

@media (max-width: 768px) {
    #model-detail-description {
        justify-items: center;
        gap: 8px;
        grid-template-columns: 1fr;
    }
}

/*!******************************************************************************!*/
/*!*                                BREADCRUMPS                               *!*/
/*!******************************************************************************!*/

.breadcrumb {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    align-self: center;
    margin-top: var(--size-md);
    margin-bottom: var(--size-md);
}

.breadcrumb-item a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active a {
    pointer-events: none;
    color: rgba(1, 33, 105, 0.2) !important;
}

.breadcrumb-item img {
    margin-right: var(--size-xs);
}

@media (max-width: 768px) {
    .breadcrumb {
        display: inline-block;
    }

    .breadcrumb-item {
        display: inline-block;
        margin-bottom: var(--size-sm);
    }
}

/*!******************************************************************************!*/
/*!*                            SEARCH AND EXPORT                               *!*/
/*!******************************************************************************!*/

#inline-error {
    display: grid;
    grid-template-columns: 350px 1fr;
    grid-column-gap: 1em;
}

.highlight-search {
    color: rgba(56, 78, 233, 0.78);
    padding: 0.1em;
}

.search-inline {
    display: grid;
    grid-template-columns: 300px 1fr;
}

.search-figure {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.search-chips {
    background-color: #EFF2F5;
    display: inline-block;
    padding: var(--size-xs) var(--size-sm);
    font-weight: bold;
    margin: var(--size-xs);
    border-radius: 0.5em;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

@media (max-width: 960px) {
    .search-inline {
        grid-template-columns: 1fr;
    }

    .search-figure {
        margin-bottom: var(--size-md);
    }

    .search-inline:nth-child(2) {
        text-align: center;
    }
}

/*!******************************************************************************!*/
/*!*                            MENTIONS & CGU                                   *!*/
/*!******************************************************************************!*/

.mentions-bloc {
    border-radius: var(--size-md);
    margin-bottom: var(--size-md);
    background: var(--main-background);
    padding: var(--size-sm) var(--size-md);
}

.mentions-text {
    padding-left: var(--size-md);
}

.mentions-text ul {
    list-style: inherit;
    padding: 0 2em;
    margin-bottom: var(--size-md);
}


/*!******************************************************************************!*/
/*!*                            CONTACT                                    *!*/
/*!******************************************************************************!*/

.contact-bloc {
    border-radius: var(--size-md);
    margin-bottom: var(--size-md);
    background: var(--main-background);
    padding: var(--size-sm) var(--size-md);
}

/*!******************************************************************************!*/
/*!*                            PLAN DU SITE                                    *!*/
/*!******************************************************************************!*/

#plan-du-site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: var(--size-md) 0;
    justify-items: center;
    margin-top: var(--size-md);
}

/*!******************************************************************************!*/
/*!*                            AD                                     *!*/
/*!******************************************************************************!*/

.o-ban {
    display: grid;
    max-width: var(--container-width);
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.o-ban-r {
    display: none;
}

.o-ban div {
    padding: var(--size-md);
    height: 280px;
}

.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

/* Masquer le conteneur parent si la pub est vide */
.ad-container:has(.adsbygoogle[data-ad-status="unfilled"]) {
    display: none !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .o-ban {
        display: none;
    }

    .o-ban-r {
        display: block;
        margin: var(--size-md) 0;
        text-align: center;
    }
}

/*!***********************************************!*/
/*!*                            OFFERS                                     *!*/
/*!**********************************************!*/

.random-square-banner {
    text-align: center;
}

.random-square-banner img:first-child {
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.random-square-banner a img {
    transition: transform 0.3s;
    transform: scale(1);
    cursor: pointer;
}

.random-square-banner a:hover, .random-square-banner a:hover img {
    transform: scale(1.03);
}

.k-banner {
    margin-bottom: var(--size-md);
}

.heycar-cta-banner {
    margin: var(--size-md) 0;
}

.heycar-cta-banner h3 {
    margin-top: 0;
    margin-bottom: var(--size-sm);
    font-size: 1.5em;
}

.heycar-cta {
    display: flex;
    align-items: center;
}

.k-banner-img {
    width: 100%;
    height: inherit;
    cursor: pointer;
    transition: transform 0.3s;
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.k-banner-text {
    font-weight: bold;
    text-align: center;
    background: white;
    margin-bottom: 0;
    color: #031E4F;
    padding: var(--size-xs);
    font-size: 1.5em;
    cursor: pointer;
}

.k-banner-text:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .k-banner-text {
        font-size: 1em;
    }

    .random-square-banner a img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .k-banner-text {
        font-size: 0.8em;
    }
}

.heycar-cta-banner, .heycar-o-grid .content-widget:hover {
    transition: transform 0.3s;
    transform: scale(1);
    cursor: pointer;
}

.k-banner-img:hover, .heycar-cta-banner:hover {
    transform: scale(1.03);
}

.heycar-o-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    align-items: center;
    justify-items: center;
    gap: 25px;
    padding: var(--size-md) 0;
    margin-top: var(--size-md);
}

.heycar-o-grid figure {
    margin: 0;
}

.heycar-o-grid .content-widget {
    position: relative;
}

.heycar-o-grid-badge {
    position: absolute;
    background: #DA0042;
    color: white;
    border-radius: 8px;
    padding: var(--size-xs) var(--size-sm);
    top: 0.8em;
    left: 0.8em;
}

.heycar-o-grid figure {
    height: 200px;
    overflow: hidden;
}

.heycar-o-grid figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.offer-skeleton-text {
    height: 20px;
    border-radius: 5px;
}

.offer-skeleton-image {
    height: 100px;
    border-radius: 5px;
}

.heycar-o-grid .content-widget {
    width: 315px;
    height: 385px;
}

.heycar-o-grid .content-widget .offer-title {
    font-weight: bold;
    font-size: 1.1em;
    margin: var(--size-md) 0 var(--size-sm);
}

.heycar-o-grid .content-widget p {
    margin: var(--size-xs) 0 var(--size-sm) 0;
}

.heycar-o-grid .content-widget:hover {
    transform: scale(1.03);
}

.heycar-cta-button {
    display: inline-block;
    padding: var(--size-sm) var(--size-md);
    background: black;
    color: white;
    transition: transform 0.3s ease;
}

.heycar-cta-button:hover {
    transform: scale(1.05);
}

@media (max-width: 1100px) {
    .heycar-cta {
        flex-direction: column;
    }
}

/*!******************************************************************************!*/
/*!*                                    BLOG                                     *!*/
/*!******************************************************************************!*/

.blog-layout-container {
    display: grid;
    gap: var(--size-md);
    grid-template-columns: 1100px 225px;
    min-height: 70vh;
    padding: 1em var(--size-sm);
}

.blog-title {
    margin: 0 0 var(--size-sm) 0;
    font-size: 2em;
}

.blog-post {
    display: flex;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.blog-post:hover {
    transform: scale(1.03);
}

.blog-post figure {
    margin: 0 16px 0 0;
    flex-shrink: 0;
    width: 250px;
}

.blog-post figure img {
    border-radius: 4px;
    width: 100%;
    height: 150px;
    overflow: hidden;
    object-fit: cover;
}

.blog-post-content {
    display: flex;
    flex-direction: column;
}

.blog-post h2 {
    margin: 0.5em 0;
    font-size: 1.5em;
}

.blog-post h2 a {
    text-decoration: none;
    color: #333;
}

.blog-post p {
    margin: 8px 0;
    color: #666;
}

@media (max-width: 1140px) {
    .blog-layout-container {
        display: flex;
    }
}

@media (max-width: 940px) {
    .blog-post {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .blog-post {
        padding: var(--size-sm);
    }

    .blog-post figure {
        width: 100%;
        margin-bottom: var(--size-sm);
    }

    .blog-post figure img {
        height: auto;
    }

    .blog-post-content {
        align-items: center;
        text-align: center;
    }

    .blog-post h2 {
        font-size: 1.2em;
    }

    .blog-post p {
        font-size: 0.9em;
    }
}

/******************************************************************************/
/*                           CARVERTICAL PAGE                                 */
/******************************************************************************/

#carvertical-cta {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    padding: 1.2em;
    margin: 1.5em 0;
    border-radius: var(--size-sm);
    box-shadow: var(--box-shadow);
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

#carvertical-cta span:nth-child(1) {
    display: block;
    margin-bottom: var(--size-md);
    font-size: var(--size-unit);
}

#carvertical-cta span:nth-child(2) {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 0.5em 2em;
    border-radius: var(--size-xs);
    font-size: var(--size-md);
}

#carvertical-cta:hover {
    transform: scale(1.03);
}

#carvertical-important .cv-flex-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#carvertical-important .cv-content {
    width: 100%;
}

#carvertical-important .cv-partial {
    width: 100%;
}

#carvertical-important ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

#carvertical-important ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Responsive: tablette et desktop */
@media screen and (min-width: 850px) {
    #carvertical-important .cv-flex-container {
        flex-direction: row;
        align-items: flex-start;
    }

    #carvertical-important .cv-content {
        flex: 1;
    }

    #carvertical-important .cv-partial {
        width: 50%;
    }
}

/* Responsive: très petits écrans */
@media screen and (max-width: 480px) {
    #carvertical-important {
        padding: 1rem;
    }

    #carvertical-important ul {
        padding-left: 1rem;
    }
}
