/* ThrakiKo - Geri Sayım Timer Stilleri */

/* Geri sayım timer'ı stilleri - Küçük versiyon (eski) */
.countdown-timer-small {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 4px !important;
    padding: 2px 6px !important;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    border-radius: 3px !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    position: relative !important;
}

.countdown-timer-small i {
    font-size: 10px !important;
    margin-right: 2px !important;
}

.countdown-time-small {
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 1px 3px !important;
    border-radius: 2px !important;
    font-size: 10px !important;
}

/* Geri sayım timer'ı - Full width versiyon */
.countdown-timer-full {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 8px 12px !important;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.countdown-time-full {
    font-family: 'Courier New', monospace !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 2px 8px !important;
    font-size: 14px !important;
}

/* Ürün kartı için timer pozisyonu */
.product-item .item-meta .countdown-timer-small {
    margin-top: 3px !important;
    display: block !important;
    width: fit-content !important;
}

.product-item-horizontal .item-meta .countdown-timer-small {
    margin-top: 3px !important;
    display: inline-block !important;
    margin-left: 5px !important;
}

/* Ürün kartı için full timer pozisyonu */
.product-item .row-custom:first-child {
    position: relative !important;
}

.product-item .countdown-timer-full {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* İndirim Badge Düzeltmeleri */
.product-item .badge-discount {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 15 !important;
    background-color: #fe2e3e !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Promoted Badge ile Discount Badge çakışmasını önleme */
.product-item .badge-promoted {
    position: absolute !important;
    top: 40px !important;
    left: 10px !important;
    z-index: 14 !important;
}

/* Timer ile Badge çakışmasını önleme */
.product-item .countdown-timer-full {
    z-index: 12 !important;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .countdown-timer-small {
        font-size: 10px !important;
        padding: 1px 4px !important;
    }
    
    .countdown-time-small {
        font-size: 9px !important;
    }
    
    .countdown-timer-small i {
        font-size: 8px !important;
    }
    
    .product-item .badge-discount {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
}

/* Product Item Details - Beyaz Alan Padding ve Shadow */
.product-item .item-details {
    padding: 12px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Deals Sayfası Kategori Sidebar Stilleri */
.deals-page .filter-list-categories li a.active {
    background-color: #ff6b35 !important;
    color: white !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
}

.deals-page .filter-list-categories li a:hover {
    background-color: #f8f9fa !important;
    color: #ff6b35 !important;
    border-radius: 5px !important;
}

.deals-page .category-count {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.deals-page .filter-list-categories li a:hover .category-count {
    color: #ff6b35 !important;
}

.deals-page .filter-item .title {
    color: #333 !important;
    font-weight: bold !important;
    border-bottom: 2px solid #ff6b35 !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
}

/* Store Avatar Image Stilleri */
.store-icon-circle .store-avatar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.store-icon-circle {
    position: relative !important;
    overflow: hidden !important;
}

.store-container:hover .store-icon-circle .store-avatar-img {
    transform: scale(1.05) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Live Deals Grid Düzeltmeleri - 5 Ürün için */
.deals-gradient-header + .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

.deals-gradient-header + .row > .col-6.col-md-3 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
}

/* Responsive düzenleme - Mobilde 2 sütun */
@media (max-width: 767.98px) {
    .deals-gradient-header + .row > .col-6.col-md-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Tablet düzenleme - 3 sütun */
@media (min-width: 768px) and (max-width: 991.98px) {
    .deals-gradient-header + .row > .col-6.col-md-3 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Desktop - 5 sütun */
@media (min-width: 992px) {
    .deals-gradient-header + .row > .col-6.col-md-3 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
} 

/* Dashboard Scheduled Discounts Stilleri */
.scheduled-discounts-info {
    min-width: 120px !important;
}

.scheduled-discounts-info .badge {
    font-size: 10px !important;
    padding: 3px 6px !important;
    margin-right: 3px !important;
    margin-bottom: 2px !important;
    display: inline-block !important;
}

.scheduled-discounts-info .countdown-timer {
    margin-top: 3px !important;
}

.scheduled-discounts-info .countdown-display {
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    color: inherit !important;
}

.scheduled-discounts-info small {
    font-size: 9px !important;
    line-height: 1.2 !important;
}

/* Dashboard table responsive */
.table-products td.white-space-nowrap {
    white-space: nowrap !important;
    min-width: 140px !important;
}

/* Badge colors */
.badge-info {
    background-color: #17a2b8 !important;
    color: white !important;
}

.badge-success {
    background-color: #28a745 !important;
    color: white !important;
}

.badge-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge-primary {
    background-color: #007bff !important;
    color: white !important;
}

/* Countdown timer states */
.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-primary {
    color: #007bff !important;
}

/* Dashboard table improvements */
.table-products {
    font-size: 12px !important;
}

.table-products th,
.table-products td {
    vertical-align: middle !important;
    padding: 8px !important;
}

.scheduled-discounts-info > div {
    margin-bottom: 2px !important;
}

.scheduled-discounts-info > div:last-child {
    margin-bottom: 0 !important;
}

/* Ana Sayfa Hizmet Veren Ürünlerinin Görsel Yüksekliği */
/* Hizmet Verenler bölümündeki ürün görsellerini hedefle */
.mb-5:last-of-type .ratio-product-box {
    height: 250px !important;
    --bs-aspect-ratio: none !important;
}

.mb-5:last-of-type .ratio-product-box .img-product {
    height: 250px !important;
    object-fit: cover !important;
    width: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
} 