/* Shop Hiring: the bar at the top and the Join our team page. Kept plain so it sits well in any theme. */
.shop-hiring-bar {
    position: relative;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 48px 10px 16px;
    background: #111111;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
}

.shop-hiring-bar[hidden] {
    display: none;
}

.shop-hiring-bar__link {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 12px;
    color: inherit !important;
    text-decoration: none !important;
}

.shop-hiring-bar__cta {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    font-weight: 700;
    font-size: 14px;
}

.shop-hiring-bar__link:hover .shop-hiring-bar__cta {
    background: #f1f1f1;
}

.shop-hiring-bar__close {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.shop-hiring-bar__close:hover,
.shop-hiring-bar__close:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

/* The page */
.shop-hiring {
    max-width: 760px;
    margin: 0 auto;
    padding: 8px 0 40px;
    color: inherit;
    font-size: 16px;
    line-height: 1.55;
}

.shop-hiring__eyebrow {
    margin: 0 0 4px;
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.shop-hiring__title {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.2;
}

.shop-hiring__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.shop-hiring__facts li {
    margin: 0;
    padding: 4px 12px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    font-size: 14px;
}

.shop-hiring__summary {
    margin: 0 0 24px;
    font-size: 17px;
}

.shop-hiring__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px 32px;
    margin-bottom: 28px;
}

.shop-hiring h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.shop-hiring__cols ul {
    margin: 0;
    padding-left: 20px;
}

.shop-hiring__cols li {
    margin: 0 0 6px;
}

.shop-hiring__form,
.shop-hiring__done {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid #dddddd;
    border-radius: 14px;
    background: #fafafa;
}

.shop-hiring__done h3 {
    margin: 0;
}

.shop-hiring__done p {
    margin: 0;
}

.shop-hiring__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.shop-hiring__wide {
    grid-column: 1 / -1;
}

.shop-hiring__form label {
    display: grid;
    gap: 6px;
    margin: 0;
    font-weight: 600;
    font-size: 15px;
}

.shop-hiring__form input[type="text"],
.shop-hiring__form input[type="tel"],
.shop-hiring__form input[type="email"],
.shop-hiring__form select,
.shop-hiring__form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
    font: inherit;
    font-size: 16px; /* 16px stops iPhones zooming in when a field is tapped */
    font-weight: 400;
}

.shop-hiring__form textarea {
    min-height: 120px;
    resize: vertical;
}

.shop-hiring__form input[type="file"] {
    font-weight: 400;
    font-size: 15px;
}

.shop-hiring__form fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    border: 0;
}

.shop-hiring__form legend {
    width: 100%;
    margin-bottom: 6px;
    padding: 0;
    font-weight: 600;
    font-size: 15px;
}

.shop-hiring__form .shop-hiring__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #c9c9c9;
    border-radius: 999px;
    background: #ffffff;
    font-weight: 500;
    cursor: pointer;
}

.shop-hiring__check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.shop-hiring__trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.shop-hiring__submit {
    justify-self: start;
    min-height: 48px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.shop-hiring__submit:hover {
    background: #333333;
}

.shop-hiring__submit[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.shop-hiring__error {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fde8e8;
    color: #8a1c1c;
    font-weight: 600;
}

.shop-hiring__fine {
    margin: 0;
    color: #666666;
    font-size: 14px;
}

@media (max-width: 600px) {
    .shop-hiring-bar {
        font-size: 14px;
        padding: 8px 44px 8px 12px;
    }

    .shop-hiring__title {
        font-size: 26px;
    }

    .shop-hiring__form,
    .shop-hiring__done {
        padding: 18px 16px;
    }

    .shop-hiring__submit {
        justify-self: stretch;
    }
}

/* A phone: one line, the text cut short before the Apply button rather than wrapping to three. */
@media (max-width: 600px) {
    .shop-hiring-bar__link {
        flex-wrap: nowrap;
        min-width: 0;
        max-width: 100%;
    }

    .shop-hiring-bar__text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shop-hiring-bar__cta {
        flex: none;
    }
}

/* The plain job page (1.1.0): room around the job, in whatever theme. */
.shop-hiring-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    padding: 40px 20px 64px;
}

@media (max-width: 600px) {
    .shop-hiring-page {
        padding: 24px 16px 48px;
    }
}
