/* Summit Plan Carousel - Final Precision Version */

.spc-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 0;
}

/* Container Width controlled by Elementor */
.spc-master-container {
    width: 100%;
    overflow: hidden !important;
    /* Critical: Stop slides from bleeding out */
    position: relative;
    padding-bottom: 40px;
}

/* Content Width Control Logic:
   The 'blank space' is created by padding on .spc-slide-inner.
   Arrows are positioned over this padding.
*/
.spc-master-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    transition-property: transform;
    box-sizing: content-box;
    z-index: 1;
}

.spc-master-slide {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.spc-slide-inner {
    width: 100%;
    background-color: #151a5e;
    border-style: solid;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    text-align: center;
    padding: 30px 60px;
    /* Vertically center content but keep space for arrows */
}

.spc-main-title {
    margin: 0;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.spc-pricing-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.spc-pricing-row {
    background: #fff;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    width: 100%;
}

.spc-row-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.spc-price-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px;
    width: 100%;
}

.spc-price-box {
    background: #f4f6f8;
    padding: 15px 5px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.spc-price-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #7a7a7a;
}

.spc-price-value {
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 800;
    color: #333;
}

/* Precision Arrow Positioning */
.spc-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    cursor: pointer;
    font-size: 28px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7e14;
    transition: all 0.3s ease;
}

/* These will be overridden by the Slider Control in Elementor */
.spc-prev-btn {
    left: 0;
}

.spc-next-btn {
    right: 0;
}

.spc-nav-btn:hover {
    transform: translateY(-50%) scale(1.2);
    color: #fff;
}

/* Pagination */
.spc-master-pagination {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.spc-master-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: 0.3;
    border-radius: 50%;
    cursor: pointer;
    display: block;
}

.spc-master-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 18px;
    border-radius: 4px;
    background: #ff7e14 !important;
}

@media (max-width: 480px) {
    .spc-price-grid {
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .spc-nav-btn {
        display: none;
    }
}