/* Fix for arrows appearing in text on mobile */

/* Hide any erroneous arrows that might be showing */
.pricing-carousel-arrow {
    position: absolute !important;
    z-index: 1000 !important;
}

/* Ensure the carousel arrows are only visible in the carousel */
.pricing-carousel {
    position: relative !important;
}

/* Fixed positioning for the pricing carousel arrows */
.pricing-carousel .pricing-carousel-arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background-color: rgba(107, 78, 47, 0.9) !important;
}

.pricing-carousel .pricing-carousel-left {
    left: 10px !important;
}

.pricing-carousel .pricing-carousel-right {
    right: 10px !important;
}

/* Fix for the dropdown toggle arrow */
.dropdown-section {
    position: relative !important;
}

.dropdown-toggle {
    position: relative !important;
    padding-right: 45px !important; /* Make space for the arrow */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dropdown-toggle h2 {
    margin: 0 !important;
    flex-grow: 1 !important;
    text-align: left !important;
}

.dropdown-arrow {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
}

/* Hide any stray elements outside their containers */
.dropdown-section *:not(.dropdown-toggle, .dropdown-toggle *, .dropdown-content, .dropdown-content *) {
    display: none !important;
}

/* Make sure content in Additional Options is properly styled */
.options-list {
    padding: 10px !important;
}

.option-item h3 {
    margin-top: 15px !important;
    margin-bottom: 10px !important;
}

.option-details p {
    margin: 5px 0 !important;
}

/* Ensure the cards are properly positioned */
.pricing-card {
    position: relative !important;
}

/* Fix mobile margins for smaller screens */
@media (max-width: 480px) {
    .dropdown-toggle {
        padding: 15px !important;
        padding-right: 45px !important;
    }
    
    .dropdown-arrow {
        right: 15px !important;
    }
    
    .pricing-carousel .pricing-carousel-arrow {
        width: 35px !important;
        height: 35px !important;
    }
    
    .pricing-carousel .pricing-carousel-left {
        left: 5px !important;
    }
    
    .pricing-carousel .pricing-carousel-right {
        right: 5px !important;
    }
}