/**
 * Digital Store Pro — Frontend styles.
 * Brand palette matches zohaibbutt.com (Astra):
 *   primary #2A3D4C, gold #B68D40 (overridable via settings → CSS vars).
 */

.dsp-shop-layout {
        display: grid;
        /* Single column by default; the 280px track is only claimed when a
           sidebar will really render (.dsp-has-sidebar) — prevents the main
           column collapsing into an empty sidebar gutter. */
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        align-items: start;
        margin-top: 20px;
}

.dsp-shop-layout.dsp-has-sidebar {
        grid-template-columns: 280px minmax(0, 1fr);
}

/* ============ Sidebar ============ */
.dsp-sidebar {
        background: #ffffff;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        padding: 18px 18px 8px;
        position: relative;
}

.dsp-sidebar-head {
        display: none;
        align-items: center;
        justify-content: space-between;
        margin: -6px -6px 6px 0;
}

.dsp-sidebar-title {
        font-weight: 700;
        color: var(--dsp-primary, #2A3D4C);
        font-size: 15px;
}

.dsp-drawer-close {
        background: transparent;
        border: 0;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        color: #69727d;
        padding: 4px 8px;
}

.dsp-section {
        border-bottom: 1px solid #eeeeee;
        padding-bottom: 14px;
        margin-bottom: 14px;
}

.dsp-section:last-child {
        border-bottom: 0;
        margin-bottom: 0;
}

.dsp-section-title {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--dsp-primary, #2A3D4C);
        margin: 0 0 12px;
        padding-bottom: 8px;
        position: relative;
}

.dsp-section-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 28px;
        height: 2px;
        background: var(--dsp-gold, #B68D40);
        border-radius: 2px;
}

/* Category tree */
.dsp-tree,
.dsp-tree .dsp-sub {
        list-style: none;
        margin: 0;
        padding: 0;
}

.dsp-tree .dsp-sub {
        display: none;
        margin: 2px 0 6px 14px;
        padding-left: 10px;
        border-left: 1px solid #e5e5e5;
}

.dsp-tree-item.has-children > .dsp-sub.is-open {
        display: block;
}

.dsp-tree-row {
        display: flex;
        align-items: center;
        gap: 6px;
}

.dsp-tree-row .dsp-cat-link {
        flex: 1;
        min-width: 0;
}

.dsp-cat-link,
.dsp-ind-link,
.dsp-price-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 7px 10px;
        border-radius: 6px;
        color: #333333;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.35;
        transition: background 0.15s ease, color 0.15s ease;
        border-left: 3px solid transparent;
}

.dsp-cat-link:hover,
.dsp-ind-link:hover,
.dsp-price-link:hover {
        background: #f5f5f5;
        color: var(--dsp-primary, #2A3D4C);
}

.dsp-cat-link.is-active,
.dsp-ind-link.is-active,
.dsp-price-link.is-active {
        background: var(--dsp-primary, #2A3D4C);
        color: #ffffff;
        border-left-color: var(--dsp-gold, #B68D40);
        font-weight: 600;
}

.dsp-cat-link .dsp-cat-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
}

.dsp-count {
        flex-shrink: 0;
        background: #f5f5f5;
        color: #69727d;
        border-radius: 20px;
        font-size: 11px;
        line-height: 1;
        padding: 4px 8px;
}

.dsp-cat-link.is-active .dsp-count,
.dsp-ind-link.is-active .dsp-count,
.dsp-price-link.is-active .dsp-count,
.dsp-fav-item.is-active .dsp-count {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
}

/* Arrow toggle button — ▶ default (collapsed), ▼ when open.
   v1.4.3: changed from a small chevron-down to a clear right-pointing
   arrow so the expand/collapse affordance is obvious to users. */
.dsp-toggle {
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: 1px solid #d4d4d4;
        border-radius: 6px;
        cursor: pointer;
        color: var(--dsp-primary, #2A3D4C);
        padding: 0;
        transition: transform 0.2s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dsp-toggle:hover {
        background: var(--dsp-primary, #2A3D4C);
        border-color: var(--dsp-primary, #2A3D4C);
        color: #ffffff;
}

/* When the parent <li> has .is-open, rotate the arrow 90deg so it
   points DOWN (▼) — indicates the sub-tree is expanded. */
.dsp-tree-item.is-open > .dsp-tree-row .dsp-toggle {
        transform: rotate(90deg);
        background: var(--dsp-primary, #2A3D4C);
        border-color: var(--dsp-primary, #2A3D4C);
        color: #ffffff;
}

/* Flat lists (industries / price) */
.dsp-flat-list {
        list-style: none;
        margin: 0;
        padding: 0;
}

/* Bundles */
.dsp-bundle-list {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 300px;
        overflow: auto;
}

.dsp-bundle-item {
        margin-bottom: 4px;
}

.dsp-bundle-label {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 7px 8px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 13.5px;
        line-height: 1.4;
        transition: background 0.15s ease;
}

.dsp-bundle-label:hover {
        background: #f5f5f5;
}

.dsp-bundle-label input[type="checkbox"] {
        margin-top: 3px;
        accent-color: var(--dsp-primary, #2A3D4C);
        flex-shrink: 0;
}

.dsp-bundle-name {
        flex: 1;
        min-width: 0;
}

.dsp-bundle-price {
        color: var(--dsp-gold, #B68D40);
        font-weight: 700;
        white-space: nowrap;
        font-size: 12.5px;
}

/* ============ Favorite bar ============ */
.dsp-fav-bar {
        margin-bottom: 20px;
}

.dsp-fav-list {
        list-style: none;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        margin: 0 0 12px;
        padding: 4px 2px 10px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
}

.dsp-fav-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        padding: 9px 18px;
        background: #ffffff;
        border: 1px solid #e5e5e5;
        border-radius: 30px;
        color: #333333;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.18s ease;
}

.dsp-fav-item:hover {
        border-color: var(--dsp-primary, #2A3D4C);
        color: var(--dsp-primary, #2A3D4C);
        box-shadow: 0 2px 8px rgba(42, 61, 76, 0.12);
}

.dsp-fav-item.is-active {
        background: var(--dsp-primary, #2A3D4C);
        border-color: var(--dsp-primary, #2A3D4C);
        color: #ffffff;
        box-shadow: 0 3px 10px rgba(42, 61, 76, 0.28);
        border-bottom: 2px solid var(--dsp-gold, #B68D40);
}

/* Chips / clear all */
.dsp-chips {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 20px;
}

.dsp-clear-all {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: transparent;
        border: 1px solid var(--dsp-gold, #B68D40);
        color: var(--dsp-gold, #B68D40);
        border-radius: 20px;
        padding: 5px 14px;
        font-size: 12.5px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.15s ease;
}

.dsp-clear-all:hover {
        background: var(--dsp-gold, #B68D40);
        color: #ffffff;
}

/* ============ Toolbar ============ */
.dsp-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
        flex-wrap: wrap;
        padding: 8px 0;
}

.dsp-result-count {
        font-size: 13.5px;
        color: #69727d;
}

/* v1.4.4: visible "Sort:" label so the dropdown is obviously a sort control. */
.dsp-orderby {
        display: inline-flex;
        align-items: center;
        gap: 6px;
}

.dsp-orderby-label {
        font-size: 13.5px;
        color: #2a2a2a;
        font-weight: 600;
}

.dsp-orderby select {
        padding: 8px 30px 8px 12px;
        border: 1px solid #d4d4d4;
        border-radius: 6px;
        background: #ffffff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%232a2a2a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 10px center;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        color: #2a2a2a;
        font-size: 13.5px;
        cursor: pointer;
        min-width: 180px;
}

.dsp-orderby select:focus {
        outline: 0;
        border-color: var(--dsp-primary, #2A3D4C);
}

/* ============ Grid ============ */
.dsp-products-grid {
        position: relative;
        min-height: 120px;
}

.dsp-products-grid.is-loading::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.6);
        z-index: 2;
}

.dsp-products-grid.is-loading::before {
        content: "";
        position: absolute;
        top: 40%;
        left: 50%;
        width: 34px;
        height: 34px;
        margin: -17px 0 0 -17px;
        border: 3px solid #e5e5e5;
        border-top-color: var(--dsp-gold, #B68D40);
        border-radius: 50%;
        z-index: 3;
        animation: dsp-spin 0.7s linear infinite;
}

@keyframes dsp-spin {
        to {
                transform: rotate(360deg);
        }
}

.dsp-no-results {
        padding: 48px 24px;
        text-align: center;
        color: #69727d;
        background: #f5f5f5;
        border-radius: 8px;
}

/* Category badge on product cards */
.dsp-products li.product {
        position: relative;
}

.dsp-card-badge {
        display: inline-block;
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2;
        background: var(--dsp-gold, #B68D40);
        color: #ffffff;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 4px 10px;
        border-radius: 4px;
        pointer-events: none;
}

/* Pagination */
.dsp-pagination {
        margin-top: 28px;
        text-align: center;
}

.dsp-pagination .page-numbers {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 38px;
        height: 38px;
        margin: 0 3px;
        padding: 0 10px;
        border: 1px solid #e5e5e5;
        border-radius: 6px;
        color: #333333;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.15s ease;
}

.dsp-pagination .page-numbers.current,
.dsp-pagination .page-numbers:hover {
        background: var(--dsp-primary, #2A3D4C);
        border-color: var(--dsp-primary, #2A3D4C);
        color: #ffffff;
}

/* Mobile filters opener */
.dsp-filters-opener {
        display: none;
        align-items: center;
        gap: 8px;
        background: var(--dsp-primary, #2A3D4C);
        color: #ffffff;
        border: 0;
        border-radius: 8px;
        padding: 11px 20px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 16px;
        width: 100%;
        justify-content: center;
}

.dsp-filters-opener svg {
        color: var(--dsp-gold, #B68D40);
}

.dsp-drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(20, 20, 20, 0.55);
        z-index: 99998;
        opacity: 0;
        transition: opacity 0.25s ease;
}

/* ============ Responsive ============ */
@media (max-width: 991px) {
        .dsp-shop-layout {
                grid-template-columns: 1fr;
                gap: 0;
        }

        .dsp-filters-opener {
                display: flex;
        }

        .dsp-drawer-overlay.is-open {
                display: block;
                opacity: 1;
        }

        .dsp-sidebar.dsp-has-drawer {
                display: block;
                position: fixed;
                top: 0;
                left: 0;
                bottom: 0;
                width: min(360px, 88vw);
                z-index: 99999;
                border-radius: 0;
                overflow-y: auto;
                transform: translateX(-105%);
                transition: transform 0.28s ease;
                padding-bottom: 40px;
        }

        .dsp-sidebar.dsp-has-drawer.is-open {
                transform: translateX(0);
                box-shadow: 8px 0 30px rgba(0, 0, 0, 0.25);
        }

        .dsp-sidebar.dsp-has-drawer .dsp-sidebar-head {
                display: flex;
        }
}

@media (min-width: 992px) {
        .dsp-filters-opener,
        .dsp-drawer-overlay,
        .dsp-drawer-close {
                display: none !important;
        }
}

/* Prevent theme bullet styles leaking in */
.dsp-fav-list li,
.dsp-flat-list li,
.dsp-tree li,
.dsp-bundle-list li {
        list-style: none;
}

/* =====================================================================
 * v1.1 additions — search, option lists, swatches, slider skins
 * ===================================================================== */

/* Search box — v1.4.5: single icon on the right button only
   (the duplicate left-side icon inside the input has been removed). */
.dsp-search-box {
        display: flex;
        gap: 6px;
        position: relative;
        align-items: stretch;
}

.dsp-search-input {
        flex: 1;
        min-width: 0;
        padding: 9px 12px;
        border: 1px solid #e5e5e5;
        border-radius: 6px;
        font-size: 13.5px;
        background: #ffffff;
        color: #333333;
}

.dsp-search-input:focus {
        outline: 0;
        border-color: var(--dsp-primary, #2A3D4C);
        box-shadow: 0 0 0 3px rgba(42, 61, 76, 0.08);
}

/* Search button — magnifying glass icon visible on the right */
.dsp-search-btn {
        flex-shrink: 0;
        width: 44px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--dsp-primary, #2A3D4C);
        color: #ffffff;
        border: 0;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.15s ease;
        padding: 0;
}

.dsp-search-btn:hover {
        background: var(--dsp-gold, #B68D40);
}

.dsp-search-btn svg {
        display: block;
}

/* Option lists (radio / checkbox) */
.dsp-option-list {
        list-style: none;
        margin: 0;
        padding: 0;
}

.dsp-option-list .dsp-option-item {
        list-style: none;
        margin-bottom: 2px;
}

.dsp-option-label {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 8px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 13.5px;
        line-height: 1.4;
        color: #333333;
        transition: background 0.15s ease;
}

.dsp-option-label:hover {
        background: #f5f5f5;
}

.dsp-option-label input {
        accent-color: var(--dsp-primary, #2A3D4C);
        margin: 0;
        flex-shrink: 0;
}

.dsp-option-name {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
}

.dsp-option-label input:checked ~ .dsp-option-name {
        color: var(--dsp-primary, #2A3D4C);
        font-weight: 600;
}

/* Count badges */
.dsp-count.is-zero {
        opacity: 0.45;
}

/* Color swatches for attribute terms */
.dsp-swatch {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid #ffffff;
        box-shadow: 0 0 0 1px #d5d5d5;
}

/* Dropdowns */
.dsp-dropdown {
        width: 100%;
        padding: 9px 12px;
        border: 1px solid #e5e5e5;
        border-radius: 6px;
        background: #ffffff;
        color: #333333;
        font-size: 13.5px;
        cursor: pointer;
}

.dsp-dropdown:focus {
        outline: 0;
        border-color: var(--dsp-primary, #2A3D4C);
}

/* Apply button + form actions */
.dsp-form-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 14px 0 10px;
}

.dsp-apply-btn {
        background: var(--dsp-primary, #2A3D4C);
        color: #ffffff;
        border: 0;
        border-radius: 8px;
        padding: 11px 18px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.15s ease;
}

.dsp-apply-btn:hover {
        background: var(--dsp-gold, #B68D40);
}

.dsp-clear-form {
        align-self: center;
}

.dsp-clear-inline {
        background: transparent;
        border: 1px solid var(--dsp-gold, #B68D40);
        color: var(--dsp-gold, #B68D40);
        border-radius: 20px;
        padding: 6px 16px;
        font-size: 12.5px;
        font-weight: 600;
        cursor: pointer;
}

.dsp-clear-inline:hover {
        background: var(--dsp-gold, #B68D40);
        color: #ffffff;
}

/* Star rating labels */
.dsp-type-radio .dsp-option-name {
        letter-spacing: 0.02em;
}

/* ---------------- Price slider ---------------- */
.dsp-price-values {
        font-size: 13px;
        font-weight: 600;
        color: var(--dsp-primary, #2A3D4C);
        margin-bottom: 12px;
}

.dsp-range-wrap {
        position: relative;
        height: 26px;
}

.dsp-range-track,
.dsp-range-fill {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 4px;
        border-radius: 2px;
        pointer-events: none;
}

.dsp-range-track {
        left: 0;
        right: 0;
        background: #e5e5e5;
}

.dsp-range-fill {
        background: var(--dsp-gold, #B68D40);
}

.dsp-range {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 26px;
        margin: 0;
        background: transparent;
        -webkit-appearance: none;
        appearance: none;
        pointer-events: none;
}

.dsp-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        pointer-events: auto;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--dsp-primary, #2A3D4C);
        border: 3px solid #ffffff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
        cursor: grab;
}

.dsp-range::-moz-range-thumb {
        pointer-events: auto;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--dsp-primary, #2A3D4C);
        border: 3px solid #ffffff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
        cursor: grab;
}

.dsp-range::-moz-range-track {
        background: transparent;
}

/* Slider skins */
.dsp-skin-big .dsp-range::-webkit-slider-thumb {
        width: 26px;
        height: 26px;
        border-width: 4px;
}

.dsp-skin-big .dsp-range::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-width: 4px;
}

.dsp-skin-big .dsp-range-track,
.dsp-skin-big .dsp-range-fill {
        height: 8px;
}

.dsp-skin-modern .dsp-range-fill {
        background: linear-gradient(90deg, var(--dsp-primary, #2A3D4C), var(--dsp-gold, #B68D40));
}

.dsp-skin-modern .dsp-range::-webkit-slider-thumb {
        border-radius: 4px;
        background: var(--dsp-gold, #B68D40);
}

.dsp-skin-sharp .dsp-range::-webkit-slider-thumb {
        border-radius: 0;
}

.dsp-skin-sharp .dsp-range-track,
.dsp-skin-sharp .dsp-range-fill {
        border-radius: 0;
}

.dsp-skin-round .dsp-range::-webkit-slider-thumb {
        border-radius: 50%;
        background: #ffffff;
        border: 3px solid var(--dsp-primary, #2A3D4C);
}

.dsp-skin-square .dsp-range::-webkit-slider-thumb {
        border-radius: 2px;
}

.dsp-skin-square .dsp-range-track,
.dsp-skin-square .dsp-range-fill {
        border-radius: 0;
        height: 6px;
}

.dsp-skin-flat .dsp-range-track,
.dsp-skin-flat .dsp-range-fill {
        height: 3px;
        border-radius: 0;
}

.dsp-skin-flat .dsp-range::-webkit-slider-thumb {
        border-radius: 0;
        border-width: 0;
        width: 10px;
        height: 20px;
}

/* Min/Max input fields */
.dsp-price-inputs {
        display: flex;
        align-items: center;
        gap: 8px;
}

.dsp-price-inputs .dsp-num {
        width: 100%;
        min-width: 0;
        padding: 8px 10px;
        border: 1px solid #e5e5e5;
        border-radius: 6px;
        font-size: 13px;
}

.dsp-price-inputs .dsp-num:focus {
        outline: 0;
        border-color: var(--dsp-primary, #2A3D4C);
}

.dsp-price-sep {
        color: #69727d;
}

/* Single toggle sections */
.dsp-single-toggle {
        margin: 0;
}

/* =====================================================================
 * Admin — statistics page
 * ===================================================================== */

.dsp-stat-cards {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        margin: 18px 0 24px;
}

.dsp-stat-card {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: #ffffff;
        border: 1px solid #dcdcde;
        border-left: 4px solid #2A3D4C;
        border-radius: 8px;
        padding: 16px 22px;
        min-width: 170px;
}

.dsp-stat-num {
        font-size: 26px;
        font-weight: 700;
        color: #2A3D4C;
}

.dsp-stat-label {
        font-size: 12.5px;
        color: #69727d;
}

.dsp-stats .current {
        font-weight: 700;
        text-decoration: none;
        color: #2A3D4C;
}

.dsp-settings .dsp-sections-table input[type="checkbox"] {
        width: auto;
}

/* ------------------------------------------------------------------ */
/* v1.2 — Icon/colour swatch filter display                            */
/* ------------------------------------------------------------------ */
.dsp-swatch-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
}

.dsp-swatch-item {
        margin: 0;
}

.dsp-swatch-label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        position: relative;
}

.dsp-swatch-input {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
        overflow: hidden;
}

.dsp-swatch-box {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 2px solid #ffffff;
        box-shadow: 0 0 0 1px #d5d5d5;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dsp-swatch-label:hover .dsp-swatch-box {
        transform: scale(1.08);
}

.dsp-swatch-input:checked ~ .dsp-swatch-box {
        box-shadow: 0 0 0 2px var(--dsp-primary, #2A3D4C), 0 0 0 4px #ffffff inset;
        transform: scale(1.05);
}

.dsp-swatch-input:focus-visible ~ .dsp-swatch-box {
        outline: 2px solid var(--dsp-gold, #B68D40);
        outline-offset: 2px;
}

.dsp-swatch-item .dsp-count {
        font-size: 11.5px;
        color: #69727d;
}

/* Hide empty filter options (Rules & Validation) */
.dsp-filter-form.dsp-hide-empty .dsp-option-empty,
.dsp-filter-form .dsp-option-empty {
        display: none !important;
}

/* ------------------------------------------------------------------ */
/* DSP Products Grid (Elementor / [dsp_products]) — static pagination  */
/* ------------------------------------------------------------------ */

.dsp-static-grid {
        margin: 0 0 16px;
}

.dsp-static-empty {
        color: #69727d;
        font-size: 14px;
        margin: 12px 0;
}

.dsp-static-pagination ul {
        list-style: none !important;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
        margin: 28px 0 8px;
        padding: 0;
}

.dsp-static-pagination li {
        list-style: none !important;
        margin: 0;
}

.dsp-static-pagination a,
.dsp-static-pagination span {
        display: inline-block;
        min-width: 38px;
        padding: 8px 12px;
        text-align: center;
        border: 1px solid #e2e2e2;
        border-radius: 6px;
        color: #333333;
        text-decoration: none;
        background: #ffffff;
        font-size: 14px;
        line-height: 1.4;
        transition: border-color 0.15s ease, color 0.15s ease;
}

.dsp-static-pagination a:hover,
.dsp-static-pagination a:focus {
        border-color: var(--dsp-gold, #B68D40);
        color: var(--dsp-gold, #B68D40);
        text-decoration: none;
}

.dsp-static-pagination .current {
        background: var(--dsp-primary, #2A3D4C);
        border-color: var(--dsp-primary, #2A3D4C);
        color: #ffffff;
}

.dsp-static-products {
        margin: 0;
}
