:root {
    --card-bg-color: #d5b8f3;
    --card-text-color: #000000;
}

.slider-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-component {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc((4 * 335px) + (3 * var(--slider-gap)));
}

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

.slider-track {
    display: flex;
    gap: var(--slider-gap);
    margin-top: 40px;
    margin-bottom: 20px;
}

.slider-card-link {
    text-decoration: none;
    color: var(--card-text-color, #000);
    background-color: var(--card-bg-color, #e0e0e0);
    height: 300px;
    border-radius: 20px;
    box-shadow: 0 8px 0 0 rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    padding: 24px;
    position: relative;
    flex: 0 0 280px;
    transition: transform var(--transition-speed) ease;
}

.slider-component.is-jumping .slider-card-link {
    transition: none;
}

.slider-card-link:hover {
    transform: scale(1.05);
    z-index: 5;
}

.slider-card-link p {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.slider-card-link img {
    max-width: 100%;
    object-fit: contain;
    /*align-self: center;*/
    -webkit-user-drag: none;
    border-radius: 20px;
    max-height: 260px;
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
}

.slider-card-link img.phone-size {
    border-radius: 10px;
    margin-top: 10px;
    align-self: center;
}

.slider-card-link img.web-view {
    border-radius: 5px;
    margin-bottom: 2.4375rem;
    margin-top: 2.4375rem;
}

.slider-arrow-btn {
    position: absolute;
    top: calc(50% + 20px);
    transform: translateY(-50%);
    z-index: 10;
    background-color: white;
    border: 1px solid #e5e7eb;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
    color: var(--text-dark);
}

.slider-arrow-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-btn.left {
    left: 20px;
}

.slider-arrow-btn.right {
    right: 20px;
}

@media (min-width: 640px) {
    .slider-arrow-btn.left {
        left: 20px;
    }

    .slider-arrow-btn.right {
        right: 20px;
    }
}

@media (min-width: 1200px) {
    .slider-arrow-btn.left {
        left: -10px;
    }

    .slider-arrow-btn.right {
        right: -10px;
    }
}