/* ============================================================
 * Media Tourch — Payment Selector + EGP Form
 * Premium luxe CTAs: dark obsidian with metallic gold/copper borders
 * ============================================================ */

:root {
    --mtps-orange: #ff6b35;
    --mtps-orange-deep: #e84e1a;
    --mtps-gold: #D4AF37;
    --mtps-gold-light: #FFD700;
}

/* ===== Two-button selector ===== */
.mt-payment-selector { width: 100%; }

.mt-payment-selector .mt-ps-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: stretch;
    width: 100%;
    max-width: 660px;
}
@media (min-width: 768px) {
    .mt-payment-selector .mt-ps-buttons { flex-direction: row; gap: 1.2rem; }
    .mt-payment-selector .mt-ps-buttons > a { flex: 1; }
}
.mt-payment-selector.mt-ps-variant-compact .mt-ps-buttons { max-width: 480px; }

/* ===== Premium luxe button ===== */
.mt-ps-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.4rem 1.7rem;
    border-radius: 22px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.2px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s ease,
                background 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    cursor: pointer;
    border: 1.5px solid transparent;
    font-family: inherit;
    isolation: isolate;
}

/* Hairline shimmer on top edge (luxury detail) */
.mt-ps-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    z-index: 2;
    pointer-events: none;
}

/* Subtle inner radial glow from top */
.mt-ps-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at center top, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mt-ps-btn:hover {
    transform: translateY(-4px);
    text-decoration: none;
}

.mt-ps-btn-title {
    font-size: 1.1rem;
    display: block;
    font-weight: 900;
    position: relative;
    z-index: 3;
}
@media (min-width: 480px) { .mt-ps-btn-title { font-size: 1.2rem; } }

.mt-ps-btn-sub {
    font-size: 0.86rem;
    font-weight: 600;
    opacity: 0.88;
    margin-top: 0.5rem;
    display: block;
    letter-spacing: 0.4px;
    position: relative;
    z-index: 3;
}
.mt-ps-btn-sub .mt-ps-old {
    opacity: 0.55;
    text-decoration: line-through;
    text-decoration-color: currentColor;
    margin-left: 0.3rem;
    font-weight: 500;
    font-size: 0.92em;
}
.mt-ps-btn-sub strong { font-weight: 900; opacity: 1; }

/* === Premium gold (Stripe / intl) — royal obsidian with gold accent === */
.mt-ps-btn-intl {
    background:
        linear-gradient(180deg, rgba(255, 215, 0, 0.07) 0%, transparent 60%),
        linear-gradient(135deg, #1a1206 0%, #2a1f0a 50%, #1a1206 100%);
    color: #FFD700 !important;
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 215, 0, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
}
.mt-ps-btn-intl:hover {
    color: #FFE54C !important;
    border-color: rgba(255, 215, 0, 0.85);
    background:
        linear-gradient(180deg, rgba(255, 215, 0, 0.13) 0%, transparent 60%),
        linear-gradient(135deg, #241a08 0%, #3a2c10 50%, #241a08 100%);
    box-shadow:
        0 18px 54px rgba(0, 0, 0, 0.78),
        0 0 0 1px rgba(255, 215, 0, 0.4),
        0 0 36px rgba(212, 175, 55, 0.38),
        inset 0 1px 0 rgba(255, 215, 0, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

/* === Premium copper (EGP) — dark obsidian with bronze accent === */
.mt-ps-btn-egp {
    background:
        linear-gradient(180deg, rgba(255, 140, 90, 0.07) 0%, transparent 60%),
        linear-gradient(135deg, #1a0a06 0%, #2d1408 50%, #1a0a06 100%);
    color: #ffb38a !important;
    border-color: rgba(232, 78, 26, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(232, 78, 26, 0.15),
        inset 0 1px 0 rgba(255, 140, 90, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 18px rgba(232, 78, 26, 0.25);
}
.mt-ps-btn-egp:hover {
    color: #ffc8a0 !important;
    border-color: rgba(255, 140, 90, 0.85);
    background:
        linear-gradient(180deg, rgba(255, 140, 90, 0.13) 0%, transparent 60%),
        linear-gradient(135deg, #260f08 0%, #3d1d0c 50%, #260f08 100%);
    box-shadow:
        0 18px 54px rgba(0, 0, 0, 0.78),
        0 0 0 1px rgba(255, 140, 90, 0.4),
        0 0 36px rgba(232, 78, 26, 0.38),
        inset 0 1px 0 rgba(255, 140, 90, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

/* ===== Motivational line below the two buttons ===== */
.mt-ps-motivation {
    margin: 1.6rem 0 0;
    text-align: center;
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.95;
    font-weight: 500;
    letter-spacing: 0.15px;
    max-width: 620px;
}
.mt-ps-motivation .mt-ps-accent {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #ff8c5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* Product page placement adjustments */
.woocommerce div.product .mt-payment-selector { margin: 1.5rem 0; }
.woocommerce div.product form.cart { display: none !important; }
.woocommerce div.product .price { display: none !important; }


/* ============================================================
 * EGP Payment Section (inline, bottom of landing page)
 * ============================================================ */
.mt-egp-section {
    background: #020617;
    padding: 4rem 1rem 5rem;
    scroll-margin-top: 90px;
    border-top: 1px solid rgba(232, 78, 26, 0.15);
}
.mt-egp-container {
    max-width: 720px;
    margin: 0 auto;
    color: #fff;
    direction: rtl;
    text-align: right;
}
.mt-egp-title {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 0.75rem;
    background: linear-gradient(135deg, #ff6b35 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mt-egp-sub {
    text-align: center;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 auto 2rem;
    max-width: 560px;
}

.mt-egp-price-card {
    border: 2px dashed rgba(212, 175, 55, 0.55);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    text-align: center;
    background: rgba(212, 175, 55, 0.03);
    margin: 0 auto 1.75rem;
    max-width: 520px;
}
.mt-egp-price-label { color: #cbd5e1; font-size: 0.95rem; margin-bottom: 0.4rem; }
.mt-egp-price-old {
    color: #94a3b8;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.mt-egp-price-old s {
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.85);
    text-decoration-thickness: 2px;
}
.mt-egp-price-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    color: #FFD700;
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 3rem);
    line-height: 1;
}
.mt-egp-price-amount small { font-size: 1.3rem; font-weight: 700; color: #D4AF37; }
.mt-egp-price-badge {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(232, 78, 26, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
    border: 1px solid rgba(232, 78, 26, 0.5);
    color: #ffb38a;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.mt-egp-price-note { color: #94a3b8; font-size: 0.88rem; margin-top: 0.65rem; }

.mt-egp-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    margin: 0 auto 1rem;
    max-width: 560px;
}
.mt-egp-step-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.mt-egp-step-num {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #1a1100;
    font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.mt-egp-step-title { font-weight: 800; color: #fff; font-size: 1.05rem; line-height: 1.45; }
.mt-egp-step-body  { color: #cbd5e1; font-size: 0.95rem; line-height: 1.85; }

.mt-egp-copy-row {
    display: flex;
    gap: 0.65rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 0.6rem;
    align-items: center;
}
.mt-egp-copy-num {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFD700;
    text-align: right;
    padding: 0 0.85rem;
    letter-spacing: 0.5px;
    direction: ltr;
}
.mt-egp-copy-btn {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #1a1100;
    font-weight: 800;
    border: 0;
    border-radius: 10px;
    padding: 0.65rem 1.2rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    min-width: 80px;
}
.mt-egp-copy-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4); }
.mt-egp-copy-btn.is-copied {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
}

.mt-egp-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1.05rem 1.5rem;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
    transition: all 0.25s ease;
    width: 100%;
    max-width: 560px;
    margin: 0.5rem auto 1.5rem;
    text-decoration: none !important;
    direction: rtl;
}
.mt-egp-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(37, 211, 102, 0.6); color: #fff !important; }
.mt-egp-wa-btn svg { width: 24px; height: 24px; }

.mt-egp-contact {
    text-align: center;
    color: #94a3b8;
    font-size: 0.88rem;
    margin-top: 0.5rem;
}
.mt-egp-contact a {
    color: #FFD700;
    text-decoration: none;
    direction: ltr;
    display: inline-block;
}
.mt-egp-contact a:hover { text-decoration: underline; }

/* ===== Stripe / card button (restored 2026-06-21) ===== */
.mt-ps-btn-stripe {
    background:
        linear-gradient(180deg, rgba(99,91,255,0.10) 0%, transparent 60%),
        linear-gradient(135deg, #0d0f1a 0%, #161a2e 50%, #0d0f1a 100%);
    color: #c9c6ff !important;
    border-color: rgba(99,91,255,0.55);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.7),
        0 0 0 1px rgba(99,91,255,0.15),
        inset 0 1px 0 rgba(120,110,255,0.28),
        inset 0 -1px 0 rgba(0,0,0,0.4);
    text-shadow: 0 0 18px rgba(99,91,255,0.25);
}
.mt-ps-btn-stripe:hover {
    color: #e3e1ff !important;
    border-color: rgba(120,110,255,0.85);
    background:
        linear-gradient(180deg, rgba(99,91,255,0.16) 0%, transparent 60%),
        linear-gradient(135deg, #11142a 0%, #1d2240 50%, #11142a 100%);
    box-shadow:
        0 18px 54px rgba(0,0,0,0.78),
        0 0 0 1px rgba(120,110,255,0.4),
        0 0 36px rgba(99,91,255,0.38),
        inset 0 1px 0 rgba(120,110,255,0.45),
        inset 0 -1px 0 rgba(0,0,0,0.4);
}

/* ===== Conversion redesign (2026-06-21) ===== */
.mt-payment-selector .mt-ps-btn { gap: 0.45rem; padding: 1.7rem 1.5rem; }
.mt-ps-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 0.32em 0.95em;
    border-radius: 999px;
    margin-bottom: 0.15rem;
}
.mt-ps-btn-egp .mt-ps-badge { color:#ffd9a0; background:rgba(232,78,26,0.20); border:1px solid rgba(255,140,90,0.45); }
.mt-ps-btn-stripe .mt-ps-badge { color:#cfccff; background:rgba(99,91,255,0.22); border:1px solid rgba(120,110,255,0.5); }
.mt-ps-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.1rem 0;
    line-height: 1;
    direction: rtl;
}
.mt-ps-price strong { font-size: 2.3rem; font-weight: 900; letter-spacing: 0; }
.mt-ps-price .mt-ps-old { font-size: 1.05rem; opacity: 0.5; text-decoration: line-through; font-weight: 700; }
.mt-ps-price em { font-style: normal; font-size: 0.95rem; opacity: 0.85; font-weight: 700; }
.mt-ps-btn-egp .mt-ps-price strong { color:#ffc56b; }
.mt-ps-btn-stripe .mt-ps-price strong { color:#e7e5ff; }
.mt-ps-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 1.5rem;
    margin: 1.15rem auto 0;
    padding: 0;
    max-width: 660px;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.62);
}
.mt-ps-trust li { display:flex; align-items:center; gap:0.35rem; }
.mt-ps-trust li span { font-size: 1rem; filter: saturate(1.2); }

/* ===== Stripe button stronger presence (2026-06-21) ===== */
.mt-ps-btn-stripe {
    background:
        linear-gradient(180deg, rgba(120,110,255,0.20) 0%, rgba(99,91,255,0.05) 60%),
        linear-gradient(135deg, #1b1f42 0%, #2a2f63 50%, #1b1f42 100%) !important;
    border-color: rgba(130,120,255,0.75) !important;
    box-shadow:
        0 14px 44px rgba(0,0,0,0.7),
        0 0 0 1px rgba(130,120,255,0.28),
        inset 0 1px 0 rgba(150,140,255,0.4),
        inset 0 -1px 0 rgba(0,0,0,0.4) !important;
}
.mt-ps-btn-stripe:hover {
    background:
        linear-gradient(180deg, rgba(130,120,255,0.28) 0%, rgba(99,91,255,0.08) 60%),
        linear-gradient(135deg, #23284f 0%, #353b78 50%, #23284f 100%) !important;
    border-color: rgba(150,140,255,0.95) !important;
}

/* ===== PayPal third option (2026-06-21) ===== */
.mt-payment-selector .mt-ps-buttons { display:grid; grid-template-columns:1fr; gap:1rem; max-width:880px; }
@media (min-width:768px){ .mt-payment-selector .mt-ps-buttons { grid-template-columns:repeat(3,1fr); } }
.mt-ps-btn-paypal {
    background:
        linear-gradient(180deg, rgba(0,156,222,0.16) 0%, rgba(0,112,186,0.05) 60%),
        linear-gradient(135deg, #06243a 0%, #0a3a5c 50%, #06243a 100%) !important;
    border-color: rgba(0,156,222,0.6) !important;
    box-shadow: 0 14px 44px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,156,222,0.2), inset 0 1px 0 rgba(60,180,235,0.35) !important;
    cursor: default;
}
.mt-ps-btn-paypal:hover { transform:none; border-color: rgba(0,156,222,0.85) !important; }
.mt-ps-btn-paypal .mt-ps-badge { color:#bfe9ff; background:rgba(0,156,222,0.20); border:1px solid rgba(0,156,222,0.5); }
.mt-ps-paypal { width:100%; max-width:280px; margin:0.5rem auto 0; min-height:46px; }
.mt-ps-paypal:empty::before { content:'PayPal...'; display:block; text-align:center; color:rgba(255,255,255,0.45); font-size:0.85rem; padding:0.6rem 0; }

/* ===== PayPal full-width row fix (2026-06-21) ===== */
@media (min-width:768px){
  .mt-payment-selector .mt-ps-buttons { grid-template-columns:repeat(2,1fr); max-width:660px; }
  .mt-ps-btn-paypal { grid-column:1 / -1; }
}
.mt-ps-btn-paypal { padding:1.3rem 1.5rem; }
.mt-ps-paypal { width:100%; max-width:420px; min-height:50px; margin:0.5rem auto 0; }

/* ===== PayPal as link button - 3 equal cols (2026-06-21) ===== */
@media (min-width:768px){
  .mt-payment-selector .mt-ps-buttons { grid-template-columns:repeat(3,1fr) !important; max-width:920px !important; }
  .mt-ps-btn-paypal { grid-column:auto !important; }
}
.mt-ps-btn-paypal { cursor:pointer !important; padding:1.7rem 1.5rem !important; }
.mt-ps-btn-paypal:hover { border-color: rgba(0,156,222,0.9) !important; }
.mt-ps-btn-paypal .mt-ps-price strong { color:#bfe9ff; }
