.wnk-cat-showcase,
.wnk-cat-showcase * {
    box-sizing: border-box;
}

.wnk-cat-showcase {
    text-align: center;
    padding: 40px 20px;
    max-width: 100%;
    overflow-x: hidden;
}

.wnk-cat-eyebrow {
    color: #1a7f74;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.wnk-cat-main-heading {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
}

@media (max-width: 1024px) {
    .wnk-cat-main-heading {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .wnk-cat-showcase {
        padding: 30px 16px;
    }
    .wnk-cat-main-heading {
        font-size: 22px;
    }
}

/* ---------- Carousel wrapper ---------- */
.wnk-cat-carousel {
    --wnk-slides: 5;
    --wnk-gap: 20px;
    position: relative;
    padding: 0 8px;
}

.wnk-cat-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.wnk-cat-carousel-track {
    display: flex;
    gap: var(--wnk-gap);
    transition: transform 0.4s ease;
}

@media (max-width: 767px) {
    .wnk-cat-carousel {
        --wnk-gap: 14px;
        padding: 0 4px;
    }
}

/* ---------- Card (unchanged design) ---------- */
.wnk-cat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 16px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    flex: 0 0 calc((100% - (var(--wnk-slides, 5) - 1) * var(--wnk-gap, 20px)) / var(--wnk-slides, 5));
    max-width: calc((100% - (var(--wnk-slides, 5) - 1) * var(--wnk-gap, 20px)) / var(--wnk-slides, 5));
}

.wnk-cat-image-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
}

.wnk-cat-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wnk-cat-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.wnk-cat-desc {
    font-size: 13px;
    color: #6b6b6b;
    margin: 0 0 18px;
    line-height: 1.5;
}

.wnk-cat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 160px;
    min-height: 42px;
    padding: 8px 16px;
    border: 1.5px solid #1a7f74;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.wnk-cat-btn:hover {
    background: #1a7f74;
    color: #ffffff !important;
}

/* ---------- Carousel arrows ---------- */
.wnk-cat-carousel-arrow {
    /* reset theme / Elementor global button styles that can distort the shape */
    all: unset;
    box-sizing: border-box !important;
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1.5px solid #1a7f74 !important;
    background-color: #ffffff !important;
    color: #1a7f74 !important;
    font-size: 20px;
    font-family: inherit;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wnk-cat-carousel-arrow:hover {
    background-color: #1a7f74 !important;
    color: #ffffff !important;
}

.wnk-cat-carousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background-color: #ffffff !important;
    color: #1a7f74 !important;
}

.wnk-cat-carousel-prev {
    left: -14px;
}

.wnk-cat-carousel-next {
    right: -14px;
}

@media (max-width: 767px) {
    .wnk-cat-carousel-arrow {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        font-size: 16px;
    }
    .wnk-cat-carousel-prev {
        left: -6px;
    }
    .wnk-cat-carousel-next {
        right: -6px;
    }
}

/* ---------- Carousel dots ---------- */
.wnk-cat-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.wnk-cat-carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #d7d7d7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wnk-cat-carousel-dot.is-active {
    background: #1a7f74;
    width: 22px;
    border-radius: 5px;
}
