/*
Theme Name: 29lira
Theme URI: https://29lira.com
Author: Gokhan Caliskan - www.gokhancaliskan.com
Description: Shopier entegrasyonlu, SEO uyumlu, mobil dostu ve hizli dijital market temasi.
Version: 2.0.0
*/

:root {
    --bg-main: #f8fafc;
    --header-bg: #ffffff;
    --footer-bg: #0f172a;
    --brand: #4f46e5;
    --accent: #1e293b;
    --success: #10b981;
    --border: #e2e8f0;
    --text-main: #334155;
    --star: #fbbf24;
    --danger: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-main); }

/* --- HEADER --- */
header { background: var(--header-bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.top-banner { background: var(--accent); color: #fff; padding: 8px 5%; font-size: 0.7rem; display: flex; justify-content: space-between; font-weight: 600; letter-spacing: 0.5px; }
.main-nav { height: 90px; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; max-width: 1500px; margin: 0 auto; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--brand); }
.search-bar { flex: 1; max-width: 500px; margin: 0 40px; position: relative; }
.search-bar input { width: 100%; padding: 12px 15px 12px 45px; border-radius: 12px; border: 1px solid var(--border); background: #f1f5f9; outline: none; transition: 0.3s; }
.search-bar input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }
.search-bar i { position: absolute; left: 18px; top: 15px; color: #94a3b8; }
.verified-badge { display: flex; align-items: center; gap: 12px; padding: 10px 15px; border: 1px dashed var(--success); border-radius: 12px; background: #f0fdf4; }
.verified-badge i { color: var(--success); font-size: 1.5rem; }

/* --- LAYOUT --- */
.wrapper { display: flex; max-width: 1500px; margin: 0 auto; }
aside { width: 280px; padding: 30px 20px; background: #fff; border-right: 1px solid var(--border); min-height: 90vh; }
main { flex: 1; padding: 40px; }
.aside-title { font-size: 0.7rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; margin: 20px 0 10px; padding-left: 5px; }
.nav-btn { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.85rem; color: var(--text-main); margin-bottom: 4px; transition: 0.2s; text-decoration: none; }
.nav-btn:hover { background: #f1f5f9; color: var(--brand); }
.nav-btn.active { background: var(--brand); color: #fff; }

/* --- TRUST GRID --- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.trust-item { background: #fff; padding: 20px; border-radius: 15px; border: 1px solid var(--border); display: flex; align-items: center; gap: 15px; }
.trust-item i { font-size: 1.5rem; color: var(--brand); background: #f0f4ff; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.trust-item b { display: block; font-size: 0.9rem; }
.trust-item span { font-size: 0.75rem; color: #64748b; }

/* --- CARDS & BADGES --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.card { background: #fff; border-radius: 20px; border: 1px solid var(--border); overflow: hidden; transition: 0.3s; position: relative; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 30px rgba(0,0,0,0.05); }
.card-img { height: 180px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.instant-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-size: 0.75rem; font-weight: 700; margin-bottom: 10px; background: #f0fdf4; padding: 4px 10px; border-radius: 6px; }
.card-body { padding: 20px; flex-grow: 1; }
.card-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; height: 2.8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--accent); text-decoration: none; transition: 0.2s; }
.card-title a:hover { color: var(--brand); }
.rating-box { display: flex; align-items: center; gap: 5px; }
.rating-box i { color: #e2e8f0; font-size: 0.75rem; }
.rating-box i.active { color: var(--star); }
.card-footer { padding: 15px 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: #fafafa; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.buy-btn { background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 0.85rem; transition: 0.2s; }
.buy-btn:hover { background: var(--brand); }

/* --- FOOTER --- */
footer { background: var(--footer-bg); color: #fff; padding: 60px 5% 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; max-width: 1500px; margin: 0 auto; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 30px; text-align: center; }
.payment-methods { display: flex; gap: 15px; justify-content: center; margin-top: 20px; font-size: 1.8rem; color: #475569; }

/* --- WHATSAPP --- */
.wp-container { position: fixed; bottom: 30px; right: 30px; z-index: 2000; }
.wp-btn { width: 65px; height: 65px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); cursor: pointer; text-decoration: none; transition: 0.3s; }
.wp-btn:hover { transform: scale(1.1); }

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 1024px) {
    .wrapper { flex-direction: column; }
    aside { width: 100%; border-right: none; border-bottom: 1px solid var(--border); min-height: auto; display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 5%; }
    .aside-title { width: 100%; }
    .nav-btn { flex: 1 1 calc(50% - 10px); justify-content: center; margin-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .main-nav { flex-wrap: wrap; height: auto; padding: 15px 5%; gap: 15px; justify-content: center; }
    .search-bar { margin: 0; max-width: 100%; order: 3; width: 100%; }
    .verified-badge { display: none; }
    .top-banner { flex-direction: column; text-align: center; gap: 5px; padding: 10px 5%; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .trust-item { flex-direction: column; text-align: center; padding: 15px; }
    .grid { grid-template-columns: 1fr; } 
    .nav-btn { flex: 1 1 100%; justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .payment-methods { justify-content: center; }
    main { padding: 20px 5%; }
}

/* --- BREADCRUMB & NAV --- */
.breadcrumb { font-size: 0.85rem; margin-bottom: 25px; color: #94a3b8; font-weight:500; }
.breadcrumb a { color: var(--brand); text-decoration: none; }
.breadcrumb span { margin: 0 10px; color: #cbd5e1; }
.product-nav { display: flex; justify-content: space-between; margin-bottom: 25px; }
.product-nav a { font-size: 0.9rem; color: var(--text-main); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: 0.2s; background:#fff; padding:8px 15px; border-radius:8px; border:1px solid var(--border); }
.product-nav a:hover { color: var(--brand); border-color:var(--brand); }

/* --- WIDGET (BİLEŞEN) ALANI --- */
.widget-box { background: #f8fafc; padding: 20px; border-radius: 12px; margin-bottom: 20px; border: 1px solid var(--border); }
.widget-box img { max-width: 100%; border-radius: 8px; }

/* --- SLIDER STİLLERİ --- */
.similar-products-section { margin-top: 60px; padding-top: 50px; border-top: 2px dashed var(--border); }
.section-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 30px; display: flex; align-items: center; justify-content: space-between; color: var(--accent); }
.swiper { width: 100%; padding-bottom: 20px !important; }
.swiper-button-next, .swiper-button-prev { color: var(--brand) !important; background: #fff; width: 45px !important; height: 45px !important; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition:0.3s; }
.swiper-button-next:hover, .swiper-button-prev:hover { background:var(--brand); color:#fff !important; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 16px !important; font-weight: 900; }

/* --- YENİ SOL ÜST KURDELE (RİBBON) --- */
.promo-badge {
    position: absolute;
    top: 20px;
    left: 0;
    background: #ef4444; /* E-ticaret kırmızısı */
    color: #ffffff;
    padding: 6px 25px 6px 15px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    /* Sağ ucu içe doğru kesen kurdele efekti */
    clip-path: polygon(0% 0%, 100% 0%, 85% 50%, 100% 100%, 0% 100%);
}

/* PROFESYONEL FOOTER STİLLERİ */
.site-footer {
    background: #0f172a;
    color: #f1f5f9;
    padding: 80px 0 0 0;
    margin-top: 100px;
    border-top: 4px solid var(--brand);
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 0 5% 60px 5%;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--brand);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.footer-logo span { color: var(--brand); }

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 25px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-col ul li a:hover { color: var(--brand); padding-left: 5px; }

.footer-support-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-support-item i {
    font-size: 1.5rem;
    color: var(--brand);
}

.footer-support-item span {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
}

.footer-support-item strong {
    font-size: 1rem;
    color: #fff;
}

.payment-icons {
    margin-top: 30px;
    font-size: 1.8rem;
    color: #475569;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom {
    background: #020617;
    padding: 25px 0;
    border-top: 1px solid #1e293b;
}

.footer-bottom-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); }

@media (max-width: 992px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom-container { flex-direction: column; gap: 15px; text-align: center; }
}

/* PROFESYONEL PRODUCT PAGE STİLLERİ */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.gallery-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.main-product-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.product-features-mini {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.f-item {
    flex: 1;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.f-item i { color: var(--brand); display: block; margin-bottom: 5px; font-size: 1.1rem; }

.product-info-panel { padding: 10px 0; }

.category-tag {
    background: #f1f5f9;
    color: var(--brand);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-rating { margin: 15px 0; color: #fbbf24; font-size: 0.85rem; }
.product-rating span { color: #94a3b8; margin-left: 10px; font-weight: 500; }

.product-info-panel h1 {
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1.2;
    margin-bottom: 25px;
}

.price-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--brand);
    margin-bottom: 30px;
}

.price-wrapper { display: flex; align-items: baseline; gap: 15px; margin-bottom: 10px; }
.old-price { text-decoration: line-through; color: #94a3b8; font-size: 1.2rem; font-weight: 600; }
.current-price { color: var(--accent); font-size: 2.5rem; font-weight: 800; }

.stock-status { font-size: 0.85rem; color: var(--success); font-weight: 600; display: flex; align-items: center; gap: 8px; }

.premium-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    padding: 22px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 800;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.premium-buy-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3); color: #fff; }

.payment-note { text-align: center; font-size: 0.75rem; color: #94a3b8; margin-top: 15px; }

.guarantee-box { margin-top: 30px; border-top: 1px solid var(--border); padding-top: 20px; }
.g-item { display: flex; gap: 15px; color: #64748b; font-size: 0.85rem; line-height: 1.6; }
.g-item i { color: var(--brand); font-size: 1.2rem; }

.product-description-section { margin-top: 40px; background: #fff; border-radius: 20px; border: 1px solid var(--border); overflow: hidden; }
.tab-header { background: #f8fafc; padding: 20px 30px; font-weight: 800; color: var(--accent); border-bottom: 1px solid var(--border); }
.tab-content { padding: 40px; line-height: 1.8; color: #475569; }

@media (max-width: 992px) {
    .product-detail-container { grid-template-columns: 1fr; }
}

/* SOSYAL MEDYA İKONLARI PROFESYONEL TASARIM */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #1e293b; /* Koyu arka plan */
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Tam yuvarlak */
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #334155;
}

/* Üzerine gelince (Hover) Efektleri */
.social-icon:hover {
    transform: translateY(-5px); /* Hafif yukarı zıplama */
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Her markanın kendi kurumsal rengi */
.social-icon.instagram:hover { background: #E1306C; border-color: #E1306C; }
.social-icon.youtube:hover { background: #FF0000; border-color: #FF0000; }
.social-icon.whatsapp:hover { background: #25D366; border-color: #25D366; }

/* Mobil Düzenleme */
@media (max-width: 576px) {
    .footer-socials { justify-content: center; }
}

/* PROFESYONEL ONAY ROZETİ */
.verified-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0fdf4; /* Çok hafif yeşil arka plan */
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    transition: 0.3s;
}

.verified-badge:hover {
    background: #dcfce7;
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1.8rem;
    color: #10b981; /* Canlı yeşil */
    display: flex;
    align-items: center;
}

.badge-status {
    color: #065f46;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-status i {
    font-size: 0.7rem;
    color: #059669;
}

.badge-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.badge-stats .stars {
    color: #f59e0b; /* Altın sarısı */
    font-weight: 700;
    font-size: 0.7rem;
}

.badge-stats .sep {
    color: #d1d5db;
}

.badge-stats .secure {
    color: #059669;
    font-size: 0.7rem;
    font-weight: 600;
}

/* YENİ NESİL GÜVEN ROZETLERİ */
.secure-checkout-box {
    background: #ffffff;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    margin-top: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.secure-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 0.5px;
}

.secure-title i {
    color: #10b981;
    margin-right: 5px;
}

.trust-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.trust-icons-row img {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.trust-icons-row .shopier-logo {
    height: 22px;
}

.ssl-badge {
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-footer-text {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.trust-footer-text .sep {
    color: #e2e8f0;
}

.trust-footer-text i {
    color: #10b981;
    margin-right: 3px;
}

/* SAF & HIZLI SIDEBAR */
#categorySidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 15px;
    width: 100%;
    max-width: 270px;
    display: flex;
    flex-direction: column;
    gap: 4px; /* Butonlar arası simetrik boşluk */
}

/* BUTONLARIN JİLET GİBİ DİZİLİMİ */
.nav-btn {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease;
    border: 1px solid transparent;
}

/* Çarpıklığı Önleyen Sabit İkon Genişliği */
.btn-icon {
    font-size: 0.95rem;
    color: #64748b;
    width: 24px; /* Tüm ikonların yerini eşitler, yazılar cetvelle çizilmiş gibi durur */
    text-align: left;
}

.btn-text {
    flex: 1;
}

/* HOVER (ÜZERİNE GELİNDİĞİNDE) */
.nav-btn:hover {
    background: #f8fafc;
    color: #0f172a;
}

.nav-btn:hover .btn-icon {
    color: #0f172a;
}

/* AKTİF (SEÇİLİ) KATEGORİ */
.nav-btn.active {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
}

.nav-btn.active .btn-icon {
    color: #10b981; /* Seçili kategorinin ikonu tatlı bir yeşil parlar */
}