/* Netcloud · WISECP V5 — yazilim (script) sayfalari stilleri
   Kaynak: V4 inc/software-styles.php (birebir). */
/* ===== Yazılım (script) sayfaları: softwares.php + page-detail-software.php =====
 * Not: Eski wisecp.css sınıfları (anascriptlist, scriptrightside, scriptdetayinfo ...) artık kullanılmıyor.
 * Tüm stiller .sw-page altında kapsanmıştır; tema bileşenleriyle (section-title, faq-wrapper) uyumludur.
 */
.sw-page { --sw-accent: #0083ff; --sw-soft: rgba(0, 131, 255, 0.08); color: #3b4767; }
.sw-page a { transition: 0.2s all; }
.sw-section { padding: 52px 0; }
.sw-section.is-soft { background: #f8faff; }

/* --- Üst başlık / arama --- */
.sw-hero { background: #f8faff; padding: 40px 0 44px; text-align: center; }
.sw-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: #6978a0; }
.sw-breadcrumb a { color: #6978a0; }
.sw-breadcrumb a:hover { color: var(--sw-accent); }
.sw-breadcrumb i { font-size: 11px; opacity: 0.6; }
.sw-hero-tag { display: block; margin-bottom: 10px; font-size: 15px; color: #081131; }
.sw-hero h1 { font-family: "Georgia", serif; font-size: 33px; font-weight: 700; line-height: 1.2; color: #081131; margin: 0 0 14px; }
.sw-hero p { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 30px; color: #6978a0; }
.sw-search { display: flex; align-items: center; max-width: 620px; margin: 28px auto 0; background: #fff; box-shadow: 0 10px 40px rgba(8, 17, 49, 0.07); }
.sw-search span { display: flex; align-items: center; padding: 0 6px 0 18px; color: #6978a0; }
.sw-search input { flex: 1; height: 64px; padding: 0 12px; border: none; background: none; font-size: 16px; color: #3b4767; outline: none; }
.sw-search input::placeholder { color: #9aa5bf; }
.sw-search button { height: 48px; margin-right: 8px; padding: 0 26px; border: none; background: #3b4767; color: #fff; font-size: 15px; cursor: pointer; transition: 0.2s all; }
.sw-search button:hover { background: var(--sw-accent); }
.sw-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 22px; font-size: 14px; color: #6978a0; }
.sw-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.sw-hero-meta i { color: var(--sw-accent); }

/* --- Kategori filtreleri --- */
.sw-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.sw-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; border: 1px solid rgba(59, 71, 103, 0.15); font-size: 14px; color: #3b4767; }
.sw-cats a small { font-size: 12px; color: #6978a0; }
.sw-cats a:hover { border-color: var(--sw-accent); color: var(--sw-accent); }
.sw-cats a.is-active { background: #3b4767; border-color: #3b4767; color: #fff; }
.sw-cats a.is-active small { color: rgba(255, 255, 255, 0.7); }

.sw-result-info { margin: -20px 0 28px; text-align: center; font-size: 15px; color: #6978a0; }
.sw-result-info strong { color: #081131; }
.sw-result-info a { color: var(--sw-accent); text-decoration: underline; }
.sw-advantages { margin-top: 44px; }

/* --- Ürün kartları --- */
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.sw-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(59, 71, 103, 0.12); overflow: hidden; }
.sw-card:hover { border-color: var(--sw-accent); box-shadow: 0 18px 40px rgba(8, 17, 49, 0.09); transform: translateY(-3px); }
.sw-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f4f6fb; }
.sw-card-media img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s transform; }
.sw-card:hover .sw-card-media img { transform: scale(1.04); }
.sw-card-tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.sw-card-tags span { padding: 3px 8px; background: rgba(8, 17, 49, 0.82); color: #fff; font-size: 10px; font-weight: 500; letter-spacing: 0.02em; }
.sw-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.sw-card-body h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 21px; color: #081131; }
.sw-card-body h3 a { color: inherit; }
.sw-card-body h3 a:hover { color: var(--sw-accent); }
.sw-card-price { margin-top: auto; padding-bottom: 12px; font-family: "Georgia", serif; font-size: 19px; font-weight: 700; color: #081131; }
.sw-card-price i { font-style: normal; font-size: 14px; font-weight: 400; color: #6978a0; }
.sw-card-price .sw-period { display: block; margin-top: 2px; font-family: inherit; font-size: 12px; font-weight: 400; color: #6978a0; }
.sw-card-actions { display: flex; gap: 6px; }
.sw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 16px; border: 1px solid #3b4767; background: #3b4767; color: #fff; font-size: 13px; font-weight: 500; text-align: center; }
.sw-btn:hover { background: var(--sw-accent); border-color: var(--sw-accent); color: #fff; }
.sw-btn--ghost { background: #fff; color: #3b4767; border-color: rgba(59, 71, 103, 0.2); }
.sw-btn--ghost:hover { background: #fff; border-color: var(--sw-accent); color: var(--sw-accent); }
.sw-btn--light { background: #fff; border-color: #fff; color: #081131; }
.sw-btn--light:hover { background: var(--sw-accent); border-color: var(--sw-accent); color: #fff; }
.sw-btn--lg { min-height: 44px; padding: 0 24px; font-size: 14px; }
.sw-btn--buy, .sw-page a#urunsatinlink { background: #00bc87; border-color: #00bc87; color: #fff; font-weight: 500; }
.sw-btn--buy:hover, .sw-page a#urunsatinlink:hover { background: #00a878; border-color: #00a878; color: #fff; }
/* Eski wisecp.css kuralları yeni butonları etkilemesin */
.sw-page a#urundemolink, .sw-page a#urundemoadminlink { background: #fff; color: #3b4767; border: 1px solid rgba(59, 71, 103, 0.2); font-weight: 500; }
.sw-page a#urundemolink:hover, .sw-page a#urundemoadminlink:hover { background: #fff; color: var(--sw-accent); border-color: var(--sw-accent); }
.sw-card-actions .sw-btn { flex: 1; padding: 0 12px; }
.sw-card-actions .sw-btn--icon { flex: 0 0 38px; padding: 0; }

/* --- Boş durum --- */
.sw-empty { padding: 60px 20px; text-align: center; background: #fff; border: 1px dashed rgba(59, 71, 103, 0.25); }
.sw-empty i { font-size: 32px; color: #9aa5bf; }
.sw-empty p { margin: 14px 0 20px; font-size: 16px; color: #6978a0; }

/* --- Sayfalama (core pagination.php çıktısı) --- */
.sw-page .sayfalama { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.sw-page .sayfalama span { display: inline-flex; }
.sw-page .sayfalama span a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; background: #fff; border: 1px solid rgba(59, 71, 103, 0.15); color: #3b4767; font-size: 15px; }
.sw-page .sayfalama span a:hover { border-color: var(--sw-accent); color: var(--sw-accent); }
.sw-page .sayfalama span.sayfalama-active a { background: #3b4767; border-color: #3b4767; color: #fff; }

/* --- Satın alma avantajları bandı (inc/software-features.php) --- */
.sw-page .urunozellikleri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; background: none; border: 0; }
/* Aradaki ok/onay ikonları yeni ızgara düzeninde gizlenir (FA bunları <svg>'ye çevirir) */
.sw-page .urunozellikleri > i, .sw-page .urunozellikleri > svg, .sw-page .urunozellikleri > .clear { display: none; }
.sw-page .urunozellik { display: flex; align-items: center; gap: 16px; width: auto; margin: 0; padding: 22px 24px; background: #fff; border: 1px solid rgba(59, 71, 103, 0.12); text-align: left; }
.sw-page .urunozellik i { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--sw-soft); color: var(--sw-accent); font-size: 18px; }
.sw-page .urunozellik h4 { margin: 0; font-size: 16px; font-weight: 500; color: #081131; }

/* --- Yönetimden gelen HTML içerikler --- */
.sw-prose { max-width: 900px; margin: 0 auto; color: #6978a0; font-size: 16px; line-height: 30px; }
.sw-prose.is-wide { max-width: none; }
.sw-prose > *:first-child { margin-top: 0; }
.sw-prose h1, .sw-prose h2, .sw-prose h3, .sw-prose h4 { font-family: "Georgia", serif; color: #081131; line-height: 1.3; margin: 32px 0 14px; }
.sw-prose h1 { font-size: 30px; } .sw-prose h2 { font-size: 26px; } .sw-prose h3 { font-size: 21px; } .sw-prose h4 { font-size: 18px; }
.sw-prose p { margin: 0 0 16px; }
.sw-prose a { color: var(--sw-accent); text-decoration: underline; }
.sw-prose ul, .sw-prose ol { margin: 0 0 16px; padding-left: 22px; list-style: revert; }
.sw-prose ul, .sw-prose ul li { list-style-type: disc !important; }
.sw-prose ol, .sw-prose ol li { list-style-type: decimal !important; }
.sw-prose li { display: list-item !important; }
.sw-prose li::marker { color: var(--sw-accent); }
.sw-prose li { margin-bottom: 8px; }
.sw-prose img { max-width: 100%; height: auto; }
.sw-prose table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.sw-prose th, .sw-prose td { padding: 12px 14px; border: 1px solid rgba(59, 71, 103, 0.12); text-align: left; }
.sw-prose th { background: #f8faff; color: #081131; font-weight: 500; }
.sw-prose blockquote { margin: 0 0 18px; padding: 14px 20px; background: #f8faff; border-left: 3px solid var(--sw-accent); }
.sw-prose code { padding: 2px 6px; background: #f4f6fb; font-size: 14px; color: #081131; }

/* --- SSS (tema bileşeni) --- */
.sw-page .faq-wrapper { padding: 0; }
.sw-page .faq-wrapper .row { align-items: flex-start !important; }
.sw-page .faq-wrapper .section-title > a { width: auto; margin-top: 24px; min-height: 48px; padding: 0 28px; display: inline-flex; align-items: center; background: #3b4767; color: #fff; white-space: nowrap; }
.sw-page .faq-wrapper .section-title > a:hover { background: var(--sw-accent); }
.sw-page .faq-item .faq-head h3 { font-size: 16px; font-weight: 500; }
.sw-page .faq-item .faq-body { max-height: 420px; overflow-y: auto; }

/* --- Alt çağrı bandı --- */
.sw-cta { padding: 56px 0; background: #3b4767; }
.sw-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sw-cta h2 { margin: 0 0 8px; font-family: "Georgia", serif; font-size: 30px; font-weight: 700; color: #fff; }
.sw-cta p { margin: 0; max-width: 620px; font-size: 16px; line-height: 28px; color: rgba(255, 255, 255, 0.75); }
.sw-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.sw-cta .sw-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.sw-cta .sw-btn--ghost:hover { background: transparent; border-color: #fff; color: #fff; }

/* ===== Ürün detay sayfası ===== */
.sw-detail-hero { padding: 40px 0 44px; background: #f8faff; }
.sw-detail-hero .sw-breadcrumb { justify-content: flex-start; }
/* Etiketler baslik ustunde durur; rozet degil ust-veridir. Buyuk harf,
   kalin yazi ve vurgu rengi onlari H1'den once goze carpan bir blok haline
   getiriyordu. Artik sessiz: kucuk, nortr renkli, tek satira sigan. */
.sw-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sw-detail-tags span {
    padding: 2px 8px;
    background: rgba(59, 71, 103, 0.06);
    color: #6978a0;
    font-size: 11px;
    font-weight: 500;
    line-height: 18px;
}
.sw-detail-hero h1 { font-family: "Georgia", serif; font-size: 33px; font-weight: 700; line-height: 1.2; color: #081131; margin: 0 0 18px; }
.sw-short { list-style: none; margin: 0 0 24px; padding: 0; }
.sw-short li { display: flex; gap: 10px; padding: 6px 0; font-size: 16px; line-height: 26px; color: #3b4767; }
.sw-short li i { margin-top: 6px; color: var(--sw-accent); font-size: 13px; }
.sw-buy-box { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 22px 26px; background: #fff; border: 1px solid rgba(59, 71, 103, 0.12); box-shadow: 0 16px 40px rgba(8, 17, 49, 0.06); }
.sw-buy-price { font-family: "Georgia", serif; font-size: 34px; font-weight: 700; line-height: 1.1; color: #081131; }
.sw-buy-price i { font-style: normal; font-size: 22px; font-weight: 400; color: #6978a0; }
.sw-buy-price small { display: block; margin-top: 4px; font-family: inherit; font-size: 13px; font-weight: 400; color: #6978a0; }
.sw-buy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.sw-mockup { position: relative; background: #fff; box-shadow: 0 30px 60px rgba(8, 17, 49, 0.14); }
.sw-mockup-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(59, 71, 103, 0.08); }
.sw-mockup-bar i { width: 8px; height: 8px; border-radius: 50%; background: #dfe3ec; }
.sw-mockup-bar i:first-child { background: var(--sw-accent); }
.sw-mockup img { display: block; width: 100%; height: auto; }
.sw-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.sw-side { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 20px; }
.sw-side-card { padding: 24px; background: #fff; border: 1px solid rgba(59, 71, 103, 0.12); }
.sw-side-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 17px; font-weight: 600; color: #081131; }
.sw-side-card h3 i { color: var(--sw-accent); font-size: 15px; }
.sw-side-card .sw-btn { width: 100%; margin-bottom: 10px; }
.sw-side-card .sw-btn:last-child { margin-bottom: 0; }
.sw-side-price { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(59, 71, 103, 0.1); font-family: "Georgia", serif; font-size: 30px; font-weight: 700; color: #081131; }
.sw-side-price i { font-style: normal; font-size: 20px; font-weight: 400; color: #6978a0; }
.sw-side-price small { display: block; margin-top: 2px; font-family: inherit; font-size: 13px; font-weight: 400; color: #6978a0; }
.sw-req { margin: 0; font-size: 14px; line-height: 24px; color: #6978a0; word-break: break-word; }
.sw-req strong { color: #081131; }
.sw-share { display: flex; gap: 10px; }
.sw-share a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: #f4f6fb; color: #3b4767; font-size: 15px; }
.sw-share a:hover { background: var(--sw-accent); color: #fff; }
.sw-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 32px; }
.sw-feature { padding: 20px; background: #fff; border: 1px solid rgba(59, 71, 103, 0.12); border-top: 3px solid var(--sw-accent); }
.sw-feature > span { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--sw-soft); color: var(--sw-accent); font-size: 19px; }
.sw-feature h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: #081131; }
.sw-feature p { margin: 0; font-size: 14px; line-height: 23px; color: #6978a0; }
/* Yoneticinin girdigi "Detayli Aciklama" — ozetin altinda daha sessiz durur */
.sw-feature .sw-feature-detail {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(59, 71, 103, 0.1);
    font-size: 13px;
    line-height: 21px;
    color: #8793ae;
}
.sw-accordion { margin-top: 36px; }
.sw-acc-item { border-bottom: 1px solid rgba(59, 71, 103, 0.15); }
.sw-acc-item:first-child { border-top: 1px solid rgba(59, 71, 103, 0.15); }
.sw-acc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left; font-size: 17px; font-weight: 500; color: #081131; }
.sw-acc-head span { display: inline-flex; align-items: center; gap: 10px; }
.sw-acc-head span i { color: var(--sw-accent); font-size: 15px; }
.sw-acc-head > i { color: var(--sw-accent); transition: 0.2s transform; }
.sw-acc-head:hover { color: var(--sw-accent); }
.sw-acc-item.is-open .sw-acc-head > i { transform: rotate(45deg); }
.sw-acc-body { display: none; padding: 0 0 24px; }
.sw-acc-item.is-open .sw-acc-body { display: block; }
.sw-acc-body .sw-prose { max-height: 420px; overflow-y: auto; font-size: 15px; line-height: 27px; }

@media (max-width: 1199px) {
    .sw-detail-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
}
@media (max-width: 991px) {
    .sw-hero h1, .sw-detail-hero h1 { font-size: 32px; }
    .sw-detail-layout { grid-template-columns: 1fr; }
    .sw-side { position: static; }
    .sw-mockup { margin-top: 32px; }
    .sw-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 991px) {
    .sw-page .urunozellikleri { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .sw-section { padding: 50px 0; }
    .sw-features-grid { grid-template-columns: 1fr; }
    .sw-hero { padding: 40px 0 44px; }
    .sw-hero h1, .sw-detail-hero h1 { font-size: 28px; }
    .sw-search { flex-wrap: wrap; }
    .sw-buy-actions { margin-left: 0; width: 100%; }
    .sw-buy-actions .sw-btn { flex: 1 1 100%; }
    .sw-buy-box { width: 100%; }
    .sw-cta-actions .sw-btn { width: 100%; }
}

/* --- V5 uyarlamasinda eklenen kucuk parcalar ------------------------------
   sw-meta-list: V4'teki "feature_blocks" alani V5'te olmadigi icin
   controller'in verdigi $details satirlari kenar kartinda listeleniyor.
   sw-gallery-grid: V4'te tek mockup vardi; V5 birden fazla gorsel verebiliyor. */
.sw-page .sw-meta-list { list-style: none; margin: 0; padding: 0; }
.sw-page .sw-meta-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(59,71,103,.08); font-size: 14px; }
.sw-page .sw-meta-list li:last-child { border-bottom: 0; }
.sw-page .sw-meta-list span { color: #6978a0; }
.sw-page .sw-meta-list strong { color: #081131; font-weight: 600; text-align: right; }
.sw-page .sw-detail-lead { max-width: 560px; margin: 0 0 18px; font-size: 16px; line-height: 28px; color: #6978a0; }
.sw-page .sw-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.sw-page .sw-gallery-item { display: block; overflow: hidden; border-radius: 12px; border: 1px solid rgba(59,71,103,.1); }
.sw-page .sw-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .3s transform; }
.sw-page .sw-gallery-item:hover img { transform: scale(1.03); }
.sw-page .sw-share { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== V5 · sadeleştirme (15 Kasım 2026) ==================================
 * 1) ALT ÇİZGİ
 *    Bootstrap 5.3 temel kuralı tüm bağlantıların altını çiziyor
 *    (bootstrap.min.css → `a { text-decoration: underline }`). Tema bu
 *    bileşenler için sıfırlama yapmamıştı; kategori sekmeleri, kart
 *    başlıkları, "İncele" / "SATIN AL" / "Demo" butonları ve sepet ikonu
 *    altı çizili çıkıyordu.
 *    Gövde metni içindeki bağlantıda alt çizgi DOĞRUDUR (okunabilirlik ve
 *    erişilebilirlik), bu yüzden .sw-prose ve .sw-result-info korunuyor.
 *
 * 2) PAYLAŞ İKONLARI
 *    `.sw-side-card .sw-btn { width: 100% }` kuralı paylaş ikonlarını da
 *    yakalıyordu; 4 ikon tam genişlikte alt alta diziliyordu. Artık yan yana
 *    42px kare.
 * ========================================================================= */

.sw-page a { text-decoration: none; }
.sw-page .sw-prose a,
.sw-page .sw-result-info a { text-decoration: underline; }

.sw-page .sw-side-card .sw-share { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-page .sw-side-card .sw-share .sw-btn {
    flex: 0 0 42px; width: 42px; min-width: 42px; min-height: 42px;
    margin-bottom: 0; padding: 0;
}
.sw-page .sw-share .sw-btn {
    background: #f4f6fb; border-color: #f4f6fb; color: #3b4767;
}
.sw-page .sw-share .sw-btn:hover {
    background: var(--sw-accent); border-color: var(--sw-accent); color: #fff;
}
