/* --- Pricing Table Container (Replaces Body styling) --- */
.pt-container-wrapper {
    background: radial-gradient(circle at top left, #fdf3ec, transparent 105%),
        #fef4ee;
    color: #333;
    padding-top: 40px;
    padding-bottom: 30px;
    width: 100%;
}

/* --- Typography & Utilities --- */
h1.pt-main-title {
    font-weight: 800;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 0px;
    color: #222;
}

.pt-text-purple {
    color: #d000ff;
}

.pt-text-muted {
    color: #999;
    font-size: 13px;
}

.pt-price-tag {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin: 15px 0 5px;
}

.pt-price-sub {
    font-size: 13px;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.px-0{
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* --- The Pricing Card --- */
.pt-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 30px 10px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.col-md-fifth {
    width: 20%;
    float: left;
    position: relative;
    min-height: 1px;
    /* padding-right: 15px; */
    padding-left: 15px;
}

.m-35px-top-bottom{
    margin-top: 25px;
    margin-bottom: 40px;
}

.ft-30px {
    font-size: 30px;
}

.w-100{
    width:100% !important;
}

/* Make the columns equally spaced */
.pt-wrapper {
    display: flex;
    align-items: stretch;
    /* flex-wrap: wrap;  */
}

/* Header Section of Card */
.pt-plan-name {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 10px;
    color: #444;
}

/* --- Buttons --- */
.pt-btn-gradient {
    background: linear-gradient(
        120deg,
        #d94f24 0%,
        #e35528 15%,
        #ed5c2d 30%,
        #f66335 40%,
        #ff6b3d 50%,
        #ff7648 60%,
        #ff8256 70%,
        #ff8e67 80%,
        #ff9a78 90%,
        #ffa688 100%
    );
    border: none;
    color: #fff;
    border-radius: 50px;
    padding: 8px 25px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 15px;
    width: 80%;
    box-shadow: 0 4px 15px rgba(217, 79, 36, 0.3); /* Adjusted shadow color to match orange */
}

.pt-btn-gradient:hover,
.pt-btn-gradient:focus {
    color: #fff;
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(217, 79, 36, 0.4);
}

/* Placeholder for layout consistency in Free plan */
.pt-btn-placeholder {
    height: 34px;
    margin-top: 15px;
    width: 100%;
    visibility: hidden;
}

/* --- Feature Lists Alignment --- */
ul.pt-feature-list {
    list-style: none;
    padding: 0;
    /* margin: 30px 0 0; */
    margin: 25px 0 0;
    text-align: left;
}

.mt-142px{
    margin-top: 142px !important;
}

/* Center align text inside the cards */
.pt-card ul.pt-feature-list {
    text-align: center;
}

ul.pt-feature-list li {
    height: 45px;
    /* line-height: 40px; */
    font-size: 13px;
    color: #555;
    font-weight: 500;
    /* white-space: nowrap; */
}

.pr-0{
    padding-right: 0px !important;
}

/* Specific Spacing for the "Essentials" break */
.pt-spacer-row {
    height: 60px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
}

/* --- Left Column Specifics --- */
.pt-left-col-content {
    padding-top: 30px;
    padding-right: 20px;
}

.pt-category-header {
    font-size: 11px;
    font-weight: 800;
    color: #888;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 40px;
}

.pt-category-header.first {
    margin-top: 82px;
}

/* --- Toggle Switch --- */
.pt-toggle-container {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.pt-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0 10px;
}

.pt-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pt-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border: 1px solid #333;
    transition: 0.4s;
    border-radius: 34px;
}

.pt-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #333;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .pt-slider:before {
    transform: translateX(20px);
}

/* --- Icons --- */
.pt-sparkle-icon {
    font-size: 32px;
    /* Gradient text trick */
    background: -webkit-linear-gradient(#d400ff, #7e00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 15px 0 20px;
    display: inline-block;
}

/* Scoping the checkmark to avoid global conflicts */
.pt-wrapper .fa-check {
    color: #333;
    font-size: 12px;
}

/* --- Interactivity: Hover Effects --- */
.pt-card:hover {
    /* 1. Moves the card up slightly */
    transform: translateY(-10px);

    /* 2. Adds a deep, soft shadow to create depth */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* 3. Changes border color to the purple theme (optional, remove if too much) */
    border-color: #d94f24;

    /* 4. Ensures the hovered card stays on top of other elements */
    z-index: 10;
    cursor: pointer;
}

.pt-20px {
    padding-top: 20px;
}

.pb-20px {
    padding-bottom: 20px;
}

@media (max-width: 480px) {
    .pt-wrapper {
        flex-wrap: nowrap !important;
    }
}

/* =========================================
   MOBILE VIEW: FIXED LEFT + SCROLL RIGHT (FINAL FIX)
   ========================================= */
@media (max-width: 480px) {
    /* 1. PARENT WRAPPER: Lock the screen width */
    .pt-mobile-flex {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
    }

    h1.pt-main-title{
        font-size: 30px;
    }

    /* 2. LEFT SIDE (Features): Fixed Static Block */
    .pt-fixed-left {
        /* Force exact width */
        flex: 0 0 140px !important;

        /* Visuals to ensure it sits on top */
        z-index: 50;
        background-color: #fef4ee;
        /* Spacing */
        padding: 15px 0 0 10px !important; /* Reset padding */
        position: relative;
    }

    /* 3. ALIGNMENT FIX: Move text down to match cards */
    .pt-fixed-left .pt-feature-list {
        margin-top: 110px !important;
    }

    .pt-container-wrapper .container {
        padding-left: 0px !important;
    }
    /* 4. RIGHT SIDE (Packages): The Scroll Window */
    .pt-scroll-container {
        /* Take whatever space is left */
        flex: 1 !important;
        width: auto !important;
        max-width: calc(
            100% - 140px
        ) !important; /* Ensure it fits next to left col */

        /* Enable Scroll */
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch;

        /* Reset padding/margins */
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 5. TRACK: Forces horizontal layout */
    .pt-nowrap-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content !important; /* Grow as wide as needed */
        margin: 0 !important;
        padding-bottom: 20px;
    }

    /* 6. CARDS: Fixed Width */
    .pt-card-item {
        /* width: 200px !important;
        min-width: 200px !important; */
        padding: 15px 5px !important;
        float: none !important;
    }

    /* Hide Header on Mobile */
    .pt-category-header.first {
        display: none;
    }

    /* Text Truncation */
    .pt-feature-list li {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 40px; /* Ensure line-height matches height */
    }
    .pt-btn-gradient {
        width: 100%;
    }
    .pt-price-tag {
        font-size: 25px;
    }
}
