/* =========================================
   InnoviaTech — WHMCS Custom Product Override
   ========================================= */
/* ═══════════════════════════════════════
   ROW LAYOUT
   ═══════════════════════════════════════ */
.row-product-selection {
    display: flex;
}
/* ═══════════════════════════════════════
   PAGE WRAPPER
   ═══════════════════════════════════════ */
#order-custom_product {
    padding: 40px 0 80px 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    font-family: 'Outfit', sans-serif !important;
    color: var(--text) !important;
    background: var(--bg) !important;
}
#order-custom_product .main-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}
/* ═══════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════ */
#order-custom_product .txt-center {
    text-align: center !important;
    margin-bottom: 48px !important;
}
#order-custom_product #headline {
    font-size: 34px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    letter-spacing: -0.5px !important;
}
#order-custom_product #tagline {
    font-size: 16px !important;
    color: var(--muted) !important;
    font-weight: 400 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ═══════════════════════════════════════
   CARDS OUTER CONTAINER
   ═══════════════════════════════════════ */
#order-custom_product .price-table-container {
    padding: 0 !important;
    margin: 0 !important;
}
#order-custom_product .price-table {
    width: 270px;
}
/* The UL — flex row, equal height via stretch */
#order-custom_product .price-table-container > ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 24px !important;
    flex-wrap: wrap !important;
}
/* Each LI — flex child, equal width */
#order-custom_product .price-table-container > ul > li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    display: flex !important;
    flex: 1 1 270px !important;
    max-width: 300px !important;
    min-width: 0 !important;
}
/* ═══════════════════════════════════════
   THE CARD
   ═══════════════════════════════════════ */
#order-custom_product .price-table {
    width: 100% !important;
    justify-content: center;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 30px 28px !important;
    position: relative !important;
    box-shadow: none !important;
    text-align: left !important;
    transition: transform 0.3s cubic-bezier(.22,.68,0,1.2),
                border-color 0.3s,
                box-shadow 0.3s !important;
    background-image: none !important;
    filter: none !important;
    text-shadow: none !important;
    margin: 0 !important;
}
#order-custom_product .price-table:hover {
    transform: translateY(-8px) !important;
    border-color: var(--blue-border-hover-lg) !important;
    box-shadow: 0 16px 48px var(--shadow-md) !important;
}
/* ─── Strip wrappers ─── */
#order-custom_product .price-table .top-head,
#order-custom_product .price-table .top-area,
#order-custom_product .price-table .price-area {
    display: contents !important;
}
/* ═══════════════════════════════════════
   CARD CHILDREN
   ═══════════════════════════════════════ */
/* 1. Plan name */
#order-custom_product .price-table h3 {
    order: 1 !important;
    color: var(--blue-light) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    text-shadow: none !important;
    filter: none !important;
    background: transparent !important;
    border: none !important;
    flex-shrink: 0 !important;
}
/* 2. Tagline / description */
#order-custom_product .price-table .top-head > p,
#order-custom_product .price-table > p {
    order: 2 !important;
    color: var(--muted) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    text-shadow: none !important;
    flex: 1 0 auto !important;
    max-height: 80px !important;
}
#order-custom_product .price-table .price .desc {
    color: var(--muted) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    text-shadow: none !important;
    display: block !important;
    white-space: normal !important;
    flex: 0 0 auto !important;
    max-height: none !important;
}
/* 3. Price */
#order-custom_product .price-table .price {
    order: 3 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    line-height: 1.2 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    text-shadow: none !important;
    filter: none !important;
}
#order-custom_product .price-table .price span,
#order-custom_product .price-table .price small {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    display: inline !important;
}
#order-custom_product .price-table .price .price-cycle {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--muted) !important;
    display: inline !important;
}
#order-custom_product .price-table .price .monthly-price {
    white-space: nowrap !important;
}
#order-custom_product .price-table .price br {
    display: none !important;
}
/* 4. Features list */
#order-custom_product .price-table > ul {
    order: 4 !important;
    list-style: none !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 0 24px 0 !important;
}
#order-custom_product .price-table > ul > li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    color: var(--subtle) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    text-align: left !important;
}
#order-custom_product .price-table > ul > li > ul  {
       list-style: none !important;
       padding: 0;
}
#order-custom_product .price-table > ul > li > ul > li::before {
    content: '✓' !important;
    color: var(--blue-light) !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
}
#order-custom_product .price-table > ul > li > ul > li {
    display: flex;
    gap: 8px;
}
#order-custom_product .price-table > ul > li a {
    color: var(--blue-light) !important;
    text-decoration: none !important;
}
/* 5. Order button */
#order-custom_product .price-table .order-button {
    order: 5 !important;
    flex-shrink: 0 !important;
    display: block !important;
    width: 100% !important;
    padding: 11px 20px !important;
    margin: 0 !important;
    border: 1px solid var(--blue) !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--blue-light) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    transition: background .2s, color .2s !important;
    box-sizing: border-box !important;
}
#order-custom_product .price-table .order-button:hover {
    background: var(--blue) !important;
    color: var(--white) !important;
}
#order-custom_product .price-table .order-button.unavailable {
    border-color: var(--subtle) !important;
    color: var(--subtle) !important;
    cursor: not-allowed !important;
    background: transparent !important;
}
#order-custom_product .price-table .order-button.unavailable:hover {
    background: transparent !important;
    color: var(--subtle) !important;
}
/* ═══════════════════════════════════════
   FEATURED / POPULAR CARD
   ═══════════════════════════════════════ */
#order-custom_product .price-table:has(.popular-plan),
#order-custom_product .price-table.active {
    border: 2px solid var(--blue) !important;
    background: var(--featured-bg) !important;
    animation: whmcsFeaturedGlow 3s ease-in-out infinite alternate !important;
}
@keyframes whmcsFeaturedGlow {
    from { box-shadow: 0 0 20px rgba(59,130,246,.2),  0 8px 32px rgba(0,0,0,.4); }
    to   { box-shadow: 0 0 48px rgba(59,130,246,.45), 0 8px 32px rgba(0,0,0,.4); }
}
[data-theme="dark"] #order-custom_product .price-table:has(.popular-plan),
[data-theme="dark"] #order-custom_product .price-table.active {
    animation: whmcsFeaturedGlowDark 3s ease-in-out infinite alternate !important;
}
@keyframes whmcsFeaturedGlowDark {
    from { box-shadow: 0 0 20px rgba(59,130,246,.2),  0 8px 32px rgba(0,0,0,.4); }
    to   { box-shadow: 0 0 48px rgba(59,130,246,.45), 0 8px 32px rgba(0,0,0,.4); }
}
/* "Most Popular" badge pill */
#order-custom_product .price-table .popular-plan {
    position: absolute !important;
    top: -13px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--blue) !important;
    color: var(--white) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 4px 16px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    border: none !important;
    margin: 0 !important;
    z-index: 10 !important;
    order: -1 !important;
    flex-shrink: 0 !important;
    align-self: auto !important;
}
/* Featured card button */
#order-custom_product .price-table:has(.popular-plan) .order-button,
#order-custom_product .price-table.active .order-button {
    background: var(--blue) !important;
    color: var(--white) !important;
    border-color: var(--blue) !important;
}
#order-custom_product .price-table:has(.popular-plan) .order-button:hover,
#order-custom_product .price-table.active .order-button:hover {
    background: var(--blue-hover) !important;
    border-color: var(--blue-hover) !important;
}
/* ═══════════════════════════════════════
   INCLUDED FEATURES SECTION
   ═══════════════════════════════════════ */
#order-custom_product .includes-features {
    margin: 48px auto 0 !important;
    max-width: 800px !important;
    width: 100% !important;
}
#order-custom_product .includes-features .head-area {
    text-align: center !important;
    background: none !important;
    border-bottom: 1px solid var(--border) !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
}
#order-custom_product .includes-features .head-area span {
    background: transparent !important;
    color: var(--blue-light) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}
#order-custom_product .includes-features ul.list-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}
#order-custom_product .includes-features ul.list-features li {
    width: calc(33.333% - 16px) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--subtle) !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
}
#order-custom_product .includes-features ul.list-features li::before {
    content: '✓' !important;
    color: var(--blue-light) !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
}
/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    #order-custom_product {
        padding: 40px 0 48px 0 !important;
    }
    #order-custom_product .main-container {
        padding: 0 24px !important;
    }
    #order-custom_product #headline {
        font-size: 28px !important;
    }
    #order-custom_product #tagline {
        font-size: 15px !important;
    }
    #order-custom_product .price-table-container > ul {
        gap: 16px !important;
    }
    .row-product-selection {
        display: block;
    }
    #order-custom_product .includes-features ul.list-features li {
        width: calc(50% - 16px) !important;
    }
}
@media (max-width: 560px) {
    .price-card {
        width: 100%;
    }
    #order-custom_product {
        padding: 32px 0 40px 0 !important;
    }
    #order-custom_product .main-container {
        padding: 0 16px !important;
    }
    #order-custom_product #headline {
        font-size: 24px !important;
    }
    #order-custom_product .price-table-container > ul > li {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    #order-custom_product .price-table-container > ul {
        gap: 16px !important;
    }
    #order-custom_product .includes-features ul.list-features li {
        width: 100% !important;
    }
}