.ps-products-grid,
.ps-products-carousel-wrap {
    --ps-accent: #eb8a3a;
    --ps-ink: #3a3b3d;
}

.ps-products-grid {
    display: grid;
    grid-template-columns: var(--ps-products-columns, repeat(4, minmax(0, 1fr)));
    gap: 30px;
    margin: 40px 0;
}

.ps-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ps-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.ps-product-card__image {
    position: relative;
    display: grid;
    height: 240px;
    place-items: center;
    overflow: hidden;
    background: #f7f7f6;
}

.ps-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.ps-product-card:hover .ps-product-card__image img {
    transform: scale(1.035);
}

.ps-product-card__badge {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 100px;
    background: var(--ps-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(235, 138, 58, 0.2);
    white-space: nowrap;
}

.ps-product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.ps-product-card__title {
    margin: 0 0 8px;
    color: #111;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.ps-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.ps-product-card__excerpt {
    margin: 0 0 20px;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

.ps-product-card__price {
    margin-top: auto;
    padding-top: 4px;
    color: var(--ps-ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.ps-product-card__price del {
    margin-right: 6px;
    color: #777;
    font-size: 0.88em;
    font-weight: 400;
}

.ps-product-card__price ins {
    color: var(--ps-accent);
    text-decoration: none;
}

.ps-product-card__footer {
    display: flex;
    align-items: center;
    margin: 20px -20px -20px;
    padding: 18px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    justify-content: space-between;
}

.ps-product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ps-accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

    border: 1px solid #f0f0f0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--ps-accent);
    transition: all 0.3s ease;
}

.ps-products-carousel-wrap .swiper-button-next::after,
.ps-products-carousel-wrap .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

.ps-products-carousel-wrap .swiper-button-prev {
    left: 20px;
}

.ps-products-carousel-wrap .swiper-button-next {
    right: 20px;
}

.ps-products-carousel-wrap .swiper-button-next:hover,
.ps-products-carousel-wrap .swiper-button-prev:hover {
    border-color: var(--ps-accent);
    background: var(--ps-accent);
    color: #fff;
}

.ps-products-carousel-wrap .swiper-pagination-bullet {
    background: var(--ps-accent);
    opacity: 0.35;
}

.ps-products-carousel-wrap .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 10px;
    opacity: 1;
}

.ps-products-empty,
.ps-products-notice {
    margin: 24px 0;
    color: #555;
}

@media (max-width: 1024px) {
    .ps-products-carousel-wrap .swiper-button-next,
    .ps-products-carousel-wrap .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 768px) {
    .ps-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ps-product-card,
    .ps-product-card__image img {
        transition: none;
    }
}