/* Shop listing main content toolbar */

.shop-listing-main {
    min-width: 0;
}

.shop-listing-header {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.05);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1.15rem 1.25rem;
}

.shop-listing-header__eyebrow {
    color: #443297;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.shop-listing-header__title {
    color: #101828;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.4rem;
}

.shop-listing-header__desc {
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    max-width: 640px;
}

.shop-listing-header__desc p {
    margin: 0;
}

.shop-listing-header__badge {
    align-items: center;
    background: rgba(68, 50, 151, 0.08);
    border: 1px solid rgba(68, 50, 151, 0.12);
    border-radius: 999px;
    color: #443297;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    white-space: nowrap;
}

.shop-listing-toolbar {
    align-items: center;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: 0.75rem 0.85rem;
}

.shop-listing-toolbar__results {
    align-items: center;
    color: #667085;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 0.5rem;
}

.shop-listing-toolbar__results-icon {
    align-items: center;
    background: rgba(68, 50, 151, 0.08);
    border-radius: 10px;
    color: #443297;
    display: inline-flex;
    font-size: 0.78rem;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.shop-listing-toolbar__results strong {
    color: #101828;
    font-weight: 800;
}

.shop-listing-toolbar__sort {
    align-items: center;
    display: flex;
    gap: 0.55rem;
    margin: 0;
    min-width: min(100%, 260px);
}

.shop-listing-toolbar__sort-label {
    color: #667085;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.shop-listing-toolbar__select-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.shop-listing-toolbar__select-wrap::after {
    color: #667085;
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-size: 0.68rem;
    font-weight: 900;
    pointer-events: none;
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
}

.shop-listing-toolbar__select {
    appearance: none;
    background: #f9fafb;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    color: #101828;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    min-height: 42px;
    padding: 0 2rem 0 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.shop-listing-toolbar__select:focus {
    border-color: #443297;
    box-shadow: 0 0 0 3px rgba(68, 50, 151, 0.12);
    outline: none;
}

.shop-listing-products {
    position: relative;
    row-gap: 0;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .shop-listing-products .product-grid__col {
        margin-bottom: 0.85rem;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .shop-listing-products .product-grid__col {
        margin-bottom: 0.75rem;
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
    }
}

@media (max-width: 767.98px) {
    .shop-listing-header {
        flex-direction: column;
        padding: 1rem;
    }

    .shop-listing-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-listing-toolbar__sort {
        min-width: 0;
        width: 100%;
    }
}

/* Empty state */
.shop-listing-empty {
    align-items: center;
    background: #fff;
    border: 1px dashed #d0d5dd;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0.5rem auto 1rem;
    max-width: 560px;
    padding: 2.75rem 1.5rem;
    text-align: center;
}

.shop-listing-empty__icon {
    align-items: center;
    background: linear-gradient(145deg, rgba(68, 50, 151, 0.12), rgba(68, 50, 151, 0.04));
    border-radius: 999px;
    color: #443297;
    display: inline-flex;
    font-size: 1.5rem;
    height: 72px;
    justify-content: center;
    margin-bottom: 1rem;
    width: 72px;
}

.shop-listing-empty__title {
    color: #101828;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
}

.shop-listing-empty__text {
    color: #667085;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 auto 1.25rem;
    max-width: 420px;
}

.shop-listing-empty__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.shop-listing-empty__btn {
    align-items: center;
    border-radius: 12px !important;
    display: inline-flex;
    font-weight: 700 !important;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0 1.15rem !important;
}

.shop-listing-empty__link {
    color: #443297;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.shop-listing-empty__link:hover {
    color: #362678;
    text-decoration: underline;
}
