.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select-display {
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

.custom-select-options {
    position: absolute;
    z-index: 10;
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}

.custom-select-options.open {
    display: block;
}

.custom-select-options input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #ccc;
}

.custom-select-options div.option-item {
    padding: 10px;
    cursor: pointer;
}

.custom-select-options div.option-item:hover {
    background: #eee;
}

.custom-select-options div.option-item.hidden {
    display: none;
}

.page-id-33,
.page-template-live-shopping,
.page-template-concept,
.page-id-158562,
.page-id-158574,
.page-id-158545,
.page-id-158584,
.page-id-31

/*journal*/
    {

    & div.text-center,
    & div.info-page {
        text-align: center;
    }

    & #contact-submit,
    & .info-page .default-button,
    & .back-home .default-button & #post-158545 .default-button {
        margin: auto;
        font-size: 1rem;
        width: 40%;
    }
}

.woocommerce-terms-and-conditions-wrapper {

    & a,
    & button {
        font-size: 1rem;
        padding: .8rem 2.5rem;
        text-align: center;
    }
}

#order_comments_field {
    display: block;
    width: 100%;
}

#kl_newsletter_checkbox_field {
    margin-left: 18px;
    width: calc(100% - 62px);
    padding-right: 0 !important;
}

.graa-breadcrumb-desktop {
    display: none;
    padding: 1rem 0;
    background-color: #fefbf9;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col {
    flex: 1 0 0%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

.product-bundle-with-gravure,
.graazie-gravure-product {
    & .graazie-gravure__or {
        font-family: var(--font-family-primary) !important;
        font-weight: normal !important;
        font-size: 1.1rem !important;
    }

    & .icone-modal-trigger-photo {
        position: relative;
        text-align: left;
        height: 32px;
        padding: 2px;
        color: #000;
        background-color: #fff;
        border: 2px solid #f9ddd2;
        font-family: var(--font-family-primary);
        cursor: pointer;
        transition: .4s;

        &:hover {
            background-color: #f9efeb
        }

        &:after {
            content: ">";
            position: absolute;
            top: 50%;
            right: 5px;
            transform: translateY(-50%);
            font-family: var(--font-family-primary);
        }
    }

    & .gravure-face .graazie-gravure__or {
        display: block;
        width: 100%;
    }

    & .icon-modal-photo {
        position: fixed;
        z-index: 99999;
        top: 50%;
        left: 50%;
        width: 90%;
        max-width: 610px;
        min-width: 320px;
        max-height: 95%;
        height: 770px;
        overflow: auto;
        background-color: #fff8f4;
        border: 1px solid #666;
        transform: translate(-50%, -50%);
        display: none;
        text-align: center;
        padding: 2rem 6rem;

        & .text-center {
            text-align: center;
            overflow: hidden;

            & .col {
                padding: 0;

                & img {
                    margin: 5px 0;
                }

                & p {
                    font-family: var(--font-family-tertiary);
                    font-size: .52rem;
                    line-height: normal;
                    margin: 0;
                }
            }
        }

        &.is-active {
            display: block
        }

        &.is-loading .inner {
            opacity: 0.5;
            pointer-events: none;
        }

        & img {
            margin: auto;
            max-width: 90%;
        }

        & .submit {
            margin: 1.5rem auto 0;

            & .default-button {
                padding: 10px 50px;
                font-size: 1.05rem;
            }
        }

        /* Image cliquable: curseur + petit pulse */
        & .graazie-clickable {
            cursor: pointer;
            transition: transform 0.15s ease, box-shadow 0.15s ease;

            &:hover {
                transform: scale(1.02);
                box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
            }
        }

        & .upload-box {
            width: 62%;
            height: auto;
            border: 2px dashed #f9ddd2;
            border-radius: 16px;
            background-color: #fef2ed;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: .5rem;
            box-sizing: border-box;
            position: relative;
            margin: 1rem auto;

            &:before {
                content: "";
                position: absolute;
                inset: 0;
                border: 2px solid #f9ddd2;
                /* bordure pleine */
                border-radius: 16px;
                pointer-events: none;
                margin: -5px;
            }

            & img {
                width: 95%;
            }

            & p {
                font-family: var(--font-family-tertiary);
                font-size: .9rem;
                line-height: normal;
                margin: 0;
            }
        }

        & .close-modal {
            position: absolute;
            top: 0;
            right: 20px;
            padding-left: 10px;
            padding-right: 10px;
            font-size: 30px;
            font-weight: 700
        }

        & .inner {

            & h2 {
                font-family: var(--font-family-tertiary);
                padding: 1rem 0;
            }

            & p.text-center {
                font-family: var(--font-family-tertiary);
                font-size: 1rem;
            }
        }
    }
}

@keyframes graazie-shake {

    10%,
    90% {
        transform: translateX(-1px);
    }

    20%,
    80% {
        transform: translateX(2px);
    }

    30%,
    50%,
    70% {
        transform: translateX(-4px);
    }

    40%,
    60% {
        transform: translateX(4px);
    }
}

.shake-once {
    animation: graazie-shake 0.4s linear 1;
}

.woocommerce-breadcrumb {
    font-size: .9rem;
    margin: 10px 0;
}

.woocommerce-breadcrumb a {
    text-decoration: none;
}

.product-tab_content {
    & h2 {
        margin: 0;
        padding: 0;
        font-size: 1rem;
        font-weight: bold;
    }
}

.has-text-upper {
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .graa-breadcrumb-desktop {
        display: block;
    }
}

@media screen and (max-width: 1200px) {

    .product-bundle-with-gravure,
    .graazie-gravure-product {
        & .icon-modal {}
    }
}

@media (max-width: 768px) {

    .graazie-gravure-product input[type="text"],
    .graazie-gravure-product select {
        font-size: 16px !important;
    }

    .page-id-33,
    .page-template-live-shopping,
    .page-template-concept,
    .page-id-158562,
    .page-id-158574,
    .page-id-158545,
    .page-id-158584,
    .page-id-31 {

        & #contact-submit,
        & .info-page .default-button,
        & .back-home .default-button,
        & #post-158545 .default-button {
            width: 100%;
        }
    }

    .woocommerce-terms-and-conditions-wrapper {

        & a,
        & button {
            min-width: 45%
        }
    }

    .product-bundle-with-gravure,
    .graazie-gravure-product {
        & .icon-modal-photo {
            padding: 2rem;
            height: auto;

            & .text-center {
                & .col {
                    & p {
                        font-size: .35rem;
                    }
                }
            }

            & .upload-box {
                & p {
                    font-size: .7rem;
                }
            }

            & .inner {
                & h2 {
                    font-size: 1.4rem;
                    padding-bottom: 0;
                }

                & p.text-center {
                    font-size: .7rem;
                }
            }
        }

        & .icone-modal-trigger,
        & .icone-modal-trigger-photo,
        & .icone-modal-trigger:after,
        & .icone-modal-trigger-photo:after {
            font-size: .75rem;
            padding-top: .25rem !important;
            top: 40% !important
        }
    }

    .mobile-neg-margin {
        top: -3rem;
        position: relative;
    }

    .mobile-neg-margin2 {
        top: -3rem;
        position: relative;
    }

    .fb-container-step-3 {
        margin-top: 15rem;
    }

}