/* ==========================================================
   SUBSCRIPTION PRODUCT CARDS
   ========================================================== */

/* Wrapper */

.spc-wrapper {
    position: relative;
    margin: 50px 0;
    padding: 0;
}

/* Swiper */

.spc-wrapper.swiper {
    overflow: visible;
}




/* IMPORTANT:
   Do not set width/flex-basis on swiper-slide.
   Swiper calculates the slide width itself.
*/

.spc-wrapper .swiper-wrapper {
    align-items: stretch;
}

.spc-wrapper .swiper-slide {
    display: flex;
    align-items: stretch;
    height: auto;
}

.swiper-slide{
    display:flex;
    flex-direction:column;
}

.spc-card{
    flex:1;
}

.spc-plan-note{
    font-size:14px;
    color:#666;
    margin-bottom:15px;
    text-align:center;
    line-height:1.5;
}
/* ==========================================================
   CARD
   ========================================================== */

.spc-card {
   position:relative;

    display:flex;
    flex-direction:column;

    width:100%;
    height:100%;

    background:#f283ae26;

    border:1px solid #F283AE;
    border-radius:0;

    box-sizing:border-box;

    padding:25px 28px 28px;

    overflow:hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.spc-card:hover {
    transform: none;

    box-shadow: 0 20px 45px rgba(0,0,0,.12);

    border-color: #F283AE;

    border-radius: 0px;
}

/* Current Plan */

.spc-current-plan {
    border: 2px solid #F283AE;

    box-shadow: 0 20px 45px rgba(242,107,165,.18);
}

/* ==========================================================
   CARD INNER
   ========================================================== */

.spc-card-inner {
    display: flex;
    flex-direction: column;

    width: 100%;
    flex: 1;
}

/* ==========================================================
   HEADER
   ========================================================== */

.spc-header {
    width: 100%;
}

.spc-plan-label {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: max-content;

    padding: 8px 16px;

    margin-bottom: 18px;

    border-radius: 30px;

    background: #f8f8f8;

    color: #555;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.spc-card.spc-current-plan {
    overflow: visible;
}

    .spc-current-badge {
    
    position:absolute;
    top: -20px;
    left:28px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:8px 18px;
    border-radius:30px;

    background:#f26ba5;
    color:#fff;

    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;

    z-index:20;
}

/* ==========================================================
   RIBBON
   ========================================================== */

.spc-ribbon {
    position: absolute;
    top: 6px;
    right: 5px;
    width: 120px;
    height: 32px;
    background: #ef5b97;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transform: translate(32px, 10px) rotate(45deg);
    transform-origin: center;
    z-index: 10;
    pointer-events: none;
}

/* Variation Image */

.spc-image{
    margin:0 0 22px;
    text-align:center;
}

.spc-image img{
    width:100%;
    max-width:100vh;
    height:300px;
    object-fit:cover;
    object-position: 0 10px;
    border-radius:0px;
    display:block;
    margin:0 auto;
    transition:.35s ease;
}

.spc-card:hover .spc-image img{
    transform:scale(1.04);
}

/* ==========================================================
   TITLE
   ========================================================== */

.spc-title {
    margin: 5px 0 5px;
    line-height: 1.35;
    font-size: 25px;
    font-weight: 500;
    color: #F283AE;
    min-height: 80px;
    font-family: "Myfont", Arial, Helvetica, sans-serif !important;
}

/* Keep Woodmart fonts */

.spc-title,
.spc-price,
.spc-description,
.spc-features,
.spc-button .button {
    font-family: inherit;
}

/* ==========================================================
   PRICE
   ========================================================== */

.spc-price {
    margin-bottom: 10px;
    line-height: 1.1;
    font-weight: 500;
    font-size: 18px;
    color: #7C6B8D;
    display: flex;
    gap: 5px;
    align-items: center;
}

.spc-price small,
.spc-price .subscription-details,
.subscription-details {
    display: flex;
    margin-top: 0px;
    font-size: 16px;
    color: #7C6B8D;
    align-items: center;
    gap: 5px;
}

.spc-price .woocommerce-Price-amount {
    font-weight: 700;
}

.spc-price del {
    opacity: .45;

    margin-right: 10px;
}

.spc-price ins {
    text-decoration: none;
}

/* ==========================================================
   CONTENT
   ========================================================== */

.spc-content {
    display: flex;

    flex-direction: column;

    flex: 1;
}

.spc-description {
    margin: 0 0 15px;

    line-height: 1.8;

    color: #666;
}

.spc-description p {
    margin: 0;
}

/* ==========================================================
   FEATURES
   ========================================================== */

.spc-features {
    flex: 1;

    margin: 0;

    padding: 0;

    list-style: none;
}

.spc-features li {
    position: relative;

    padding: 5px 0 5px 30px;

    line-height: 1.5;

    /*border-bottom: 1px solid #f4f4f4;*/
}

.spc-features li:last-child {
    border-bottom: none;
}

.spc-features li::before {
    content: "✓";

    position: absolute;

    left: 0;

    top: 7px;

    width: 22px;

    height: 22px;

    border-radius: 50%;

    background: #F283AE;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    font-weight: 700;
}

/* ==========================================================
   FOOTER
   ========================================================== */

/*
 * This is the important part.
 *
 * Footer stays inside the flex card and is pushed
 * to the bottom with margin-top:auto.
 */

.spc-footer {
    margin-top: 10px;

    width: 100%;
}

/* ==========================================================
   BUTTON
   ========================================================== */

.spc-button {
    width: 100%;

    margin-top: 10px;
}

.spc-button .button {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 54px;

    padding: 14px 18px;

    box-sizing: border-box;

    border-radius: 0px;

    background: #F283AE;

    color: #fff;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .05em;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.spc-button .button:hover {
    background: #F283AE;

    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(242,107,165,.30);
}

/* Current plan button */

.spc-button .disabled {
    background: #efefef;

    color: #777;

    cursor: default;

    pointer-events: none;

    box-shadow: none;
}

.spc-current-plan .spc-button .button {
    background: #F283AE;

    color: #fff;
}

/* ==========================================================
   SWIPER NAVIGATION
   ========================================================== */

.spc-wrapper .swiper-button-next,
.spc-wrapper .swiper-button-prev {
    z-index: 10;
}
/*GRID*/


/* Grid Layout */

.spc-layout-grid .spc-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
}

.spc-layout-grid .spc-grid-item{
    display:flex;
}

.spc-layout-grid .spc-card{
    width:100%;
}

@media(max-width:1024px){

    .spc-layout-grid .spc-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:767px){

    .spc-layout-grid .spc-grid{
        grid-template-columns:1fr;
    }

}



/*GRID*/


.spc-accordion-content{
    display:none;
    margin-top:15px;
}

.spc-accordion-toggle{
    width:100%;
    background:none;
    border:1px solid #ddd;
    padding:10px;
    cursor:pointer;
    font-weight:600;
    border-radius:6px;
}

.spc-accordion-toggle.active{
    margin-bottom:15px;
}


/* Accordion button */
button.spc-accordion-toggle.btn.btn-color-alt.btn-style-default.btn-shape-rectangle.btn-size-default{
    font-display: 15px !importanti;
}
.spc-accordion-toggle{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 16px;
    border:1px solid #ddd;
    border-radius:6px;
    background:#fff;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.spc-accordion-toggle:hover{
    background:#f7f7f7;
}

.spc-arrow{
    transition:transform .3s ease;
}

.spc-accordion-toggle.active .spc-arrow{
    transform:rotate(180deg);
}

.spc-accordion-content{
    display:none;
    margin-top:15px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 767px) {

    .spc-wrapper {
        padding: 0 20px;
    }

    .spc-card {
        padding-left: 22px;

        padding-right: 22px;
    }
    .spc-price small, .spc-price .subscription-details, .subscription-details{
    display: block !IMPORTANT;
    align-items: flex-start !IMPORTANT;
    flex-direction: column !IMPORTANT;
    }
    
    .spc-price {
    display: flex !important; 
    align-items: flex-start !important;
    flex-direction: column !IMPORTANT;
}

}






/* ==========================================================
   PREMIUM SWIPER NAVIGATION
   ========================================================== */

.spc-wrapper .swiper-button-prev,
.spc-wrapper .swiper-button-next {
    width: 52px !important;
    height: 52px !important;

    margin-top: -26px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: #ffffff !important;

    border: 1px solid rgba(242, 107, 165, 0.35) !important;

    box-shadow:
        0 8px 25px rgba(80, 50, 70, 0.12),
        0 2px 6px rgba(242, 107, 165, 0.08) !important;

    color: #F283AE !important;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        transform .3s ease !important;

    z-index: 20 !important;
}

/* Arrow icon */

.spc-wrapper .swiper-button-prev::after,
.spc-wrapper .swiper-button-next::after {
    font-size: 18px !important;

    font-weight: 700 !important;

    color: #F283AE !important;

    transition: color .3s ease !important;
}

/* Previous */

.spc-wrapper .swiper-button-prev {
    left: 8px !important;
}

/* Next */

.spc-wrapper .swiper-button-next {
    right: 8px !important;
}


.spc-wrapper .swiper-button-prev {
    left: -60px !important;
}

.spc-wrapper .swiper-button-next {
    right: -60px !important;
}
@media screen and (width: 1600px) {
    .spc-wrapper .swiper-button-next {
    right: 8px !important;
}
.spc-wrapper .swiper-button-prev {
    left: 8px !important;
}	
}
/* Hover */

.spc-wrapper .swiper-button-prev:hover,
.spc-wrapper .swiper-button-next:hover {
    background: #F283AE !important;

    border-color: #F283AE !important;

    color: #fff !important;

    box-shadow:
        0 12px 30px rgba(242, 107, 165, 0.30) !important;

    transform: scale(1.08) !important;
}

.spc-wrapper .swiper-button-prev:hover::after,
.spc-wrapper .swiper-button-next:hover::after {
    color: #fff !important;
}

/* Disabled arrow */

.spc-wrapper .swiper-button-disabled {
    opacity: .35 !important;

    cursor: default !important;

    pointer-events: none !important;

    box-shadow: none !important;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .spc-wrapper .swiper-button-prev,
    .spc-wrapper .swiper-button-next {
        width: 42px !important;
        height: 42px !important;

        margin-top: -21px !important;
    }

    .spc-wrapper .swiper-button-prev {
        left: 2px !important;
    }

    .spc-wrapper .swiper-button-next {
        right: 2px !important;
    }

    .spc-wrapper .swiper-button-prev::after,
    .spc-wrapper .swiper-button-next::after {
        font-size: 15px !important;
    }

}


/* ==========================================================
   TABLET - CAROUSEL + NAVIGATION
   ========================================================== */

@media (min-width: 768px) and (max-width: 1199px) {

    .spc-wrapper {
        padding-right: 70px;
        padding-left: 0;
        overflow: visible;
    }

    .spc-wrapper.swiper {
        overflow: visible;
    }

    /* Keep the next card partially visible */
    .spc-wrapper .swiper-wrapper {
        overflow: visible;
    }

    /* Previous arrow */
    .spc-wrapper .swiper-button-prev {
        left: 5px !important;
        width: 44px !important;
        height: 44px !important;
        margin-top: -22px !important;
    }

    /* Next arrow */
    .spc-wrapper .swiper-button-next {
        right: 5px !important;
        width: 44px !important;
        height: 44px !important;
        margin-top: -22px !important;
    }

    .spc-wrapper .swiper-button-prev::after,
    .spc-wrapper .swiper-button-next::after {
        font-size: 15px !important;
    }

}



/* ==========================================================
   MOBILE - NATURAL CARD HEIGHT
   ========================================================== */

@media (max-width: 767px) {

    .spc-wrapper .swiper-wrapper {
        align-items: flex-start;
    }

    .spc-wrapper .swiper-slide {
        height: auto !important;
        align-items: flex-start;
    }

    .spc-wrapper .spc-card {
        height: auto !important;
        min-height: 0 !important;
    }

    .spc-wrapper .spc-card-inner {
        height: auto !important;
        min-height: 0 !important;
    }

    .spc-wrapper .spc-content {
        flex: none;
    }

    .spc-wrapper .spc-features {
        flex: none;
    }

    .spc-wrapper .spc-footer {
        margin-top: 20px;
    }

}