.section-contact {
    padding: 48px 0;
    background: #F8FAFC;
}

.section-contact__wrapper {
    min-width: 275px;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    @media screen and (max-width: 1024px) {
       padding: 0 16px;
    }
}

.section-contact .left-col {
    grid-column: span 5;
    border: 1px solid #D2D1D2;
    border-radius: 16px;
    padding: 24px;
    background-color: white;
    height: max-content;
    @media screen and (max-width: 768px) {
        grid-column: span 12;
        order: 2;
    }
}

.section-contact .right-col {
    grid-column: span 7;
    border: 1px solid #D2D1D2;
    border-radius: 16px;
    padding: 24px;
    background-color: white;
    position: relative;
    @media screen and (max-width: 768px) {
        grid-column: span 12;
    }
}

.section-contact .contact-form__avatar {
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    border-radius: 100%;
    object-fit: cover;
}

.section-contact .contact-form__header {
    display: flex;
    align-items: center;
    gap: 12px;
    @media screen and (max-width: 768px) {
       flex-direction: column;
        align-items: start;
    }
}

.section-contact .contact-form__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 10px;
}


.section-contact .contact-form__title {
    font-size: 18px;
    font-weight: 700;
    color: #0B1B30;
}


.section-contact .contact-form__desc {
    font-size: 14px;
    font-weight: 400;
    color: #0B1B30;
}

.section-contact .contact-info__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 2;
    @media screen and (max-width: 768px) {
        flex-direction: column;
    }
}

.section-contact .contact-info__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-contact .contact-info__subtitle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0B1B30;
}

.section-contact .contact-info__title {
    font-size: 36px;
    font-weight: 700;
    color: #0B1B30;
    @media screen and (max-width: 768px) {
        font-size: 28px;
    }
}

.section-contact .contact-info__google {
    max-width: 271px;
    object-fit: contain;
    box-shadow: 24.13px 16.89px 48.27px 0px #00000014;
    box-shadow: -4.83px -2.41px 19.31px 0px #00000014;
    border-radius: 8px;
    @media screen and (max-width: 1024px) {
        max-width: 200px;
    }
}

.section-contact .contact-info__buttons {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 2;
    margin-top: 32px;
    @media screen and (max-width: 1024px) {
        flex-direction: column;
    }
}

.section-contact .contact-info__button {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-contact .contact-info__button-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    gap: 12px;
}

.section-contact .contact-info__button-link.is-dark {
    background-color: #0B1B30;
    border: 2px solid #0B1B30;
    color: #fff;
}

.section-contact .contact-info__button-link.is-light {
    background-color: white;
    color: #0B1B30;
    border: 2px solid #0B1B30;
}

.section-contact .contact-info__button-link:hover {
    opacity: 0.7;
}

.section-contact .contact-info__button-desc {
    font-size: 16px;
    color: #5D5E5D;
}

.section-contact .contact-info__checklist {
    border-top: 1px solid #D2D1D2;
    padding: 16px 0;
    margin-top: 32px;
    position: relative;
    z-index: 2;
}

.section-contact .contact-info__checklist-top {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 50%;
}

.section-contact .contact-info__checklist-percentage {
    max-width: 96px;
    object-fit: contain;
    @media screen and (max-width: 768px) {
        max-width: 80px;
    }
}

.section-contact .contact-info__checklist-title {
    font-size: 20px;
    font-weight: 700;
    color: #0B1B30;
}

.section-contact .contact-info__checklist-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
    margin: 24px 0;
    @media screen and (max-width: 648px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.section-contact .contact-info__checklist-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #0B1B30;
}

.section-contact .contact-info__background {
    position: absolute;
    bottom: 0;
    right: 24px;
    z-index: 1;
}

.section-contact .contact-form__form {
    margin: 24px 0;
}

.section-contact .contact-form__form form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-contact .contact-form__form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0B1B30;
}

.section-contact .contact-form__form input {
    border: 1px solid #E7E7E7;
    background-color: #F8FAFC;
    border-radius: 8px;
    padding: 12px 20px;
}

.section-contact .contact-form__form .wpcf7-list-item label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    margin-top: 8px;
}

.section-contact .contact-form__form .wpcf7-submit  {
    width: 100%;
    margin-top: 24px;
    background-color: #F12D2F;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-contact  .contact-form__text-bottom {
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.copy-to-clipboard {
    transition: opacity 0.3s ease;
}

.copy-to-clipboard.copied {
    opacity: 0.6;
}

.copy-to-clipboard:hover {
    opacity: 0.8;
}


/* ALLEGRO PRODUCTS*/

/*#main:has(.section-allegro-products__wrapper) {*/
/*    padding-bottom: 0;*/
/*}*/

.section-allegro-products--border-bottom {
    border-bottom: 1px solid #ededed;
}

.section-allegro-products {
    padding: var(--allegro-pt-desktop, 48px) 0 var(--allegro-pb-desktop, 48px);
    background: #F8FAFC;

    @media screen and (max-width: 1024px) {
        padding: var(--allegro-pt-mobile, var(--allegro-pt-desktop, 48px)) 0 var(--allegro-pb-mobile, var(--allegro-pb-desktop, 48px));
    }
}

.section-allegro-products__wrapper {
    max-width: 1312px;
    margin: 0 auto;
    padding-right: 40px;
    padding-left: 40px;
    @media screen and (max-width: 1024px) {
        padding: 0 16px;
    }
}

.section-allegro-products__top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.section-allegro-link {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: transparent;
    color: #F37216;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease;

    @media screen and (max-width: 1024px) {
        display: none;
    }
}

/*.section-allegro-products__title {*/
/*    font-size: 36px;*/
/*    font-weight: 700;*/
/*    color: #0B1B30;*/
/*    margin-bottom: 32px;*/
/*    @media screen and (max-width: 768px) {*/
/*        font-size: 28px;*/
/*    }*/
/*}*/

.section-allegro-products__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 32px 0 0;

    @media screen and (max-width: 1024px) {
        grid-template-columns: repeat(2, 1fr);
    }
    @media screen and (max-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }
    @media screen and (max-width: 480px) {
        grid-template-columns: 1fr;
    }
}

a.allegro-product {
    text-decoration: none!important;
    color: inherit!important;
    cursor: pointer!important;
}

.allegro-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #D2D1D2;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.allegro-product:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.allegro-product__image {
    background: #F0F0F0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.allegro-product__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #efefef;
    color: #F37216;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px 4px 8px;
    border-radius: 0 4px 4px 0;
    z-index: 1;
}

.allegro-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.allegro-product__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    flex: 1;
}

.allegro-product__title {
    font-size: 14px;
    font-weight: 700;
    color: #0B1B30;
    line-height: 1.4;
    margin: 0;
}

.allegro-product__params {
    list-style: none !important;
    padding: 0!important;
    margin: 0!important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.allegro-product__param {
    font-size: 12px;
    color: #5D5E5D;
}

.allegro-product__param-name {
    font-weight: 400;
}

.allegro-product__param-value {
    font-weight: 600;
}

.allegro-product__price {
    font-size: 18px;
    font-weight: 700;
    margin-top: auto;
    padding-top: 8px;
    margin-bottom: 8px;
}

.allegro-product__shipping {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
}

.allegro-product__shipping svg {
    flex-shrink: 0;
}

.allegro-product__button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    background-color: #F37216 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
}

.allegro-product__button svg {
    flex-shrink: 0;
}

.allegro-product__button:hover {
    opacity: 0.85 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.section-allegro-products__mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;

    & .section-allegro-link {
        display: flex;
    }

    @media screen and (min-width: 1024px) {
        display: none;
    }
}

.allegro-product__price-wrapper {
    margin-top: auto;
}

/* Allegro Products Shortcode */
.allegro-products-shortcode .allegro-products-shortcode__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none!important;
    padding: 0!important;
    margin: 0!important;
    margin-top: 16px!important;
}

.allegro-products-shortcode .allegro-products-shortcode__list > li {
    flex: 1 1 192px;
    max-width: 100%;
    list-style: none;
}

@media screen and (max-width: 768px) {
    .allegro-products-shortcode__list > li {
        flex: 1 1 160px;
    }
}

/* Allegro CTA */
.section-allegro-cta {
    padding: var(--allegro-cta-pt-desktop, 48px) 0 var(--allegro-cta-pb-desktop, 48px);
    margin-top: var(--allegro-cta-mt, 0);
    margin-bottom: var(--allegro-cta-mb, 0);
    background: #F8FAFC;

    @media screen and (max-width: 1024px) {
        padding: var(--allegro-cta-pt-mobile, var(--allegro-cta-pt-desktop, 48px)) 0 var(--allegro-cta-pb-mobile, var(--allegro-cta-pb-desktop, 48px));
    }
}

.section-allegro-cta--bg-white {
    background: #fff;
}

.section-allegro-cta--border-bottom {
    border-bottom: 1px solid #ededed;
}

.section-allegro-cta__wrapper {
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;

    @media screen and (max-width: 1024px) {
        padding: 0 16px;
    }
}

.section-allegro-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 48px;
    background-color: #F37216;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;

    @media screen and (max-width: 768px) {
        width: 100%;
        padding: 16px 32px;
        font-size: 16px;
    }
}

.section-allegro-cta__button:hover {
    opacity: 0.85;
}

.section-allegro-cta__button svg {
    flex-shrink: 0;
}

/* BEGIN hero illustration */
.sec-hero-illustration {
    &:first-child {
        margin-top: 0;
    }
    .hero {
        font-size: 0;
        .contents {
            .contents- {
                width: 560px !important;
                max-width: 100% !important;
                padding: 36px 36px 36px 0;
            }
        }
    }
}
/* END hero illustration */

.header + .contents- {
    margin-top: 24px!important;
}