/* ========================================
   Pricing Grid Section - Swiper Styles
======================================== */

.pricing-grid-section {
    padding: 60px 0;
    overflow: hidden;
}

.pricing-grid-section .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 100px;
}

.pricing-grid-section .section-content p {
    margin: 0;
}

/* Currency Selector */
.currency-selector {
    position: relative;
}

.currency-selector select {
    padding: 8px 35px 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    background-color: #fff;
    border: 1px solid #DFE3E8;
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.3s ease;
}

.currency-selector select:hover {
    border-color: #0D4B97;
}

.currency-selector select:focus {
    outline: none;
    border-color: #0D4B97;
}

/* Toggle Switch Styles */
.pricing-toggle {
    display: flex;
    margin-top: auto;
    align-items: center;
    gap: 15px;
    justify-content: end;
}

.pricing-toggle .toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    transition: color 0.3s ease;
}

.pricing-toggle .toggle-label.active {
    color: #0D4B97;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-switch label::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-switch input[type="checkbox"]:checked + label {
    background-color: #0D4B97;
}

.toggle-switch input[type="checkbox"]:checked + label::after {
    transform: translateX(24px);
}

.toggle-offer {
    color: #4BB10F;
    font-size: 14px;
}

.pricing-grid-content {
    width: 100%;
}

.pricing-grid-section .swiper {
    overflow: visible;
}

.pricing-grid-swiper .swiper-slide {
    height: auto;
    position: relative;
}

.pricing-grid-swiper .swiper-slide:nth-child(1) .pricing-card {
    border-radius: 20px 0 0 20px;
}

.pricing-grid-swiper .swiper-slide:nth-child(3) .pricing-card {
    border-radius: 0 20px 20px 0;
}

.pricing-grid-swiper .swiper-slide:nth-child(2) .pricing-card {
    border-left: 1px solid #0D4B97;
    border-right: 1px solid #0D4B97;
    border-bottom: 1px solid #0D4B97;
}

.pricing-grid-swiper .swiper-slide:nth-child(3) .price-note {
    visibility: hidden;
}

.pricing-badge {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    background-color: #0D4B97;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px 20px 0 0;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    z-index: 10;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 20px 20px 50px;
    background-color: #ffffff;
    border: 1px solid #DFE3E8;
}

.pricing-card svg {
    flex-shrink: 0;
}

.pricing-card-content {
    padding-top: 20px;
}

.pricing-card-content h2 {
    margin: 0;
    font-size: 32px;
}

.pricing-card-price {
    padding: 20px 0;
}

.price-value {
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.price-note {
    font-size: 14px;
}

.pricing-card .content-button {
    width: 100%
}

.pricing-card .checklist-title {
    padding-top: 30px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.price-checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-checklist-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.price-checklist-items li svg {
    flex-shrink: 0;
}

.price-checklist-items {
    list-style-type: none;
    margin: 0;
}

@media (max-width: 992px) {

    .pricing-grid-section .header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .pricing-toggle {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .currency-selector {
        width: 100%;
        order: 2;
    }
    
    .currency-selector select {
        width: 100%;
    }
    
    .toggle-offer {
        order: 1;
        width: 100%;
        text-align: center;
    }
}