/**
used in
* /merchant-tools
* /merchant-tools-plugins
* /shopify
* /woocommerce
* /magento
 */

@import "/css/home/typography.css";
@import "/css/home/buttons.css";
@import "/css/common/partner-section.css";

body.body {
    table-layout:fixed;
}

.title-section {
    margin-top: 55px;
    margin-bottom: 55px;
}

h3.title-section-parent {
    font-size: 24px;
    line-height: 30px;
}

h1.title-section-title {
    font-size: 50px; /* TODO this */
    line-height: 65px;
}

.supported-by {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
}

.supported-by span {
    color: #000;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
}

@media screen and (max-width: 1440px) {
    h1.title-section-title {
        font-size: 50px;
        line-height: 65px;
    }
}

@media screen and (max-width: 1279px) {
    h1.title-section-title {
        font-size: 50px;
        line-height: 65px;
    }
}

@media screen and (max-width: 991px) {
    h3.title-section-parent {
        font-size: 20px;
        line-height: 25px;
    }

    h1.title-section-title {
        font-size: 40px;
        line-height: 65px;
    }
}

@media screen and (max-width: 767px) { 
    .supported-by {
        justify-content: center;
        flex-direction: column-reverse;
    }
    .supported-by span {
        width: 80%;
    }
}

@media screen and (max-width: 477px) {
    h3.title-section-parent {
        font-size: 18px;
        line-height: 23px;
    }
    h1.title-section-title {
        font-size: 28px;
        line-height: 65px;
    }
}

.plugin-listing-header-section-container {
    position: relative;
    background-color: transparent;
    /* background-color: #FFFFFF; */
    padding-top: 40px;
    /* padding-bottom: 40px; */
}

.plugin-listing-header-section-container-wrapper-wrapper {
    background: #F7F8FB;
    position: relative;
    overflow-x: hidden;
}

.plugin-listing-header-section-container-wrapper-wrapper:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;

    /* GRADIENT MATH for OFFSET from BOTTOM
        for DEG
        calc(cos(DEG) + sin(DEG)/2 + C)
        (sin(DEG)/2) because middle of screen
     */
    background: linear-gradient(
            20deg,
            transparent 0%,
            transparent calc(93.969262vh + 17.101007vw - 420px),
            rgba(234, 236, 243, 0.4) calc(93.969262vh + 17.101007vw - 420px),
            rgba(234, 236, 243, 0.4) calc(93.969262vh + 17.101007vw + 670px),
            transparent calc(93.969262vh + 17.101007vw + 670px)
    );
}

.plugin-listing-header-section-container-wrapper {
    position: relative;
    background-color: unset;
}

.plugin-listing-header-section-container-wrapper:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* background: white; */
    background: linear-gradient(-20deg, #4678EC 0%, #0C4CDD calc(93.969262vh + 17.101007vw - 270px), rgba(211, 211, 211, 0) 0%);
}


@media screen and (max-width: 991px) {
    .plugin-listing-header-section-container-wrapper-wrapper:before {
        background: linear-gradient(
                20deg,
                transparent 0%,
                transparent calc(93.969262vh + 17.101007vw - 350px),
                rgba(234, 236, 243, 0.4) calc(93.969262vh + 17.101007vw - 350px),
                rgba(234, 236, 243, 0.4) calc(93.969262vh + 17.101007vw + 670px),
                transparent calc(93.969262vh + 17.101007vw + 670px)
        );
    }
    .plugin-listing-header-section-container-wrapper:before {
        background: linear-gradient(-20deg, #4678EC 0%, #0C4CDD calc(93.969262vh + 17.101007vw - 330px), transparent 0%)
    }
}
.plugin-listing-header-section {
    align-items: center;
    justify-content: space-between;
}

@media screen and (min-width: 992px) {
    .plugin-listing-header-section > * {
        margin: 0;
    }
}

@media screen and (max-width: 991px) {
    .plugin-listing-header-section {
        flex-wrap: wrap;
    }
    .plugin-listing-search {
        margin-top: 10px;
    }
}

.plugin-listing-search {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .plugin-listing-search {
        margin-top: 14px;
        margin-right: auto;
    }
}

.plugin-listing-search > .glyphicon {
    font-size: 23px;
}

.plugin-listing-search > input {
    background-color: transparent;
    color: black;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    outline: 0;
    box-shadow: none;
    border-radius: 0;
    border-bottom-width: 2px;
    padding: 3px 10px;
    line-height: 1.2;
    margin-left: 10px;
    font-weight: 400;
}

.plugin-listing-search > input:focus {
    outline: 0;
    box-shadow: none;
}

.plugin-listing-section {
    margin-top: 40px;
}

.plugin-listing-section-listing {
    width: 100%;
}

.plugin-listing-row {
    display: grid;
    width: 100%;
    grid-template-columns: 117px 1fr 148px;
    grid-template-rows: repeat(auto-fit, auto);
    align-items: center;
    column-gap: 40px;

    background: #FFFFFF;
    border-radius: 10px;
    padding: 32px;
}
@media screen and (max-width: 991px) {
    .plugin-listing-section {
        margin-top: 28px;
    }
}
@media screen and (max-width: 767px) {
    .plugin-listing-row {
        grid-template-columns: 1fr;
    }
}

.plugin-listing-row {
    margin-bottom: 20px;
}

.plugin-listing-title {
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 0.01em;
}
.plugin-listing-title-name {
    font-weight: 700;
}
.plugin-listing-updated {
    margin-top: 12px;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.01em;
}

.plugin-listing-image > img {
    max-height: 41px;
    width: 100%;
    max-width: 117px;
    object-fit: contain;
}

.plugin-listing-image-aMember-Pro {
    clip-path: inset(1px 1px 1px 1px);
}

.plugin-listing-link > a {
    display: inline-block;
}
.plugin-listing-link > a > div.general-button {
    width: 100%;
    padding-left: 28px;
    padding-right: 28px;
}

.plugin-listing-link .correct-cps-legacy {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.plugin-listing-link .correct-cps-legacy span {
    color: #000;
    font-family: Poppins;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; 
}

@media screen and (max-width: 767px) { 
    .plugin-listing-link .correct-cps-legacy {
        justify-content: center;
        flex-direction: column-reverse;
    }
}

/*
.plugin-listing-description {
    margin-bottom: -20px;
    margin-top: 10px;
    grid-column: 2/3;
}
*/

.no-results {
    font-size: 20px;
    line-height: 25px;
    grid-column: 1/4;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .plugin-listing-row {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    .plugin-listing-data {
        margin-top: 36px;
        margin-bottom: 25px;
    }

    .plugin-listing-link > a > div.general-button {
        width: 148px;
    }
}

.footer {
    border-top: none;
}