/* ── Category product slider container ── */
.cp-swiper {
    flex: 1;
    overflow: hidden;
}

.cp-swiper .swiper-slide {
    width: 55%;
    min-width: 200px;
    max-width: 320px;
}
@media (min-width: 576px) { .cp-swiper .swiper-slide { width: 50%;     min-width: 200px; max-width: 320px; } }
@media (min-width: 768px) { .cp-swiper .swiper-slide { width: 33.333%; min-width: 200px; max-width: 320px; } }
@media (min-width: 992px) { .cp-swiper .swiper-slide { width: 16.667%; min-width: 200px; max-width: 320px; } }

/* ── Section ── */
.fp-section {
    background: #f9f9f9;
}

/* ── Header ── */
.fp-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fp-section__title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #1a1a1a;
    display: inline-block;
    padding-bottom: 7px;
    border-bottom: 3px solid #224229;
    margin-bottom: 0;
}

/* ── Swiper wrapper ── */
.fp-swiper-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-swiper {
    flex: 1;
    overflow: hidden;
}

/* ── Nav arrows ── */
.fp-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #224229;
    background: #fff;
    color: #224229;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.fp-nav:hover {
    background: #224229;
    color: #fff;
}

/* ── Card ── */
.fp-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #e8e8e8;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    display: flex;
    flex-direction: column;
}

.fp-card:hover {
    box-shadow: 0 8px 28px rgba(34, 66, 41, .13);
    transform: translateY(-3px);
    border-color: #224229;
}

/* ── Image wrap ── */
.fp-card__img-wrap {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.fp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    display: block;
}

.fp-card:hover .fp-card__img {
    transform: scale(1.06);
}

/* ── Badges ── */
.fp-badge {
    position: absolute;
    z-index: 2;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: .03em;
    color: #fff;
}

.fp-badge--sale {
    top: 10px;
    background: #224229;
}

[dir="ltr"] .fp-badge--sale { left: 10px; }
[dir="rtl"] .fp-badge--sale { right: 10px; }

.fp-badge--oos {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #224229;
    white-space: nowrap;
    font-size: .7rem;
    padding: 4px 12px;
}

/* ── Body ── */
.fp-card__body {
    padding: 12px 14px 4px;
}

.fp-card__name {
    font-size: .88rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
    line-height: 1.35;
}

.fp-card__name:hover {
    color: #224229;
    text-decoration: none;
}

.fp-card__brand {
    font-size: .75rem;
    color: #999;
    margin-bottom: 6px;
}

.fp-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.fp-card__price--old {
    font-size: .75rem;
    color: #bbb;
    text-decoration: line-through;
}

.fp-card__price--current {
    font-size: .95rem;
    font-weight: 800;
    color: #1a1a1a;
}

/* ── Cart actions ── */
.fp-card__actions {
    padding: 10px 0;
}

.fp-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 10px;
    font-size: .78rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.fp-card__btn--outline {
    background: transparent;
    color: #224229;
    border: 2px solid #224229;
}

.fp-card__btn--outline:hover {
    background: #224229;
    color: #fff;
    text-decoration: none;
}

.fp-card__btn--wa-outline {
    background: transparent;
    color: #25d366;
    border: 2px solid #25d366;
}

.fp-card__btn--wa-outline:hover {
    background: #25d366;
    color: #fff;
    text-decoration: none;
}

/* ── All products link ── */
.fp-all-btn {
    display: inline-flex;
    align-items: center;
    font-size: .88rem;
    font-weight: 600;
    color: #224229;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color .25s ease;
}

.fp-all-btn:hover {
    color: #224229;
    text-decoration: none;
    border-color: #224229;
}

/* ── RTL nav arrows ── */
[dir="rtl"] .fp-nav--prev i { transform: rotate(180deg); }
[dir="rtl"] .fp-nav--next i { transform: rotate(180deg); }
