.ync-page-section,
.ync-product-section {
    margin: 42px 0 54px;
}

.ync-section-head,
.ync-product-section-head {
    margin-bottom: 22px;
}

.ync-kicker {
    display: inline-block;
    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;

    color: #36c2a0;
}

.ync-section-head h1,
.ync-section-head h2,
.ync-product-section-head h2,
.ync-all-products-head h2 {
    margin: 0 0 8px;

    line-height: 1.08;

    color: #0f1730;
}

.ync-section-head h1 {
    font-size: 42px;
}

.ync-section-head h2,
.ync-product-section-head h2,
.ync-all-products-head h2 {
    font-size: 34px;
}

.ync-section-head p,
.ync-product-section-head p,
.ync-all-products-head p {
    margin: 0;

    max-width: 760px;

    color: #5f6b7a;
}


/* =========================================================
   HERO
   ========================================================= */

.ync-shop-hero {
    margin: 12px 0 42px;

    overflow: hidden;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(54,194,160,.22),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #081f58,
            #0e326e 58%,
            #133d7a
        );

    color: #fff;
}

.ync-shop-hero__inner {
    padding: 58px 48px;
}

.ync-shop-hero h1 {
    margin: 0 0 16px;

    max-width: 720px;

    font-size: 48px;
    line-height: 1.05;

    color: #fff;
}

.ync-shop-hero p {
    margin: 0;

    max-width: 690px;

    font-size: 17px;
    line-height: 1.65;

    color: rgba(255,255,255,.88);
}

.ync-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 26px;
}

.ync-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border-radius: 999px;

    font-weight: 750;

    text-decoration: none;

    transition:
        transform .18s ease,
        opacity .18s ease;
}

.ync-btn:hover {
    transform: translateY(-2px);
}

.ync-btn--primary {
    background:
        linear-gradient(
            90deg,
            #ff7c5c,
            #36c2a0
        );

    color: #fff;
}

.ync-btn--ghost {
    border:
        1px solid
        rgba(255,255,255,.28);

    background:
        rgba(255,255,255,.07);

    color: #fff;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.ync-categories-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 22px;
}

.ync-category-card {
    display: block;

    overflow: hidden;

    border:
        1px solid #e5eaf1;

    border-radius: 22px;

    background: #fff;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.ync-category-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 18px 42px
        rgba(8,31,88,.10);
}

.ync-category-media {
    overflow: hidden;

    height: 215px;

    background: #edf1f4;
}

.ync-category-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}

.ync-category-card:hover
.ync-category-media img {
    transform:
        scale(1.035);
}

.ync-category-content {
    padding:
        18px 19px 20px;
}

.ync-category-content h3 {
    margin:
        0 0 7px;

    font-size: 21px;

    color: #10182d;
}

.ync-category-content p {
    min-height: 46px;

    margin: 0;

    line-height: 1.5;

    color: #5d6876;
}

.ync-discover {
    display: inline-block;

    margin-top: 13px;

    font-weight: 700;

    color: #0b2f73;
}


/* =========================================================
   PRODUITS
   ========================================================= */

.ync-product-section {
    padding:
        30px;

    border:
        1px solid #e8edf3;

    border-radius: 26px;

    background: #fff;
}

.ync-product-section-head {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 24px;
}

.ync-section-link {
    flex: 0 0 auto;

    font-weight: 700;

    text-decoration: none;

    color: #0b2f73;
}

.ync-products-grid.products {
    display: grid !important;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 20px;

    margin: 0 !important;

    padding: 0 !important;
}

.ync-products-grid.products::before,
.ync-products-grid.products::after {
    display: none !important;
}

.ync-products-grid.products
li.product {
    float: none !important;

    width: auto !important;

    margin: 0 !important;

    padding: 14px !important;

    border:
        1px solid #edf0f4;

    border-radius: 18px;

    background: #fff;
}

.ync-products-grid.products
li.product img {
    border-radius: 14px;
}

.ync-products-grid.products
li.product .woocommerce-loop-product__title {
    font-size: 16px;
    line-height: 1.35;

    color: #172039;
}

.ync-products-grid.products
li.product .price {
    font-weight: 800;

    color: #0b2f73;
}

.ync-products-grid.products
li.product .button {
    border-radius: 999px;
}


/* =========================================================
   CATALOGUE
   ========================================================= */

.ync-all-products-head {
    margin:
        55px 0 22px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .ync-products-grid.products {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .ync-categories-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}


@media (max-width: 640px) {

    .ync-shop-hero__inner {
        padding:
            36px 22px;
    }

    .ync-shop-hero h1 {
        font-size: 34px;
    }

    .ync-section-head h1 {
        font-size: 34px;
    }

    .ync-section-head h2,
    .ync-product-section-head h2,
    .ync-all-products-head h2 {
        font-size: 28px;
    }

    .ync-categories-grid,
    .ync-products-grid.products {
        grid-template-columns:
            1fr;
    }

    .ync-product-section {
        padding: 20px;
    }

    .ync-product-section-head {
        display: block;
    }

    .ync-section-link {
        display: inline-block;

        margin-top: 12px;
    }
}
