:root {
    --ps-primary: #f8c45f;
    --ps-primary-lt: rgba(184, 134, 11, 0.08);
    --ps-primary-md: rgba(184, 134, 11, 0.22);
    --ps-gold-light: #D4A017;
    --ps-gold-pale: #FDF6E3;
    --ps-gold-border: #E8D5A3;
    --ps-dark: #1A1208;
    --ps-dark-mid: #2E2410;
    --ps-text: #1e293b;
    --ps-muted: #64748b;
    --ps-border: rgba(0, 0, 0, 0.06);
    --ps-white: #ffffff;
    --ps-bg-soft: #fdf6e3;
    --ps-black: #000000;
}

/* ── Page wrapper ── */
/* ── Hero title ── */
.ps-hero-title {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--ps-dark);
    line-height: 1.2;
    margin-bottom: 0;
}

.ps-hero-title .highlight {
    font-family: 'Playfair Display', 'Work Sans', sans-serif;
    color: var(--ps-primary);
    text-decoration: none;
    position: relative;
}

.ps-hero-title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: var(--ps-primary);
    border-radius: 2px;
    opacity: 0.35;
}

/* ── Search bar ── */
.ps-search-wrap {
    position: relative;
    width: 100%;
}

.ps-search-wrap .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ps-muted);
    pointer-events: none;
    font-size: 16px;
}

.ps-search-input {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 20px 14px 46px;
    font-size: 15px;
    color: var(--ps-text);
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    font-family: 'Work Sans', sans-serif;
}

.ps-search-input:focus {
    border-color: var(--ps-primary);
    box-shadow: 0 0 0 3px var(--ps-primary-lt);
}

.ps-search-input::placeholder {
    color: #94a3b8;
}

/* ── Sidebar ── */
.ps-sidebar {
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 20px;
    padding: 28px;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ps-sidebar-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ps-primary);
    margin-bottom: 0;
    letter-spacing: -0.3px;
}

.ps-sidebar-divider {
    margin: 16px 0;
}

/* Sorting select */
.ps-select {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ps-text);
    width: 100%;
    cursor: pointer;
    transition: border-color .2s;
    font-family: 'Work Sans', sans-serif;
}

.ps-select:focus {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: 0 0 0 3px var(--ps-primary-lt);
}

/* Category toggle */
.ps-cat-btn {
    display: flex;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--ps-text);
    cursor: pointer;
    transition: background .2s;
    gap: 10px;
    text-align: start;
}

.ps-cat-btn:hover {
    background: var(--ps-primary-lt);
}

.ps-cat-btn .dropdown-icon {
    width: 16px;
    height: 16px;
    color: var(--ps-primary);
    flex-shrink: 0;
    transition: transform .3s;
    justify-content: right;
    position: absolute;
    right: 38px;
}

.ps-cat-btn .dropdown-icon.rotated {
    transform: rotate(180deg);
}

/* Sub-labels */
.ps-sub-list {
    padding-left: 0px;
}

.ps-sub-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ps-muted);
    cursor: pointer;
    padding: 5px 0;
    transition: color .15s;
    font-family: 'Work Sans', sans-serif;
}

.ps-sub-label:hover {
    color: var(--ps-primary);
}

/* Tags */
.ps-tags-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}

.ps-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ps-primary-lt);
    color: var(--ps-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--ps-primary-md);
    font-family: 'Work Sans', sans-serif;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.ps-tag:hover {
    background: var(--ps-primary);
    color: #fff;
    transform: translateY(-1px);
}

.ps-tag input[type="checkbox"] {
    display: none;
}

/* ── Clear filter btn ── */
.btn-clear-filter {
    background: none;
    border: 1.5px solid var(--ps-primary);
    color: var(--ps-primary);
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all .25s;
}

.btn-clear-filter:hover {
    background: var(--ps-primary);
    color: #fff;
}

/* ── Product Cards ── */
.ps-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    border: 1.5px solid #f1f5f9;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.165, .84, .44, 1), box-shadow .35s, border-color .35s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ps-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #8a1854;
    opacity: 0;
    transition: opacity .3s;
    z-index: 2;
}

.ps-card:hover::before {
    opacity: 1;
}

.ps-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(137, 22, 82, 0.35);
    border-color: var(--ps-primary-md);
}

.ps-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header: icon thumbnail + sold badge */
.ps-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.ps-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--ps-gold-border);
    background: var(--ps-gold-pale);
}

.ps-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ps-card-sold-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--ps-muted);
    font-weight: 500;
    white-space: nowrap;
}

.ps-card-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ps-dark);
    margin: 0 0 6px;
    line-height: 1.4;
    letter-spacing: -0.2px;
    transition: color .2s;
}

.ps-card:hover .ps-card-title {
    color: #8c1b56;
}

.ps-card-desc {
    font-size: 13.5px;
    color: var(--ps-muted);
    line-height: 1.6;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Stats row: stars · downloads · installs */
.ps-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ps-card-stats .ps-card-stats-left-content{
    display: grid;
}

.ps-card-stats .ps-card-stats-left-content .ps-card-sold-badge{
    justify-content: end;
}

.ps-card-stats-right-star-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.ps-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ps-stat-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--ps-muted);
    font-weight: 500;
    white-space: nowrap;
}

.ps-stat-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* Feature checklist (from $items->features) */
.ps-card-features {
    margin-bottom: 18px;
}

.ps-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ps-muted);
    padding: 3px 0;
    line-height: 1.5;
}

.ps-feature-check {
    color: #2D7A4F;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.ps-card-divider {
    height: 1px;
    background: #f1f5f9;
    margin-bottom: 18px;
}

.ps-card-price {
    font-family: 'Work Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ps-dark);
    letter-spacing: -0.5px;
    margin: 0 0 16px;
}

/* Buy Now btn */
.btn-buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ps-primary);
    color: #ffffff !important;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all .3s cubic-bezier(.165, .84, .44, 1);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.24);
    width: 100%;
    margin-top: auto;
}

.btn-buy-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(184, 134, 11, 0.32);
    filter: brightness(1.08);
    color: #ffffff !important;
}

.btn-buy-now i {
    font-size: 13px;
}

/* ── Free / Pro pricing (items with a free WordPress.org plugin) ── */
.ps-card-pricing {
    margin-bottom: 16px;
}

.ps-pricing-free {
    font-size: 12px;
    color: #2D7A4F;
    font-weight: 600;
    margin-bottom: 3px;
}

.ps-pricing-pro {
    font-size: 14px;
    color: var(--ps-dark);
    font-weight: 600;
}

.ps-pricing-pro .price-usd,
.ps-pricing-pro .price-inr {
    color: #8f225b;
}

.ps-card-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.ps-btn-free,
.ps-btn-pro {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all .2s;
}

.ps-btn-free {
    background: #ffffff;
    color: #891652 !important;
    border: 2px solid rgba(137, 22, 82, 0.2);
}

.ps-btn-free:hover {
    border-color: #891652;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(137, 22, 82, 0.1);
    background: #fdf5f9;
}

.ps-btn-pro {
    background: linear-gradient(135deg, #891652 0%, #6b1141 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 10px 25px rgba(137, 22, 82, 0.25);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ps-btn-pro:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(137, 22, 82, 0.35);
    filter: brightness(1.1);
}

.ps-btn-pro .arrow {
    transition: transform .2s;
}

.ps-btn-pro:hover .arrow {
    transform: translateX(3px);
}

/* ── No items state ── */
.ps-no-items {
    text-align: center;
    padding: 60px 20px;
    color: var(--ps-muted);
    font-size: 16px;
}

.ps-no-items i {
    font-size: 48px;
    color: #e2e8f0;
    display: block;
    margin-bottom: 16px;
}

/* ── Checkbox custom accent ── */
.form-check-input:checked {
    background-color: var(--ps-primary);
    border-color: var(--ps-primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px var(--ps-primary-lt);
    border-color: var(--ps-primary);
}

.shop-page-container {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 1023px) {
    .trust-bar-inner {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trust-divider {
        display: none;
    }

    .shop-page-container {
        padding: 50px 0px;
    }
}

/* ── Responsive tweaks ── */
@media (max-width: 767px) {
    .ps-sidebar {
        position: static;
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .ps-hero-title {
        font-size: 28px;
    }

    .ps-bundle-eyebrow {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .trust-bar-inner {
        grid-template-columns: 1fr;
        gap: 10px !important;
    }
}

/* ── Skeleton Loading ── */
@keyframes sk-shimmer {
    0% {
        background-position: -700px 0;
    }

    100% {
        background-position: 700px 0;
    }
}

.sk-box {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 700px 100%;
    animation: sk-shimmer 1.4s infinite linear;
    border-radius: 6px;
}

.sk-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #f1f5f9;
    overflow: hidden;
}

#skeleton-container {
    display: none;
}


/* ── TRUST BAR ── */
.trust-bar {
    background: #8f225b;
    padding: 16px 48px;
}

.trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ps-white);
}

.trust-icon {
    font-size: 18px;
    opacity: 0.9;
}

.trust-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--ps-gold-light);
}

.trust-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 400;
}

.trust-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
}

/* ── COMPLETE SUITE BUNDLE BANNER ── */
.ps-bundle-section {
    max-width: 1200px;
    margin: 0 auto;
}

.ps-bundle-card {
    background: #8f225b;
    border-radius: 20px;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.ps-bundle-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 200px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.ps-bundle-left {
    flex: 1;
}

.ps-bundle-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ps-gold-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ps-bundle-eyebrow::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--ps-gold-light);
}

.ps-bundle-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--ps-white);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.ps-bundle-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
    max-width: 420px;
    margin: 0;
}

.ps-bundle-plugins {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ps-bundle-plugin-tag {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
}

.ps-bundle-right {
    flex-shrink: 0;
    text-align: center;
}

.ps-bundle-price-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 4px;
}

.ps-bundle-original {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.ps-bundle-price {
    font-family: 'Work Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--ps-white);
    line-height: 1;
    letter-spacing: -2px;
}

.ps-bundle-price span {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0;
}

.ps-bundle-save {
    display: inline-block;
    background: var(--ps-primary);
    color: var(--ps-white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    margin: 8px 0 20px;
    letter-spacing: 0.3px;
}

.btn-ps-bundle {
    display: block;
    background: var(--ps-primary);
    color: var(--ps-white) !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(248, 196, 95, 0.3);
    white-space: nowrap;
}

.btn-ps-bundle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(248, 196, 95, 0.4);
    background: #ffffff;
    color: #000000 !important;
}

.ps-bundle-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.86);
    margin-top: 10px;
    text-align: center;
}

.shop-page-container #items-container,
.home-products-section-container #items-container {
    row-gap: 30px;
}

.ps-card-features .ps-feature-item .feature-pro-label {
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    background: #8f225b;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.ps-card-top-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

.ps-card-top-badge.ps-card-most-popular-badge{
    background: #fdf6e3;
    color: #b8860b;
    border: 1px solid #e8d5a3;
}

.ps-card-top-badge.ps-card-new-badge{
    background: #EFF8F2;
    color: #2d7a4f;
    border: 1px solid #C3E8D3;
}

.shop-page-container #real-content-wrapper{
    width: 1140px;
    margin: 0 auto;
    max-width: 96%;
}

.sidebar-free-badge-box {
    background: #e6fcf5;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    margin: 16px 0 24px 0;
}

.free-badge-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0ca678;
    display: block;
}

.free-badge-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #098460;
    display: block;
    margin-top: 6px;
    line-height: 1.4;
}