/* Small refinements to the original photo banners, outlined filters, and pill buttons. */
.shop-page-header {
    margin-top: 86px !important;
    padding-right: 24px;
    padding-left: 24px;
}

.shop-page-header h1 {
    margin-bottom: 12px;
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.shop-page-header p {
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.65;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.refined-catalogue .catalogue-section-heading h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.25;
}

.refined-catalogue .catalogue-section-heading p {
    max-width: 620px;
    line-height: 1.65;
}

.svc-page .refined-catalogue .shop-toolbar,
.svc-page .refined-catalogue .shop-filter-panel,
.svc-page .refined-catalogue .shop-featured-panel {
    border-radius: 12px !important;
}

.refined-catalogue .shop-toolbar {
    border: 1px solid #e4e9e8;
}

.refined-catalogue .shop-search .form-control {
    padding-left: 4px;
}

.refined-catalogue .shop-search .input-group-text {
    padding-left: 16px;
}

.refined-catalogue .shop-category-label {
    min-height: 44px;
    line-height: 1.5;
}

.refined-catalogue .shop-category-label > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.refined-catalogue .btn-check:focus-visible + label {
    outline: 2px solid var(--bs-dark);
    outline-offset: 3px;
}

.refined-catalogue .catalogue-results-heading {
    min-height: 36px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e4e9e8;
}

.svc-page .refined-catalogue .shop-product-card {
    margin-bottom: 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(69, 89, 91, .04);
}

.svc-page .refined-catalogue .shop-product-card:hover,
.svc-page .refined-catalogue .shop-product-card:focus-within {
    box-shadow: 0 8px 24px rgba(69, 89, 91, .12);
}

.refined-catalogue .shop-product-image {
    overflow: hidden;
    border-bottom: 1px solid #edf0ef;
}

.svc-page .refined-catalogue .shop-product-card .card-body {
    padding: 20px;
}

.refined-catalogue .shop-product-title {
    line-height: 1.45;
}

.refined-catalogue .shop-product-title a,
.refined-catalogue .shop-product-card .btn {
    text-decoration: none;
}

.refined-catalogue .shop-product-price {
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
}

.refined-catalogue .shop-listing-details {
    padding: 12px 0;
    border-top: 1px solid #edf0ef;
    border-bottom: 1px solid #edf0ef;
}

.refined-catalogue .shop-listing-details > div:last-child {
    margin-bottom: 0;
}

.refined-catalogue .shop-product-card .mt-auto > .btn {
    min-height: 44px;
}

.refined-catalogue .shop-featured-item img {
    border: 1px solid #edf0ef;
}

@media (max-width: 1199.98px) {
    .shop-page-header {
        margin-top: 82px !important;
    }
}

@media (max-width: 991.98px) {
    .refined-catalogue #categoryList {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .refined-catalogue .shop-category-label {
        height: 100%;
    }
}

@media (max-width: 575.98px) {
    .shop-page-header {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }

    .shop-page-header p {
        font-size: .9rem;
    }

    .svc-page .refined-catalogue {
        padding-top: 28px !important;
    }

    .refined-catalogue .catalogue-section-heading > div:first-child {
        flex: 1 1 170px;
        min-width: 0;
    }

    .refined-catalogue .catalogue-section-heading #reset-filters {
        padding: 9px 14px !important;
    }

    .refined-catalogue .catalogue-results-heading {
        align-items: flex-start !important;
    }

    .refined-catalogue .shop-product-title {
        min-height: 0;
    }
}
