/* Shop directory page ---------------------------------------------------- */
.shop-page {
    background: #fff;
}

.shop-heading {
    padding: 2rem 0 2.4rem;
    border-bottom: 1px solid rgba(6, 29, 56, 0.10);
}

.shop-breadcrumb {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.35rem;
    color: #6f7680;
    font-size: .78rem;
}

.shop-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.shop-breadcrumb a:hover,
.shop-breadcrumb a:focus {
    color: var(--gold);
}

.shop-heading-copy {
    max-width: 1000px;
}

.shop-eyebrow,
.shop-directory-kicker {
    margin: 0 0 .45rem;
    color: var(--gold);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.shop-heading h1,
.shop-directory-heading h2 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 600;
}

.shop-heading h1 {
    font-size: clamp(2.35rem, 4vw, 3.75rem);
    line-height: 1.02;
}

.shop-heading-copy > p:last-child {
    max-width: 1000px;
    margin: 1rem 0 0;
    color: #66707c;
    font-size: .98rem;
    line-height: 1.75;
}

.shop-departments {
    padding: 3.25rem 0 4rem;
    background: #faf9f7;
}

.shop-department-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-content: center;
    gap: 2.75rem 2rem;
    max-width: 1420px;
    margin: 0 auto;
}

.shop-department-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    color: var(--navy);
    text-align: center;
    text-decoration: none;
}

.shop-department-image-wrap {
    display: block;
    width: min(100%, 220px);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    background: #e9e5df;
    box-shadow: 0 0 0 1px rgba(6, 29, 56, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.shop-department-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.shop-department-card:hover .shop-department-image-wrap,
.shop-department-card:focus .shop-department-image-wrap {
    transform: translateY(-4px);
    box-shadow: 0 .8rem 1.8rem rgba(6, 29, 56, .13);
}

.shop-department-card:hover .shop-department-image-wrap img,
.shop-department-card:focus .shop-department-image-wrap img {
    transform: scale(1.045);
}

.shop-department-name {
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.15;
}

.shop-department-count {
    margin-top: .35rem;
    color: #7a8189;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.shop-directory {
    padding: 0 0 5rem;
}

.shop-directory-department {
    padding: 4.25rem 0;
    scroll-margin-top: 1.5rem;
    border-bottom: 1px solid rgba(6, 29, 56, .11);
}

.shop-directory-department:last-child {
    border-bottom: 0;
}

.shop-directory-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.shop-directory-heading h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
}

.shop-back-link {
    flex: 0 0 auto;
    color: #6c7480;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    text-transform: uppercase;
}

.shop-back-link i {
    margin-left: .3rem;
}

.shop-back-link:hover,
.shop-back-link:focus {
    color: var(--gold);
}

.shop-category-groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.75rem 3rem;
}

.shop-category-group h3 {
    margin: 0 0 .9rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid var(--navy);
    color: var(--navy);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.shop-category-links {
    display: grid;
    gap: .15rem;
}

.shop-category-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .58rem 0;
    border-bottom: 1px solid rgba(6, 29, 56, .07);
    color: #3f4854;
    font-size: .87rem;
    line-height: 1.35;
    text-decoration: none;
}

.shop-category-links a i {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: .78rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity .2s ease, transform .2s ease;
}

.shop-category-links a:hover,
.shop-category-links a:focus {
    color: var(--navy);
}

.shop-category-links a:hover i,
.shop-category-links a:focus i {
    opacity: 1;
    transform: translateX(0);
}

.shop-coming-soon {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 680px;
    padding: 1.5rem;
    background: #f7f4ef;
}

.shop-coming-soon-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 1.25rem;
}

.shop-coming-soon h3 {
    margin: 0 0 .25rem;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.shop-coming-soon p {
    margin: 0;
    color: #6b737d;
    font-size: .88rem;
    line-height: 1.6;
}

@media (max-width: 1199.98px) {
    .shop-department-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 900px;
    }

    .shop-category-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .shop-heading {
        padding: 1.5rem 0 2rem;
    }

    .shop-departments {
        padding: 2.4rem 0 3rem;
    }

    .shop-department-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.1rem;
    }

    .shop-department-image-wrap {
        width: min(100%, 170px);
    }

    .shop-department-name {
        font-size: 1.05rem;
    }

    .shop-directory-department {
        padding: 3.25rem 0;
    }

    .shop-directory-heading {
        align-items: start;
        flex-direction: column;
        margin-bottom: 1.6rem;
    }

    .shop-category-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 1.5rem;
    }
}

@media (max-width: 479.98px) {
    .shop-category-groups {
        grid-template-columns: 1fr;
    }
}
