/* Blog Detay Sayfası Özel Stilleri */

/* =============================================================================
   THUMBNAIL GRID
   ============================================================================= */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 15px;
    max-height: none;
    overflow-y: visible;
}

.thumbnail-grid .product-thumbnail {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-grid .product-thumbnail:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.thumbnail-grid .product-thumbnail.active {
    border-color: #764ba2;
    box-shadow: 0 0 10px rgba(118, 75, 162, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
	
	    .main-image {
        margin-top: 50px;
        margin-bottom: 20px;
    }
    
    
    .thumbnail-grid .product-thumbnail {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .thumbnail-grid .product-thumbnail {
        height: 45px;
    }
}



/* Inline stiller blog-detay.php'den taşındı */

/* Footer boşluğunu tamamen kaldır */


/* Ürün detayı ve benzer ürünler arası boşluk */
.product-detail-container {
    margin-bottom: 20px !important;
}

.our-courses {
    margin-top: 0px !important;
    padding-top: 10px !important;
}

/* Paylaşım butonları stilleri */
.rating-section .row {
    align-items: flex-start !important;
}

.share-buttons-small {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    margin-top: 10px !important;
}

.share-buttons-small .btn {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
}

.share-buttons-small .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

/* Bildirim stilleri */
.notification-toast {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    animation: slideIn 0.3s ease-out !important;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Kart yüksekliği ve boşluk düzenlemeleri */
.owl-courses-item .item {
    height: 320px !important;
    display: flex !important;
    flex-direction: column !important;
}

.owl-courses-item .item img {
    height: 180px !important;
    object-fit: cover !important;
}

.owl-courses-item .down-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 15px !important;
}

.owl-courses-item .down-content h4 {
    margin: 0 0 10px 0 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
}

.owl-courses-item .down-content .info {
    margin: 0 !important;
    padding: 0 !important;
}

.owl-courses-item .down-content .info ul {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 2px !important;
}

.owl-courses-item .down-content .info ul li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobil görünüm için product-meta */
@media (max-width: 768px) {
    .product-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
    }
    
    .product-meta .product-code,
    .product-meta .product-views,
    .product-meta .product-rating {
        flex: 1;
        min-width: 100px;
        text-align: center;
        margin: 0;
        padding: 5px;
        background: rgba(255,255,255,0.1);
        border-radius: 5px;
    }
    
    .product-meta .product-code a,
    .product-meta .product-views,
    .product-meta .product-rating {
        color: white !important;
        text-decoration: none !important;
        font-size: 0.8rem !important;
    }
}

/* Beyaz metinler */
.product-detail-container h3 {
    color: white !important;
}

.product-detail-container .product-views {
    color: white !important;
}

.product-detail-container .product-tags h4 {
    color: white !important;
}

.product-detail-container .product-description p {
    color: white !important;
}

.product-detail-container {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin: 100px 0 30px 0;
    overflow: hidden;
    padding: 30px;
    position: relative;
    z-index: 10;
}

/* Sadece container ve product-detail'i şeffaf yap */
.container {
    background: transparent !important;
}

.container .product-detail-container {
    background: transparent !important;
}

.product-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.product-header h2 {
    color: #333;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.product-header p {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.product-gallery {
    text-align: center;
}

.main-image {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-thumbnail:hover {
    transform: scale(1.1);
    border-color: #667eea;
}

.product-thumbnail.active {
    border-color: #667eea;
    transform: scale(1.1);
}

.product-info {
    padding: 20px 0;
}

.product-title-category h3 {
    color: #333;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-title-category p {
    margin: 0;
    font-size: 0.9rem;
}

.product-title-category p a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-title-category p a:hover {
    text-decoration: underline;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.product-meta span i {
    color: #667eea;
}

.product-description {
    margin-bottom: 30px;
}

.product-description h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-description p {
    color: #666;
    line-height: 1.6;
}

.product-tags {
    margin-bottom: 30px;
}

.product-tags h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.tag-badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

.rating-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.rating-section h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.rating-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.rating-star {
    color: #ddd;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-star:hover,
.rating-star.active {
    color: #ffd700;
}

.order-section {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.order-section h4 {
    color: #333;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.order-form .form-label {
    color: #555;
    font-weight: 500;
    margin-bottom: 5px;
}

.order-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    transition: border-color 0.3s ease;
}

.order-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.security-code-box {
    background: #667eea;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary {
    background: #667eea;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.alert {
    border-radius: 8px;
    border: none;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Footer boşluğunu tamamen kaldır */
.our-courses {
    padding-bottom: 0px !important;
    margin-bottom: 0 !important;
}

/* Ürün detayı ve benzer ürünler arası boşluk */
.product-detail-container {
    margin-bottom: 20px !important;
}

.our-courses {
    margin-top: 0px !important;
    padding-top: 10px !important;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .product-detail-container {
        padding: 20px;
        margin: 15px 0;
    }
    
    .product-header h2 {
        font-size: 2rem;
    }
    
    .product-header p {
        font-size: 1rem;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .security-code-box {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
    
    .thumbnail-container {
        justify-content: flex-start;
    }
    
    .product-thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* Owl Carousel Özelleştirmeleri */
.owl-courses-item .item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.owl-courses-item .item:hover {
    transform: translateY(-5px);
}

.owl-courses-item .item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.owl-courses-item .down-content {
    padding: 20px;
    background: white;
}

.owl-courses-item .down-content h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.owl-courses-item .down-content h4 a {
    color: inherit;
    text-decoration: none;
}

.owl-courses-item .down-content h4 a:hover {
    color: #667eea;
}

.owl-courses-item .info {
    margin-top: 10px;
}

.owl-courses-item .info ul {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin: 0;
}

.owl-courses-item .info ul li {
    color: #ffd700;
    font-size: 14px;
}

.owl-courses-item .info .row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 5px;
}

.owl-courses-item .info .col-8,
.owl-courses-item .info .col-4 {
    flex: 0 0 auto;
    padding: 0;
}

.owl-courses-item .info .col-4 {
    display: none; /* Sadece kodu gizle */
}
