/**
* Theme Name: Highx Child
* Description: This is a child theme of highx
* Author: designervily
* Template: highx
* Version: 1.0
*/

:root {
    --green-color: #62c03a;
    --blue-color: #094d52;
    --beige-color: #fffef0;
    --gray-color: #f7f7f7;
}

.elementor-widget-text-editor {
    h3 {
        color: inherit !important;
        font-size: 36px !important;
        font-weight: 500 !important;
    }
}

.pbmit-footer-style-2 {
    padding: 0 !important;

    .pbmit-footer-logo img {
        height: 150px !important;
    }
}

.pbmit-title-bar-content-inner {
    width: fit-content !important;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
}

.wpcf7-acceptance > .wpcf7-list-item {
    margin-left: 0 !important;
}

.wpcf7-acceptance > .wpcf7-list-item > label {
    display: flex !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
}

.wpcf7-acceptance > .wpcf7-list-item input[type="checkbox"] {
    width: 1rem !important;
    height: 1rem !important;
    margin-top: 0.25rem !important;
    flex-shrink: 0 !important;
}

.wpcf7-textarea {
    resize: vertical;
    min-height: 180px;
}

.wpcf7-submit[disabled] {
    opacity: 0.4;
}

.widget.widget_block:has(#links-other-services) {
    padding: 0 !important;
    clip-path: none !important;
    border: none !important;
    outline: none !important;
}

#services-home-cards article.pbmit-ele.pbmit-ele-miconheading.pbmit-miconheading-style-2 > .pbmit-ihbox.pbmit-ihbox-style-2 {
    background: var(--blue-color) !important;
    color: white !important;

    --pbmit-highx-blackish-color: white;

    * {
        color: var(--pbmit-highx-blackish-color) !important;
    }

    .pbmit-ihbox-btn a {
        background: var(--green-color) !important;
    }

    &::before {
        display: none;
    }
}

/* -------------------------------- */
/* ----------- MAGAGINS ----------- */
/* -------------------------------- */

.magasins-grid {
    display: grid;
    gap: 2.5rem;
}

@media only screen and (min-width: 465px) {
    .magasins-grid {
        grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
    }
}

.magasin-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 2px solid rgba(9, 77, 82, 0.3);
    padding: 1.5rem;

    > img {
        width: 100%;
        height: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        clip-path: polygon(25% 0, 100% 0, 100% 80%, 79% 100%, 0 100%, 0 20%);
    }

    .magasin-item-title {
        font-size: 2.25rem;
        line-height: 2.25rem;
        font-family: Teko, sans-serif;
        font-weight: 500;
        margin-bottom: 0;
    }

    .magasin-item-address {
        margin-bottom: 0;
    }

    .magasin-item-actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

#code-postal-input {
    background: var(--gray-color);
    border: 1px solid rgba(9, 77, 82, 0.3);
}

#masthead .pbmit-search-cart-box {
    display: none !important;
}
