const hedefElement = document.querySelector('.ticiTopBlockContent');
if (!hedefElement) {
console.error("Hedef element bulunamadı!");
return;
}
const styleElement = document.createElement('style');
styleElement.textContent = `
.fiyatSepetMdl { bottom: 0; position: fixed; left: 0; right: 0; background: white; height: 46px; z-index: 99; color: transparent; }
.basketBtn { bottom: 0; width: 45%; position: fixed; z-index: 999; right: 0; padding: 0 3px 3px 0; }
.UFavorilerimeEkle { height: 40px; position: fixed; bottom: 0; right: 0; z-index: 123123123; width: 5%; margin: 0 1px 3px 0; border: none; }
.UFavorilerimeEkle .box1 i { color: #620162; }
input.Addtobasket.button.btnAddBasketOnDetail { border-radius: 12px; background: #ff193b; }
.spanFiyat {
position: fixed;
bottom: 0;
left: 0;
z-index: 555;
width: 54%;
border-radius: 12px;
align-items: center;
display: flex;
margin: 0 0 3px 2px;
height: 40px;
padding: 0;
justify-content: center;
font-size: 18px;
border: none;
color: #fff;
background: #ff6000;
}
#pnlFiyatlar { display: none; }
.spanFiyat span { font-size: 9px; font-family: Jost; margin-right: 10px; color: white; }
.IlgiliUrun { margin: 0 auto; text-align: center; }
#divUrunKodu { margin-top: 0px; }
.ProductName h1 span { margin-top: 10px; text-align: center; font-size: 16px; font-family: Jost; margin-left: 10px; }
#divUrunEkSecenek .eksecenekLine.kutuluvaryasyon .right_line .size_box.selected { border-color: white; }
.RightDetail { padding: 0; }
.PriceList { margin: 0; padding: 0; }
.productItem { padding: 0; padding-bottom: 0 !important; }
.RightDetail .MiddleList { text-align: center; }
#divTaksitAciklama .taksitSatir { width: 100%; text-align: center; font-weight: 600; margin: 0 0 5px 0; color: #ff6000; }
#divUrunKodu { display: flex; flex-direction: row-reverse; justify-content: center; }
.UFavorilerimeEkle .box1 i:before { display: none; }
.RightDetail .riSingle, .ProductIcon, #divIndirimOrani, .RightDetail .BottomList, .fa-whatsapp:before, .productYeInUcFi, body ul.breadcrumb li:nth-last-of-type(1) { display: none; }
.categoryTitleText ul.breadcrumb { display: none !important; }
div#divIndirimliFiyat { display: block; }
.wa_btn { color: #4e3f3f; }
.Basketinp, #divIndirimOrani { display: none !important; }
.spanFiyat { color: white !important; }
.spanFiyat span { font-size: 10px !important; }
.basketBtn { bottom: 0 !important; width: 45% !important; position: fixed !important; z-index: 999 !important; right: 0 !important; padding: 0 3px 3px 0 !important; }
.spanFiyat { font-size: 13px !important; }
.spanFiyat span { font-size: 12px !important; color: white !important; }
#pnlFiyatlar { display: none !important; }
.UFavorilerimeEkle { display: none !important; }
`;
document.head.appendChild(styleElement);
const anaDiv = document.createElement('div');
anaDiv.className = 'Block_item OzelBlokIcerik';
const icDiv = document.createElement('div');
icDiv.className = 'Block_Text';
const fiyatSepetMdlDiv = document.createElement('div');
fiyatSepetMdlDiv.className = 'fiyatSepetMdl';
fiyatSepetMdlDiv.textContent = 'a';
const spanFiyatDiv = document.createElement('div');
spanFiyatDiv.className = 'spanFiyat';
const fiyatSpan = document.createElement('span');
fiyatSpan.textContent = "Fiyat: "; // Örnek span içeriği
spanFiyatDiv.appendChild(fiyatSpan);
icDiv.appendChild(fiyatSepetMdlDiv);
icDiv.appendChild(spanFiyatDiv);
const altDiv = document.createElement('div');
altDiv.className = 'Block_Alt';
anaDiv.appendChild(icDiv);
anaDiv.appendChild(altDiv);
hedefElement.appendChild(anaDiv);