.we-cr {
    margin: 24px 0;
    position: relative;
    clear: both;
}

.we-cr__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.we-cr__head h2 {
    margin: 0;
    font-size: 1.25rem;
}

.we-cr__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Splide container */
.we-cr .splide {
    padding: 0 40px;
}

.we-cr .splide__track {
    overflow: hidden;
    cursor: grab;
    padding: 16px 0;
    margin: -16px 0;
}

.we-cr .splide__track:active {
    cursor: grabbing;
}

.we-cr .splide__slide {
    padding: 16px 0;
    box-sizing: border-box;
}

/* Navigation buttons */
.we-cr__nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.we-cr__prev {
    left: 0;
}

.we-cr__next {
    right: 0;
}

.we-cr__nav button:hover {
    background: #f8f8f8;
    border-color: #999;
}

.we-cr__nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* WooCommerce product styling within Splide */
.we-cr .splide__slide .product {
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.we-cr .splide__slide .product:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.we-cr .splide__slide .product img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.we-cr .splide__slide .product .woocommerce-loop-product__title {
    font-size: 14px;
    margin: 8px 0;
    line-height: 1.4;
}

.we-cr .splide__slide .product .price {
    font-weight: bold;
    color: #333;
}

/* Hide default WooCommerce cross-sells */
.woocommerce .cross-sells {
    display: none !important;
}

/* Hide Splide default pagination (using custom nav) */
.we-cr .splide__pagination {
    display: none;
}
