/* Mevcut tab yapısı için CSS geliştirmeleri */
/* Beyaz üzeri mavi tonlarda modern tasarım */

/* Genel tab container */
.tab-content.shop_info_tab.entry-main-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
    overflow: hidden;
    margin: 20px 0;
}

/* Tab pane genel stili */
.tab-pane {
    padding: 30px;
    background: #ffffff;
    border: none;
    min-height: 300px;
}

.tab-pane.fade {
    transition: all 0.3s ease-in-out;
}

.tab-pane.active.show {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Description tab içeriği */
#Description p {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
}

#Description strong {
    color: #1e40af;
    font-weight: 600;
}

#Description h2 {
    color: #1e40af;
    font-size: 24px;
    font-weight: 700;
    margin: 35px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #dbeafe;
    position: relative;
}

#Description h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
}

#Description ul {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 25px 30px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    margin: 20px 0;
    list-style: none;
}

#Description li {
    color: #1e40af;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

#Description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
}

/* FAQ Tab */
#tab-faq {
    background: #f8faff;
}

.faqs-list {
    margin-top: 10px;
}

#faq-accordion .card {
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

#faq-accordion .card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    padding: 0;
    border: none;
}

.card-header h2 {
    margin: 0;
}

.card-header .btn.btn-link {
    background: transparent;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.card-header .btn.btn-link:hover {
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
}

.card-header .btn.btn-link::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.card-header .btn.btn-link.collapsed::after {
    transform: translateY(-50%) rotate(0deg);
}

.card-header .btn.btn-link:not(.collapsed)::after {
    transform: translateY(-50%) rotate(45deg);
}

.card-body {
    background: #ffffff;
    padding: 25px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid #e0e7ff;
}

.collapse {
    transition: all 0.3s ease;
}

/* Reviews Tab */
#Reviews {
    text-align: center;
    background: #ffffff;
}

#Reviews p {
    color: #64748b;
    font-size: 18px;
    margin-bottom: 30px;
    font-style: italic;
}

.comment-form {
    background: #f8faff;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e0e7ff;
    max-width: 700px;
    margin: 0 auto;
}

.comment-form h4 {
    color: #1e40af;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.text-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #dc2626;
    margin-bottom: 25px;
    color: #991b1b;
}


.text-danger a {
    color: #92400e;
    font-weight: 600;
    text-decoration: none;
}

.text-danger a:hover {
    text-decoration: underline;
}

/* Star Rating */
.rate {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    flex-direction: row-reverse;
}

.rate input {
    display: none;
}

.rate label {
    font-size: 28px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.rate label:before {
    content: '★';
}

.rate label:hover,
.rate label:hover ~ label,
.rate input:checked ~ label {
    color: #fbbf24;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-control:disabled {
    background: #f1f5f9;
    color: #94a3b8;
}

/* Image Upload */
.image-upload__viewer {
    margin: 20px 0;
}

.image-upload__uploader-container {
    border: 2px dashed #3b82f6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #f0f9ff;
    transition: all 0.3s ease;
}

.image-upload__uploader-container:hover {
    border-color: #1e40af;
    background: #dbeafe;
}

.image-upload__icon {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 10px;
}

.image-upload__text {
    color: #1e40af;
    font-weight: 600;
    font-size: 16px;
}

.help-block {
    color: #64748b;
    font-size: 13px;
    margin-top: 10px;
}

/* Button */
.button.button-contactForm {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.button.button-contactForm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.button.button-contactForm:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.half-circle-spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 0 auto;
}

.circle {
    width: 100%;
    height: 100%;
    border: 4px solid #3b82f6;
    border-top-color: transparent;
    border-radius: 50%;
    position: absolute;
    animation: spin 1s linear infinite;
}

.circle-2 {
    animation-delay: 0.5s;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Image Viewer */
.image-viewer__item {
    position: relative;
    display: inline-block;
    margin: 5px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e0e7ff;
}

.image-viewer__item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.image-viewer__icon-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tab-pane {
        padding: 20px;
    }
    
    #Description h2 {
        font-size: 20px;
    }
    
    #Description ul {
        padding: 20px;
    }
    
    .card-header .btn.btn-link {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .comment-form {
        padding: 20px;
    }
    
    .rate label {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .tab-pane {
        padding: 15px;
    }
    
    #Description p {
        font-size: 14px;
    }
    
    #Description li {
        font-size: 14px;
    }
    
    .card-header .btn.btn-link {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .card-body {
        padding: 20px;
        font-size: 14px;
    }
}
#content {
            max-width: 100%;
            margin: 0 auto;
            padding: 40px;
            background: #fff;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            border-radius: 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            position: relative;
        }

        #content h2 {
            color: #2c3e50;
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        #content h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
            border-radius: 2px;
        }

        #content h3 {
            color: #34495e;
            font-size: 1.4rem;
            margin: 2.5rem 0 1.5rem 0;
            padding: 15px 0;
            border-bottom: 2px solid #ecf0f1;
            position: relative;
        }

        #content h3::before {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 50px;
            height: 2px;
            background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
        }

        #content p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            text-align: justify;
            color: #555;
        }

        #content ol {
            margin: 2rem 0;
            padding-left: 0;
            counter-reset: item-counter;
        }

        #content ol li {
            list-style: none;
            margin-bottom: 2rem;
            padding: 25px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            border-left: 5px solid #667eea;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            position: relative;
            counter-increment: item-counter;
            transition: all 0.3s ease;
        }

        #content ol li:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        #content ol li::before {
            content: counter(item-counter);
            position: absolute;
            left: -15px;
            top: 20px;
            background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
        }

        #content ol li p {
            margin: 0;
            font-size: 1rem;
            line-height: 1.7;
        }

        /* Şirket bilgileri için özel stil */
        #content p strong {
            color: #2c3e50;
            display: inline-block;
            margin-right: 10px;
            min-width: 140px;
        }

        /* Numara sıfırlama için özel kurallar */
        #content ol[start="3"] {
            counter-reset: item-counter 2;
        }

        #content ol[start="6"] {
            counter-reset: item-counter 5;
        }

        #content ol[start="8"] {
            counter-reset: item-counter 7;
        }

        #content ol[start="11"] {
            counter-reset: item-counter 10;
        }

        /* E-posta ve telefon vurgulama */
        #content p:nth-of-type(5),
        #content p:nth-of-type(6) {
            background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
            padding: 12px 15px;
            border-radius: 8px;
            border-left: 3px solid #28a745;
            margin: 10px 0;
        }

        /* Responsive tasarım */
        @media (max-width: 768px) {
            #content {
                margin: 10px;
                padding: 25px;
                border-radius: 15px;
            }

            #content h2 {
                font-size: 2rem;
                margin-bottom: 2rem;
            }

            #content h3 {
                font-size: 1.2rem;
            }

            #content ol li {
                padding: 20px;
                margin-bottom: 1.5rem;
            }

            #content ol li::before {
                left: -12px;
                width: 25px;
                height: 25px;
                font-size: 0.8rem;
            }

            #content p {
                font-size: 1rem;
            }

            #content p strong {
                display: block;
                margin-bottom: 5px;
                min-width: auto;
            }
        }

        @media (max-width: 480px) {
            #content {
                padding: 20px;
            }

            #content h2 {
                font-size: 1.8rem;
                letter-spacing: 1px;
            }

            #content ol li {
                padding: 15px;
            }

            #content ol li::before {
                left: -10px;
                width: 22px;
                height: 22px;
                font-size: 0.7rem;
            }
        }

        /* Smooth transitions */
        #content * {
            transition: all 0.3s ease;
        }

        /* Focus states for accessibility */
        #content ol li:focus-within {
            outline: 2px solid #667eea;
            outline-offset: 2px;
        }

        /* Tablo stilleri */
        #content table {
            width: 100% !important;
            border-collapse: separate;
            border-spacing: 0;
            margin: 2rem 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            background: #fff;
        }

        #content table td {
            padding: 15px 20px !important;
            border: none !important;
            border-bottom: 1px solid #e9ecef;
            vertical-align: middle !important;
            transition: background-color 0.3s ease;
        }

        #content table tr:last-child td {
            border-bottom: none;
        }

        #content table tr:hover td {
            background-color: #f8f9fa !important;
        }

        /* Form tabloları için özel stil */
        #content table td[bgcolor="#fafafa"] {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        }

        #content table td:first-child {
            font-weight: 600;
            color: #495057;
            background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
            position: relative;
        }

        #content table td:first-child::after {
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
        }

        /* İki nokta üst üste sütunu */
        #content table td:nth-child(2) {
            width: 20px !important;
            text-align: center;
            font-weight: bold;
            color: #667eea;
            background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%) !important;
        }

        /* Ürün tablosu özel stili */
        #content table[border="1"] {
            border: 2px solid #dee2e6;
            border-radius: 12px;
            margin: 2rem 0;
        }

        #content table[border="1"] td {
            border: 1px solid #dee2e6 !important;
            text-align: center;
            font-weight: 500;
        }

        #content table[border="1"] tr:first-child td {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            color: white;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        #content table[border="1"] tr:first-child td div {
            font-size: 0.9rem;
            padding: 5px 0;
        }

        #content table[border="1"] tr:not(:first-child):hover td {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        }

        /* Tablo başlık paragrafları */
        #content p + table {
            margin-top: 1rem;
        }

        #content table + p {
            margin-top: 2.5rem;
            font-weight: 600;
            color: #343a40;
            font-size: 1.2rem;
            padding: 10px 0;
            border-bottom: 2px solid #dee2e6;
        }

        /* Responsive tablo tasarımı */
        @media (max-width: 768px) {
            #content table {
                font-size: 0.9rem;
            }
            
            #content table td {
                padding: 10px 15px !important;
            }
            
            #content table td:first-child {
                font-size: 0.85rem;
            }
            
            /* Mobilde tabloları scroll yapılabilir yap */
            #content table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }
            
            #content table tbody,
            #content table tr,
            #content table td {
                display: table;
                display: table-row;
                display: table-cell;
            }
        }

        @media (max-width: 480px) {
            #content table {
                margin: 1rem 0;
                border-radius: 8px;
            }
            
            #content table td {
                padding: 8px 12px !important;
                font-size: 0.8rem;
            }
            
            /* Mobilde form tablolarını stack layout'a çevir */
            #content table:not([border="1"]) {
                display: block;
            }
            
            #content table:not([border="1"]) tr {
                display: block;
                margin-bottom: 15px;
                border-radius: 8px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
                overflow: hidden;
            }
            
            #content table:not([border="1"]) td {
                display: block !important;
                width: 100% !important;
                border-bottom: 1px solid #e9ecef !important;
            }
            
            #content table:not([border="1"]) td:first-child::after {
                display: none;
            }
            
            #content table:not([border="1"]) td:nth-child(2) {
                display: none !important;
            }
            
            #content table:not([border="1"]) td:first-child::before {
                content: attr(data-label);
                font-weight: 600;
                color: #667eea;
                display: block;
                margin-bottom: 5px;
            }
        }

.container.custom {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.container.custom .single-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.container.custom .single-header-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.container.custom .single-header-meta .entry-meta span {
    margin-right: 1rem;
}

.container.custom .social-icons ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.container.custom .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #e5e7eb;
    border-radius: 50%;
    color: #374151;
    transition: all 0.3s ease;
}

.container.custom .social-icons a:hover {
    background: #2563eb;
    color: #fff;
}

.container.custom .single-content h2,
.container.custom .single-content h3 {
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: #1f2937;
}

.container.custom .single-content p {
    margin-bottom: 1rem;
}

.container.custom .single-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.container.custom .entry-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.container.custom .entry-bottom .tags a {
    background: #e5e7eb;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
}

.container.custom .entry-bottom .tags a:hover {
    background: #2563eb;
    color: #fff;
}

.container.custom .primary-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.container.custom .widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #111827;
}

.container.custom input[type="text"] {
    width: 100%;
    padding: 0.5rem 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease;
}

.container.custom input[type="text"]:focus {
    border-color: #2563eb;
}

.container.custom button[type="submit"] {
    background: #2563eb;
    border: none;
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    margin-left: 0.3rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.container.custom button[type="submit"]:hover {
    background: #1d4ed8;
}
