/* Déclarations @font-face */

/* Astaghfirulloh */
@font-face {
    font-family: 'Astaghfirulloh';
    src: url('/font/Astaghfirulloh/AstaghfirullohDemoRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Roboto Variable Fonts (recommandées) */
@font-face {
    font-family: 'Roboto Variable';
    src: url('/font/Roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Variable';
    src: url('/font/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Roboto Static Fonts (fallbacks) */
@font-face {
    font-family: 'Roboto';
    src: url('/font/Roboto/static/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/font/Roboto/static/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/font/Roboto/static/Roboto-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/font/Roboto/static/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/font/Roboto/static/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tangerine';
    src: url('/font/Tangerine/Tangerine-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tangerine';
    src: url('/font/Tangerine/Tangerine-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Variables CSS */
:root {
    /* Familles de polices */
    --font-astaghfirulloh: 'Astaghfirulloh', serif;
    --font-tangerine: 'Tangerine', serif;
    --font-roboto-variable: 'Roboto Variable', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-roboto: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-primary: var(--font-roboto-variable);
    --font-secondary: var(--font-tangerine);
    --font-arabic: var(--font-astaghfirulloh);

    /* Palette orientale */
    --color-primary: #E5C8B8;
    --color-primary-light: #f7eeea;
    --color-primary-very-light: #FCFBFA;
    --color-primary-hard: #9B674B;
    --color-secondary: #444444;
    --color-secondary-light: #666666;
}

body {
    margin: 0;
}

* {
    box-sizing: border-box;
    margin: 0;
}

.button a {
    color: inherit;
    text-decoration: none;
}

.container {
    font-family: var(--font-primary);
    display: flex;
    height: 100vh;
}

#content {
    flex: 1;
    overflow-y: auto;
}

.insert {

    background-color: var(--color-primary-light);
    color: var(--color-secondary);
    padding: 8px 25px 25px 25px;
    border-radius: 15px;
}

.insert-w {

    color: var(--color-secondary);
    padding: 8px 25px 25px 25px;
    border-radius: 15px;
    border: 1px solid var(--color-primary);
}

.cart-header {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-primary);
    margin-bottom: 20px;
}

.cart-header h1 {
    font-size: 1.6rem;
    font-weight: 200;
    margin-bottom: 2px;
}

.cart-header p {
    font-size: 0.9rem;
    font-weight: 200;
    margin-bottom: 0;
}

.m-a {
    margin-right: auto;
    margin-left: auto;
    display: block;
}

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

/* -- MARGIN-TOP -- */

.mt-xs {
    margin-top: 5px;
}

.mt-sm {
    margin-top: 10px;
}

.mt-md {
    margin-top: 20px;
}

.mt-lg {
    margin-top: 30px;
}

.mt-xl {
    margin-top: 40px;
}

.mt-xxl {
    margin-top: 50px;
}

/* -- MARGIN-RIGHT -- */

.mr-xs {
    margin-top: 5px;
}

.mr-sm {
    margin-right: 10px;
}

.mr-md {
    margin-right: 20px;
}

.mr-lg {
    margin-right: 30px;
}

.mr-xl {
    margin-right: 40px;
}

.mr-xxl {
    margin-right: 50px;
}

.clickable {
    cursor: pointer;
}


/* ---- L A N G U A G E   &   C U R R E N C Y    L I S T E ---- */

#language, #currency {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    height: 100vh;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.5);

}

.container-selected {

    margin: auto;
    width: 80%;
    max-width: 300px;
    height: 80%;
    max-height: 600px;

}

.item-selected {
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 20px 0;
    border-radius: 15px;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.item-selected a {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--color-primary);
    font-size: 1.2rem;
    font-family: var(--font-primary);
    color: var(--color-secondary-light);
    text-decoration: none;
}

.item-selected p {
    margin-right: 10px;
}

.close-selected-list {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    color: white;
    border: 1px solid var(--color-primary);
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* ------------------------ B T N---------------------------- */

.button {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 300;
}

.no-deco {
    text-decoration: none;
}

.button_picto {

    border: 1px solid var(--color-primary) !important;
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    align-items: center;
}

.button_picto_big {

    border: 1px solid var(--color-primary) !important;
    padding: 11px 22px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    align-items: center;
    font-size: 18px;
}

.btn_bg_white {
    background-color: white;
    color: var(--color-secondary);
}

.btn_bg_pink {
    background-color: var(--color-primary);
    color: white;
}

.btn_bg_pink_hard {
    background-color: var(--color-primary-hard);
    color: white;
}

.button_picto p {

    margin-right: 5px;
}

.button_picto_big p {

    margin-right: 10px;
}

/* -------------------------------------------------------- */

.popup-bandeau {
    background: var(--color-primary-light);
    color: var(--color-secondary);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--color-primary);
}

.step-actions {
    flex-wrap: wrap;
}

@media (max-width: 450px) {

    .step-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }

}