/* Category catalog only. Grid owns column sizing for both SSR and AJAX items. */
.category-premium-container.container { width: 100%; max-width: 1720px; padding-inline: clamp(16px, 2.8vw, 48px); }
.category-premium-header { background: #f7f4f0; border-block: 1px solid #eee8e1; padding: 38px 0; }
.category-premium-header .page-title h1 { color: #25202b; font-size: clamp(26px, 2.5vw, 40px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; margin: 0; }
.category-premium-header .breadcrumb { flex-wrap: wrap; gap: 5px 0; margin: 0; font-size: 12px; line-height: 1.7; }
.category-premium-header .breadcrumb-item { overflow-wrap: anywhere; color: #625b67; }
.category-premium-header .breadcrumb a { color: #694180; }
.category-premium-page, .category-seo-content { --category-ink: #28212e; --category-purple: #70438f; --category-line: #eae5ed; }
.category-premium-page { padding: 32px 0 64px; background: #fcfbfa; color: var(--category-ink); }
.category-premium-page .category-editorial-intro { max-width: 900px; margin: 0 0 32px; padding: 4px 0 4px 22px; border-inline-start: 3px solid #bba6c9; color: #554d5b; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.category-premium-page .category-editorial-intro p { font: inherit; color: inherit; margin: 0 0 .7em; }
.category-premium-page .category-editorial-intro > :last-child { margin-bottom: 0; }
.category-premium-page .category-editorial-intro a { color: var(--category-purple); text-decoration: underline; text-underline-offset: 3px; }
.category-premium-page .category-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 30px; align-items: start; }
.category-premium-page .category-sidebar { grid-column: 1; grid-row: 1; min-width: 0; }
.category-premium-page .category-results { grid-column: 2; min-width: 0; }
.category-premium-page .category-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0 0 20px; margin: 0 0 24px; border-bottom: 1px solid var(--category-line); }
.category-premium-page .category-total { margin: 0 auto 0 0; color: #514458; font-size: 13px; font-weight: 600; }
.category-premium-page .category-toolbar .form-select { background-color: #fff; border: 1px solid #dfd7e5; border-radius: 10px; color: #43374b; font-size: 12px; height: 42px; padding-block: 8px; padding-inline-start: 12px; max-width: 220px; }
.category-premium-page .category-view { display: flex; gap: 4px; padding: 3px; border: 1px solid #dfd7e5; border-radius: 12px; background: #fff; }
.category-premium-page .category-view button { display: grid; place-items: center; width: 36px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: #615169; cursor: pointer; }
.category-premium-page .category-view button[aria-pressed="true"] { background: #eee6f3; color: #653a81; box-shadow: inset 0 -2px #70438f; }
.category-premium-page .shop_container.grid.bb-product-items-wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; margin: 0; }
.category-premium-page .shop_container.grid.bb-product-items-wrapper > div { width: auto; min-width: 0; max-width: none; flex: none; padding: 0; margin-top: 0; }
.category-premium-page .shop_container.grid > .pagination_style1,
.category-premium-page .shop_container.grid > .category-empty { grid-column: 1 / -1; }
.category-premium-page .category-empty { padding: 48px 20px !important; }
.category-premium-page .category-product-card.product { display: flex; flex-direction: column; position: relative; height: 100%; margin: 0; background: #fff; border: 1px solid var(--category-line); border-radius: 20px; overflow: hidden; box-shadow: 0 4px 14px rgb(40 25 50 / 3%); transition: border-color .2s, box-shadow .2s; }
.category-premium-page .category-product-card:hover,
.category-premium-page .category-product-card:focus-within { border-color: #cbb9d7; box-shadow: 0 7px 20px rgb(40 25 50 / 7%); }
.category-premium-page .category-product-card .product_img { overflow: hidden; background: #f7f4f1; }
.category-premium-page .category-product-card .product_img > a { display: block; aspect-ratio: 320 / 356; }
.category-premium-page .category-product-card .product_img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
/* Override the more specific mobile catalogue contain rule; keep its portrait frame. */
.category-premium-page .shop_container.grid .category-product-card .product_img img { object-fit: cover; }
.category-premium-page .category-product-card .pr_flash { top: 12px; left: 12px; right: auto; z-index: 2; max-width: calc(100% - 24px); border-radius: 20px; padding: 5px 9px; background: #70438f; color: #fff; font-size: 10px; font-weight: 600; line-height: 1.3; box-shadow: 0 1px 4px rgb(0 0 0 / 6%); }
.category-premium-page .category-product-card .product_info { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 16px; min-width: 0; }
.category-premium-page .category-product-card .product_title { width: 100%; min-height: 2.8em; margin: 0 0 10px; line-height: 1.4; font-size: 14px; font-weight: 600; }
.category-premium-page .category-product-card .product_title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; color: var(--category-ink); }
.category-premium-page .category-product-card .product_price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; width: 100%; margin: auto 0 0; line-height: 1.4; }
.category-premium-page .category-product-card .price { font-size: 21px; font-weight: 650; color: #683e86; }
.category-premium-page .category-product-card .product_price del { margin: 0; color: #776e7c; font-size: 12px; }
.category-premium-page .category-product-card .on_sale { display: block; flex: 0 1 auto; max-width: 100%; border-radius: 9px; padding: 5px 8px; margin: 4px 0 0; background: #edf5ef; color: #2c6340; font-size: 10px; font-weight: 500; line-height: 1.45; }
.category-premium-page .category-product-card .on_sale span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: inherit; }
.category-premium-page .category-product-card .rating_wrap { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0; float: none; }
.category-premium-page .category-product-card .rating_num { color: #726477; font-size: 11px; margin: 0; }
.category-premium-page .category-product-card .product_action_box { left: 0; right: 0; bottom: 10px; top: auto; transform: none; padding: 0 6px; z-index: 3; }
.category-premium-page .category-product-card .pr_action_btn { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0; }
.category-premium-page .category-product-card .pr_action_btn li { margin: 0; transform: none; transition: opacity .2s; }
.category-premium-page .category-product-card .pr_action_btn li a { display: flex; align-items: center; justify-content: center; min-width: 36px; width: 36px; height: 36px; margin: 0; padding: 0; line-height: 1; border: 1px solid #e7dfec; border-radius: 50%; background: #fff; color: #5c386f; box-shadow: 0 2px 6px rgb(0 0 0 / 4%); font-size: 16px; }
.category-premium-page .category-product-card .pr_action_btn li a:hover { background: #70438f; color: white; }
.category-premium-page .category-product-card:focus-within .product_action_box,
.category-premium-page .category-product-card:focus-within .pr_action_btn li { opacity: 1; visibility: visible; transform: none; }
.category-premium-page .category-product-card .list_product_action_box { display: none; }
.category-premium-page .shop_container.grid .category-product-card .pr_desc { display: none; }
.category-premium-page .shop_container.list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 0; }
.category-premium-page .shop_container.list > div { padding: 0; width: 100%; max-width: none; }
.category-premium-page .shop_container.list .category-product-card { display: grid; grid-template-columns: minmax(150px, 27%) minmax(0, 1fr); }
.category-premium-page .shop_container.list .category-product-card .product_img { float: none; width: 100%; }
.category-premium-page .shop_container.list .category-product-card .product_info { padding: 22px; }
.category-premium-page .shop_container.list .category-product-card .product_title { min-height: 0; font-size: 18px; }
.category-premium-page .shop_container.list .category-product-card .product_price { margin: 0; }
.category-premium-page .shop_container.list .category-product-card .pr_desc { display: block; margin-top: 12px; font-size: 13px; line-height: 1.65; }
.category-premium-page .shop_container.list .category-product-card .pr_desc p { font-size: inherit; line-height: inherit; color: #63576a; }
.category-premium-page .shop_container.list .product_action_box { display: block; opacity: 1; visibility: visible; }
.category-premium-page .shop_container.list .pr_action_btn li { opacity: 1; visibility: visible; }
.category-premium-page .category-filter-panel > summary { display: none; }
.category-premium-page .bb-product-filter { padding: 20px; margin: 0 0 14px; background: #fff; border: 1px solid var(--category-line); border-radius: 16px; box-shadow: none; }
.category-premium-page .bb-product-filter-title { margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px solid #f0ebf3; color: #3f3049; font-size: 15px; font-weight: 600; }
.category-premium-page .bb-product-filter-link { font-size: 13px; }
.category-premium-page .bb-product-filter-link.active { background: #f0e9f5; color: #61377d; font-weight: 650; box-shadow: inset 3px 0 #764998; border-radius: 7px; }
.category-premium-page .bb-product-filter-link.active,
.category-premium-page .bb-product-filter-categories .bb-product-filter-content .bb-product-filter-item .bb-product-filter-category-row > .bb-product-filter-link.active { padding-inline-start: 12px; }
.category-premium-page .bb-product-filter input[type="checkbox"] { accent-color: #70438f; width: 17px; height: 17px; cursor: pointer; }
.category-premium-page .bb-product-filter label { color: #55465f; font-size: 13px; line-height: 1.6; }
.category-premium-page .bb-product-price-filter .ui-slider-range { background: #764998; }
.category-premium-page .bb-product-price-filter .ui-slider-handle { border-radius: 50%; background: #fff; border-color: #764998; box-shadow: none; }
.category-premium-page .pagination { gap: 5px; flex-wrap: wrap; margin-top: 18px; }
.category-premium-page .pagination .page-link { border-radius: 9px; min-width: 38px; text-align: center; }
.category-premium-page :is(a, button, select, input, summary):focus-visible,
.category-premium-header a:focus-visible { outline: 3px solid #9361ad; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
    .category-premium-page .shop_container.grid .category-product-card:hover .product_img img { transform: scale(1.025); }
}
@media (hover: none) {
    .category-premium-page .category-product-card .product_action_box { position: relative; inset: auto; display: block; opacity: 1; visibility: visible; padding: 8px 5px; background: #fff; }
    .category-premium-page .category-product-card .pr_action_btn li { opacity: 1; visibility: visible; transition: none; }
}
@media (min-width: 992px) and (min-height: 850px) {
    .category-premium-page .category-sidebar { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; scrollbar-width: thin; }
}
@media (min-width: 1600px) {
    .category-premium-page .category-layout { grid-template-columns: 380px minmax(0, 1fr); }
}
@media (max-width: 1279px) and (min-width: 992px) {
    .category-premium-page .category-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
    .category-premium-page .shop_container.grid.bb-product-items-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .category-premium-page .category-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .category-premium-page .category-sidebar { grid-column: 1; grid-row: 1; }
    .category-premium-page .category-results { grid-column: 1; grid-row: 2; }
    .category-premium-page .category-filter-panel { border: 1px solid var(--category-line); border-radius: 14px; background: white; }
    .category-premium-page .category-filter-panel > summary { display: list-item; padding: 13px 18px; color: #59376e; cursor: pointer; font-weight: 600; font-size: 14px; }
    .category-premium-page .category-filter-panel .sidebar { padding: 0 12px 12px; }
    .category-premium-page .shop_container.grid.bb-product-items-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-premium-page .category-product-card .product_action_box { position: relative; inset: auto; opacity: 1; visibility: visible; padding: 8px 5px; background: white; }
    .category-premium-page .category-product-card .pr_action_btn li { opacity: 1; visibility: visible; transition: none; }
}
@media (max-width: 767px) {
    .category-premium-header { padding: 26px 0; }
    .category-premium-header .breadcrumb { justify-content: flex-start !important; margin-top: 14px; }
    .category-premium-page { padding-top: 24px; }
    .category-premium-page .category-editorial-intro { font-size: 13px; padding-inline-start: 15px; margin-bottom: 24px; }
}
@media (max-width: 575px) {
    .category-premium-container.container { padding-inline: 14px; }
    .category-premium-page .category-toolbar { gap: 8px; margin-bottom: 18px; }
    .category-premium-page .category-total { flex-basis: 100%; margin-bottom: 2px; }
    .category-premium-page .category-sort { flex: 1; min-width: 0; }
    .category-premium-page .category-sort .form-select { width: 100%; max-width: none; }
    .category-premium-page .category-display-count { max-width: 83px; }
    .category-premium-page .category-toolbar .form-select { font-size: 11px; }
    .category-premium-page .category-view { gap: 0; }
    .category-premium-page .category-view button { width: 30px; }
    .category-premium-page .shop_container.grid.bb-product-items-wrapper { gap: 16px 10px; }
    .category-premium-page .category-product-card.product { border-radius: 16px; }
    .category-premium-page .category-product-card .product_info { padding: 12px 10px; }
    .category-premium-page .category-product-card .product_title { font-size: 12px; margin-bottom: 8px; }
    .category-premium-page .category-product-card .price { font-size: 18px; }
    .category-premium-page .category-product-card .product_price del { font-size: 10px; }
    .category-premium-page .category-product-card .on_sale { font-size: 9px; padding: 4px 6px; }
    .category-premium-page .category-product-card .pr_flash { top: 8px; left: 8px; font-size: 9px; padding: 4px 7px; }
    .category-premium-page .category-product-card .pr_action_btn { gap: 4px; }
    .category-premium-page .category-product-card .pr_action_btn li a { width: 30px; min-width: 30px; height: 32px; font-size: 14px; }
    .category-premium-page .shop_container.list .category-product-card { grid-template-columns: 36% minmax(0, 1fr); }
    .category-premium-page .shop_container.list .category-product-card .product_info { padding: 12px; }
    .category-premium-page .shop_container.list .category-product-card .product_title { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .category-premium-page *, .category-premium-page *::before, .category-premium-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Optional, visible editorial section after the entire category catalogue. */
.category-seo-content :where(.category-seo-content__inner) { max-width: 940px; margin-inline: auto; min-width: 0; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.category-seo-content :where(.category-seo-content__inner) h2 { margin: 2.4em 0 .8em; color: inherit; font-size: clamp(23px, 2.2vw, 31px); line-height: 1.3; font-weight: 600; }
.category-seo-content :where(.category-seo-content__inner) h3 { margin: 1.8em 0 .65em; color: inherit; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; font-weight: 600; }
.category-seo-content :where(.category-seo-content__inner) p { margin: 0 0 1.15em; font: inherit; color: inherit; }
.category-seo-content :where(.category-seo-content__inner) ul, .category-seo-content :where(.category-seo-content__inner) ol { padding-inline-start: 1.5em; margin: 0 0 1.3em; }
.category-seo-content :where(.category-seo-content__inner) ul { list-style: disc; }
.category-seo-content :where(.category-seo-content__inner) ol { list-style: decimal; }
.category-seo-content :where(.category-seo-content__inner) li { margin-bottom: .5em; }
.category-seo-content :where(.category-seo-content__inner) a { color: var(--category-purple); text-decoration: underline; text-underline-offset: .2em; }
.category-seo-content :where(.category-seo-content__inner) a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.category-seo-content :where(.category-seo-content__inner) > :first-child { margin-top: 0; }
.category-seo-content :where(.category-seo-content__inner) > :last-child { margin-bottom: 0; }
@media (max-width: 575.98px) {
    .category-seo-content :where(.category-seo-content__inner) { font-size: 15px; line-height: 1.8; }
}

/* ============================================================
   CATEGORY SEO CONTENT
   Editorial content displayed below the category catalogue
   ============================================================ */

.category-seo-content {
    --catseo-accent: var(--primary-color, #764998);
    --catseo-text: #202733;
    --catseo-muted: #687188;
    --catseo-border: #e7e2eb;
    --catseo-surface: #ffffff;
    --catseo-soft: #f8f6fa;

    margin-top: 24px;
    padding: clamp(40px, 5vw, 80px) 0;
    border-top: 1px solid var(--catseo-border);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(118, 73, 152, 0.07),
            transparent 32%
        ),
        var(--catseo-surface);
}

.category-seo-content .category-seo-content__inner:has(> .sp-catseo) {
    max-width: 1280px;
}

.category-seo-content .sp-catseo {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    color: var(--catseo-text);
}

.category-seo-content .sp-catseo__section {
    margin: 0;
}

.category-seo-content .sp-catseo__section + .sp-catseo__section {
    margin-top: clamp(56px, 6vw, 88px);
    padding-top: clamp(36px, 4vw, 56px);
    border-top: 1px solid var(--catseo-border);
}

.category-seo-content .sp-catseo__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--catseo-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.category-seo-content .sp-catseo__eyebrow::before {
    content: "";
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
}

.category-seo-content .sp-catseo h2 {
    max-width: none;
    margin: 0 0 22px;
    color: var(--catseo-text);
    font-size: clamp(28px, 2.5vw, 40px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.category-seo-content .sp-catseo p {
    max-width: 900px;
    margin: 0;
    color: var(--catseo-muted);
    font-size: 16px;
    line-height: 1.8;
}

.category-seo-content .sp-catseo p + p {
    margin-top: 18px;
}

.category-seo-content .sp-catseo p.sp-catseo__lead {
    max-width: 920px;
    font-size: 17px;
}

.category-seo-content .sp-catseo a:where(:not(.sp-catseo__collection-card):not(.sp-catseo__button)) {
    color: var(--catseo-accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.category-seo-content .sp-catseo a:hover {
    text-decoration-thickness: 2px;
}


/* ============================================================
   OLFACTORY CARDS
   ============================================================ */

.category-seo-content .sp-catseo__olfactory-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin: 36px 0 28px;
}

.category-seo-content .sp-catseo__olfactory-card {
    min-width: 0;
    padding: 10px 10px 24px;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    border: 1px solid var(--catseo-border);
    border-radius: 22px;
    background: var(--catseo-surface);
    box-shadow: 0 10px 35px rgba(25, 20, 35, 0.04);
}

.category-seo-content .sp-catseo__olfactory-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    margin: 0 0 18px;
    border-radius: 15px;
}

.category-seo-content .sp-catseo__olfactory-card .sp-catseo__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(118, 73, 152, 0.09);
    color: var(--catseo-accent);
    font-size: 18px;
}

.category-seo-content .sp-catseo__olfactory-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--catseo-text);
    font-size: 18px;
    font-weight: 700;
}

.category-seo-content .sp-catseo__olfactory-card p {
    margin: 0;
    padding-inline: 10px;
    color: var(--catseo-muted);
    font-size: 13px;
    line-height: 1.65;
}


.category-seo-content .sp-catseo__olfactory-card > strong,
.category-seo-content .sp-catseo__olfactory-card > .sp-catseo__icon {
    margin-inline: 10px;
}

/* Native image paragraphs from CKEditor retain the edge-to-edge photograph. */
.category-seo-content .sp-catseo__olfactory-card p:has(> .sp-catseo__olfactory-image) {
    padding: 0;
    margin: 0;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .category-seo-content .sp-catseo__olfactory-card:hover {
        transform: translateY(-5px);
        border-color: color-mix(in srgb, var(--catseo-accent) 35%, white);
        box-shadow: 0 18px 40px rgba(32, 39, 51, .09);
    }
}

/* ============================================================
   COLLECTION CARDS
   ============================================================ */

.category-seo-content .sp-catseo__collection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-seo-content .sp-catseo__collection-card {
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: clamp(26px, 3vw, 42px);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--catseo-border);
    border-radius: 26px;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 55%,
            rgba(118, 73, 152, 0.055) 100%
        );
    color: var(--catseo-text);
    text-decoration: none;
    box-shadow: 0 14px 45px rgba(25, 20, 35, 0.055);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.category-seo-content .sp-catseo__collection-card:nth-child(even) {
    --catseo-text: #fff;
    --catseo-muted: #e2d8ed;
    --catseo-accent: #eee1fa;
    background: linear-gradient(125deg, #30263c, #56366d);
    border-color: transparent;
}

.category-seo-content .sp-catseo__collection-card > * {
    position: relative;
    z-index: 1;
}

.category-seo-content .sp-catseo__collection-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -70px;
    pointer-events: none;
    width: 250px;
    height: 250px;
    border: 1px solid color-mix(in srgb, var(--catseo-accent) 20%, transparent);
    box-shadow: 0 0 0 28px color-mix(in srgb, var(--catseo-accent) 4%, transparent), 0 0 0 56px color-mix(in srgb, var(--catseo-accent) 3%, transparent);
    border-radius: 50%;
}

.category-seo-content .sp-catseo__collection-card:hover {
    transform: translateY(-3px);
    border-color: rgba(118, 73, 152, 0.28);
    box-shadow: 0 18px 55px rgba(25, 20, 35, 0.09);
    text-decoration: none;
}

.category-seo-content .sp-catseo__card-label {
    display: block;
    margin-bottom: 14px;
    color: var(--catseo-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.category-seo-content .sp-catseo__collection-card > strong {
    display: block;
    max-width: none;
    margin-bottom: 14px;
    color: var(--catseo-text);
    font-size: clamp(23px, 2.1vw, 31px);
    line-height: 1.25;
}

.category-seo-content .sp-catseo__collection-card p {
    max-width: 480px;
    margin: 0 0 28px;
    color: var(--catseo-muted);
    font-size: 14px;
    line-height: 1.7;
}

.category-seo-content .sp-catseo__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--catseo-accent);
    font-size: 14px;
    font-weight: 700;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--catseo-accent) 18%, transparent);
    width: 100%;
}


/* ============================================================
   OLFAZETA NOTE
   ============================================================ */

.category-seo-content .sp-catseo__note {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 24px;
    padding: 22px 24px;
    border: 1px solid rgba(118, 73, 152, 0.14);
    border-radius: 16px;
    background: var(--catseo-soft);
}

.category-seo-content .sp-catseo__note > div:last-child {
    min-width: 0;
}

.category-seo-content .sp-catseo__note-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--catseo-accent);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.category-seo-content .sp-catseo .sp-catseo__note-icon p {
    color: inherit;
    font: inherit;
    line-height: 1;
}

.category-seo-content .sp-catseo__note strong {
    display: block;
    margin: 1px 0 5px;
    color: var(--catseo-text);
    font-size: 15px;
}

.category-seo-content .sp-catseo__note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}


/* ============================================================
   FINDER CTA
   ============================================================ */

.category-seo-content .sp-catseo__finder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 28px;
    padding: clamp(26px, 4vw, 52px);
    border-radius: 22px;
    background: radial-gradient(ellipse at 100% 0%, rgba(118, 73, 152, .55), transparent 65%), #202733;
    border: 1px solid rgba(118, 73, 152, .2);
    box-shadow: 0 22px 48px rgba(32, 39, 51, .12);
}

/* CKEditor may wrap the standalone CTA in a paragraph. */
.category-seo-content .sp-catseo__finder > p:has(> .sp-catseo__button) {
    flex: 0 0 auto;
    max-width: 100%;
}

.category-seo-content .sp-catseo__finder-content {
    min-width: 0;
    max-width: 620px;
}

.category-seo-content .sp-catseo__finder-kicker {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.category-seo-content .sp-catseo__finder strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(20px, 2vw, 25px);
}

.category-seo-content .sp-catseo__finder p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.65;
}

.category-seo-content .sp-catseo__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: #fff;
    color: var(--catseo-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 160ms ease,
        background 160ms ease;
}

.category-seo-content .sp-catseo__button:hover {
    transform: translateY(-1px);
    background: var(--catseo-soft);
    color: var(--catseo-text);
    text-decoration: none;
}


/* ============================================================
   CROSS CATEGORY LINKS
   ============================================================ */

.category-seo-content .sp-catseo__discover {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--catseo-border);
}

.category-seo-content .sp-catseo__discover > span,
.category-seo-content .sp-catseo__discover > p {
    flex: 0 0 auto;
    color: var(--catseo-muted);
    font-size: 13px;
    font-weight: 600;
}

.category-seo-content .sp-catseo__discover-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-seo-content .sp-catseo__discover-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--catseo-border);
    border-radius: 999px;
    background: #fff;
    color: var(--catseo-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.category-seo-content .sp-catseo__discover-links a:hover {
    border-color: rgba(118, 73, 152, 0.35);
    color: var(--catseo-accent);
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.category-seo-content .sp-catseo a:focus-visible {
    outline: 3px solid var(--catseo-accent);
    outline-offset: 3px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991.98px) {

    .category-seo-content .sp-catseo__olfactory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767.98px) {

    .category-seo-content {
        margin-top: 16px;
        padding: 42px 0;
    }

    .category-seo-content .sp-catseo__section + .sp-catseo__section {
        margin-top: 58px;
    }

    .category-seo-content .sp-catseo h2 {
        font-size: clamp(25px, 5.8vw, 32px);
    }

    .category-seo-content .sp-catseo__lead,
    .category-seo-content .sp-catseo p {
        font-size: 15px;
        line-height: 1.72;
    }

    .category-seo-content .sp-catseo__olfactory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .category-seo-content .sp-catseo__olfactory-card {
        padding: 8px 8px 22px;
    }

    .category-seo-content .sp-catseo__collection-grid {
        grid-template-columns: 1fr;
    }

    .category-seo-content .sp-catseo__collection-card {
        min-height: 0;
    }

    .category-seo-content .sp-catseo__finder {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-seo-content .sp-catseo__button,
    .category-seo-content .sp-catseo__finder > p:has(> .sp-catseo__button) {
        width: 100%;
    }

    .category-seo-content .sp-catseo__discover {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 479.98px) {

    .category-seo-content .sp-catseo__olfactory-grid {
        grid-template-columns: 1fr;
    }

    /* Let the landscape compositions breathe instead of cropping them into strips. */
    .category-seo-content .sp-catseo__olfactory-card:has(.sp-catseo__olfactory-image) {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 10px 10px 20px;
    }

    .category-seo-content .sp-catseo__olfactory-card > p:has(> .sp-catseo__olfactory-image) {
        width: 100%;
        padding: 0;
        margin: 0 0 18px;
    }

    .category-seo-content .sp-catseo__olfactory-card .sp-catseo__olfactory-image {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        margin: 0;
        border-radius: 14px;
    }

    .category-seo-content .sp-catseo__olfactory-card > .sp-catseo__olfactory-image {
        margin-bottom: 18px;
    }

    .category-seo-content .sp-catseo__olfactory-card:has(.sp-catseo__olfactory-image) > h3 {
        margin: 0 0 10px;
        padding-inline: 10px;
        font-size: 18px;
        line-height: 1.4;
    }

    .category-seo-content .sp-catseo__note {
        padding: 18px;
    }

}
.category-seo-content .sp-catseo .sp-catseo__button:focus-visible {
    outline-color: var(--catseo-surface);
}

@media (prefers-reduced-motion: reduce) {
    .category-seo-content .sp-catseo__olfactory-card,
    .category-seo-content .sp-catseo__collection-card,
    .category-seo-content .sp-catseo__button {
        transition: none;
        transform: none;
    }
}
