.niak-pg-wrapper {
    display: flex;
    flex-direction: column;
    padding-block: 80px;
}

/* Header - Title & Subtitle */
.niak-pg-header {
    text-align: center;
    margin-bottom: 24px;
}

.niak-pg-main-title {
    font-size: 24px;
    font-weight: bold;
    color: #D1AA67;
    line-height: 40px;
    margin-bottom: 8px;
}

.niak-pg-subtitle {
    font-size: 14px;
    color: #4E4E4E;
    margin: 0;
    line-height: 20px;
}

/* Style 2 - Header Row Layout */
.niak-pg-style2 .niak-pg-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-direction: row-reverse; /* RTL: Title on right, button on left */
}

.niak-pg-style2 .niak-pg-header-right {
    text-align: right;
}

.niak-pg-style2 .niak-pg-header-right .niak-pg-main-title {
    margin-bottom: 4px;
}

.niak-pg-style2 .niak-pg-header-right .niak-pg-subtitle {
    margin: 0;
}

/* Style 2 without filters - remove margin */
.niak-pg-style2 .niak-pg-filters {
    display: none;
}

/* Filters */
.niak-pg-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center
}

.niak-pg-filters .niak-pg-cat {
    background: #fff;
    border-radius: 20px;
    padding: 8px 14px;
    border: 1px solid #eee;
    cursor: pointer;
    color: #4E4E4E;
    transition: all ease 0.3s;
}

.niak-pg-filters .niak-pg-cat-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.niak-pg-filters .niak-pg-cat:hover,
.niak-pg-filters .niak-pg-cat.active {
    background: #D1AA67;
    color: #fff;
    border-color: #D1AA67
}

.niak-pg-sort-wrap {
    display: flex;
    height: 56px;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 32px;
    align-self: end;
    position: relative;
}

.niak-pg-filters-panel-toggle-icon {
    display: none;
}

.niak-pg-sort-icon {
    width: 40px;
    height: 40px;
    display: flex;
    position: absolute;
    top: 8px;
    left: 0;
    pointer-events: none;
    align-items: center;
    justify-content: center;
}

.niak-pg-sort-label {
    font-size: 13px;
    color: #4E4E4E;
}

.niak-pg-sort-select {
    border: none;
    background: #fff;
    color: #4E4E4E;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 0 48px;
    outline: none;
    direction: ltr;
    cursor: pointer;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border-radius: 10px;
}

/* Grid Layout */
.niak-pg-grid-mode .niak-pg-grid-container {
    width: 100%;
}

/* Desktop Grid / Mobile Carousel Toggle */
.niak-pg-grid-mode .niak-pg-desktop-grid {
    display: grid;
}

.niak-pg-grid-mode.niak-pg-mobile-carousel-enabled .niak-pg-mobile-carousel {
    display: none;
}

@media (max-width: 768px) {
    .niak-pg-grid-mode.niak-pg-mobile-carousel-enabled .niak-pg-desktop-grid {
        display: none;
    }
    
    .niak-pg-grid-mode.niak-pg-mobile-carousel-enabled .niak-pg-mobile-carousel {
        display: block;
    }
    
    .niak-pg-grid-mode.niak-pg-mobile-carousel-enabled .niak-pg-mobile-carousel .niak-pg-swiper {
        overflow: hidden;
        padding-bottom: 40px;
    }

    .niak-pg-grid-mode.niak-pg-mobile-grid .niak-pg-desktop-grid {
        display: grid;
    }

    .niak-pg-grid-mode.niak-pg-mobile-grid .niak-pg-mobile-carousel {
        display: none !important;
    }
    
    .niak-pg-filters-panel-toggle-icon {
        display: flex;
    }

    .niak-pg-sort-wrap {
        height: 40px;
        width: 100%;
    }

    .niak-pg-sort-icon {
        top: 0;
    }
}

.niak-pg-grid-mode .niak-pg-grid {
    --niak-columns: 4;
    --niak-gap: 24px;
    display: grid;
    grid-template-columns: repeat(var(--niak-columns), 1fr);
    gap: var(--niak-gap);
}

@media (max-width: 1024px) {
    .niak-pg-grid-mode .niak-pg-desktop-grid {
        grid-template-columns: repeat(var(--niak-columns-tablet, 3), 1fr);
    }
}

@media (max-width: 768px) {
    .niak-pg-grid-mode.niak-pg-mobile-grid .niak-pg-desktop-grid {
        grid-template-columns: repeat(var(--niak-columns-mobile, 2), 1fr);
    }
}

/* Carousel container */
.niak-pg-carousel-mode .niak-pg-carousel-container {
    position: relative;
}

.niak-pg-swiper {
    overflow: hidden;
    padding-bottom: 50px;
}

.niak-pg-carousel-mode .niak-pg-results {
    display: flex;
}

.niak-pg-item {
    border-radius: 14px;
    text-align: center;
}

.niak-pg-item a {
    text-decoration: none;
    color: inherit;
}

.niak-pg-img-link {
    display: block;
}

.niak-pg-title-link {
    display: block;
}

.niak-pg-thumb {
    border-radius: 10px;
    background: #F2F2F2;
    position: relative;
    overflow: hidden;
}

/* Featured Badge */
.niak-pg-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #D1AA67;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 3;
}

/* Catalog Download Button */
.niak-pg-catalog-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    color: #4E4E4E;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.niak-pg-item:hover .niak-pg-catalog-btn {
    opacity: 1;
    transform: translateY(0);
}

.niak-pg-catalog-btn:hover {
    background: #D1AA67;
    color: #fff;
}

.niak-pg-catalog-btn svg {
    flex-shrink: 0;
}

/* Product Link Button */
.niak-pg-link-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #D1AA67;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.niak-pg-item:hover .niak-pg-link-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Gallery Effect */
.niak-pg-main-img,
.niak-pg-hover-img {
    display: flex;
}

.niak-pg-main-img img,
.niak-pg-hover-img img {
    display: block;
    width: 100%;
    height: auto;
}

.niak-pg-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: #F2F2F2;
    transition: opacity 0.4s ease;
}

.niak-pg-hover-img.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.niak-pg-hover-img.loading::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid #D1AA67;
    border-top-color: transparent;
    border-radius: 50%;
    animation: niak-spin 0.8s linear infinite;
}

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

.niak-pg-hover-img.loaded {
    opacity: 0;
}

/* Only apply fade effect when hover image exists and is loaded */
.niak-pg-item:hover .niak-pg-hover-img.loaded {
    opacity: 1;
}

.niak-pg-thumb:has(.niak-pg-hover-img.loaded) .niak-pg-main-img {
    transition: opacity 0.4s ease;
}

.niak-pg-item:hover .niak-pg-thumb:has(.niak-pg-hover-img.loaded) .niak-pg-main-img {
    opacity: 0;
}

.niak-pg-thumb img {
    max-width: 100%;
    height: auto;
    border-radius: 8px
}

.niak-pg-title-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--niak-gap);
}

.niak-pg-title {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    color: #333;
    width: 100%;
}

.niak-pg-product-tag {
    display: block;
    font-size: 14px;
    line-height: 20px;
    padding: 6px 12px;
    background: #4E4E4E;
    border-radius: 50px;
    color: #fff;
    margin-top: 2px;
}

.niak-pg-title-link {
    text-decoration: none;
}

.niak-pg-price {
    color: #D1AA67;
    font-weight: 600
}

/* Project Meta Fields */
.niak-pg-project-meta {
    color: #4E4E4E;
    font-size: 14px;
    margin-top: 6px;
    line-height: 1.5;
}

.niak-pg-project-meta .niak-pg-meta-item {
    display: inline-block;
}

.niak-pg-project-meta .niak-pg-meta-label {
    font-weight: 500;
    margin-left: 4px;
}

.niak-pg-project-meta .niak-pg-meta-item:not(:last-child)::after {
    content: ' . ';
    margin: 0 4px;
    color: #4E4E4E;
}

/* Sidebar layout (grid + filters) */
.niak-pg-with-sidebar {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.niak-pg-with-sidebar .niak-pg-main {
    flex: 1 1 auto;
    max-width: 100%;
    width: 76%;
}

.niak-pg-sidebar {
    width: 24%;
    flex: 1 1 auto;
    max-width: 100%;
    background: #fff;
    border-radius: 20px;
    position: relative;
}

.niak-pg-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.niak-pg-sidebar-global-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F6F6F6;
    border: none;
    border-radius: 999px;
    padding: 16px 24px;
}

input.niak-pg-sidebar-global-search {
    flex: 1 1 auto;
    border: none;
    outline: none;
    font-size: 14px;
    line-height: 20px;
    background: transparent;
    color: #6D6D6D;
    padding: 0;
}

button.niak-pg-sidebar-global-search-btn {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #D1AA67;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

button.niak-pg-sidebar-global-search-btn svg {
    width: 24px;
    height: 24px;
}

button.niak-pg-sidebar-global-search-btn:hover {
    transform: scale(1.1);
    background: transparent;
}

.niak-pg-sidebar-filters {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.niak-pg-sidebar-section {
    border-radius: 24px;
    background: #fff;
    border: 1px solid #EDEDED;
    overflow: hidden;
    min-height: fit-content;
}

button.niak-pg-sidebar-section-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: transparent;
    border: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    color: #4E4E4E !important;
}

.niak-pg-sidebar-section-label {
    white-space: nowrap;
}

.niak-pg-sidebar-section-chevron {
    width: 16px;
    height: 16px;
    border-radius: 0;
    border: none;
    position: relative;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.niak-pg-sidebar-section--open .niak-pg-sidebar-section-chevron {
    transform: rotate(0deg);
}

.niak-pg-sidebar-section-content {
    max-height: 0;
    padding: 0 24px 0 24px;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
}

.niak-pg-sidebar-section--open .niak-pg-sidebar-section-content {
    max-height: 360px;
    padding: 0 24px 24px 24px;
}

.niak-pg-sidebar-search-wrap {
    position: relative;
    margin-bottom: 24px;
}

.niak-pg-sidebar-search-wrap::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D1AA67' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    pointer-events: none;
}

input.niak-pg-sidebar-search {
    width: 100%;
    padding: 0 36px 0 0;
    border: none;
    font-size: 12px;
    line-height: 16px;
    outline: none;
    color: #B7B7B7;
}

.niak-pg-sidebar-list {
    max-height: 182px;
    overflow-y: auto;
    padding-left: 16px;
}

.niak-pg-sidebar-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    color: #717171;
    cursor: pointer;
    justify-content: space-between;
    transition: all ease 0.3s;
}

.niak-pg-sidebar-option:hover, .niak-pg-sidebar-option:has(:checked) {
    color: #D1AA67;
}

.niak-pg-sidebar-option input[type=\"checkbox\"] {
    margin: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #8A8A8A;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.niak-pg-sidebar-option input[type=\"checkbox\"]:checked {
    border-color: #D1AA67;
    background: #D1AA67 no-repeat center / 11px 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.niak-pg-sidebar-option-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.niak-pg-sidebar-option-label {
    white-space: nowrap;
    padding-right: 30px;
}

.niak-pg-sidebar-list--swatches .niak-pg-sidebar-option {
    gap: 8px;
}

label.niak-pg-sidebar-option {
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

label.niak-pg-sidebar-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

label.niak-pg-sidebar-option:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: solid 1px #717171;
  border-radius: 50px;
  transition: all ease 0.3s;
}

label.niak-pg-sidebar-option:has(:checked):after  {
  background-color: #D1AA67;
  border-color: #D1AA67;
}

label.niak-pg-sidebar-option:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  width: 20px;
  z-index: 1;
}

label.niak-pg-sidebar-option:has(:checked):before {
  display: block;
}

label.niak-pg-sidebar-option:before {
  right: 6px;
  top: 4px;
  width: 7px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.niak-pg-sidebar-swatch {
    align-self: end;
}

span.niak-pg-sidebar-swatch:not(.niak-pg-sidebar-swatch--image) {
    width: 40px;
    height: 19px;
    border-radius: 50px;
    border: solid 4px #fff;
    box-shadow: 0 0 1px;
}

.niak-pg-sidebar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 32px;
}

button.niak-pg-sidebar-btn {
    border-radius: 999px;
    border: 1px solid #E7E7E7;
    background: #fff;
    font-size: 14px;
    line-height: 20px;
    padding: 5px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.niak-pg-sidebar-btn--apply {
    min-width: 112px;
    background: #D1AA67;
    color: #fff;
    border-color: #D1AA67;
}

button.niak-pg-sidebar-btn--apply:hover {
    background: #c39a5d;
    color: #fff;
}

button.niak-pg-sidebar-btn--reset,
button.niak-pg-sidebar-btn--select-all {
    width: 40px;
    height: 32px;
    padding: 0;
    border-radius: 32px;
}

button.niak-pg-sidebar-btn--reset {
    margin-right: auto;
}

button.niak-pg-sidebar-btn svg {
    width: 16px;
    height: 16px;
}

/* Style 3 - Accordion/Expandable Style */
.niak-pg-style3.niak-pg-grid-mode .niak-pg-desktop-grid {
    display: grid;
    grid-template-columns: repeat(var(--niak-columns, 4), 1fr);
    gap: var(--niak-gap, 24px);
}

.niak-pg-accordion-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #F2F2F2;
}

.niak-pg-accordion-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

.niak-pg-accordion-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.niak-pg-accordion-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.niak-pg-accordion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.niak-pg-accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
}

.niak-pg-accordion-item.expanded .niak-pg-accordion-content {
    transform: translateY(0);
}

.niak-pg-accordion-item.expanded .niak-pg-accordion-overlay {
    opacity: 1;
}

.niak-pg-accordion-item.expanded .niak-pg-accordion-image img {
    transform: scale(1.1);
}

.niak-pg-accordion-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 12px 0;
    color: #fff;
}

.niak-pg-accordion-meta {
    font-size: 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.niak-pg-accordion-meta .niak-pg-meta-label {
    font-weight: 500;
    margin-left: 4px;
}

.niak-pg-accordion-excerpt {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.9);
    display: none;
}

.niak-pg-accordion-item.expanded .niak-pg-accordion-excerpt {
    display: block;
}

.niak-pg-accordion-price {
    font-size: 16px;
    font-weight: 600;
    color: #D1AA67;
    margin-bottom: 12px;
    display: none;
}

.niak-pg-accordion-item.expanded .niak-pg-accordion-price {
    display: block;
}

.niak-pg-accordion-link {
    display: inline-block;
    padding: 10px 20px;
    background: #D1AA67;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.niak-pg-accordion-item.expanded .niak-pg-accordion-link {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.niak-pg-accordion-link:hover {
    background: #c09956;
    transform: translateY(-2px);
}

/* Style 3 - Expanded state affects grid */
.niak-pg-style3.niak-pg-grid-mode .niak-pg-accordion-item {
    grid-row: span 1;
    grid-column: span 1;
}

.niak-pg-style3.niak-pg-grid-mode .niak-pg-accordion-item.expanded {
    grid-row: span 1;
    grid-column: span calc(var(--niak-columns) / 2 + 1);
    z-index: 10;
}

@media (max-width: 1024px) {
    .niak-pg-style3.niak-pg-grid-mode .niak-pg-accordion-item.expanded {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .niak-pg-style3.niak-pg-grid-mode .niak-pg-desktop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .niak-pg-style3.niak-pg-grid-mode .niak-pg-accordion-item.expanded {
        grid-row: span 1;
        grid-column: span 1;
    }
    
    .niak-pg-accordion-content {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.6);
    }
    
    .niak-pg-accordion-overlay {
        opacity: 1;
    }
    
    .niak-pg-accordion-excerpt,
    .niak-pg-accordion-price,
    .niak-pg-accordion-link {
        display: block;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

/* Nav arrows */
.niak-pg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff !important;
    border: 1px solid #EDEDED !important;
    border-radius: 50%;
    width: 56px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.2s;
    z-index: 10;
}

.niak-pg-prev {
    left: -80px;
}

.niak-pg-next {
    right: -80px;
}

.niak-pg-nav:hover {
    border-color: #D1AA67 !important;
}

.niak-pg-nav.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

/* Pagination dots */
.niak-pg-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    bottom: 0 !important;
}

.niak-pg-pagination .swiper-pagination-bullet {
    width: 100%;
    height: 2px;
    border-radius: 50px;
    background: #F5EDE0;
    opacity: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.niak-pg-pagination .swiper-pagination-bullet-active {
    background: #D1AA67;
}

/* Shop link / All products */
.niak-pg-shop-link {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.niak-pg-all-products {
    background: #fff;
    border: 2px solid #D1AA67;
    color: #D1AA67;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.niak-pg-all-products:hover {
    background: #D1AA67;
    color: #fff;
}

.niak-pg-results.loading,
.niak-pg-desktop-grid.loading {
    opacity: 0.6;
}

/* Pagination (grid layout) */
.niak-pg-pagination-wrap {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.niak-pg-pagination-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

button.niak-pg-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #4E4E4E;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

button.niak-pg-page-btn:hover {
    border-color: #D1AA67;
    color: #D1AA67;
}

button.niak-pg-page-btn.active {
    background: #D1AA67;
    border-color: #D1AA67;
    color: #fff;
}

button.niak-pg-load-more-btn {
    padding: 24px;
    width: 100%;
    border: 1px solid #EDEDED;
    background: transparent;
    color: #4E4E4E;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

button.niak-pg-load-more-btn:hover {
    background: #4E4E4E;
    color: #fff;
}

.niak-pg-infinite-sentinel {
    height: 20px;
    width: 100%;
    pointer-events: none;
}

.niak-pg-no-results {
    color: #777
}

a.niak-pg-link-btn {
    color: #fff;
}

a.niak-pg-link-btn:hover {
    background: transparent;
    border: solid 1px #D1AA67;
    color: #D1AA67;
}

/* Responsive */
@media (max-width: 768px) {
    .niak-pg-nav {
        display: none !important;
    }

    .niak-pg-shop-link {
        margin-top: 32px;
    }

    .niak-pg-swiper {
        padding-bottom: 32px;
    }

    .niak-pg-filters {
        margin-bottom: 32px;
    }

    .niak-pg-wrapper {
        padding: 32px 0;
    }

    /* Sidebar on mobile: stacked and sticky at the top, similar to design pills */
    .niak-pg-with-sidebar {
        flex-direction: column;
        gap: 16px;
    }

    .niak-pg-sidebar {
        width: 100%;
    }

    .niak-pg-sidebar-filters {
        position: fixed;
        top: calc(var(--wp-admin--admin-bar--height, 0) + 68px);
        left: -100%;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - var(--wp-admin--admin-bar--height, 0) - 68px);
        overflow: auto;
        z-index: 999;
        padding: 10px;
        background: #fff;
        gap: 16px;
        transition: all ease 0.3s;
    }
    
    .niak-pg-sidebar-filters.open {
        left: 0;
    }
    
    .niak-pg-sidebar-section {
        min-width: 160px;
    }

    .niak-pg-sidebar-actions {
        margin-top: 8px;
    }

    button.niak-pg-sidebar-section-title {
        padding: 12px;
        font-size: 12px;
        line-height: 16px;
    }
    
    .niak-pg-with-sidebar .niak-pg-main {
        width: 100%;
    }
    
    .niak-pg-sidebar-global-search-wrap {
        padding: 12px;
    }
    
    button.niak-pg-sidebar-global-search-btn {
        width: 20px;
        height: 20px;
    }
}