/* ===== PRICING (improved layout) ===== */
.pricing {
    background: var(--white);
    padding: 80px 0;
}
.pricing-header,
.pricing .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.pricing-header .section-tag,
.pricing .section-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pricing-header h2,
.pricing .section-header h2 {
    text-transform: capitalize;
    margin-bottom: 12px;
}
.pricing-header p,
.pricing .section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Wrapper — matches live: .pricing-shortcode-wrap + inline max-width:900px */
.pricing-shortcode-wrap {
    max-width: 900px !important;
    width: 100% !important;
    margin: 0 auto 28px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}

/* ===== ityplug [ityplug_checkout] — CSS-only (live HTML structure) ===== */
.pricing-shortcode-wrap .ityplug-checkout-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
     overflow: visible !important;
}

.pricing-shortcode-wrap .ityplug-checkout-wrapper > h2,
.pricing-shortcode-wrap .ityplug-checkout-wrapper > p {
    display: none !important;
}

.pricing-shortcode-wrap .ityplug-checkout-wrapper > div[style*="#fff3cd"] {
    border-radius: 10px !important;
    margin-bottom: 20px !important;
    font-size: 0.85rem !important;
}

/* Grid — beats inline grid-template-columns */
.pricing-shortcode-wrap .ityplug-plans-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 0 !important;
    align-items: stretch !important;
}

/* Card — left-aligned layout (reference screenshot) */
.pricing-shortcode-wrap .ityplug-plan-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: left !important;
    background: #fff !important;
    background: var(--white) !important;
    color: #1e293b !important;
    color: var(--text-primary) !important;
    border: 1.5px solid #e2e8f0 !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 16px !important;
    border-radius: var(--radius) !important;
    padding: 32px 24px 28px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    box-shadow: var(--shadow-sm) !important;
    position: relative !important;
    overflow: visible !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.pricing-shortcode-wrap .ityplug-plan-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Growth (middle) = featured when no plugin badge */
.pricing-shortcode-wrap .ityplug-plans-grid .ityplug-plan-card:nth-child(2) {
    border: 2px solid #2563eb !important;
    border: 2px solid var(--primary) !important;
    box-shadow: 0 8px 36px rgba(37, 99, 235, 0.14) !important;
    z-index: 1 !important;
}

.pricing-shortcode-wrap .ityplug-plans-grid .ityplug-plan-card:nth-child(2)::before {
    content: '★ Most Popular';
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 6px 16px !important;
    background: #2563eb !important;
    background: var(--primary) !important;
    color: #fff !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 100px !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    z-index: 2 !important;
}

/* Plugin badge (if set in admin) */
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="top: -10px"],
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="top:-10px"] {
    top: -14px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border-radius: 100px !important;
    padding: 6px 16px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    z-index: 3 !important;
}

/* Plan label — small uppercase (STARTER / GROWTH / SCALE) */
.pricing-shortcode-wrap .ityplug-plan-card h3 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    font-family: 'Readex Pro', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    color: var(--text-muted) !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

.pricing-shortcode-wrap .ityplug-plans-grid .ityplug-plan-card:nth-child(2) h3 {
    color: #2563eb !important;
    color: var(--primary) !important;
}

/* Description */
.pricing-shortcode-wrap .ityplug-plan-card > p {
    color: #64748b !important;
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin: 0 0 20px !important;
    min-height: 0 !important;
    text-align: left !important;
}

/* Price block — compact: small USD + large amount (reference layout) */
.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"],
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size: 42px"],
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size:42px"] {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 4px 6px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    min-height: 0 !important;
    font-family: 'Readex Pro', sans-serif !important;
    line-height: 1 !important;
    text-align: left !important;
}

/* Simple price — hide plugin text/">"; build USD + amount from data attrs */
.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"]:not(:has(> div)),
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size: 42px"]:not(:has(> div)),
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size:42px"]:not(:has(> div)) {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"]:not(:has(> div))::before,
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size: 42px"]:not(:has(> div))::before,
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size:42px"]:not(:has(> div))::before {
    content: attr(data-currency);
    font-family: 'Readex Pro', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #1e293b !important;
    color: var(--text-primary) !important;
    letter-spacing: 0.02em !important;
    transform: translateY(-0.15em);
}

.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"]:not(:has(> div))::after,
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size: 42px"]:not(:has(> div))::after,
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size:42px"]:not(:has(> div))::after {
    content: attr(data-original-price);
    font-family: 'Readex Pro', sans-serif !important;
    font-size: 2.35rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #1e293b !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.03em !important;
}

/* Featured (Growth) — blue price */
.pricing-shortcode-wrap .ityplug-plans-grid .ityplug-plan-card:nth-child(2) > div[id^="ityplug-price-display"]::before,
.pricing-shortcode-wrap .ityplug-plans-grid .ityplug-plan-card:nth-child(2) > div[id^="ityplug-price-display"]::after,
.pricing-shortcode-wrap .ityplug-plans-grid .ityplug-plan-card:nth-child(2) > div[style*="font-size: 42px"]::before,
.pricing-shortcode-wrap .ityplug-plans-grid .ityplug-plan-card:nth-child(2) > div[style*="font-size: 42px"]::after {
    color: #2563eb !important;
    color: var(--primary) !important;
}

/* License subline — first feature row under price (Yearly license · Auto-renews look) */
.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"] + div[style*="margin: 15px 0"],
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size: 42px"] + div[style*="margin: 15px 0"],
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size:42px"] + div[style*="margin: 15px 0"] {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"] + div[style*="margin: 15px 0"] > p:first-child,
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size: 42px"] + div[style*="margin: 15px 0"] > p:first-child,
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size:42px"] + div[style*="margin: 15px 0"] > p:first-child {
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 0 0 16px !important;
    margin: 0 0 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid var(--border-light) !important;
    color: #64748b !important;
    color: var(--text-secondary) !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* Green circle check — license row */
.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"] + div[style*="margin: 15px 0"] > p:first-child strong,
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size: 42px"] + div[style*="margin: 15px 0"] > p:first-child strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    background: transparent !important;
    border-radius: 50% !important;
}

.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"] + div[style*="margin: 15px 0"] > p:first-child strong::before,
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size: 42px"] + div[style*="margin: 15px 0"] > p:first-child strong::before {
    content: '' !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E") center / 10px no-repeat !important;
    border-radius: 50% !important;
}

/* Discount / multi-line price */
.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"]:has(> div),
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size: 42px"]:has(> div),
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="font-size:42px"]:has(> div) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    font-size: inherit !important;
    line-height: normal !important;
    color: inherit !important;
}

.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"] > div {
    font-family: 'Readex Pro', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    line-height: 1.1 !important;
}

.pricing-shortcode-wrap .ityplug-plans-grid .ityplug-plan-card:nth-child(2) > div[id^="ityplug-price-display"] > div {
    color: #2563eb !important;
    color: var(--primary) !important;
}

.pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"] div[style*="line-through"] {
    font-size: 1rem !important;
    opacity: 0.55 !important;
    display: block !important;
}

/* Features list — divider above (license row sits above with its own border) */
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="margin: 15px 0"] {
    background: transparent !important;
    border-radius: 0 !important;
    border-top: none !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    flex: 1 1 auto !important;
    text-align: left !important;
    direction: ltr !important;
}

.pricing-shortcode-wrap .ityplug-plan-card > div[style*="margin: 15px 0"] p {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    border-bottom: none !important;
    color: #64748b !important;
    color: var(--text-secondary) !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

/* Blue checkmark — feature list (replace WP emoji) */
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="margin: 15px 0"] p:not(:first-child) strong,
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="margin: 15px 0"] > p:first-child ~ p strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    background: transparent !important;
}

.pricing-shortcode-wrap .ityplug-plan-card > div[style*="margin: 15px 0"] p:not(:first-child) strong::before {
    content: '' !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.pricing-shortcode-wrap .ityplug-plan-card > div[style*="margin: 15px 0"] p strong img.emoji {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

/* Pay button wrapper */
.pricing-shortcode-wrap .ityplug-plan-card > div[style*="margin-top: 20px"] {
    margin-top: auto !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Pay button — beats inline background:#0070ba; padding:12px; font-size:16px */
.pricing-shortcode-wrap .ityplug-plan-card .ityplug-select-payment,
.pricing-shortcode-wrap .ityplug-select-payment {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
    color: #fff !important;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.pricing-shortcode-wrap .ityplug-select-payment[data-method="paypal"] {
    background: #0070ba !important;
}

.pricing-shortcode-wrap .ityplug-select-payment[data-method="paypal"]:hover {
    background: #005ea6 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.35) !important;
    opacity: 1 !important;
}

.pricing-shortcode-wrap .ityplug-select-payment:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2) !important;
    opacity: 1 !important;
}

.pricing-shortcode-wrap .ityplug-select-payment[style*="635bff"] {
    background: #635bff !important;
}

.pricing-shortcode-wrap .ityplug-select-payment img.emoji {
    display: none !important;
}

.pricing-shortcode-wrap .ityplug-select-payment[data-method="paypal"]::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-inline-end: 8px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* Neutralize plugin-injected template <style> inside shortcode output */
.pricing-shortcode-wrap .ityplug-plan-card:hover {
    border-color: #2563eb !important;
    border-color: var(--primary) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12) !important;
}

.pricing-shortcode-wrap .ityplug-select-payment[data-method="paypal"] {
    border-radius: 10px !important;
}

.pricing-shortcode-wrap .ityplug-plan-card div[style*="background: #f8f9fa"],
.pricing-shortcode-wrap .ityplug-plan-card div[style*="background:#f8f9fa"] {
    background: transparent !important;
    border-top: 1px solid var(--border-light) !important;
    border-radius: 0 !important;
    padding: 18px 0 0 !important;
}

/* ===== Checkout popup (ityplug) — CSS only ===== */
#ityplug-checkout-modal {
    z-index: 100000 !important;
    padding: 24px 16px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-sizing: border-box !important;
}

#ityplug-checkout-modal > div {
    background: #fff !important;
    background: var(--white, #fff) !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 24px auto 32px !important;
    padding: 44px 24px 24px !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    border: 1px solid var(--border-light, #e2e8f0) !important;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16) !important;
    position: relative !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    color: #1e293b !important;
    color: var(--text-primary, #1e293b) !important;
}

/* Top-right close — hide "Cancel" label; show × icon (plugin outputs text "Cancel") */
#ityplug-checkout-modal > div > button[onclick="closeCheckoutModal()"][style*="position: absolute"] {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    z-index: 5 !important;
    box-shadow: none !important;
}

#ityplug-checkout-modal > div > button[onclick="closeCheckoutModal()"][style*="position: absolute"]::after {
    content: '×' !important;
    display: block !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #64748b !important;
    font-family: inherit !important;
    pointer-events: none !important;
}

#ityplug-checkout-modal > div > button[onclick="closeCheckoutModal()"][style*="position: absolute"]:hover {
    background: #e2e8f0 !important;
    transform: scale(1.05) !important;
}

#ityplug-checkout-modal > div > button[onclick="closeCheckoutModal()"][style*="position: absolute"]:hover::after {
    color: #1e293b !important;
}

#ityplug-checkout-modal > div > button[onclick="closeCheckoutModal()"][style*="position: absolute"]:focus-visible {
    outline: 2px solid #2563eb !important;
    outline: 2px solid var(--primary, #2563eb) !important;
    outline-offset: 2px !important;
}

/* Selected plan summary */
#selected-plan-info {
    background: #eff6ff !important;
    background: var(--primary-softer, #eff6ff) !important;
    border: 1px solid rgba(37, 99, 235, 0.18) !important;
    border-radius: 12px !important;
    padding: 18px 16px !important;
    margin: 0 0 22px !important;
    text-align: center !important;
}

#selected-plan-info h4 {
    margin: 6px 0 4px !important;
    font-family: 'Readex Pro', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    color: var(--text-primary, #1e293b) !important;
}

#selected-plan-info div[style*="font-size: 14px"],
#selected-plan-info div[style*="text-transform: uppercase"] {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    color: var(--text-muted, #64748b) !important;
}

#selected-plan-info div[style*="font-size: 36px"],
#selected-plan-info div[style*="font-size:36px"] {
    font-family: 'Readex Pro', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #2563eb !important;
    color: var(--primary, #2563eb) !important;
    margin: 10px 0 !important;
}

#selected-plan-info div[style*="line-through"] {
    font-size: 1rem !important;
    opacity: 0.55 !important;
}

#selected-plan-info div[style*="font-size: 14px"][style*="color: #666"],
#selected-plan-info div[style*="margin-top: 10px"] {
    font-size: 0.82rem !important;
    color: #64748b !important;
    color: var(--text-secondary, #64748b) !important;
    margin-top: 8px !important;
}

/* Form */
#customer-info-form label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    color: var(--text-primary, #334155) !important;
}

#customer-info-form > div[style*="margin-bottom"] {
    margin-bottom: 18px !important;
}

#customer-email,
#customer-phone {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    color: #1e293b !important;
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border: 1.5px solid var(--border, #e2e8f0) !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#customer-email:focus,
#customer-phone:focus {
    outline: none !important;
    border-color: #2563eb !important;
    border-color: var(--primary, #2563eb) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

#customer-email::placeholder,
#customer-phone::placeholder {
    color: #94a3b8 !important;
}

/* PayPal area */
#paypal-payment-area {
    margin-bottom: 16px !important;
}

#paypal-button-container {
    min-height: 120px !important;
    margin-bottom: 8px !important;
}

#paypal-loading {
    padding: 16px !important;
    text-align: center !important;
}

#paypal-loading p {
    color: #64748b !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

#paypal-error {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 10px !important;
    padding: 14px !important;
    color: #b91c1c !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
}

/* Stripe button */
#stripe-payment-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    margin-bottom: 14px !important;
    background: #635bff !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#stripe-payment-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(99, 91, 255, 0.35) !important;
}

#stripe-payment-btn img.emoji {
    display: none !important;
}

/* Cancel */
#customer-info-form > button[onclick="closeCheckoutModal()"] {
    width: 100% !important;
    padding: 12px 20px !important;
    margin-top: 4px !important;
    background: #fff !important;
    color: #64748b !important;
    border: 1.5px solid #e2e8f0 !important;
    border: 1.5px solid var(--border, #e2e8f0) !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

#customer-info-form > button[onclick="closeCheckoutModal()"]:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

/* Baridimob block (when enabled) */
#baridimob-payment-area {
    margin-bottom: 16px !important;
}

#baridimob-submit-btn {
    border-radius: 10px !important;
    font-weight: 700 !important;
}

/* Full-page processing overlay (keep plugin display:none / flex toggle) */
#ityplug-loading {
    z-index: 100001 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#ityplug-loading > div {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 36px 32px !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2) !important;
    max-width: 320px !important;
    width: calc(100% - 32px) !important;
    margin: 0 auto !important;
    text-align: center !important;
}

#ityplug-loading > div > div[style*="border-radius: 50%"] {
    border-color: #e2e8f0 !important;
    border-top-color: #2563eb !important;
    border-top-color: var(--primary, #2563eb) !important;
}

#ityplug-loading p {
    font-family: inherit !important;
    color: #334155 !important;
    margin: 0 !important;
}

#ityplug-loading p + p {
    color: #64748b !important;
    font-size: 0.88rem !important;
    margin-top: 8px !important;
}

@media (max-width: 767px) {
    #ityplug-checkout-modal {
        padding: 12px !important;
    }
    #ityplug-checkout-modal > div {
        margin: 12px auto 20px !important;
        padding: 24px 18px 20px !important;
        max-width: 100% !important;
        width: calc(100% - 8px) !important;
    }
    #selected-plan-info div[style*="font-size: 36px"],
    #selected-plan-info div[style*="font-size:36px"] {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 767px) {
    .pricing-shortcode-wrap .ityplug-checkout-wrapper {
        padding: 0 !important;
    }
    .pricing-shortcode-wrap .ityplug-plans-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .pricing-shortcode-wrap .ityplug-plan-card {
        padding: 24px 20px !important;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 28px;
    align-items: stretch;
}

.p-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.p-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.p-card.featured {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: 0 8px 36px rgba(37, 99, 235, 0.14);
    z-index: 1;
}

.pop-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.pop-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.p-plan-title {
    font-family: 'Readex Pro', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.p-card.featured .p-plan-title { color: var(--primary); }

.p-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    min-height: 2.6em;
}

.p-sites {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 20px;
    padding: 7px 14px;
    background: var(--primary-softer);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}
.p-sites svg { width: 14px; height: 14px; flex-shrink: 0; }

.p-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}
.p-cur {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.p-amt {
    font-family: 'Readex Pro', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}
.p-card.featured .p-amt { color: var(--primary); }

.p-period {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}
.p-period svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent-light);
}

.p-divider {
    height: 1px;
    background: var(--border-light);
    margin-bottom: 18px;
}

.p-feats {
    list-style: none;
    text-align: right;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}
.p-feats li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    line-height: 1.45;
}
.p-feats li:last-child { border-bottom: none; }
.p-feats .ck,
.p-feats .ckg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}
.p-feats .ckg { color: var(--accent-light); }
.p-card.featured .p-feats li:first-child { font-weight: 700; color: var(--text-primary); }

.pp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding: 14px 20px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.pp-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    color: #fff !important;
}
.pp-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.g-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
}
.g-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.g-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
}
.g-item strong { color: var(--text-primary); font-weight: 700; }
.g-sep {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .p-card.featured { order: -1; }
    .pricing-shortcode-wrap .ityplug-plans-grid {
        grid-template-columns: 1fr !important;
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .pricing-shortcode-wrap .ityplug-plans-grid .ityplug-plan-card:nth-child(2) {
        order: -1 !important;
    }
    .pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"]:not(:has(> div))::after {
        font-size: 2rem !important;
    }
    .pricing-shortcode-wrap .ityplug-plan-card > div[id^="ityplug-price-display"]:not(:has(> div))::before {
        font-size: 0.85rem !important;
    }
    .g-strip {
        flex-direction: column;
        gap: 4px;
        padding: 20px;
    }
    .g-sep { display: none; }
    .g-item { justify-content: center; width: 100%; }
}
