/* Vitrin Ürün Kartlarını Küçültme, Hizalama ve Düzeltme */

/* Liste konteynerinin taşmasını engelle ve hizala */
.list-products-5 {
    margin: 0 !important;
    width: 100% !important;
    justify-content: center;
}

/* Kartların dış çerçeveleri */
.list-products-5 .card-grid-style-3 {
    padding: 2px !important;
    margin-bottom: 4px !important;
}

/* Kartın içi */
.card-grid-style-3 .card-grid-inner {
    padding: 4px !important;
    border-radius: 4px !important;
    display: flex;
    flex-direction: column;
    align-items: center; /* Flex öğelerini ortalar */
    text-align: center; /* Metinleri ortalar */
}

/* Resim kutusu */
.card-grid-style-3 .card-grid-inner .image-box {
    height: 133px !important;
    line-height: 0 !important;
    margin-bottom: 4px !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-grid-style-3 .card-grid-inner .image-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.card-grid-style-3 .card-grid-inner .image-box img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    object-position: center;
    display: block;
    align-self: center;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    padding: 0;
    margin: 0 auto;
}

/* Tab/content icindeki kartlarda box-content override'ini gecersiz kil */
.tab-content .card-grid-style-3 .card-grid-inner .image-box,
.box-content .card-grid-style-3 .card-grid-inner .image-box {
    height: 133px !important;
    line-height: 0 !important;
    overflow: hidden;
}

.tab-content .card-grid-style-3 .card-grid-inner .image-box a,
.box-content .card-grid-style-3 .card-grid-inner .image-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tab-content .card-grid-style-3 .card-grid-inner .image-box img,
.box-content .card-grid-style-3 .card-grid-inner .image-box img {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Bilgi alanı */
.card-grid-style-3 .card-grid-inner .info-right {
    width: 100%;
    text-align: center !important;
    padding: 0 !important;
}

/* Şirket adı */
.card-grid-style-3 .card-grid-inner .info-right a.font-xs.color-gray-500 {
    display: none !important;
}

/* Ürün başlığı */
.card-grid-style-3 .card-grid-inner .info-right a.color-brand-3.font-sm-bold {
    font-size: 13px !important;
    line-height: 16px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 32px;
    margin: 0 auto; /* Ortalar */
}

/* Fiyat */
.card-grid-style-3 .card-grid-inner .price-info {
    margin-top: 1px !important;
    width: 100%;
    text-align: center;
}

.card-grid-style-3 .card-grid-inner .price-info .price-main {
    font-size: 15px !important;
    margin-right: 0 !important;
    display: inline-block;
}

/* Araçlar (Butonlar) */
.card-grid-style-3 .card-grid-inner .tools {
    top: 4px !important;
    right: 4px !important;
}

.btn.btn-wishlist, .btn.btn-compare, .btn.btn-quickview, .btn.btn-trend {
    width: 18px !important;
    height: 18px !important;
    background-size: 9px !important;
}

/* Topbar orta alanini daha belirgin ve ortali yap */
.topbar .info-topbar {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

.topbar .info-topbar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 0;
}

/* Topbar container hizalama */
.topbar .container-topbar {
    align-items: center;
}

/* Topbar sol linkleri daha belirgin yap */
.topbar .menu-topbar-left .nav-small {
    display: inline-flex;
    gap: 6px;
}

.topbar .menu-topbar-left .nav-small li a {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background: transparent;
    font-size: 14px !important;
    line-height: 16px !important;
    text-decoration: none;
}

.topbar .menu-topbar-left .nav-small li:last-child a {
    border-right: 0;
}

.topbar .menu-topbar-left .nav-small li a:hover {
    background: transparent;
    text-decoration: underline;
}

.topbar .menu-topbar-left .nav-small li a::before {
    display: none !important;
}

/* --- Sanal Mağaza CSS Başlangıç --- */
.alisveris-wizard { margin-bottom: 30px; }
.alisverisadimlari { list-style: none; padding: 0; margin: 0 0 40px 0; display: flex; border-bottom: 2px solid #eee; }
.alisverisadimlari li { flex: 1; padding: 15px; text-align: center; color: #999; font-weight: 600; position: relative; }
.alisverisadimlari li.active { color: #0d6efd; border-bottom: 3px solid #0d6efd; margin-bottom: -3px; }

.pricing-container { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.pricing-col { width: 33.33%; padding: 0 15px; box-sizing: border-box; }
@media(max-width: 768px) { .pricing-col { width: 100%; margin-bottom: 30px; } }

.pricing-wrap { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.05); transition: transform 0.3s; height: 100%; display: flex; flex-direction: column; }
.pricing-inner { flex: 1; display: flex; flex-direction: column; width: 100%; }
.pricing-wrap:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.pricing-title { background: #f8f9fa; padding: 20px; text-align: center; border-bottom: 1px solid #eee; }
.pricing-title h4 { margin: 0; font-size: 18px; color: #333; font-weight: bold; }
.pricing-title span { display: block; font-size: 13px; color: #888; font-weight: normal; margin-top: 5px; }
.pricing-price { padding: 30px 0; text-align: center; color: #0d6efd; }
.pricing-price h3 { font-size: 36px; margin: 0; font-weight: 800; }
.pricing-price del { display: block; color: #bbb; font-size: 16px; margin-bottom: 5px; }
.pricing-features { flex: 1; }
.pricing-features ul { list-style: none; padding: 0 20px 20px; margin: 0; }
.pricing-features li { padding: 10px 0; border-bottom: 1px dashed #eee; font-size: 14px; color: #666; }
.pricing-features li i { color: #28a745; margin-right: 8px; }
.pricing-action { padding: 20px; text-align: center; background: #f8f9fa; border-top: 1px solid #eee; }
.newbtn { display: inline-block; padding: 10px 30px; border-radius: 5px; text-decoration: none; font-weight: 600; }
.newbtn-info { background: #0dcaf0; color: #white; }
.newbtn-info:hover { background: #0bb5d8; color: white; }
.newbtn-warning { background: #ffc107; color: #000; }
.newbtn-warning:hover { background: #e0a800; color: #000; }
.newbtn-danger { background: #dc3545; color: #fff; }
.newbtn-danger:hover { background: #c82333; color: #fff; }
/* --- Sanal Mağaza CSS Bitiş --- */

/* Hero reklam hizalama */
.banner-hero.banner-1.pt-10 .banner-ads-item.banner-big-3 {
    padding: 0;
}

.banner-hero.banner-1.pt-10 {
    margin-top: 15px;
}

.hero-side-banner {
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
}

.hero-side-banner .banner-ads-item {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-side-banner.mh-307 .banner-ads-item {
    min-height: 307px;
}
