/* ========================================================================== 
   CNFigures Elementor Content Tools 2.8 — premium responsive collection deck
   ========================================================================== */
.cnf-tabbed-collections {
    --cnf-tabs-accent: #ff4f12;
    --cnf-tabs-surface: #fffaf7;
    --cnf-tabs-surface-border: #f0ded4;
    --cnf-tabs-tab-bg: rgba(255,255,255,.78);
    --cnf-tabs-tab-text: #171717;
    --cnf-tabs-tab-border: rgba(231,216,207,.8);
    --cnf-tabs-tab-active-bg: var(--cnf-tabs-accent);
    --cnf-tabs-tab-active-text: #fff;
    --cnf-tabs-tab-radius: 18px;
    --cnf-tabs-tab-gap: 10px;
    --cnf-tabs-tab-pad-top: 10px;
    --cnf-tabs-tab-pad-right: 12px;
    --cnf-tabs-tab-pad-bottom: 12px;
    --cnf-tabs-tab-pad-left: 12px;
    --cnf-tabs-align: center;
    --cnf-tabs-card-bg: rgba(255,255,255,.9);
    --cnf-tabs-card-border: rgba(230,214,205,.88);
    --cnf-tabs-card-title: #171717;
    --cnf-tabs-card-hover: #ff4f12;
    --cnf-tabs-card-radius: 22px;
    --cnf-tabs-image-bg: #fff4ed;
    --cnf-tabs-image-size: 86px;
    --cnf-tabs-image-search-bg: #171717;
    --cnf-tabs-image-search-text: #fff;
    --cnf-tabs-image-search-icon: #ff4f12;
    --cnf-tabs-nav-bg: #fff;
    --cnf-tabs-nav-text: #171717;
    --cnf-tabs-nav-hover: #ff4f12;
    --cnf-tabs-nav-size: 40px;
    --cnf-tab-card-columns: 6;
    --cnf-tab-card-rows: 2;
    --cnf-tab-card-gap: 14px;
    --cnf-page-gap: 18px;
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cnf-tabs-surface-border);
    background:
        radial-gradient(circle at 92% 2%, color-mix(in srgb, var(--cnf-tabs-accent) 13%, transparent), transparent 27rem),
        radial-gradient(circle at 6% 108%, rgba(255,190,145,.18), transparent 25rem),
        linear-gradient(145deg, color-mix(in srgb, var(--cnf-tabs-surface) 94%, #fff), var(--cnf-tabs-surface));
    box-shadow: 0 24px 70px rgba(53,30,17,.09);
    isolation: isolate;
}

.cnf-tabbed-collections::before,
.cnf-tabbed-collections::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.cnf-tabbed-collections::before {
    width: 260px;
    height: 260px;
    right: -145px;
    top: -150px;
    border: 42px solid color-mix(in srgb, var(--cnf-tabs-accent) 7%, transparent);
}

.cnf-tabbed-collections::after {
    width: 170px;
    height: 170px;
    left: -95px;
    bottom: -110px;
    background: color-mix(in srgb, var(--cnf-tabs-accent) 5%, transparent);
    filter: blur(2px);
}

.cnf-tabbed-collections__nav {
    width: 100%;
    min-width: 0;
}

.cnf-tabbed-collections__tablist {
    display: flex;
    width: max-content;
    max-width: 100%;
    align-items: stretch;
    justify-content: var(--cnf-tabs-align) !important;
    gap: var(--cnf-tabs-tab-gap) !important;
    margin-inline: auto;
    padding: 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    border: 1px solid rgba(231,216,207,.72);
    border-radius: 24px;
    background: rgba(255,255,255,.58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 10px 34px rgba(47,27,16,.055);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.cnf-tabbed-collections__tablist::-webkit-scrollbar,
.cnf-tabbed-collections__rail::-webkit-scrollbar {
    display: none;
}

.cnf-tabbed-collections__tab {
    position: relative;
    flex: 0 0 auto;
    min-width: 94px;
    min-height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    padding: var(--cnf-tabs-tab-pad-top) var(--cnf-tabs-tab-pad-right) var(--cnf-tabs-tab-pad-bottom) var(--cnf-tabs-tab-pad-left) !important;
    overflow: hidden;
    border: 1px solid var(--cnf-tabs-tab-border) !important;
    border-radius: var(--cnf-tabs-tab-radius) !important;
    background: var(--cnf-tabs-tab-bg) !important;
    color: var(--cnf-tabs-tab-text) !important;
    box-shadow: 0 8px 22px rgba(48,29,18,.045) !important;
    font: inherit;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
    transition: transform .24s ease, border-color .24s ease, background .24s ease, color .24s ease, box-shadow .24s ease !important;
}

.cnf-tabbed-collections__tab::before {
    content: "";
    position: absolute;
    inset: auto -25% -62% 32%;
    height: 78%;
    border-radius: 50%;
    background: color-mix(in srgb, var(--cnf-tabs-accent) 11%, transparent);
    opacity: 0;
    transition: opacity .24s ease, transform .24s ease;
}

.cnf-tabbed-collections__tab:hover {
    border-color: color-mix(in srgb, var(--cnf-tabs-accent) 42%, var(--cnf-tabs-tab-border)) !important;
    background: color-mix(in srgb, var(--cnf-tabs-accent) 6%, #fff) !important;
    box-shadow: 0 13px 30px rgba(52,29,16,.09) !important;
    transform: translateY(-2px);
}

.cnf-tabbed-collections__tab:hover::before {
    opacity: 1;
}

.cnf-tabbed-collections__tab[aria-selected="true"] {
    border-color: color-mix(in srgb, var(--cnf-tabs-tab-active-bg) 80%, #fff) !important;
    background:
        radial-gradient(circle at 75% 20%, rgba(255,255,255,.28), transparent 38%),
        linear-gradient(145deg, color-mix(in srgb, var(--cnf-tabs-tab-active-bg) 84%, #ff8a57), var(--cnf-tabs-tab-active-bg)) !important;
    color: var(--cnf-tabs-tab-active-text) !important;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--cnf-tabs-tab-active-bg) 25%, transparent) !important;
    transform: translateY(-2px);
}

.cnf-tabbed-collections__tab[aria-selected="true"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: currentColor;
    opacity: .9;
    transform: translateX(-50%);
}

.cnf-tabbed-collections__tab:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--cnf-tabs-accent) 28%, transparent);
    outline-offset: 3px;
}

.cnf-tabbed-collections__tab-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 3px;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(255,255,255,.72);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}

.cnf-tabbed-collections__tab-icon img,
.cnf-tabbed-collections__tab-icon svg,
.cnf-tabbed-collections__tab-icon i {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .25s ease;
}

.cnf-tabbed-collections__tab:hover .cnf-tabbed-collections__tab-icon img,
.cnf-tabbed-collections__tab[aria-selected="true"] .cnf-tabbed-collections__tab-icon img {
    transform: scale(1.07);
}

.cnf-tabbed-collections__tab-label {
    display: block;
    max-width: 112px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 780;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
}

.cnf-tabbed-collections__panel[hidden] {
    display: none !important;
}

.cnf-tabbed-collections__panel {
    min-width: 0;
    animation: cnf-tabs-280-in var(--cnf-tabs-motion-duration, 520ms) cubic-bezier(.22,.72,.24,1) both;
}

@keyframes cnf-tabs-280-in {
    from { opacity: 0; transform: translateY(8px) scale(.995); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.cnf-tabbed-collections__panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.cnf-tabbed-collections__intro {
    min-width: 0;
    flex: 1 1 auto;
}

.cnf-tabbed-collections__heading {
    margin: 0;
    font-size: clamp(24px, 2.45vw, 38px);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.cnf-tabbed-collections__description {
    max-width: 720px;
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.55;
}

.cnf-tabbed-collections__panel-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
}

.cnf-tabbed-collections__image-search {
    min-height: 52px;
    display: inline-grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    background:
        radial-gradient(circle at 86% 8%, rgba(255,255,255,.14), transparent 38%),
        var(--cnf-tabs-image-search-bg);
    color: var(--cnf-tabs-image-search-text) !important;
    box-shadow: 0 13px 30px rgba(22,18,16,.13);
    text-decoration: none !important;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.cnf-tabbed-collections__image-search:hover {
    color: var(--cnf-tabs-image-search-text) !important;
    box-shadow: 0 17px 36px rgba(22,18,16,.18);
    filter: saturate(1.06);
    transform: translateY(-2px);
}

.cnf-tabbed-collections__image-search-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--cnf-tabs-image-search-icon);
    color: #fff;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--cnf-tabs-image-search-icon) 27%, transparent);
}

.cnf-tabbed-collections__image-search-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cnf-tabbed-collections__image-search-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
}

.cnf-tabbed-collections__image-search-copy strong {
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1.18;
}

.cnf-tabbed-collections__image-search-copy small {
    color: color-mix(in srgb, var(--cnf-tabs-image-search-text) 66%, transparent);
    font-size: 9.5px;
    line-height: 1.2;
    white-space: nowrap;
}

.cnf-tabbed-collections__image-search-arrow {
    font-size: 16px;
    opacity: .72;
}

.cnf-tabbed-collections__view {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid color-mix(in srgb, var(--cnf-tabs-accent) 18%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--cnf-tabs-accent) 7%, #fff);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.cnf-tabbed-collections__view:hover {
    background: color-mix(in srgb, var(--cnf-tabs-accent) 12%, #fff);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--cnf-tabs-accent) 13%, transparent);
    text-decoration: none !important;
    transform: translateY(-1px);
}

.cnf-tabbed-collections__rail-wrap {
    position: relative;
    min-width: 0;
}

.cnf-tabbed-collections__rail-toolbar {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.cnf-tabbed-collections__rail-status {
    min-width: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #7b6e66;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: .08em;
}

.cnf-tabbed-collections__rail-arrows {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cnf-tabbed-collections__rail-arrow {
    position: static !important;
    z-index: auto;
    width: var(--cnf-tabs-nav-size) !important;
    height: var(--cnf-tabs-nav-size) !important;
    display: inline-grid !important;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(225,210,201,.88);
    border-radius: 14px;
    background: var(--cnf-tabs-nav-bg);
    color: var(--cnf-tabs-nav-text);
    box-shadow: 0 8px 22px rgba(46,27,16,.08);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
}

.cnf-tabbed-collections__rail-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cnf-tabbed-collections__rail-arrow:hover,
.cnf-tabbed-collections__rail-arrow:focus-visible {
    border-color: var(--cnf-tabs-nav-hover);
    background: var(--cnf-tabs-nav-hover);
    color: #fff;
    transform: translateY(-1px) !important;
}

.cnf-tabbed-collections__rail-arrow:disabled {
    opacity: .3 !important;
    cursor: default;
    transform: none !important;
}

.cnf-tabbed-collections__rail {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 2px 2px 5px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    cursor: grab;
}

.cnf-tabbed-collections__rail.is-dragging {
    cursor: grabbing;
    user-select: none;
    scroll-snap-type: none;
}

.cnf-tabs-layout--paged .cnf-tabbed-collections__rail {
    display: flex !important;
    align-items: stretch;
    gap: var(--cnf-page-gap);
}

.cnf-tabbed-collections__page {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(var(--cnf-page-columns, var(--cnf-tab-card-columns)), minmax(0, 1fr));
    grid-template-rows: repeat(var(--cnf-page-rows, var(--cnf-tab-card-rows)), minmax(0, auto));
    align-items: stretch;
    gap: var(--cnf-tab-card-gap);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.cnf-tabs-layout--single_row .cnf-tabbed-collections__rail {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--cnf-tab-card-columns) - 1) * var(--cnf-tab-card-gap)) / var(--cnf-tab-card-columns));
    gap: var(--cnf-tab-card-gap);
}

.cnf-tabs-layout--grid .cnf-tabbed-collections__rail {
    display: grid !important;
    grid-template-columns: repeat(var(--cnf-tab-card-columns), minmax(0,1fr));
    gap: var(--cnf-tab-card-gap);
    overflow: visible;
    cursor: default;
    scroll-snap-type: none;
}

.cnf-tabbed-collections__rail:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--cnf-tabs-accent) 20%, transparent);
    outline-offset: 4px;
    border-radius: 18px;
}

.cnf-tabbed-category-card {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid var(--cnf-tabs-card-border) !important;
    border-radius: var(--cnf-tabs-card-radius) !important;
    background:
        radial-gradient(circle at 92% 4%, color-mix(in srgb, var(--cnf-tabs-accent) 7%, transparent), transparent 45%),
        var(--cnf-tabs-card-bg) !important;
    color: inherit;
    box-shadow: 0 9px 24px rgba(48,29,18,.055);
    text-decoration: none !important;
    isolation: isolate;
    scroll-snap-align: start;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.cnf-tabbed-category-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--cnf-tabs-accent) 8%, transparent), transparent 55%);
    opacity: 0;
    transition: opacity .22s ease;
}

.cnf-tabbed-category-card:hover {
    border-color: var(--cnf-tabs-card-hover) !important;
    box-shadow: 0 18px 38px rgba(52,29,16,.12);
    transform: translateY(-4px);
}

.cnf-tabbed-category-card:hover::before {
    opacity: 1;
}

.cnf-tabbed-category-card:active {
    transform: translateY(-1px) scale(.988);
}

.cnf-tabbed-category-card:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--cnf-tabs-accent) 28%, transparent);
    outline-offset: 2px;
}

.cnf-tabbed-category-card__image {
    position: relative;
    width: var(--cnf-tabs-image-size) !important;
    height: var(--cnf-tabs-image-size) !important;
    flex: 0 0 var(--cnf-tabs-image-size) !important;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(239,224,215,.76);
    border-radius: calc(var(--cnf-tabs-card-radius) - 6px) !important;
    background:
        radial-gradient(circle at 72% 18%, rgba(255,255,255,.9), transparent 33%),
        var(--cnf-tabs-image-bg) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.cnf-tabbed-category-card__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform .28s ease, filter .28s ease;
}

.cnf-tabbed-category-card:hover .cnf-tabbed-category-card__image img {
    filter: saturate(1.06) contrast(1.02);
    transform: scale(1.055);
}

.cnf-tabbed-category-card__content {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
}

.cnf-tabbed-category-card__title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--cnf-tabs-card-title) !important;
    font-size: 14px;
    font-weight: 820;
    line-height: 1.22;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cnf-tabbed-category-card__count,
.cnf-tabbed-category-card__description {
    display: -webkit-box;
    overflow: hidden;
    color: #746a64;
    font-size: 10.5px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cnf-tabbed-category-card__arrow {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid !important;
    place-items: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--cnf-tabs-accent) 8%, #fff);
    color: var(--cnf-tabs-accent);
    font-size: 14px;
    opacity: .8;
    transition: transform .22s ease, background .22s ease, color .22s ease;
}

.cnf-tabbed-category-card:hover .cnf-tabbed-category-card__arrow {
    background: var(--cnf-tabs-accent);
    color: #fff;
    opacity: 1;
    transform: translateX(2px);
}

.cnf-tabbed-collections--circle .cnf-tabbed-category-card,
.cnf-tabbed-collections--landscape .cnf-tabbed-category-card,
.cnf-tabbed-collections--portrait .cnf-tabbed-category-card {
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    text-align: center;
}

.cnf-tabbed-collections--circle .cnf-tabbed-category-card {
    border-color: var(--cnf-tabs-card-border) !important;
    background:
        radial-gradient(circle at 82% 0, color-mix(in srgb, var(--cnf-tabs-accent) 8%, transparent), transparent 44%),
        var(--cnf-tabs-card-bg) !important;
    box-shadow: 0 9px 24px rgba(48,29,18,.055) !important;
}

.cnf-tabbed-collections--circle .cnf-tabbed-category-card__image {
    width: var(--cnf-tabs-image-size) !important;
    height: var(--cnf-tabs-image-size) !important;
    flex-basis: var(--cnf-tabs-image-size) !important;
    aspect-ratio: 1;
    border-radius: 50% !important;
}

.cnf-tabbed-collections--circle .cnf-tabbed-category-card__content {
    align-items: center;
}

.cnf-tabbed-collections--circle .cnf-tabbed-category-card__arrow {
    position: absolute;
    right: 10px;
    top: 10px;
}

.cnf-tabbed-collections--landscape .cnf-tabbed-category-card__image {
    width: 100% !important;
    height: auto !important;
    flex-basis: auto !important;
    aspect-ratio: 16 / 9;
}

.cnf-tabbed-collections--portrait .cnf-tabbed-category-card__image {
    width: 100% !important;
    height: auto !important;
    flex-basis: auto !important;
    aspect-ratio: 4 / 5;
}

.cnf-tabbed-collections--compact .cnf-tabbed-category-card {
    min-height: 58px;
}

.cnf-tabbed-collections__rail-progress {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100%;
    height: 4px;
    margin-top: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(222,207,198,.7);
    opacity: 1;
}

.cnf-tabbed-collections__rail-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cnf-tabs-accent), color-mix(in srgb, var(--cnf-tabs-accent) 58%, #ffb38f));
    transform: translateX(0);
    transition: transform var(--cnf-tabs-motion-duration, 520ms) cubic-bezier(.22,.72,.24,1), width .25s ease;
}

.cnf-tabbed-collections__rail-wrap.is-static .cnf-tabbed-collections__rail-toolbar,
.cnf-tabbed-collections__rail-wrap.is-static .cnf-tabbed-collections__rail-progress {
    display: none;
}

.cnf-tabbed-collections__empty {
    padding: 32px;
    border: 1px dashed color-mix(in srgb, var(--cnf-tabs-accent) 30%, #dfcfc6);
    border-radius: 20px;
    background: rgba(255,255,255,.6);
    color: #6f635c;
    text-align: center;
}

@media (max-width: 1024px) {
    .cnf-tabbed-collections {
        --cnf-tab-card-columns: 4;
        --cnf-tab-card-rows: 2;
        --cnf-tab-card-gap: 12px;
        --cnf-tabs-image-size: 76px;
    }

    .cnf-tabbed-collections__tablist {
        justify-content: flex-start !important;
        margin-inline: 0;
    }

    .cnf-tabbed-collections__panel-head {
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .cnf-tabbed-collections {
        --cnf-tab-card-columns: 2;
        --cnf-tab-card-rows: 2;
        --cnf-tab-card-gap: 9px;
        --cnf-page-gap: 10px;
        --cnf-tabs-image-size: 68px;
        --cnf-tabs-nav-size: 35px;
        border-radius: 22px;
        box-shadow: 0 16px 42px rgba(53,30,17,.09);
    }

    .cnf-tabbed-collections::before {
        width: 150px;
        height: 150px;
        right: -92px;
        top: -92px;
        border-width: 24px;
    }

    .cnf-tabbed-collections__nav {
        margin-inline: -1px;
        margin-bottom: 14px;
    }

    .cnf-tabbed-collections__tablist {
        width: 100%;
        gap: 7px !important;
        padding: 5px;
        border-radius: 18px;
    }

    .cnf-tabbed-collections__tab {
        min-width: 72px;
        min-height: 70px;
        gap: 4px;
        border-radius: 14px !important;
    }

    .cnf-tabbed-collections__tab-icon {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .cnf-tabbed-collections__tab-label {
        max-width: 74px;
        font-size: 10px;
        line-height: 1.1;
    }

    .cnf-tabbed-collections__tab[aria-selected="true"]::after {
        bottom: 4px;
        width: 25px;
    }

    .cnf-tabbed-collections__panel-head {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .cnf-tabbed-collections__heading {
        font-size: clamp(20px, 6.2vw, 27px);
        line-height: 1.06;
    }

    .cnf-tabbed-collections__description {
        margin-top: 5px;
        font-size: 11px;
        line-height: 1.45;
    }

    .cnf-tabbed-collections__panel-actions {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .cnf-tabbed-collections__panel-actions::-webkit-scrollbar {
        display: none;
    }

    .cnf-tabbed-collections__image-search {
        min-height: 46px;
        flex: 0 0 auto;
        border-radius: 14px;
    }

    .cnf-tabbed-collections__image-search-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .cnf-tabbed-collections__image-search-copy strong {
        font-size: 11px;
    }

    .cnf-tabbed-collections__image-search-copy small {
        font-size: 8.5px;
    }

    .cnf-tabbed-collections__view {
        min-height: 34px;
        flex: 0 0 auto;
        padding-inline: 12px;
        font-size: 10px;
    }

    .cnf-tabbed-collections__rail-toolbar {
        min-height: 36px;
        margin-bottom: 7px;
    }

    .cnf-tabbed-collections__rail-status {
        min-width: 46px;
        font-size: 9px;
    }

    .cnf-tabbed-category-card {
        gap: 7px;
        border-radius: 17px !important;
    }

    .cnf-tabbed-category-card__image {
        border-radius: 14px !important;
    }

    .cnf-tabbed-category-card__title {
        font-size: 11px;
        line-height: 1.16;
    }

    .cnf-tabbed-category-card__count,
    .cnf-tabbed-category-card__description {
        font-size: 9px;
    }

    .cnf-tabbed-category-card__arrow {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        border-radius: 8px;
        font-size: 12px;
    }

    .cnf-tabbed-collections--circle .cnf-tabbed-category-card__arrow {
        right: 7px;
        top: 7px;
    }

    .cnf-tabbed-collections__rail-progress {
        height: 3px;
        margin-top: 10px;
    }
}

@media (max-width: 420px) {
    .cnf-tabbed-collections {
        --cnf-tab-card-columns: 2;
        --cnf-tab-card-rows: 2;
        --cnf-tab-card-gap: 8px;
        --cnf-tabs-image-size: 62px;
        border-radius: 19px;
    }

    .cnf-tabbed-collections__tab {
        min-width: 68px;
        min-height: 66px;
    }

    .cnf-tabbed-collections__tab-icon {
        width: 36px;
        height: 36px;
    }

    .cnf-tabbed-category-card__title {
        font-size: 10.5px;
    }
}

@media (hover: none), (pointer: coarse) {
    .cnf-tabbed-category-card:hover,
    .cnf-tabbed-collections__tab:hover,
    .cnf-tabbed-collections__image-search:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cnf-tabbed-collections__panel {
        animation: none;
    }

    .cnf-tabbed-collections__rail,
    .cnf-tabbed-category-card,
    .cnf-tabbed-collections__tab,
    .cnf-tabbed-collections__image-search,
    .cnf-tabbed-collections__rail-progress span {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* 2.9 compatibility and visual refinement. This stylesheet loads after the original plugin. */
.cnf-category-explorer-v29 {
    padding: clamp(20px, 2.4vw, 34px) !important;
    border-radius: clamp(24px, 2.5vw, 36px) !important;
}

.cnf-category-explorer-v29 .cnf-tabbed-collections__nav {
    margin-bottom: clamp(18px, 2vw, 28px) !important;
}

.cnf-category-explorer-v29 .cnf-tabbed-collections__tablist {
    max-width: min(100%, 1040px);
}

.cnf-category-explorer-v29 .cnf-tabbed-collections__panel-head {
    padding: 0 2px;
}

.cnf-category-explorer-v29 .cnf-tabbed-collections__rail-toolbar {
    justify-content: space-between;
}

.cnf-category-explorer-v29 .cnf-tabbed-collections__rail-toolbar::before {
    content: "Swipe or use arrows";
    color: #84766e;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
}

.cnf-category-explorer-v29 .cnf-tabbed-collections__page {
    grid-auto-flow: row;
}

.cnf-category-explorer-v29 .cnf-tabbed-category-card {
    min-height: 112px;
    padding: 12px !important;
}

.cnf-category-explorer-v29.cnf-tabbed-collections--circle .cnf-tabbed-category-card,
.cnf-category-explorer-v29.cnf-tabbed-collections--landscape .cnf-tabbed-category-card,
.cnf-category-explorer-v29.cnf-tabbed-collections--portrait .cnf-tabbed-category-card {
    min-height: 156px;
    padding: 13px 10px 12px !important;
}

.cnf-category-explorer-v29 .cnf-tabbed-category-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--cnf-tabs-accent);
    font-size: 28px;
    font-weight: 850;
}

@media (max-width: 1024px) {
    .cnf-category-explorer-v29 {
        padding: 20px !important;
    }

    .cnf-category-explorer-v29 .cnf-tabbed-category-card {
        min-height: 104px;
    }
}

@media (max-width: 767px) {
    .cnf-category-explorer-v29 {
        padding: 14px !important;
        border-radius: 20px !important;
    }

    .cnf-category-explorer-v29 .cnf-tabbed-collections__nav {
        margin-bottom: 15px !important;
    }

    .cnf-category-explorer-v29 .cnf-tabbed-collections__tablist {
        width: 100%;
        max-width: 100%;
    }

    .cnf-category-explorer-v29 .cnf-tabbed-collections__panel-head {
        padding: 0;
    }

    .cnf-category-explorer-v29 .cnf-tabbed-collections__rail-toolbar::before {
        content: "Swipe categories";
        font-size: 9px;
    }

    .cnf-category-explorer-v29 .cnf-tabbed-category-card {
        min-height: 96px;
        padding: 9px !important;
    }

    .cnf-category-explorer-v29.cnf-tabbed-collections--circle .cnf-tabbed-category-card,
    .cnf-category-explorer-v29.cnf-tabbed-collections--landscape .cnf-tabbed-category-card,
    .cnf-category-explorer-v29.cnf-tabbed-collections--portrait .cnf-tabbed-category-card {
        min-height: 132px;
        padding: 10px 7px 9px !important;
    }
}
