.wpbay-collections-shell,
.wpbay-collections-shell *,
.wpbay-product-collections,
.wpbay-product-collections * {
    box-sizing: border-box;
}

.wpbay-collections-shell {
    color: #252231;
    margin: 0 auto;
    max-width: 1180px;
    padding: 34px 20px 80px;
    width: 100%;
}

.wpbay-collection-breadcrumbs {
    align-items: center;
    color: #716b7b;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 9px;
    margin: 0 0 20px;
}

.wpbay-collection-breadcrumbs a {
    color: #8f2b9d;
    text-decoration: none;
}

.wpbay-collection-breadcrumbs a:hover,
.wpbay-collection-breadcrumbs a:focus-visible {
    color: #641d70;
    text-decoration: underline;
}

.wpbay-collections-hero {
    align-items: center;
    background:
        radial-gradient(circle at 91% 8%, rgba(217, 70, 239, .22), transparent 31%),
        linear-gradient(135deg, #28113c 0%, #671c72 55%, #9b329e 100%);
    border-radius: 22px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    min-height: 230px;
    overflow: hidden;
    padding: 38px 48px;
    position: relative;
}

.wpbay-collections-hero > div:first-child,
.wpbay-collection-hero__copy {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.wpbay-collections-hero__eyebrow,
.wpbay-collections-section-heading > div > span,
.wpbay-collection-editorial__heading > span {
    color: inherit;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.wpbay-collections-hero h1 {
    color: #fff;
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 800;
    hyphens: none;
    letter-spacing: -.035em;
    line-height: 1.03;
    margin: 0;
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: normal;
}

.wpbay-collections-hero p {
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
    line-height: 1.65;
    margin: 18px 0 0;
    max-width: 650px;
    hyphens: none;
    overflow-wrap: normal;
    text-wrap: pretty;
    word-break: normal;
}

.wpbay-collections-list,
.wpbay-collection-products,
.wpbay-collection-editorial,
.wpbay-collection-related {
    margin-top: 52px;
}

.wpbay-collections-section-heading {
    align-items: end;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.wpbay-collections-section-heading > div > span,
.wpbay-collection-editorial__heading > span {
    color: #8f2b9d;
}

.wpbay-collections-section-heading h2,
.wpbay-collection-editorial__heading h2 {
    color: #252231;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 0;
}

.wpbay-collections-section-heading > p {
    color: #716b7b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 390px;
    text-align: right;
}

.wpbay-collections-section-link {
    align-items: center;
    background: #fff;
    border: 1px solid #dfd3e3;
    border-radius: 999px;
    color: #7b2388 !important;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    line-height: 1.2;
    padding: 11px 15px;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.wpbay-collections-section-link span {
    font-size: 16px;
    line-height: 1;
}

.wpbay-collections-section-link:hover,
.wpbay-collections-section-link:focus-visible {
    background: #8f2b9d;
    border-color: #8f2b9d;
    color: #fff !important;
}

.wpbay-collection-hub-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wpbay-collection-card {
    background: #fff;
    border: 1px solid #e7e2ea;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(43, 26, 53, .07);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wpbay-collection-card:hover {
    border-color: #ddc4e3;
    box-shadow: 0 18px 42px rgba(43, 26, 53, .12);
    transform: translateY(-3px);
}

.wpbay-collection-card__image {
    background: #f5eff7;
    display: block;
    overflow: hidden;
    position: relative;
}

.wpbay-collection-card__image,
.wpbay-collection-card__image img,
.wpbay-collection-card__placeholder {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.wpbay-collection-card__image img {
    display: block;
    height: 100%;
    object-fit: cover;
}

.wpbay-collection-card__placeholder {
    background:
        radial-gradient(circle at 72% 32%, rgba(217, 70, 239, .34), transparent 28%),
        linear-gradient(135deg, #311147, #8f2b9d);
    display: block;
}

.wpbay-collection-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.wpbay-collection-card__meta {
    color: #827b89;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 8px 14px;
    margin-bottom: 11px;
}

.wpbay-collection-card h2 {
    font-size: 21px;
    line-height: 1.28;
    margin: 0;
}

.wpbay-collection-card h2 a {
    color: #252231;
    text-decoration: none;
}

.wpbay-collection-card h2 a:hover,
.wpbay-collection-card h2 a:focus-visible {
    color: #8f2b9d;
}

.wpbay-collection-card p {
    color: #6f6877;
    font-size: 14px;
    line-height: 1.65;
    margin: 12px 0 20px;
}

.wpbay-collection-card__link {
    align-items: center;
    color: #8f2b9d !important;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    margin-top: auto;
    text-decoration: none !important;
}

.wpbay-collection-card__link:hover,
.wpbay-collection-card__link:focus-visible {
    color: #641d70 !important;
    gap: 11px;
}

.wpbay-collection-hero {
    gap: 34px;
}

.wpbay-collection-hero.has-image .wpbay-collection-hero__copy {
    max-width: 650px;
}

.wpbay-collection-hero__image {
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    flex: 0 0 310px;
    overflow: hidden;
}

.wpbay-collection-hero__image img {
    aspect-ratio: 16 / 10;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.wpbay-collection-hero__meta {
    color: rgba(255, 255, 255, .78);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 9px 20px;
    margin-top: 20px;
}

.wpbay-collection-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.wpbay-collection-type-chips span {
    background: #f8f2fa;
    border: 1px solid #eadced;
    border-radius: 999px;
    color: #7b2388;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 11px;
}

.wpbay-collection-product-grid > .wpbay-collection-product {
    display: flex;
    min-width: 0;
    position: relative;
    transition: transform .2s ease;
}

.wpbay-collection-product-grid > .wpbay-collection-product:hover,
.wpbay-collection-product-grid > .wpbay-collection-product:focus-within {
    transform: translateY(-4px);
}

.wpbay-collection-product-grid > .wpbay-collection-product:hover .wpbay-product-card,
.wpbay-collection-product-grid > .wpbay-collection-product:focus-within .wpbay-product-card {
    border-color: #d9dce6;
    box-shadow: 0 20px 45px rgba(22, 25, 37, .12);
    transform: none;
}

.wpbay-collection-product-grid .wpbay-item {
    display: flex;
    min-width: 0;
    width: 100%;
}

.wpbay-collection-product__badge {
    background: #7b2388;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    left: 16px;
    line-height: 1;
    padding: 7px 10px;
    position: absolute;
    top: 16px;
    z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
    .wpbay-collection-product-grid > .wpbay-collection-product {
        transition: none;
    }

    .wpbay-collection-product-grid > .wpbay-collection-product:hover,
    .wpbay-collection-product-grid > .wpbay-collection-product:focus-within {
        transform: none;
    }
}

.wpbay-collection-editorial {
    background: #fff;
    border: 1px solid #e7e2ea;
    border-radius: 20px;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
    padding: 36px;
}

.wpbay-collection-editorial__content {
    color: #514b59;
    font-size: 15px;
    line-height: 1.75;
}

.wpbay-collection-editorial__content h3 {
    color: #252231;
    font-size: 18px;
    margin: 0 0 10px;
}

.wpbay-collection-editorial__content p:first-child {
    margin-top: 0;
}

.wpbay-collection-editorial__content p:last-child {
    margin-bottom: 0;
}

.wpbay-collection-description + .wpbay-collection-criteria,
.wpbay-collection-criteria + .wpbay-collection-description {
    border-top: 1px solid #ebe7ed;
    margin-top: 24px;
    padding-top: 24px;
}

.wpbay-collection-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 34px;
}

.wpbay-collection-pagination .page-numbers {
    align-items: center;
    background: #fff;
    border: 1px solid #ded8e2;
    border-radius: 9px;
    color: #514b59;
    display: inline-flex;
    font-size: 14px;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    padding: 8px 12px;
    text-decoration: none;
}

.wpbay-collection-pagination .page-numbers.current,
.wpbay-collection-pagination a.page-numbers:hover,
.wpbay-collection-pagination a.page-numbers:focus-visible {
    background: #8f2b9d;
    border-color: #8f2b9d;
    color: #fff;
}

.wpbay-collections-empty {
    background: #fff;
    border: 1px solid #e7e2ea;
    border-radius: 18px;
    margin-top: 34px;
    padding: 44px 28px;
    text-align: center;
}

.wpbay-collections-empty h1,
.wpbay-collections-empty h2 {
    color: #252231;
    margin: 0 0 8px;
}

.wpbay-collections-empty p {
    color: #716b7b;
    margin: 0;
}

.wpbay-product-collections {
    border-top: 1px solid #dfe3e8;
    margin-top: 10px;
    padding-top: 16px;
}

.wpbay-product-collections__title {
    color: #252231;
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 9px;
}

.wpbay-product-collections__links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.wpbay-product-collections__links a {
    background: #f8f2fa;
    border: 1px solid #eadced;
    border-radius: 999px;
    color: #7b2388 !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    padding: 7px 10px;
    text-decoration: none !important;
}

.wpbay-product-collections__links a:hover,
.wpbay-product-collections__links a:focus-visible {
    background: #8f2b9d;
    border-color: #8f2b9d;
    color: #fff !important;
}

@media (max-width: 991px) {
    .wpbay-collection-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wpbay-collections-hero {
        padding: 38px;
    }

    .wpbay-collection-hero__image {
        flex-basis: 260px;
    }

    .wpbay-collection-editorial {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .wpbay-collections-shell {
        padding: 24px 14px 56px;
    }

    .wpbay-collections-hero {
        align-items: flex-start;
        border-radius: 17px;
        flex-direction: column;
        min-height: 0;
        padding: 28px 24px;
    }

    .wpbay-collections-hero h1 {
        font-size: 32px;
    }

    .wpbay-collections-hero p {
        font-size: 16px;
        line-height: 1.55;
    }

    .wpbay-collection-hero__image {
        flex-basis: auto;
        width: 100%;
    }

    .wpbay-collections-list,
    .wpbay-collection-products,
    .wpbay-collection-editorial,
    .wpbay-collection-related {
        margin-top: 36px;
    }

    .wpbay-collections-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .wpbay-collections-section-heading > p {
        text-align: left;
    }

    .wpbay-collection-type-chips {
        justify-content: flex-start;
    }

    .wpbay-collection-editorial {
        border-radius: 16px;
        gap: 22px;
        padding: 25px 21px;
    }
}

@media (max-width: 575px) {
    .wpbay-collection-hub-grid {
        grid-template-columns: 1fr;
    }

    .wpbay-collection-card__body {
        padding: 19px;
    }
}
