/* ================================================================
   Color Switcher for Elementor — color-switcher.css v4.6
   Author: Soar | itengfei.cn
   ================================================================ */

/* ── 共用色块基础 ────────────────────────────────────────────── */
.cse-swatch,
.cse-loop-swatch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    padding: 0;
    flex-shrink: 0;
    transition: transform 0.18s ease;
    outline: none;
    -webkit-appearance: none;
}
.cse-loop-swatch { background-color: var(--cse-swatch-color, currentColor); }
.cse-swatch:focus-visible,
.cse-loop-swatch:focus-visible {
    outline: 2px solid #4a90d9;
    outline-offset: 4px;
}

/* 形状 */
.cse-swatch-circle,  .cse-loop-swatch-circle  { border-radius: 50%; }
.cse-swatch-rounded, .cse-loop-swatch-rounded  { border-radius: 6px; }
.cse-swatch-square,  .cse-loop-swatch-square   { border-radius: 2px; }

/* 选中外环 */
.cse-swatch::after,
.cse-loop-swatch::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 2px solid transparent;
    border-radius: inherit;
    transition: border-color 0.2s ease;
    pointer-events: none;
}
.cse-swatch.active::after,
.cse-loop-swatch.active::after { border-color: #111; }

/* ── 选中 Icon ───────────────────────────────────────────────── */
.cse-swatch-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.4) rotate(-10deg);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
    line-height: 1;
}
.cse-swatch-icon .cse-icon-inner,
.cse-swatch-icon i,
.cse-swatch-icon svg {
    display: block;
    width: 1em; height: 1em;
    font-size: inherit;
    color: inherit;
    fill: currentColor;
}
.cse-swatch.active     .cse-swatch-icon,
.cse-loop-swatch.active .cse-swatch-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ════════════════════════════════════════════════════════════════
   详情页 — 颜色色块选择器
   ════════════════════════════════════════════════════════════════ */
.cse-swatches-widget { display: block; }

.cse-label-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cse-swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    position: relative;
}
.cse-swatches-row { display: flex; flex-direction: column; }

/* 详情页色块：纯色实心圆，选中后中间显示图标 */
.cse-swatches-widget {
    --cse-swatch-color: #000;
    --cse-swatch-size: 32px;
}

.cse-swatches-widget .cse-swatch {
    position: relative;
    width: var(--cse-swatch-size) !important;
    height: var(--cse-swatch-size) !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--cse-swatch-color, #000) !important;
    box-shadow: none;
    overflow: visible;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.cse-swatches-widget .cse-swatch::before,
.cse-swatches-widget .cse-swatch::after {
    display: none !important;
}

.cse-swatches-widget .cse-swatch:hover,
.cse-swatches-widget .cse-swatch:focus-visible {
    opacity: 0.82;
}

.cse-swatches-widget .cse-swatch.active {
    opacity: 1;
}

/* 选中后图标居中显示，覆盖在色点中心 */
.cse-swatches-widget .cse-swatch .cse-swatch-icon {
    z-index: 2;
    color: #fff;
}

/* 清除按钮 */
.cse-clear-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1.4;
    color: #555;
    font-family: inherit;
    transition: opacity 0.18s;
    -webkit-appearance: none;
}
.cse-clear-btn:hover { opacity: 0.65; }
.cse-clear-text-link      { text-decoration: underline; text-underline-offset: 3px; }
.cse-clear-button-outline { border: 1px solid currentColor !important; border-radius: 4px; padding: 5px 14px; }
.cse-clear-button-fill    { background: #555 !important; color: #fff !important; border-radius: 4px; padding: 6px 16px; }
.cse-clear-below { margin-top: 10px; }

/* ════════════════════════════════════════════════════════════════
   详情页 — 产品图片展示（对齐 WooCommerce gallery，无背景色）

   布局说明：
     - .cse-pi-default（产品主图）：默认 position:relative，撑高容器
     - 变体图片：默认 position:absolute，透明度 0，叠放在下方
     - JS 切换时：active 的变为 relative+opacity:1，其他 absolute+opacity:0
   ════════════════════════════════════════════════════════════════ */
.cse-pi-gallery {
    position: relative;
    width: 100%;
    background: none !important;
}
.cse-pi-gallery .woocommerce-product-gallery__wrapper {
    position: relative;
    width: 100%;
}

/* 所有幻灯片共用 */
.cse-pi-gallery .woocommerce-product-gallery__image.cse-pi-slide {
    overflow: hidden;
    transition: opacity 0.4s ease;
}

/* 非激活：绝对叠放，透明 */
.cse-pi-gallery .woocommerce-product-gallery__image.cse-pi-slide:not(.active) {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

/* 激活：relative 撑高容器，可见 */
.cse-pi-gallery .woocommerce-product-gallery__image.cse-pi-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

/* 图片本身 */
.cse-pi-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    background: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* 切换动画 */
[data-transition="slide-up"] .woocommerce-product-gallery__image.cse-pi-slide:not(.active) {
    transform: translateY(16px);
    transition: opacity 0.38s ease, transform 0.38s ease;
}
[data-transition="slide-up"] .woocommerce-product-gallery__image.cse-pi-slide.active {
    transform: translateY(0);
    transition: opacity 0.38s ease, transform 0.38s ease;
}
[data-transition="zoom"] .woocommerce-product-gallery__image.cse-pi-slide:not(.active) {
    transform: scale(0.92);
    transition: opacity 0.32s ease, transform 0.32s ease;
}
[data-transition="zoom"] .woocommerce-product-gallery__image.cse-pi-slide.active {
    transform: scale(1);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

/* ════════════════════════════════════════════════════════════════
   Loop Builder — 循环图片（Loop Item Image）
   ════════════════════════════════════════════════════════════════ */
.cse-loop-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 非激活：绝对叠放 */
.cse-loop-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.35s ease;
}
/* 激活：relative 撑高 */
.cse-loop-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.cse-loop-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.cse-loop-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Loop 切换动画 */
[data-transition="slide-up"] .cse-loop-slide { transform: translateY(14px); transition: opacity 0.35s ease, transform 0.35s ease; }
[data-transition="slide-up"] .cse-loop-slide.active { transform: translateY(0); }
[data-transition="zoom"] .cse-loop-slide { transform: scale(0.93); transition: opacity 0.3s ease, transform 0.3s ease; }
[data-transition="zoom"] .cse-loop-slide.active { transform: scale(1); }

/* ════════════════════════════════════════════════════════════════
   Loop Builder — 循环色块（Loop Item Swatches）
   ════════════════════════════════════════════════════════════════ */
.cse-loop-swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    position: relative;
}

/* Tooltip — 浮在色块正上方的小气泡，带向下三角 */
.cse-loop-swatches,
.cse-swatches {
    overflow: visible;
}

.cse-loop-tooltip {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 0;
    transform: translateX(-50%);
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    padding: 5px 10px;
    border-radius: 4px;
    background: #111;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 30;
}

.cse-loop-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: #111;
    border-bottom: 0;
}

.cse-loop-tooltip.visible { opacity: 1; }

/* ════════════════════════════════════════════════════════════════
   产品网格 / 产品列表组件 — Audib 官方卡片样式修正版
   - 每个产品卡片只展示当前激活图；非激活图 display:none，避免所有颜色图被主题样式撑开
   - 主图/颜色图统一使用同一个媒体框、同一 padding 与同一缩放规则，反选后尺寸不跳动
   - 色块改成官方样式：小色点 + 白底浅灰外环，选中时只加强外环，不显示勾选图标
   - 按钮默认隐藏；hover 时价格隐藏，黑色按钮从底部滑出
   ════════════════════════════════════════════════════════════════ */
.cse-products,
.cse-products * { box-sizing: border-box; }

.cse-products a { text-decoration: none; }

.cse-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 52px 34px;
    align-items: start;
}

.cse-product-card {
    position: relative;
    min-width: 0;
/*     overflow: hidden; */
    background: #fff;
    text-align: left;
    isolation: isolate;
    container-type: inline-size;
    --cse-image-ratio: 1 / 1;
    --cse-media-bg: #f1f1f1;
    --cse-media-pad: clamp(16px, 5.5cqw, 38px);
    --cse-body-gap: clamp(14px, 3.2cqw, 20px);
    --cse-title-size: clamp(15px, 3.2cqw, 21px);
    --cse-cat-size: clamp(10px, 1.7cqw, 12px);
    --cse-desc-size: clamp(13px, 2.55cqw, 16px);
    --cse-price-size: clamp(18px, 3.9cqw, 26px);
    --cse-swatch-size: clamp(9px, 1.7cqw, 11px);
    --cse-swatch-outer: clamp(14px, 2.7cqw, 19px);
    --cse-button-height: clamp(42px, 8.6cqw, 54px);
    --cse-button-min-width: clamp(140px, 34cqw, 185px);
    --cse-button-font: clamp(10px, 1.95cqw, 12.5px);
    --cse-button-x: clamp(14px, 3.6cqw, 22px);
    --cse-button-gap: clamp(7px, 1.55cqw, 11px);
}

.cse-product-media {
    position: relative;
    overflow: hidden;
    background: var(--cse-media-bg);
    aspect-ratio: var(--cse-image-ratio);
    width: 100%;
}

.cse-product-card .cse-loop-img-wrap {
    position: relative;
    width: 100%;
    height: 100% !important;
    aspect-ratio: var(--cse-image-ratio);
    background: inherit;
    overflow: hidden;
}

.cse-product-card .cse-loop-slide {
    display: none !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.cse-product-card .cse-loop-slide.active {
    display: block !important;
    position: absolute !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}

.cse-product-card .cse-loop-slide a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: var(--cse-media-pad) !important;
}

.cse-product-card .cse-loop-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    padding: 0 !important;
    margin: 0 auto !important;
    transition: opacity 0.35s ease;
}

.cse-product-card:hover .cse-loop-slide.active img { transform: none; }

.cse-product-body {
    position: relative;
    z-index: 2;
    padding: var(--cse-body-gap) 0 0;
    background: #fff;
    text-align: left;
}

.cse-product-cat {
    margin: 0 0 clamp(12px, 2.3cqw, 18px);
    font-size: var(--cse-cat-size);
    line-height: 1.25;
    color: #8c8c8c;
    text-transform: uppercase;
    letter-spacing: 0.115em;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cse-product-cat a { color: inherit; text-decoration: none; }
.cse-product-cat a:hover { color: #111; }

.cse-product-title-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(10px, 2.12cqw, 14px);
    margin: 0 0 clamp(10px, 2.2cqw, 14px);
    min-width: 0;
}

.cse-product-title {
    min-width: 0;
    margin: 0;
    color: #050505;
    font-size: var(--cse-title-size);
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.026em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cse-product-title a { color: inherit; text-decoration: none; }
.cse-product-title a:hover { text-decoration: none; opacity: 0.72; }

.cse-product-swatches {
    flex: 0 0 auto;
    margin: 0;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(6px, 1.34cqw, 9px);
    line-height: 0;
}

.cse-product-swatches .cse-loop-swatch {
    width: var(--cse-swatch-outer) !important;
    height: var(--cse-swatch-outer) !important;
    min-width: var(--cse-swatch-outer) !important;
    min-height: var(--cse-swatch-outer) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cse-product-swatches .cse-loop-swatch::before {
    content: '';
    display: block;
    width: var(--cse-swatch-size);
    height: var(--cse-swatch-size);
    border-radius: 50%;
    background: var(--cse-swatch-color, currentColor);
    flex: 0 0 auto;
}

.cse-product-swatches .cse-loop-swatch::after,
.cse-product-swatches .cse-loop-swatch .cse-swatch-icon {
    display: none !important;
}

.cse-product-swatches .cse-loop-swatch:hover,
.cse-product-swatches .cse-loop-swatch:focus-visible {
    border-color: #c7c7c7 !important;
}

.cse-product-swatches .cse-loop-swatch.active {
    border-color: #111 !important;
    box-shadow: 0 0 0 1px #111 inset !important;
}

.cse-product-excerpt {
    margin: 0;
    max-width: 100%;
    color: #8a8a8a;
    font-size: var(--cse-desc-size);
    font-weight: 400;
    line-height: 1.25;
    word-break: break-word;
}

.cse-product-footer {
    position: relative;
    height: var(--cse-button-height);
    margin-top: clamp(14px, 3.0cqw, 20px);
    overflow: hidden;
}

.cse-product-price {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    min-height: clamp(38px, 6.67cqw, 44px);
    max-width: 100%;
    font-size: var(--cse-price-size);
    font-weight: 800;
    line-height: 1.15;
    color: #050505;
    white-space: nowrap;
    transition: opacity 0.24s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.cse-product-price del { opacity: 0.45; margin-right: 8px; }
.cse-product-price ins { text-decoration: none; }

.cse-product-card:hover .cse-product-price,
.cse-product-card:focus-within .cse-product-price {
    opacity: 0;
    transform: translateY(-18%);
}

.cse-product-button {
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--cse-button-gap);
    width: fit-content;
    min-width: var(--cse-button-min-width);
    max-width: 100%;
    height: var(--cse-button-height);
    min-height: var(--cse-button-height);
    padding: var(--cse-product-button-padding, 0 var(--cse-button-x));
    border: 0;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-size: var(--cse-button-font);
    font-weight: 700;
    line-height: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    white-space: nowrap;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(105%);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease, background-color 0.18s ease;
}

.cse-product-button-plus,
.cse-product-button-text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 1em;
    line-height: 1 !important;
}

.cse-product-button-plus {
    flex: 0 0 auto;
    width: 1em;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 0;
    transform: translateY(-0.02em);
}

.cse-product-button-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cse-product-card:hover .cse-product-button,
.cse-product-card:focus-within .cse-product-button {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cse-product-button:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}


.cse-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 42px;
}
.cse-pagination a,
.cse-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    color: #111;
    background: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.cse-pagination a:hover,
.cse-pagination .current {
    border-color: #111;
    background: #111;
    color: #fff;
}

.cse-notice {
    padding: 14px 18px;
    border: 1px solid #f0d38a;
    background: #fff8df;
    color: #7a5a00;
    border-radius: 8px;
}

/* ════════════════════════════════════════════════════════════════
   产品筛选（标签联动）— 三级级联多选下拉
   ════════════════════════════════════════════════════════════════ */
.cse-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 34px;
}

.cse-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 220px;
    min-width: 220px;
}

.cse-filter-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #111;
}

.cse-filter-dropdown { position: relative; }

.cse-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 0px!important;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    -webkit-appearance: none;
}
.cse-filter-toggle:hover { border-color: #b5b5b5; }
.cse-filter-toggle.has-value { border-color: #111; }

.cse-filter-toggle-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cse-filter-caret {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    opacity: 0.6;
    transition: transform 0.2s ease;
}
.cse-filter-toggle[aria-expanded="true"] .cse-filter-caret { transform: rotate(180deg); }

.cse-filter-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.cse-filter-menu[hidden] { display: none; }

.cse-filter-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.3;
    color: #333;
    cursor: pointer;
    transition: background-color 0.14s ease;
}
.cse-filter-option:hover { background: #f4f4f4; }
.cse-filter-option.checked {
    background: #f4f4f4;
}
.cse-filter-option input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #111;
    cursor: pointer;
}
.cse-filter-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.cse-filter-option.disabled input {
    cursor: not-allowed;
}
.cse-filter-option span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cse-filter-option input:checked + span { color: #111; font-weight: 600; }

.cse-filter-empty-option {
    padding: 10px;
    font-size: 13px;
    color: #999;
    text-align: center;
}

.cse-filter-reset {
    flex: 0 0 auto;
    align-self: flex-end;
    padding: 10px 18px;
    background: none;
    border: 1px solid #d9d9d9;
    border-radius: 0px!important;;
    color: #555;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease;
    -webkit-appearance: none;
}
.cse-filter-reset:hover { color: #111; border-color: #111; }

/* ── 已选标签 ──────────────────────────────────────────────── */
.cse-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 20px;
}
.cse-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f4f4f4;
    border: 1px solid #d9d9d9;
    border-radius: 0px!important;;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}
.cse-filter-tag:hover {
    background: #e8e8e8;
    border-color: #111;
}
.cse-filter-tag-label {
    line-height: 1;
}
.cse-filter-tag-remove {
    font-size: 1rem;
    line-height: 1;
    font-weight: 300;
    opacity: 0.6;
}
.cse-filter-tag:hover .cse-filter-tag-remove {
    opacity: 1;
}

.cse-filter-results { position: relative; min-height: 80px; }
.cse-filter-results.is-loading { opacity: 0.5; pointer-events: none; transition: opacity 0.2s ease; }

.cse-filter-empty {
    padding: 40px 0;
    text-align: center;
    color: #999;
    font-size: 15px;
}

/* ── 分页（分面筛选专用） ───────────────────────────────────── */
.cse-filter-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.cse-page-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
}
.cse-page-item {
    display: flex;
}
.cse-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 14px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #333;
    border-radius: 4px;
    transition: all 0.15s ease;
    line-height: 1;
}
.cse-page-link:hover {
    background: #f0f0f0;
    border-color: #999;
}
.cse-page-item.disabled .cse-page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.cse-page-item.active .cse-page-link {
    background: #111;
    color: #fff;
    border-color: #111;
}
.cse-page-item.cse-page-ellipsis .cse-page-link {
    border: none;
    background: transparent;
    cursor: default;
    min-width: 24px;
}
.cse-page-item.cse-page-ellipsis .cse-page-link:hover {
    background: transparent;
    border-color: transparent;
}

