/* Bots Slider Plugin */

.bots-slider *,
.bots-slider *::before,
.bots-slider *::after {
box-sizing: border-box;
}

/* Shell */
.bots-slider .slider-wrap {
display: flex;
align-items: center;
gap: 12px;
}

.bots-slider .slider-overflow {
flex: 1;
overflow: hidden;
}

.bots-slider .slider-track {
display: flex;
gap: 20px;
transition: transform .45s cubic-bezier(.4, 0, .2, 1);
will-change: transform;
cursor: grab;
user-select: none;
}

/* Card */
.bots-slider .bot-card {
flex: 0 0 calc((100% - 60px) / 4);
min-width: 0;
background: transparent;
border: none;
border-radius: 0;
padding: 0;
position: relative;
overflow: visible;
display: flex;
flex-direction: column;
align-items: center;
}

/* Info button */
.bots-slider .card-info-btn {
height: 34px;
padding: 0 12px;
border-radius: 9px;
background: transparent;
border: 1.5px solid #0d7a80;
color: #0d7a80;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 5px;
font-size: .72rem;
font-weight: 600;
font-family: inherit;
flex-shrink: 0;
white-space: nowrap;
}

.bots-slider .card-info-btn::after {
content: 'О боте';
	color: #fff !important;
}

/* Phone mockup */
.bots-slider .phone-wrap {
display: flex;
justify-content: center;
margin-bottom: 18px;
width: 100%;
}

.bots-slider .phone {
width: 100%;
max-width: 220px;
background: #070d17;
border-radius: 36px;
border: 2.5px solid rgba(255, 255, 255, .12);
padding: 15px 8px 11px;
position: relative;
box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}

.bots-slider .phone::before {
content: '';
position: absolute;
top: 7px;
left: 50%;
transform: translateX(-50%);
width: 38px;
height: 4px;
background: rgba(255, 255, 255, .1);
border-radius: 2px;
}

.bots-slider .phone::after {
content: '';
position: absolute;
top: 70px;
right: -5px;
width: 3px;
height: 30px;
background: rgba(255, 255, 255, .06);
border-radius: 2px;
}

.bots-slider .phone-screen {
border-radius: 24px;
overflow: hidden;
aspect-ratio: 9/19;
background: #141424;
}

.bots-slider .phone-screen img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

/* Card content */
.bots-slider .card-name {
font-size: .9rem;
font-weight: 700;
color: #fff !important;
margin-bottom: 10px;
line-height: 1.35;
text-align: center;
}

.bots-slider .card-actions {
display: flex;
align-items: center;
gap: 8px;
justify-content: center;
}

.bots-slider .card-tg-btn {
display: inline-flex;
align-items: center;
gap: 7px;
background: #0d7a80;
color: #fff;
text-decoration: none;
padding: 8px 16px;
border-radius: 9px;
font-size: .78rem;
font-weight: 600;
letter-spacing: .1px;
}

.bots-slider .card-tg-btn svg {
width: 14px;
height: 14px;
flex-shrink: 0;
}

/* Overlay */
.bots-slider .card-overlay {
position: absolute;
inset: 0;
z-index: 3;
background: #0e1c2f;
border-radius: 34px;
padding: 18px;
transform: translateY(100%);
transition: transform .35s cubic-bezier(.4, 0, .2, 1);
overflow-y: auto;
display: flex;
flex-direction: column;
border: 2px solid rgba(13, 122, 128, .4);
}

.bots-slider .card-overlay.open {
transform: translateY(0);
}

.bots-slider .overlay-close {
position: absolute;
top: 13px;
right: 13px;
width: 26px !important;
height: 26px !important;
	padding: 0 !important;
border-radius: 50%;
background: rgba(255, 255, 255, .08);
border: 1px solid rgba(255, 255, 255, .15);
color: rgba(255, 255, 255, .5);
font-size: .75rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.bots-slider .overlay-name {
font-size: .9rem;
font-weight: 700;
color: #fff;
margin-bottom: 12px;
padding-right: 28px;
}

.bots-slider .overlay-text {
font-size: .75rem;
line-height: 1.74;
color: #5a7a90;
flex: 1;
}

.bots-slider .overlay-text p + p {
margin-top: 9px;
}

/* Overlay TG button */
.bots-slider .overlay-tg-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
background: #0d7a80;
color: #fff;
text-decoration: none;
padding: 9px 16px;
border-radius: 9px;
font-size: .78rem;
font-weight: 600;
margin-top: 14px;
flex-shrink: 0;
}

.bots-slider .overlay-tg-btn svg {
width: 14px;
height: 14px;
flex-shrink: 0;
}

/* Dots */
.bots-slider .slider-dots {
display: flex;
justify-content: center;
align-items: center;
gap: 6px;
margin-top: 28px;
}

.bots-slider .dot {
height: 6px;
width: 6px;
border-radius: 3px;
background: rgba(255, 255, 255, .15);
cursor: pointer;
border: none;
padding: 0;
transition: width .25s, background .25s;
}

.bots-slider .dot.active {
width: 22px;
background: #0d7a80;
}

/* Responsive */
@media (max-width: 900px) {
.bots-slider .bot-card {
flex: 0 0 calc((100% - 20px) / 2);
}
}

@media (max-width: 560px) {
.bots-slider .bot-card {
flex: 0 0 100%;
}
	.bots-slider .phone {
		max-width: 200px !important;
	}
}
