/* ── Ana kart ── */
.og-purchase-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin: 24px 0;
}

/* ── Dekoratif halkalar ── */
.og-purchase-deco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.og-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(128, 128, 128, 0.09);
}

/* ── Header (tıklanabilir) ── */
.og-purchase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    user-select: none;
    position: relative;
    z-index: 1;
    transition: background 0.15s ease;
}

.og-purchase-header:hover {
    background: rgba(128, 128, 128, 0.04);
}

.og-purchase-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.og-purchase-count {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

/* ── Chevron ── */
.og-purchase-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
    color: #888;
}

.og-purchase-card.open .og-purchase-chevron {
    transform: rotate(180deg);
}

/* ── Açılır-kapanır gövde ── */
.og-purchase-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.og-purchase-card.open .og-purchase-body {
    max-height: 600px;
}

.og-purchase-inner {
    padding: 0 20px 16px;
    position: relative;
    z-index: 1;
}

/* ── Platform satırı ── */
.og-store-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.og-store-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Kısa kod ikonu */
.og-store-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    flex-shrink: 0;
}

/* Logo görseli (varsa) */
.og-store-icon-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: #ffffff;
    padding: 2px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

[data-bs-theme="dark"] .og-store-icon-img,
[data-theme="dark"] .og-store-icon-img {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    padding: 3px;
}

.og-store-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    display: flex;
    align-items: center;
}

.og-store-price {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* Affiliate badge */
.og-store-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    font-weight: 500;
}

/* ── Butonlar ── */
.og-buy-btn {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: opacity 0.15s ease;
    white-space: nowrap;
}

.og-buy-btn:hover {
    opacity: 0.85;
}

.og-buy-btn--primary {
    background: #1b2838;
    color: #ffffff;
}

.og-buy-btn--outline {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #1a1a1a;
}

/* ── Alt açıklama ── */
.og-purchase-hint {
    font-size: 11px;
    color: #999;
    margin: 12px 0 0;
    line-height: 1.6;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 12px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .og-purchase-header {
        padding: 12px 16px;
    }

    .og-purchase-inner {
        padding: 0 16px 14px;
    }

    .og-purchase-title {
        font-size: 14px;
    }

    .og-store-icon,
    .og-store-icon-img {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .og-store-name {
        font-size: 13px;
    }

    .og-buy-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ── OG Koyu Tema Uyumu ── */
[data-bs-theme="dark"] .og-purchase-card,
[data-theme="dark"] .og-purchase-card {
    background: rgba(30, 33, 37, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .og-purchase-header:hover,
[data-theme="dark"] .og-purchase-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .og-purchase-title, 
[data-bs-theme="dark"] .og-store-name,
[data-theme="dark"] .og-purchase-title,
[data-theme="dark"] .og-store-name { 
    color: #f1f1f1; 
}

[data-bs-theme="dark"] .og-store-row,
[data-theme="dark"] .og-store-row { 
    border-top-color: rgba(255, 255, 255, 0.06); 
}

[data-bs-theme="dark"] .og-buy-btn--outline,
[data-theme="dark"] .og-buy-btn--outline {
    border-color: rgba(255, 255, 255, 0.15);
    color: #f1f1f1;
    background: rgba(255, 255, 255, 0.02);
}

[data-bs-theme="dark"] .og-buy-btn--primary,
[data-theme="dark"] .og-buy-btn--primary {
    background: linear-gradient(135deg, #1b2838 0%, #2a3d54 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .og-purchase-hint,
[data-theme="dark"] .og-purchase-hint { 
    color: #999; 
    border-top-color: rgba(255, 255, 255, 0.06); 
}

[data-bs-theme="dark"] .og-ring,
[data-theme="dark"] .og-ring { 
    border-color: rgba(255, 255, 255, 0.03); 
}
