/* ============================================================
   ELDEN TAKSİT PRO V11.2 - PREMIUM PRODUCT DETAIL UI
   Sepet/checkout işleyişi korunur. Tasarım sadece shortcode alanını güzelleştirir.
   ============================================================ */

.elden-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    clear: both;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(249,115,22,.13), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 22px;
    padding: 26px;
    margin: 26px 0;
    box-sizing: border-box;
    font-family: inherit;
    border: 1px solid #e9eef6;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.elden-wrapper::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #b90000, #f97316, #f59e0b);
}

.elden-headline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.elden-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 7px;
}

.elden-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f97316;
    box-shadow: 0 0 0 5px rgba(249,115,22,.12);
}

.elden-headline h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    color: #101827;
}

.elden-mini-note {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.elden-top-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.method-card {
    background: rgba(255,255,255,.9);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
    transition: all .22s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    min-height: 104px;
    box-shadow: 0 8px 24px rgba(15,23,42,.04);
}

.method-card .m-title {
    font-size: 14px;
    color: #64748b;
    font-weight: 700;
}

.method-card .m-price {
    font-size: 21px;
    font-weight: 900;
    color: #111827;
}

.method-card:hover {
    border-color: #f97316;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15,23,42,.08);
}

.method-card.active {
    background: linear-gradient(135deg, #b90000 0%, #f97316 100%);
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(185,0,0,.20), 0 8px 18px rgba(249,115,22,.18);
}

.method-card.active .m-title,
.method-card.active .m-price {
    color: #ffffff;
}

.elden-divider {
    text-align: center;
    margin: 27px 0 22px;
    position: relative;
    z-index: 1;
}

.elden-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0 18%, #e2e8f0 82%, transparent);
    z-index: -1;
}

.elden-divider span {
    background: #f8fafc;
    padding: 0 18px;
    color: #ea580c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .7px;
}

.elden-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.elden-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 16px 17px;
    cursor: pointer;
    transition: all .22s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 9px;
    position: relative;
    min-height: 132px;
    box-shadow: 0 9px 26px rgba(15,23,42,.045);
}

.elden-card:hover {
    border-color: #fb923c;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15,23,42,.09);
}

.elden-card.active {
    border-color: #f97316;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    box-shadow: 0 18px 38px rgba(249,115,22,.16);
}

.ec-check {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 900;
    transition: all .22s ease;
}

.elden-card.active .ec-check {
    background: #f97316;
    color: #fff;
}

.ec-month-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 900;
}

.elden-card.active .ec-month-badge {
    background: #ffedd5;
    color: #c2410c;
    border-color: #fed7aa;
}

.ec-monthly {
    color: #64748b;
    font-weight: 700;
    line-height: 1.25;
}

.ec-monthly strong {
    display: block;
    font-size: 25px;
    letter-spacing: -.3px;
    color: #0f172a;
}

.ec-monthly span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: #64748b;
}

.elden-card.active .ec-monthly strong {
    color: #b90000;
}

.ec-total {
    width: 100%;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    font-size: 14px;
    font-weight: 800;
    color: #64748b;
}

.elden-card.active .ec-total {
    color: #0f172a;
}

@media (max-width: 768px) {
    .elden-wrapper { padding: 20px; border-radius: 18px; }
    .elden-headline { flex-direction: column; }
    .elden-mini-note { white-space: normal; }
    .elden-top-methods { grid-template-columns: 1fr; }
    .elden-options { grid-template-columns: 1fr; }
    .elden-headline h3 { font-size: 19px; }
}

/* ================= SEPET SAYFASI SHORTCODE ================= */
.elden-cart-wrap { margin: 30px 0; padding: 25px; background: #ffffff; border-radius: 16px; border: 1px solid #eee; border-left: 5px solid #f97316; }
.elden-cart-item-plan { margin-bottom: 25px; }
.elden-cart-item-plan:last-child { margin-bottom: 0; }
.elden-cart-item-plan h4 { font-size: 15px; font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.elden-cart-item-plan .dot { width: 8px; height: 8px; background: #f97316; border-radius: 50%; }
.elden-plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.plan-row { background: #f9fafb; padding: 12px 14px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #f0f0f0; font-size: 13px; }
.plan-row span { color: #666; }
.plan-row strong { color: #f97316; font-weight: 700; }
