/**
 * Premium Cards order form - styled to match the Six indigo sidebar.
 * Dark blue gradient panels, coloured heading bands, pill buttons.
 */

#order-premium_cards { margin: 0 0 40px; padding: 0; width: 100%; font-size: 16px; line-height: 1.6; color: #334155; }
#order-premium_cards div, #order-premium_cards ul, #order-premium_cards li { padding: 0; margin: 0; }

/* ---------- Heading band ---------- */
#order-premium_cards .main-container {
    padding: 36px 24px 40px; border-radius: 22px; margin-bottom: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%); border: 1px solid #ede9fe;
}
#order-premium_cards .txt-center { text-align: center; margin-bottom: 32px; }
#order-premium_cards #headline {
    display: inline-block; font-size: 36px; font-weight: 800; line-height: 1.2; margin: 0 0 8px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #db2777);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
#order-premium_cards #tagline { font-size: 18px; color: #64748b; margin: 0; }

/* ---------- Plan cards ---------- */
#order-premium_cards .price-table-container > ul {
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; padding: 0 6px;
}
#order-premium_cards .price-table-container > ul > li { list-style: none; flex: 0 1 310px; min-width: 0; display: flex; }
#order-premium_cards .price-table {
    position: relative; width: 100%; display: flex; flex-direction: column; overflow: hidden;
    background: linear-gradient(170deg, #172554 0%, #1e3a8a 60%, #1d4ed8 100%);
    border: 0; border-radius: 22px; box-shadow: 0 22px 40px -26px rgba(23,37,84,.95);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
#order-premium_cards .price-table:hover { transform: translateY(-6px); box-shadow: 0 32px 50px -26px rgba(37,99,235,.7); }

/* Coloured heading band, one colour per plan (same colours as the sidebar headings) */
#order-premium_cards .top-head {
    position: relative; overflow: hidden; padding: 26px 22px 22px; text-align: center; color: #fff;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
}
#order-premium_cards .price-table-container > ul > li:nth-child(2n) .top-head { background: linear-gradient(90deg, #7c3aed, #db2777); }
#order-premium_cards .price-table-container > ul > li:nth-child(3n) .top-head { background: linear-gradient(90deg, #059669, #0891b2); }
#order-premium_cards .price-table-container > ul > li:nth-child(4n) .top-head { background: linear-gradient(90deg, #ea580c, #f59e0b); }
#order-premium_cards .price-table-container > ul > li:nth-child(5n) .top-head { background: linear-gradient(90deg, #db2777, #f43f5e); }
#order-premium_cards .top-head::after {
    content: ""; position: absolute; right: -50px; top: -50px; width: 130px; height: 130px; border-radius: 50%;
    background: rgba(255,255,255,.14); transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
#order-premium_cards .price-table:hover .top-head::after { transform: scale(1.7); }

#order-premium_cards .top-area { display: flex; flex-direction: column; align-items: center; }
#order-premium_cards .pc-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 18px;
    background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.45); color: #fff; font-size: 24px;
    box-shadow: 0 14px 24px -12px rgba(0,0,0,.4); margin-bottom: 12px; transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
#order-premium_cards .price-table:hover .pc-icon { transform: rotate(-8deg) scale(1.08); }
#order-premium_cards .top-area h4 { color: #fff; font-size: 26px; font-weight: 800; margin: 0; line-height: 1.2; }
#order-premium_cards .top-head > p { color: rgba(255,255,255,.92); font-size: 15px; margin: 8px 0 0; }

#order-premium_cards .popular-plan {
    position: absolute; top: 14px; right: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px;
    background: #fde68a; color: #1e3a8a; font-size: 12px; font-weight: 800; letter-spacing: .06em;
}

/* Price block (dark panel, white text) */
#order-premium_cards .price-area { padding: 22px 22px 24px; text-align: center; color: #fff; }
#order-premium_cards .price {
    font-size: 34px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 18px;
}
#order-premium_cards .price small { display: block; font-size: 15px; font-weight: 600; color: #bfdbfe; text-decoration: line-through; }
#order-premium_cards .price span { font-size: 16px; color: #bfdbfe; }

/* Pill order button, same style as the sidebar buttons */
#order-premium_cards .order-button {
    display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 54px;
    border-radius: 999px; font-size: 18px; font-weight: 800; color: #1e3a8a; text-decoration: none;
    background: #fff; box-shadow: 0 12px 24px -12px rgba(0,0,0,.5);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
}
#order-premium_cards .order-button:hover { color: #1e3a8a; background: #e0f2fe; transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(0,0,0,.6); text-decoration: none; }
#order-premium_cards .order-button.unavailable { background: rgba(255,255,255,.25); color: #e2e8f0; cursor: not-allowed; box-shadow: none; }

/* Feature rows: translucent pills with a check badge */
#order-premium_cards .price-table > ul { list-style: none; padding: 16px 16px 22px; margin: 0; }
#order-premium_cards .price-table > ul > li {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 8px; border-radius: 12px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #f8fafc; font-size: 16px; font-weight: 500;
}
#order-premium_cards .price-table > ul > li:last-child { margin-bottom: 0; }
#order-premium_cards .price-table > ul > li > i,
#order-premium_cards .list-features > li > i {
    flex-shrink: 0; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 8px;
    font-size: 12px; color: #fff; background: linear-gradient(135deg, #34d399, #059669);
}

/* ---------- Included features (same dark panel as the sidebar) ---------- */
#order-premium_cards .includes-features {
    margin-top: 40px; padding: 0; border-radius: 22px; overflow: hidden;
    background: linear-gradient(170deg, #172554 0%, #1e3a8a 60%, #1d4ed8 100%);
    box-shadow: 0 22px 40px -26px rgba(23,37,84,.95);
}
#order-premium_cards .includes-features .row { margin: 0; }
#order-premium_cards .head-area { padding: 0; }
#order-premium_cards .head-area span {
    display: block; padding: 16px 22px; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .04em; text-transform: uppercase;
    background: linear-gradient(90deg, #7c3aed, #db2777);
}
#order-premium_cards .list-features {
    list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px 20px 22px;
}
#order-premium_cards .list-features > li {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #f8fafc; font-size: 16px; font-weight: 600;
    transition: background .25s, transform .25s;
}
#order-premium_cards .list-features > li:hover { background: rgba(255,255,255,.2); transform: translateX(4px); }

@media (max-width: 900px) { #order-premium_cards .list-features { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    #order-premium_cards #headline { font-size: 28px; }
    #order-premium_cards .price-table-container > ul > li { flex: 1 1 100%; }
}

/* ==========================================================================
   Layout: categories sidebar on the left, plans on the right
   ========================================================================== */
.row-product-selection {
    display: flex !important; align-items: flex-start; gap: 28px; margin: 0 !important; width: 100%;
}
.row-product-selection > .product-selection-sidebar {
    float: none !important; width: 280px !important; flex: 0 0 280px !important; max-width: 280px !important;
    position: sticky; top: 90px; padding: 0 !important; min-height: 0;
}
.row-product-selection > .col-md-12 {
    float: none !important; width: auto !important; flex: 1 1 auto !important; min-width: 0 !important;
    padding-left: 0 !important; padding-right: 0 !important;
}
@media (max-width: 991px) {
    .row-product-selection { flex-direction: column; }
    .row-product-selection > .product-selection-sidebar { position: static; width: 100% !important; flex: 0 0 auto !important; max-width: none !important; }
}

/* ==========================================================================
   Responsive plan grid: fits as many cards as the space allows
   Desktop: 3+ per row (sidebar beside them). Tablet: 2-3. Phone: 1.
   ========================================================================== */
#order-premium_cards .price-table-container > ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; padding: 0; justify-content: stretch;
}
#order-premium_cards .price-table-container > ul > li { flex: none !important; width: auto; min-width: 0; }
#order-premium_cards .price-table-container > ul > li:only-child { max-width: 360px; justify-self: center; }

/* Tighter card sizing so three fit comfortably */
#order-premium_cards .top-head { padding: 22px 16px 18px; }
#order-premium_cards .pc-icon { width: 50px; height: 50px; font-size: 20px; border-radius: 15px; margin-bottom: 10px; }
#order-premium_cards .top-area h4 { font-size: 21px; }
#order-premium_cards .price-area { padding: 18px 16px 20px; }
#order-premium_cards .price { font-size: 28px; margin-bottom: 14px; }
#order-premium_cards .order-button { height: 48px; font-size: 16px; }
#order-premium_cards .price-table > ul { padding: 12px 12px 18px; }
#order-premium_cards .price-table > ul > li { padding: 9px 12px; font-size: 15px; }

/* Sidebar a little narrower on desktop so the cards get more room */
.row-product-selection > .product-selection-sidebar { width: 260px !important; flex-basis: 260px !important; max-width: 260px !important; }
.row-product-selection { gap: 24px; }

/* Included features: two columns on wide screens, one on small */
#order-premium_cards .list-features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (max-width: 991px) {
    #order-premium_cards .price-table-container > ul { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 575px) {
    #order-premium_cards .price-table-container > ul { grid-template-columns: 1fr; }
    #order-premium_cards .price-table-container > ul > li:only-child { max-width: none; }
    #order-premium_cards .top-area h4 { font-size: 24px; }
    #order-premium_cards .price { font-size: 32px; }
}


/* ==========================================================================
   Description text (HTML). Used when a plan has no feature list.
   The card grows to show all of it: nothing is clipped or fixed in height.
   ========================================================================== */
#order-premium_cards .price-table { overflow: visible; height: auto; }
#order-premium_cards .price-table .top-head { border-radius: 22px 22px 0 0; }
#order-premium_cards .price-table > ul > li[id$="-description"] {
    display: block !important; padding: 16px 16px 4px !important; text-align: left;
    font-size: 15px; line-height: 1.6; font-weight: 500; color: #f0f9ff; height: auto !important;
    overflow: visible !important; white-space: normal !important; word-wrap: break-word; overflow-wrap: anywhere;
    background: transparent !important; border: 0 !important; margin: 0 !important;
}
#order-premium_cards .price-table > ul > li[id$="-description"] * {
    color: #f0f9ff !important; background-color: transparent !important; max-width: 100% !important;
    word-wrap: break-word; overflow-wrap: anywhere; box-sizing: border-box;
}
#order-premium_cards .price-table > ul > li[id$="-description"] p,
#order-premium_cards .price-table > ul > li[id$="-description"] div { margin: 0 0 10px; }
#order-premium_cards .price-table > ul > li[id$="-description"] h1,
#order-premium_cards .price-table > ul > li[id$="-description"] h2,
#order-premium_cards .price-table > ul > li[id$="-description"] h3,
#order-premium_cards .price-table > ul > li[id$="-description"] h4,
#order-premium_cards .price-table > ul > li[id$="-description"] h5,
#order-premium_cards .price-table > ul > li[id$="-description"] h6 {
    font-size: 18px !important; font-weight: 800 !important; line-height: 1.3; margin: 8px 0 8px; color: #fff !important;
}
#order-premium_cards .price-table > ul > li[id$="-description"] ul,
#order-premium_cards .price-table > ul > li[id$="-description"] ol { margin: 0 0 10px; padding-left: 0; list-style: none; }
#order-premium_cards .price-table > ul > li[id$="-description"] ul li,
#order-premium_cards .price-table > ul > li[id$="-description"] ol li {
    position: relative; padding: 6px 0 6px 26px; border-bottom: 1px solid rgba(255,255,255,.12);
}
#order-premium_cards .price-table > ul > li[id$="-description"] ul li:last-child { border-bottom: 0; }
#order-premium_cards .price-table > ul > li[id$="-description"] ul li::before {
    content: "\2713"; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; line-height: 18px;
    text-align: center; border-radius: 6px; font-size: 11px; font-weight: 900; color: #fff; background: #10b981;
}
#order-premium_cards .price-table > ul > li[id$="-description"] img { height: auto !important; max-width: 100% !important; }
#order-premium_cards .price-table > ul > li[id$="-description"] table { display: block; width: 100% !important; overflow-x: auto; border-collapse: collapse; }
#order-premium_cards .price-table > ul > li[id$="-description"] td,
#order-premium_cards .price-table > ul > li[id$="-description"] th { padding: 6px 8px; border-color: rgba(255,255,255,.2) !important; }
#order-premium_cards .price-table > ul > li[id$="-description"] a { color: #bae6fd !important; text-decoration: underline; }
#order-premium_cards .price-table > ul > li[id$="-description"] br { content: ""; }
#order-premium_cards .price-table > ul > li[id$="-description"] span,
#order-premium_cards .price-table > ul > li[id$="-description"] strong,
#order-premium_cards .price-table > ul > li[id$="-description"] b { font-size: inherit; }
@media (max-width: 575px) { #order-premium_cards .price-table > ul > li[id$="-description"] { font-size: 15px; } }

/* ==========================================================================
   Plan cards: three per row from tablet up, one per row on phones
   ========================================================================== */
#order-premium_cards .price-table-container > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
#order-premium_cards .price-table-container > ul > li:only-child { max-width: none; }
.row-product-selection > .product-selection-sidebar { width: 240px !important; flex-basis: 240px !important; max-width: 240px !important; }
@media (max-width: 767px) {
    #order-premium_cards .price-table-container > ul { grid-template-columns: 1fr; }
}

.pc-currency{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:0 0 14px}
.pc-currency form{margin:0;display:flex;align-items:center;gap:10px}
.pc-currency label{margin:0;font-size:14px;font-weight:700;color:#334155;display:inline-flex;align-items:center;gap:6px}
.pc-currency select{height:40px;min-width:180px;border-radius:12px;border:1.5px solid #e2e8f0;background:#fff;font-weight:700;color:#0f172a;padding:6px 12px}
