/* Product Card Styles */
.product-card {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Right action buttons */
.right-items {
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-card:hover .right-items {
    opacity: 1;
}

/* Price section */
.host-cost h2 {
    font-size: 1.5rem;
    color: var(--bs-dark);

}

.cost-year {
    color: var(--bs-gray-600);
    font-size: 0.85rem;
}

.bg-div {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    border-radius: 0.25rem;
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
    display: inline-block;
    margin-bottom: 0.25rem;
}

/* Buttons styles */
.zakaz-btn {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 2rem;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.korzina-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.zakaz-btn:hover,
.korzina-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Specifications section */
.host-info-border {
    border-top: 1px solid var(--bs-border-color);
    padding-top: 0.75rem;
}

.host-md-text {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--bs-body-color);
}

.host-text-start {
    font-weight: 500;
    color: var(--bs-gray-800);
}

.host-text-end {
    color: var(--bs-gray-700);
    font-weight: 400;
}

.host-sm-text {
    font-size: 0.8rem;
    color: var(--bs-gray-600);
    margin-bottom: 0.5rem;
}

/* Tooltip icon */
.bi-question-circle {
    color: var(--bs-gray-500);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 1rem;
    }

    .right-items {
        opacity: 1;
    }

    .zakaz-btn {
        font-size: 0.9rem;
        padding: 0.4rem;
    }

    .host-md-text {
        font-size: 0.85rem;
    }
}
.custom-tooltip {
    pointer-events: none;
}
/* Custom Tooltip Styles */
.custom-tooltip .tooltip-inner {
    background-color: #fff;
    color: #000;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    font-size: 14px;
    max-width: 300px;
    text-align: left;
}

.custom-tooltip.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.custom-tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #fff;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.1));
}

.custom-tooltip.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,
.custom-tooltip.bs-tooltip-right .tooltip-arrow::before {
    border-right-color: #fff;
    filter: drop-shadow(2px 0 1px rgba(0, 0, 0, 0.1));
}

.custom-tooltip.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,
.custom-tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #fff;
    filter: drop-shadow(0 -2px 1px rgba(0, 0, 0, 0.1));
}

.custom-tooltip.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,
.custom-tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: #fff;
    filter: drop-shadow(-2px 0 1px rgba(0, 0, 0, 0.1));
}

.action-btn1 {
    width: 3em;
    height: 3rem;
    border-radius: 50%;
    background: var(--surface-color);
    border: none;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: translateX(20px);
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}


.action-btn1:nth-child(2) {
    animation-delay: 0.1s;
}

.action-btn1:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.action-btn1 i {
    font-size: 1.25rem;
}
.buy-now-btn1 {

    flex: 1;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.buy-now-btn1:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.action-fast-icon {

    width: 1.5em;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--surface-color);
    border: none;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: translateX(20px);
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}


.action-fast-icon:nth-child(2) {
    animation-delay: 0.1s;
}

.action-fast-icon:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.action-fast-icon i {
    font-size: 1.25rem;
}

.product-info h2
{
    font-family: 'Jost';
}

.product-info h4
{
    font-size:18px;
    font-family: "DejaVu Sans";
}

.buttons-swipper button {
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
    background-color: white;
    color: color-mix(in srgb, var(--accent-color), transparent 0%);
    transition: all 0.3s ease;

}

.buttons-swipper button:active {
    background-color: color-mix(in srgb, var(--accent-color), transparent 0%);
    color: white;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
}


.plans-swiper {
    position: relative;
    width: 100%;
    padding: 10px 0 20px !important;
    overflow: hidden;
}

.plans-swiper-wrapper {
    display: flex;
    transition-timing-function: linear;
}

.plans-swiper-slide {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    height: auto;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .plans-swiper-slide {
        width: 85%; /* адаптивная ширина для 1 карточки */
        margin-right: 15px;
    }
}

.plans-swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.plans-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
}

.plans-swiper-pagination .swiper-pagination-bullet-active {
    background: #0d6efd;
    opacity: 1;
}

.plans-swiper-button-next,
.plans-swiper-button-prev {
    position: absolute;
    top: 100%; /* Сразу под слайдером */
    transform: translateY(10px); /* Отступ вниз */
    width: 40px;
    height: 40px;
    background: #000;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 11;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 20px;
}

/* Расположение стрелок по краям контейнера */
.plans-swiper-button-prev {
    left: 0;
}

.plans-swiper-button-next {
    right: 0;
}
.form-check .reg { !important;
    padding-left: 0;
}

    .plans-swiper-button-next {
        right: calc(50% - 60px);
    }

    .plans-swiper-button-prev {
        left: calc(50% - 60px);
    }


