.pkpc-carousel {
    --pkpc-gap: 18px;
    --pkpc-per-view: 4;
    --pkpc-accent: #9b6a2f;
    --pkpc-text: #1d1a16;
    --pkpc-muted: #6f675d;
    --pkpc-border: #e7dfd3;
    position: relative;
    width: 100%;
    margin: 24px 0;
}

.pkpc-viewport {
    overflow: hidden;
    width: 100%;
}

.pkpc-track {
    display: flex;
    gap: var(--pkpc-gap);
    align-items: stretch;
    transform: translate3d(0, 0, 0);
    transition: transform 360ms ease;
    will-change: transform;
}

.pkpc-card {
    flex: 0 0 calc((100% - (var(--pkpc-gap) * (var(--pkpc-per-view) - 1))) / var(--pkpc-per-view));
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--pkpc-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(29, 26, 22, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pkpc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(155, 106, 47, 0.4);
    box-shadow: 0 14px 34px rgba(29, 26, 22, 0.14);
}

.pkpc-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8f4ee;
}

.pkpc-image,
.pkpc-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.pkpc-card:hover .pkpc-image,
.pkpc-card:hover .pkpc-image-link img {
    transform: scale(1.08);
}

.pkpc-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    border-radius: 999px;
    background: var(--pkpc-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
}

.pkpc-card-body {
    display: flex;
    min-height: 154px;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
}

.pkpc-title {
    margin: 0;
    color: var(--pkpc-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.pkpc-title a {
    color: inherit;
    text-decoration: none;
}

.pkpc-title a:hover {
    color: var(--pkpc-accent);
}

.pkpc-price {
    color: var(--pkpc-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.pkpc-price del {
    color: var(--pkpc-muted);
    font-weight: 500;
    opacity: 0.75;
}

.pkpc-price ins {
    text-decoration: none;
}

.pkpc-cart {
    margin-top: auto;
}

.pkpc-cart .button,
.pkpc-cart a.button,
.pkpc-cart button.button {
    display: inline-flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: var(--pkpc-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}

.pkpc-cart .button:hover,
.pkpc-cart a.button:hover,
.pkpc-cart button.button:hover {
    background: #7d5221;
    color: #fff;
    transform: translateY(-1px);
}

.pkpc-arrow{
    position:absolute;
    top:50%;
    z-index:3;

    width:36px;
    height:36px;
    min-width:36px;
    min-height:36px;
    max-width:36px;
    max-height:36px;

    padding:0;
    margin:0;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid var(--pkpc-border);
    border-radius:50%;
    background:#fff;
    color:var(--pkpc-text);

    box-sizing:border-box;
    appearance:none;
    -webkit-appearance:none;

    transform:translateY(-50%);
    box-shadow:0 4px 10px rgba(0,0,0,.12);

    overflow:hidden;
}

.pkpc-arrow span {
    display: block;
    font-size: 34px;
    line-height: 0.8;
    margin-top: -3px;
}

.pkpc-arrow:hover {
    background: var(--pkpc-accent);
    color: #fff;
}

.pkpc-arrow:disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.pkpc-prev {
    left: -14px;
}

.pkpc-next {
    right: -14px;
}

.pkpc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.pkpc-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #d4c8b7;
    cursor: pointer;
    padding: 0;
}

.pkpc-dot.is-active {
    background: var(--pkpc-accent);
}

.pkpc-empty {
    margin: 18px 0;
    color: #6f675d;
}

@media (max-width: 767px) {
    .pkpc-carousel {
        --pkpc-gap: 14px;
    }

    .pkpc-card-body {
        min-height: 146px;
        padding: 12px;
    }

    .pkpc-title {
        font-size: 15px;
    }

    .pkpc-arrow {
        width: 38px;
        height: 38px;
    }

    .pkpc-prev {
        left: 4px;
    }

    .pkpc-next {
        right: 4px;
    }
}
/* Circular Navigation Buttons */
.swiper-button-prev,
.swiper-button-next{
    width:36px !important;
    height:36px !important;
    min-width:36px;
    min-height:36px;
    border-radius:50% !important;
    background:#fff;
    border:1px solid #ddd;
    box-shadow:0 2px 8px rgba(0,0,0,.12);

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 !important;
    margin:0 !important;
}

/* Remove default Swiper size */
.swiper-button-prev::after,
.swiper-button-next::after{
    font-size:14px !important;
    font-weight:700;
    line-height:1;
}

/* Desktop */
@media (min-width:769px){
    .swiper-button-prev,
    .swiper-button-next{
        width:36px !important;
        height:36px !important;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after{
        font-size:14px !important;
    }
}

/* Mobile */
@media (max-width:768px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 12px;
    }
}

/* Product Name Center */
.pkpc-title{
    text-align:center;
}

.pkpc-title a{
    display:block;
    text-align:center;
}

/* Price Center */
.pkpc-price{
    text-align:center;
    justify-content:center;
    align-items:center;
}

/* Agar WooCommerce price HTML use ho raha hai */
.pkpc-price .price{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}

/* Rating bhi center (optional) */
.pkpc-rating{
    justify-content:center;
    text-align:center;
}

/* Add to Cart button */
.pkpc-cart{
    text-align:center;
}

.pkpc-card-body{
    align-items:center;
}

.pkpc-title,
.pkpc-price{
    width:100%;
}