.elementor-widget-custom_product_cat_widget {
    --pcw-gc1: rgba(255, 255, 255, 0);
    --pcw-gp1: 0%;
    --pcw-gc2: rgba(255, 255, 255, 0.12);
    --pcw-gp2: 100%;
    --pcw-ga: 180deg;

    --cw-iq-gc1: rgba(255, 255, 255, 0);
    --cw-iq-gp1: 0%;
    --cw-iq-gc2: rgba(255, 255, 255, 0.15);
    --cw-iq-gp2: 100%;
    --cw-iq-ga: 180deg;
    --cw-iq-max-width: 560px;
    --cw-iq-min-height: 0px;
    --cw-iq-margin: 0px;
    --cw-iq-outer-bg: #ffffff;
    --cw-iq-outer-padding: 10px;
    --cw-iq-outer-br: 0px;
    --cw-iq-dialog-br: 0px;
}

.pcw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pcw-item {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.pcw-image-link {
    display: block;
    text-decoration: none;
}

.pcw-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcw-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pcw-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
}

.pcw-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pcw-title {
    margin: 16px 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.pcw-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pcw-title a:hover {
    color: #3d8bcd;
    text-decoration: none;
}

.pcw-excerpt {
    margin: 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.pcw-footer {
    margin-top: 24px;
}

.pcw-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    background-color: #3d8bcd;
    background-image: linear-gradient(
        var(--pcw-ga, 180deg),
        var(--pcw-gc1, rgba(255, 255, 255, 0)) var(--pcw-gp1, 0%),
        var(--pcw-gc2, rgba(255, 255, 255, 0.12)) var(--pcw-gp2, 100%)
    );
    padding: 12px 10px 12px 22px;
    border-radius: 100px;
    transition: background-color 0.25s ease;
}

.pcw-btn:hover {
    background-color: #3580be;
    background-image: linear-gradient(
        var(--pcw-ga, 180deg),
        var(--pcw-gc1, rgba(255, 255, 255, 0)) var(--pcw-gp1, 0%),
        var(--pcw-gc2, rgba(255, 255, 255, 0.18)) var(--pcw-gp2, 100%)
    );
    text-decoration: none;
}

.pcw-btn-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    line-height: 1;
}

.pcw-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    line-height: 0;
    transition: background-color 0.25s ease;
}

.pcw-btn-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: #3d8bcd;
    transition: stroke 0.25s ease;
}

@media (max-width: 1024px) {
    .pcw-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pcw-grid {
        grid-template-columns: 1fr;
    }
}
