/* ==========================================================
   WHOLESALE GLOVES LANDING
   /rabochie-perchatki-optom/
   ========================================================== */


/* ----------------------------------------------------------
   COMMON
   ---------------------------------------------------------- */

.wholesale-section {
    padding: 5rem 0;
}

.wholesale-section-head {
    max-width: 52rem;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.wholesale-section-head h2,
.wholesale-intro h2 {
    margin-bottom: 1rem;

    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
}

.wholesale-section-head>p:last-child {
    margin-bottom: 0;

    color: #58585a;
    font-size: 1.05rem;
    line-height: 1.7;
}

.wholesale-section-kicker {
    margin-bottom: .65rem;

    color: var(--color-accent);

    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.wholesale-hero {
    position: relative;

    min-height: clamp(34rem, 58vw, 47rem);

    overflow: hidden;

    background: #1e272d;
    color: #fff;
}

.wholesale-hero__picture,
.wholesale-hero__picture img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.wholesale-hero__picture img {
    object-fit: cover;
    object-position: center;
}

.wholesale-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(10, 18, 23, .88) 0%,
            rgba(10, 18, 23, .68) 42%,
            rgba(10, 18, 23, .22) 72%,
            rgba(10, 18, 23, .08) 100%);
}

.wholesale-hero__container {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    min-height: clamp(34rem, 58vw, 47rem);
}

.wholesale-hero__content {
    width: min(46rem, 68%);
    padding: 4rem 0;
}

.wholesale-hero__eyebrow {
    display: inline-block;

    margin-bottom: 1rem;
    padding: .4rem .75rem;

    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;

    background: rgba(0, 0, 0, .15);

    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.wholesale-hero__title {
    max-width: 46rem;
    margin-bottom: 1.25rem;

    font-size: clamp(2.25rem, 4.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
}

.wholesale-hero__lead {
    max-width: 41rem;
    margin-bottom: 2rem;

    color: rgba(255, 255, 255, .92);

    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.65;
}

.wholesale-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem;

    margin-bottom: 2.25rem;
}

.wholesale-hero__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 2.9rem;
    padding: .65rem 1.25rem;

    border: 1px solid rgba(255, 255, 255, .8);

    color: #fff;

    font-weight: 500;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.wholesale-hero__secondary:hover {
    border-color: #fff;

    background: #fff;
    color: #20272c;
}

.wholesale-hero__advantages {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.wholesale-hero__advantages li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;

    color: rgba(255, 255, 255, .9);

    font-size: .93rem;
}

.wholesale-hero__advantages i {
    color: var(--color-accent);
}


/* ----------------------------------------------------------
   INTRO
   ---------------------------------------------------------- */

.wholesale-intro {
    padding: 5.5rem 0 4rem;
}

.wholesale-intro__inner {
    max-width: 58rem;
    margin: 0 auto;
    text-align: center;
}

.wholesale-intro__text {
    color: #58585a;

    font-size: 1.08rem;
    line-height: 1.8;
}

.wholesale-intro__text p:last-child {
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   TASK SELECTION
   ---------------------------------------------------------- */

.wholesale-task-section {
    scroll-margin-top: 7rem;

    background: #f6f7f7;
}

.wholesale-task-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.wholesale-task-card {
    position: relative;

    min-height: 27rem;

    overflow: hidden;

    background: #252c31;
    color: #fff;

    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .08);

    isolation: isolate;
}

.wholesale-task-card>img {
    position: absolute;
    inset: 0;
    z-index: -2;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.wholesale-task-card__shade {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, .03) 15%,
            rgba(0, 0, 0, .72) 100%);

    transition: background .25s ease;
}

.wholesale-task-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    padding: 1.5rem;
}

.wholesale-task-card h3 {
    margin-bottom: .6rem;

    font-size: 1.35rem;
    font-weight: 600;
}

.wholesale-task-card p {
    margin-bottom: 1rem;

    color: rgba(255, 255, 255, .88);

    font-size: .93rem;
    line-height: 1.55;
}

.wholesale-task-card span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;

    color: #fff;

    font-size: .9rem;
    font-weight: 600;
}



/* ----------------------------------------------------------
   INDUSTRIES
   ---------------------------------------------------------- */

.wholesale-industries {
    background: #fff;
}

.wholesale-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.wholesale-industry-card {
    padding: 1.75rem;

    border: 1px solid #e4e7e9;

    background: #fff;
}


.wholesale-industry-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.25rem;

    background: rgba(0, 102, 153, .08);
    color: var(--color-brand);

    font-size: 1.35rem;
}

.wholesale-industry-card h3 {
    margin-bottom: .65rem;

    font-size: 1.15rem;
    font-weight: 600;
}

.wholesale-industry-card p {
    margin-bottom: 0;

    color: #58585a;

    font-size: .94rem;
    line-height: 1.65;
}

/* ----------------------------------------------------------
   SELECTED PRODUCTS
   ---------------------------------------------------------- */

.wholesale-products {
    background: #f6f7f7;
}

.wholesale-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}


/* CARD */

.wholesale-product-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    border: 1px solid #e1e4e6;

    background: #fff;

    transition: box-shadow .2s ease;
}



/* IMAGE */

.wholesale-product-card__media {
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-bottom: 1px solid #edf0f1;

    background: #fff;
}

.wholesale-product-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    padding: 1rem;
}

.wholesale-product-card__image {
    width: 100%;
    height: 100%;

    object-fit: contain;

}



/* BADGES */

.wholesale-product-card__badges {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 2;
}

.wholesale-product-card__new {
    width: auto;
    height: 1.7rem;
}

.wholesale-product-card__pictograms {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.wholesale-product-card__pictograms img {
    width: 2rem;
    height: 2rem;

    object-fit: contain;
}


/* BODY */

.wholesale-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 1.25rem;
}

.wholesale-product-card__article {
    margin-bottom: .35rem;

    color: #7a7f82;

    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .04em;
}

.wholesale-product-card__title {
    margin-bottom: .75rem;

    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.35;
}

.wholesale-product-card__title a {
    color: #212529;
}

.wholesale-product-card__title a:hover {
    color: var(--color-brand);
}

.wholesale-product-card__description {
    display: -webkit-box;
    overflow: hidden;

    margin-bottom: 1rem;

    color: #58585a;

    font-size: .9rem;
    line-height: 1.6;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.wholesale-product-card__pack {
    display: flex;
    align-items: center;
    gap: .45rem;

    margin-top: auto;
    margin-bottom: 1rem;

    color: #62676a;

    font-size: .84rem;
}

.wholesale-product-card__pack i {
    color: var(--color-accent);
}

.wholesale-product-card__pack strong {
    color: #34383a;

    font-weight: 600;
}


/* ACTIONS */

.wholesale-product-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}

.wholesale-product-card__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 2.5rem;

    border-radius: 0;

    font-size: .87rem;
    font-weight: 500;
}


/* CATALOG LINK */

.wholesale-products__catalog-link {
    margin-top: 2.5rem;

    text-align: center;
}

.wholesale-products__catalog-link .btn {
    border-radius: 0;
}

.wholesale-products__catalog-link i {
    margin-left: .4rem;

    font-size: .8em;
}


/* ----------------------------------------------------------
   HELP WITH SELECTION
   ---------------------------------------------------------- */

.wholesale-help {
    background: #fff;
}

.wholesale-help__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: center;
}

.wholesale-help__content h2 {
    max-width: 34rem;
    margin-bottom: 1.25rem;

    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
}

.wholesale-help__lead {
    max-width: 38rem;
    margin-bottom: 1.75rem;

    color: #58585a;

    font-size: 1rem;
    line-height: 1.75;
}

.wholesale-help__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.wholesale-help__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 0;
}

.wholesale-help__options {
    display: grid;
    gap: 1rem;
}

.wholesale-help-card {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1.25rem;

    padding: 1.5rem;

    border: 1px solid #e4e7e9;

    background: #fff;
}

.wholesale-help-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 3.5rem;
    height: 3.5rem;

    background: rgba(0, 102, 153, .08);
    color: var(--color-brand);

    font-size: 1.3rem;
}

.wholesale-help-card h3 {
    margin-bottom: .45rem;

    font-size: 1.05rem;
    font-weight: 600;
}

.wholesale-help-card p {
    margin-bottom: 0;

    color: #58585a;

    font-size: .91rem;
    line-height: 1.6;
}


/* ----------------------------------------------------------
   WHOLESALE PROCESS
   ---------------------------------------------------------- */

.wholesale-process {
    background: #f6f7f7;
}

.wholesale-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.wholesale-process-card {
    position: relative;

    min-width: 0;
    padding: 1.75rem;

    border-top: 3px solid var(--color-brand);

    background: #fff;
}

.wholesale-process-card__number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;

    color: #e5e8e9;

    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.wholesale-process-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;
    margin-bottom: 1.35rem;

    background: rgba(132, 170, 50, .12);
    color: var(--color-accent);

    font-size: 1.15rem;
}

.wholesale-process-card h3 {
    position: relative;

    margin-bottom: .65rem;

    font-size: 1.08rem;
    font-weight: 600;
}

.wholesale-process-card p {
    position: relative;

    margin-bottom: 0;

    color: #58585a;

    font-size: .9rem;
    line-height: 1.65;
}


/* ----------------------------------------------------------
   PRICE REQUEST
   ---------------------------------------------------------- */

.wholesale-price-request {
    scroll-margin-top: 7rem;

    background: #20292e;
    color: #fff;
}

.wholesale-price-request__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 4rem;
    align-items: center;
}

.wholesale-price-request__content h2 {
    max-width: 35rem;
    margin-bottom: 1.25rem;

    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
}

.wholesale-price-request__lead {
    max-width: 38rem;
    margin-bottom: 1.75rem;

    color: rgba(255, 255, 255, .78);

    font-size: 1rem;
    line-height: 1.75;
}

.wholesale-price-request__points {
    display: grid;
    gap: .75rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.wholesale-price-request__points li {
    display: flex;
    align-items: center;
    gap: .7rem;

    color: rgba(255, 255, 255, .9);
}

.wholesale-price-request__points i {
    color: var(--color-accent);
}


/* FORM */

.wholesale-price-request__form-wrap {
    padding: 2rem;

    background: #fff;
    color: #212529;

    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .16);
}

.wholesale-price-form {
    position: relative;
}

.wholesale-price-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.wholesale-price-form__field--full {
    grid-column: 1 / -1;
}

.wholesale-price-form .form-label {
    margin-bottom: .4rem;

    font-size: .88rem;
    font-weight: 500;
}

.wholesale-price-form .form-control {
    border-radius: 0;
}

.wholesale-price-form textarea {
    resize: vertical;
}

.wholesale-price-form__privacy {
    margin-top: 1.25rem;

    font-size: .84rem;
    line-height: 1.5;
}

.wholesale-price-form__privacy a {
    color: var(--color-brand);
}

.wholesale-price-form__submit {
    width: 100%;
    margin-top: 1.25rem;
}

.wholesale-price-form__note {
    margin: .8rem 0 0;

    color: #73787b;

    font-size: .78rem;
    line-height: 1.5;
    text-align: center;
}

.wholesale-price-form__errors {
    margin-bottom: 1rem;

    color: #b02a37;
}


/* Honeypot нельзя делать type=hidden. */

.wholesale-price-form__honeypot {
    position: absolute;

    left: -10000px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


@media (hover: hover) and (pointer: fine) {

    .wholesale-product-card:hover {
        box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .07);
    }

    .wholesale-task-card:hover>img {
        transform: scale(1.045);
    }

    .wholesale-task-card:hover .wholesale-task-card__shade {
        background:
            linear-gradient(180deg,
                rgba(0, 0, 0, .08) 10%,
                rgba(0, 0, 0, .82) 100%);
    }

}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1199.98px) {

    .wholesale-task-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wholesale-task-card {
        min-height: 24rem;
    }

    .wholesale-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ----------------------------------------------------------
   MOBILE / TABLET
   ---------------------------------------------------------- */

@media (max-width: 991.98px) {

    .wholesale-section {
        padding: 4rem 0;
    }

    .wholesale-hero,
    .wholesale-hero__container {
        min-height: 38rem;
    }

    .wholesale-hero__overlay {
        background:
            linear-gradient(90deg,
                rgba(10, 18, 23, .86) 0%,
                rgba(10, 18, 23, .65) 65%,
                rgba(10, 18, 23, .34) 100%);
    }

    .wholesale-hero__content {
        width: min(42rem, 86%);
    }

    .wholesale-industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wholesale-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wholesale-help__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .wholesale-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wholesale-price-request__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {

    .wholesale-section {
        padding: 3.5rem 0;
    }

    .wholesale-section-head {
        margin-bottom: 2rem;
        text-align: left;
    }

    .wholesale-hero,
    .wholesale-hero__container {
        min-height: 40rem;
    }

    .wholesale-hero__picture img {
        object-position: center;
    }

    .wholesale-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(10, 18, 23, .42) 0%,
                rgba(10, 18, 23, .82) 58%,
                rgba(10, 18, 23, .93) 100%);
    }

    .wholesale-hero__container {
        align-items: flex-end;
    }

    .wholesale-hero__content {
        width: 100%;
        padding: 4rem 0 3rem;
    }

    .wholesale-hero__title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .wholesale-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wholesale-hero__actions>a {
        width: 100%;
    }

    .wholesale-hero__advantages {
        display: grid;
        grid-template-columns: 1fr;
        gap: .6rem;
    }

    .wholesale-intro {
        padding: 4rem 0 3rem;
    }

    .wholesale-intro__inner {
        text-align: left;
    }

    .wholesale-task-grid,
    .wholesale-industries-grid {
        grid-template-columns: 1fr;
    }

    .wholesale-task-card {
        min-height: 22rem;
    }

    .wholesale-help__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wholesale-help__actions>a {
        width: 100%;
    }

    .wholesale-process-grid {
        grid-template-columns: 1fr;
    }

}


/* ----------------------------------------------------------
   NARROW MOBILE
   ---------------------------------------------------------- */

@media (max-width: 575.98px) {

    .wholesale-products-grid {
        grid-template-columns: 1fr;
    }

    .wholesale-product-card__body {
        padding: 1.15rem;
    }

    .wholesale-price-request__form-wrap {
        padding: 1.4rem;
    }

    .wholesale-price-form__grid {
        grid-template-columns: 1fr;
    }

    .wholesale-price-form__field--full {
        grid-column: auto;
    }

}


/* ----------------------------------------------------------
   SMALL MOBILE
   ---------------------------------------------------------- */

@media (max-width: 479.98px) {

    .wholesale-hero__eyebrow {
        font-size: .75rem;
    }

    .wholesale-task-card {
        min-height: 20rem;
    }

    .wholesale-task-card__content {
        padding: 1.25rem;
    }

    .wholesale-industry-card {
        padding: 1.4rem;
    }

    .wholesale-help-card {
        grid-template-columns: 2.8rem 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }

    .wholesale-help-card__icon {
        width: 2.8rem;
        height: 2.8rem;
    }

}