.templates {
    display: none !important;
}

.show_templates {
    display: block !important;
}

.templates-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(346px, 1fr));
    gap: 20px;
    padding: 20px;
    height: 80%;
    overflow-y: auto;
    align-content: flex-start;
}

.template-item {
    width: 346px;
    height: 420px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: auto;
    position: relative;
}

.template-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.template-image {
    height: 100%;
}

.template-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
}

.template-item button {
    background: #eee;
    border-radius: 9999px;
    color: #000;
    padding: 8px;
    text-align: center;
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
}

.template-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 83px;
    align-items: center;
}

.template-body a {
    background: #eee;
    border-radius: 9999px;
    color: #000;
    padding: 8px;
    text-align: center;
}

.template-title {
    font-size: 25px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 28px;
}

.search-templates-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.search-templates-container p {
    font-size: 18px;
    margin-bottom: 8px;
}

.search_templates::placeholder {
    color: #b2c5d8;
    font-size: 16px;
}

.search-templates {
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 10px;
    height: 36px;
    width: 25%;
}

.search-icon {
    padding: 0 5px;
    border-right: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.search-templates img {
    width: 23px;
}

.search-templates-container input {
    border: none;
    font-size: 16px;
    width: 100%;
    padding-left: 9px;
}

.template-button {
    border: 1px solid #300270;
    border-radius: 4px;
    background: #fff;
    color: #000;
    padding: 9px 31px;
    margin: 40px 0 20px !important;
    cursor: pointer;
    font-size: 17px !important;
    font-weight: 600;
}

.categories-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.categories-list li {
    padding: 8px 15px;
    background: #eee;
    border-radius: 9999px;
    cursor: pointer;
}

.super-multipart-progress,
.super-multipart-steps {
    display: none;
}

.super-html-content *,
.super-html-content {
    font-size: 14px;
    line-height: 28px !important;
}

.super-radio * {
    font-size: 14px !important;
    font-weight: 600;
}

.super-form-fixed-container {
    margin: 0px;
    position: fixed;
    inset: 0;
    z-index: 1000000;
    background: #fff;
}

.templates-container {
    position: fixed;
    inset: 0;
    background: white;
    width: 100%;
    height: 100vh;
    z-index: 1000001;
}

.super-form-fixed-container .super-form-header.super-column.super_one_full {
    border-bottom: 1px solid #000;
    padding: 15px 0 !important;
    height: 10vh;
}

.super-form-fixed-container .super-form.super-adaptive {
    padding: 0 !important;
}

.super-form-header .super-shortcode {
    margin: 0 !important;
}

.super-shortcode.super-multipart>.super-shortcode:not(.super-button) {
    padding: 3% 15% 0% 15%;
}

.super-focus .super-item.super-focus .super-before {
    box-shadow: none !important;
}

.super-form .super-column .super-radio .super-item,
.super-form .super-column:not(.price-row) .super-text input {
    border: 1px solid #d9d9d9 !important;
    padding: 6px 13px !important;
    border-radius: 5px !important;
    margin-bottom: 15px !important;
}

.super-form .super-column.price-row .super-radio .super-item {
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}

.super-radio .super-item.super-active {
    border-color: #000;
}

.super-form .super-radio .super-before {
    margin-right: 10px;
}

.super-button-container {
    border-top: 1px solid #000;
    width: 100% !important;
    padding: 0 40px;
    height: 10vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row-reverse;
    gap: 15px;
}

.super-button {
    float: none !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}

.super-button .super-button-wrap {
    padding: 7px 30px !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px !important;
    min-height: 37px !important;
}

.super-prev-multipart .super-button-wrap {
    background: #efeffe !important;
    font-weight: 400;
    border: 1px solid #d9d8db !important;
}

.super-prev-multipart .super-button-wrap .super-button-name {
    color: #323a45 !important;
}

.super-initialized .super-multipart.super-active {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.type_site_row {
    margin-top: 20px !important;
}

.super-form .align-center img {
    width: 600px;
}

.template-result {
    margin-top: 20px;
}

.template-result img {
    margin-top: 30px;
    width: 300px;
    max-height: 300px;
    object-fit: cover;
}

.main-text .super-html-content h3,
.super-heading-title * {
    font-size: 22px;
    font-weight: 500;
    font-family: "Jost", sans-serif !important;
}

.super-html-content h4 {
    font-size: 20px !important;
    padding: 0px !important;
    font-family: "Jost", sans-serif !important;
}

.super-html-content h3 {
    font-size: 25px;
    font-weight: 500;
    font-family: "Jost", sans-serif !important;
}

.super-html-content h2 {
    font-size: 25px;
    font-weight: 400;
    font-family: "Jost", sans-serif !important;
    line-height: 36px;
}

.super-html-content b {
    font-size: 14px;
    font-weight: 600;
}

.super-html-content h4 b {
    font-size: 20px !important;
}

.super-form .super-html-content,
.super-form .super-html-content li {
    font-size: 14px;
}

.super-form .super-html-content li {
    font-family: "Jost", sans-serif !important;
}

.super-form .super-html-content ul {
    line-height: 28px;
}

.super-field {
    margin: 0px 15px 10px 0 !important;
}

.option_checkbox {
    margin: 8px 0;
}

.option_checkbox small {
    font-size: 12px !important;
}

.recap-row .super-grid.super-shortcode {
    display: flex !important;
    gap: 30px;
}

.price-row.achat-row .super-grid.super-shortcode .super_one_full {
    width: 100% !important;
}

.recap-row .super-grid.super-shortcode .separator {
    content: "";
    width: 1px;
    height: 50vh;
    background: #ddd;
}

.option_checkbox .super-field {
    margin: 0px 15px 0 0 !important;
}

.no-margin,
.no-margin * {
    margin: 0 !important;
    padding: 0 !important;
}

.sp-separator {
    width: 1px;
    height: 55vh;
    background: #ddd;
}

.super-grid>.super-column.super_one_full.price-row {
    border-bottom: 1px solid #bfcbd9;
    padding: 20px 0 !important;
}

.super-grid>.super-column.super_one_full.last-price-row {
    border-bottom: none;
}

.super-grid>.super-column.super_one_full.price-row .super-field {
    padding: 0 !important;
    margin: 0 !important;
}

.super-grid>.super-column.super_one_full.price-row .first-column {
    width: 163px;
    flex-shrink: 0;
}

ul.features-list li {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 !important;
    padding: 0 !important;
}

ul.features-list li * {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    white-space: nowrap;
    flex-shrink: 0;
}

ul.features-list li svg {
    width: 15px !important;
}

.features-list .tooltip {
    height: 20px;
}

.price-row .super-before {
    border-radius: 9999px !important;
}

.price-row .super-after {
    border-radius: 9999px !important;
}

.price-row.achat-row small {
    font-size: 14px;
    color: #333333;
    font-weight: 300;
}

.price-row.achat-row {
    border-bottom: none !important;
    border-top: 1px solid #300270;
}

.price-row .super-checkbox .super-item div {
    font-weight: 600;
    white-space: nowrap;
}

.price-row .super-html-content span {
    font-size: 14px !important;
}

.price-checkbox .super-item .super-before {
    border-color: #bfcbd9 !important;
}

.price-checkbox .super-item.super-active .super-before {
    border-color: #000 !important;
}

.super-fileupload-button {
    display: inline-flex !important;
    justify-content: center;
    border: 1px dashed !important;
    border-radius: 5px !important;
    width: fit-content !important;
    padding: 0 24px !important;
}

.second-slide h4 {
    font-size: 18px !important;
    font-weight: 500;
    font-family: "Jost", sans-serif !important;
}

.second-slide span,
.second-slide p {
    font-size: 16px !important;
    font-weight: 400;
    font-family: "Jost", sans-serif !important;
}

.price-button-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

.price-button-text * {
    margin: 0 !important;
    padding: 0 !important;
}

.price-button-text span {
    font-weight: 300;
    font-size: 12px;
    line-height: 13px;
}

.price-button-text b {
    font-size: 12px;
    line-height: 13px;
}

.super-button .disabled {
    background: #f0f0f0 !important;
    color: #b2b2b2 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.super-button .disabled .super-button-name {
    color: #b2b2b2 !important;
}

.payment-slide .super-button:not(.super-prev-multipart):not(.disabled) {
    position: relative;
}

.payment-slide .super-button:not(.super-prev-multipart):not(.disabled)::after {
    content: attr(data-text);
    position: absolute;
    top: 108%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 300;
    font-size: 14px;
    color: #333;
    display: block;
    text-align: center;
    white-space: nowrap;
}

.search-categories button {
    background: #efeffe;
    border: 1px solid #d9d8db;
    border-radius: 3px;
    font-size: 14px;
    padding: 7px 10px;
    max-width: 150px;
    cursor: pointer;
}

.search-categories button.active {
    background: #000;
    color: #fff;
}

.search-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.hide-wrapper .super-field-wrapper {
    display: none !important;
}

.super-adaptive-placeholder {
    top: -7px !important;
}

.super-checkbox .super-before {
    border-color: #bfcbd9;
    border-radius: 4px;
    border-width: 1px;
}

.super-column:not(.price-row) .super-checkbox .super-before {
    border-color: #bfcbd9;
    border-radius: 4px;
    border-width: 1px;
}

.super-column:not(.price-row) .super-checkbox .super-after {
    border-radius: 3px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    z-index: 1;
    font-size: 30px;
}

.ui-tooltip {
    z-index: 9999999999999 !important;
}

.fade-random-text.fade {
    animation: fade 2s linear infinite;
    -webkit-animation: fade 2s linear infinite;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.super-empty-error-msg {
    float: left;
}

.text-col {
    margin-top: 20px;
}

.hide-for-responsive {
    display: none !important;
}

@media screen and (max-width: 768px) {

    .mobile_nav_container {
        display: none !important;
    }

    body.super-form-custom {
        height: 100vh;
        overflow: auto;
    }
    .super-form-fixed-container {
        position: absolute;
    }

    .super-form-fixed-container .super-form-header.super-column.super_one_full {
        padding: 0 !important;
    }

    /* Handle form h4, h3, h2 font sizes */

    .super-form .super-column.super_one_full h4 {
        font-size: 14px !important;
    }

    .super-form .super-column.super_one_full h3 {
        font-size: 16px !important;
    }

    .super-form .super-column.super_one_full h2 {
        font-size: 18px !important;
    }

    .super-heading-title * {
        font-size: 14px !important;
    }

    .super-shortcode.super-multipart>.super-shortcode:not(.super-button) {
        padding: 6% 9% 0% 9%;
    }

    .super-radio * {
        font-size: 13px !important;
    }

    /* .super-column:not(.super-form-header) .super-image {
         display: none !important;
    } */

    .super-column:not(.super-form-header) .super-image img {
        max-height: 100% !important;
        max-width: 100% !important;
    }

    .search-categories {
        display: none !important;
    }

    .templates-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .template-item {
        width: 320px;
        height: 420px;
    }

    .search-templates {
        width: 100%;
    }

    .search-templates-container {
        padding: 30px 30px 0;
    }

    .template-result img {
        max-height: 150px;
    }

    .text-col {
        margin-top: 0;
    }

    .super-adaptive-placeholder {
        font-size: 11px !important;
    }

    .recap-row .super-grid.super-shortcode {
        display: block !important;
    }

    .super-initialized .super-multipart.super-active {
        overflow-y: auto !important;
        height: 80vh !important;
    }

    .super-button-container .super-button {
        margin: 0 !important;
    }

    .super-button-container {
        padding: 12px 40px !important;
        position: fixed;
        left: 0;
        bottom: 0;
        background: #fff;
        z-index: 9999999;
    }

    .sp-separator {
        display: none !important;
    }

    .price-row .column-number-2 {
        display: none !important;
    }

    .price-row .grid-level-3.column-number-2 {
        display: block !important;
        margin-top: 5px !important;
    }

    .price-row .grid-level-3.column-number-2 .super-shortcode:first-child {
        display: none !important;
    }

    .hide-for-responsive {
        display: block !important;
    }

    .recap-row .column-number-2 {
        margin-top: 30px;
    }

    .contact-details .super-grid, .site-details .super-grid, .template-details .super-grid, .type-details .super-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .achat-case-col {
        display: flex !important;
        align-items: center;
        gap: 5px;
    }

    .achat-case-col .super-item {
        padding: 0 !important;
    }
}

