/* Tek kaynak: <html> ve <body> ustundeki currency sinifi. */
.currency { display: none !important; }

html.currency-tl .currency.tl,
body.currency-tl .currency.tl { display: inline !important; }
html.currency-tl div.currency.tl,
body.currency-tl div.currency.tl { display: block !important; }
html.currency-tl .currency.tl[class*="price"],
body.currency-tl .currency.tl[class*="price"],
html.currency-tl .currency.tl.hosting-page-card-price,
body.currency-tl .currency.tl.hosting-page-card-price { display: flex !important; }

html.currency-usd .currency.usd,
body.currency-usd .currency.usd { display: inline !important; }
html.currency-usd div.currency.usd,
body.currency-usd div.currency.usd { display: block !important; }
html.currency-usd .currency.usd[class*="price"],
body.currency-usd .currency.usd[class*="price"],
html.currency-usd .currency.usd.hosting-page-card-price,
body.currency-usd .currency.usd.hosting-page-card-price { display: flex !important; }

/* Diger birimlerin gorunmesini kesinlikle onle */
html.currency-usd .currency.tl,
body.currency-usd .currency.tl,
html.currency-usd div.currency.tl,
body.currency-usd div.currency.tl { display: none !important; }

html.currency-tl .currency.usd,
body.currency-tl .currency.usd,
html.currency-tl div.currency.usd,
body.currency-tl div.currency.usd { display: none !important; }

/* JS calismazsa ve sinif henuz eklenmemisse varsayilan TL */
html:not(.currency-tl):not(.currency-usd) body:not(.currency-tl):not(.currency-usd) .currency.tl { display: inline !important; }
html:not(.currency-tl):not(.currency-usd) body:not(.currency-tl):not(.currency-usd) div.currency.tl { display: block !important; }
html:not(.currency-tl):not(.currency-usd) body:not(.currency-tl):not(.currency-usd) .currency.tl[class*="price"],
html:not(.currency-tl):not(.currency-usd) body:not(.currency-tl):not(.currency-usd) .currency.tl.hosting-page-card-price { display: flex !important; }
html:not(.currency-tl):not(.currency-usd) body:not(.currency-tl):not(.currency-usd) .currency.usd { display: none !important; }

/* Etiket dogru degeri alana kadar gizli kalsin (TL yazip sonra degismesin).
   JS kapaliysa html'de currency sinifi olmaz, etiket zaten gorunur kalir. */
html[class*="currency-"]:not(.currency-ready) .currency-toggle-btn .currency-label { visibility: hidden; }

.currency-toggle-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    transition: background 0.2s;
    user-select: none;
    min-height: 32px;
}
.currency-toggle-btn:hover {
    background: rgba(255,255,255,0.22);
}
.currency-toggle-btn .currency-label {
    letter-spacing: 0.5px;
}
