/* NuageDC · WiseCP ürün görünümleri (views/products/*). Site genel stili ndc/css/site.css. */
/* Site gövdesi koyu (#050B18); ürün sayfası bölümleri açık zeminlidir */
body[data-ndc-page="products"] main, body[data-ndc-page="product-detail"] main, body[data-ndc-page="software"] main { background: #fff; color: #475569; }
[data-plan][hidden], [data-billing-toggle][hidden], [data-action="set-billing"][hidden], .ndc-pager[hidden] { display: none !important; }
.ndc-phero-scrim { background: linear-gradient(90deg, rgba(5,11,24,.92) 0%, rgba(5,11,24,.72) 55%, rgba(5,11,24,.45) 100%); }
.ndc-phero-media { opacity: .9; }
.ndc-pgrid { display: grid; gap: 20px; justify-content: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ndc-pgrid > * { width: 100%; max-width: 440px; justify-self: center; }
.ndc-pgrid > [hidden] { display: none !important; }
.ndc-pprice { font-size: 32px; }
@media (min-width: 640px) { .ndc-pprice { font-size: 36px; } }
.plan-card.is-soldout { opacity: .78; }

/* Sekmeler ve dönem seçici */
.ndc-ptabs { display: flex; gap: 4px; max-width: 100%; overflow-x: auto; padding: 4px; border: 1px solid #E1EAF6; border-radius: 12px; background: #fff; scrollbar-width: thin; }
.ndc-ptab { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 8px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: #475569; white-space: nowrap; transition: background-color .2s, color .2s; }
.ndc-ptab:hover { color: #0068D6; }
.ndc-ptab.is-active { background: #0A84FF; color: #fff; }
.ndc-ptab img { width: 16px; height: 16px; object-fit: contain; }
.ndc-ptab:focus-visible, .ndc-cycle:focus-visible, .ndc-prow-more:focus-visible { outline: 2px solid #1E90FF; outline-offset: 2px; }
.ndc-cycles { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border: 1px solid #E1EAF6; border-radius: 999px; background: #fff; }
.ndc-cycle { min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #475569; }
.ndc-cycle.is-active { background: #0B1220; color: #fff; }

/* Fiyat parçaları */
.ndc-save { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.ndc-save[hidden] { display: none; }
.ndc-save del { color: #64748B; }
.is-featured .ndc-save del { color: #94A3B8; }
.ndc-save-pill { padding: 2px 8px; border-radius: 999px; background: #DCFCE7; color: #166534; font-weight: 700; font-size: 12px; }
.ndc-onetime { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #E8F1FE; color: #0B4FA8; font-size: 12px; font-weight: 600; }
.ndc-onetime[hidden], [data-role="price-suffix"][hidden] { display: none; }
.ndc-cmp summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 600; color: #0068D6; }
.is-featured .ndc-cmp summary { color: #8CCBFF; }
.ndc-cmp summary::-webkit-details-marker { display: none; }
.ndc-cmp summary svg { width: 14px; height: 14px; transition: transform .2s; }
.ndc-cmp[open] summary svg { transform: rotate(180deg); }
.ndc-cmp-table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12.5px; }
.ndc-cmp-table th { padding: 5px 4px; text-align: right; font-weight: 600; color: #64748B; border-bottom: 1px solid rgba(148,163,184,.35); }
.ndc-cmp-table td { padding: 5px 4px; text-align: right; border-bottom: 1px solid rgba(148,163,184,.18); font-variant-numeric: tabular-nums; }
.ndc-cmp-table th:first-child, .ndc-cmp-table td:first-child { text-align: left; }
.ndc-cmp-table tr[hidden] { display: none; }
.ndc-cmp-table tr.is-current td { font-weight: 700; }

/* Sunucu satırları */
.ndc-prow { border: 1px solid #E1EAF6; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(15,40,80,.04); }
.ndc-prow.is-popular { border-color: #8CC4FF; }
.ndc-prow.is-soldout { opacity: .78; }
.ndc-prow-main { display: grid; grid-template-columns: minmax(170px, 1.4fr) repeat(auto-fit, minmax(84px, 1fr)); gap: 12px 18px; align-items: center; padding: 16px 20px; }
.ndc-prow-price, .ndc-prow-actions { grid-column: auto; }
.ndc-prow-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.ndc-prow-more { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1.5px solid #CFE0F4; border-radius: 10px; color: #0B1220; }
.ndc-prow-more svg { width: 16px; height: 16px; transition: transform .2s; }
.ndc-prow-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.ndc-prow-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 16px; }
.ndc-prow-details { display: grid; gap: 16px; padding: 16px 20px; border-top: 1px solid #E8EEF7; }
.ndc-prow-details[hidden] { display: none; }
@media (min-width: 768px) { .ndc-prow-details { max-width: 520px; margin-left: auto; } }
@media (max-width: 767px) {
  .ndc-prow-main { grid-template-columns: 1fr 1fr; }
  .ndc-prow-id, .ndc-prow-price, .ndc-prow-actions { grid-column: 1 / -1; }
  .ndc-prow-actions .btn { flex: 1; }
}
.ndc-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-family: Inter, sans-serif; font-size: 11.5px; font-weight: 700; vertical-align: 2px; }
.ndc-tag.is-brand { background: #E0EEFF; color: #0B4FA8; }
.ndc-tag.is-danger { background: #FEE2E2; color: #991B1B; }
.ndc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #EEF4FC; color: #334155; font-size: 12.5px; font-weight: 500; }
.ndc-chip svg { width: 13px; height: 13px; color: #0A84FF; }

/* Kategori kartları */
.ndc-catcard { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 18px; border: 1px solid #E1EAF6; border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ndc-catcard:hover { border-color: #B9D6F7; box-shadow: 0 16px 32px -22px rgba(15,90,190,.45); transform: translateY(-2px); }
.ndc-catcard-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 11px; background: #EAF3FF; color: #0A84FF; font-size: 20px; }
.ndc-catcard-ico img { width: 22px; height: 22px; object-fit: contain; }

/* Admin içeriği: Tailwind sıfırlamasına karşı metin biçimleri + eski "hostozellk" kutuları */
.ndc-rich { min-width: 0; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.7; color: #475569; }
.ndc-rich > [hidden] { display: none; }
.ndc-rich h1, .ndc-rich h2, .ndc-rich h3, .ndc-rich h4, .ndc-rich h5 { margin: 1.2em 0 .45em; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-weight: 700; line-height: 1.25; color: #0B1220; }
.ndc-rich h1, .ndc-rich h2 { font-size: 1.6rem; }
.ndc-rich h3 { font-size: 1.3rem; }
.ndc-rich h4, .ndc-rich h5 { font-size: 1.08rem; }
.ndc-rich > :first-child, .ndc-rich > :first-child > :first-child { margin-top: 0; }
.ndc-rich p { margin: 0 0 .85em; }
.ndc-rich a { color: #0068D6; text-decoration: underline; }
.ndc-rich ul, .ndc-rich ol { margin: 0 0 1em; padding-left: 1.3em; }
.ndc-rich ul { list-style: disc; }
.ndc-rich ol { list-style: decimal; }
.ndc-rich img { max-width: 100%; height: auto; }
.ndc-rich table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.ndc-rich th, .ndc-rich td { padding: 8px 10px; border: 1px solid #E1EAF6; }
.ndc-rich .hostingozellikler #wrapper { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ndc-rich .hostozellk { padding: 22px; border: 1px solid #E1EAF6; border-radius: 14px; background: #fff; }
.ndc-rich .hostozellk h4 { margin-top: 0; }
.ndc-rich .hostozellk img { max-height: 56px; margin-bottom: 12px; }
.ndc-rich .hostozellk p:last-child { margin-bottom: 0; }
.ndc-rich .clear { display: none; }

/* Yazılım */
.ndc-pcard { padding: 20px; border: 1px solid #E1EAF6; border-radius: 14px; background: #fff; }
.ndc-pcard[hidden] { display: none; }
.ndc-pcard-title { margin-bottom: 10px; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 15.5px; font-weight: 700; color: #0B1220; }
.ndc-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #EEF2F8; font-size: 14px; }
.ndc-dl > div:first-child { border-top: 0; }
.ndc-dl dt { font-weight: 600; color: #334155; }
.ndc-dl dd { color: #475569; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.ndc-swfilter { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: #334155; }
.ndc-swfilter:hover { background: #F4F7FB; }
.ndc-swfilter.is-active { background: #E8F1FE; color: #0B4FA8; font-weight: 600; }
.ndc-swfilter img { width: 16px; height: 16px; object-fit: contain; }
.ndc-pinput { height: 40px; max-width: 100%; padding: 0 12px; border: 1px solid #CFE0F4; border-radius: 10px; background: #fff; font-size: 14px; color: #0B1220; }
.ndc-swcard { display: flex; flex-direction: column; width: 100%; min-width: 0; overflow: hidden; border: 1px solid #E1EAF6; border-radius: 14px; background: #fff; transition: box-shadow .2s, transform .2s; }
.ndc-swcard:hover { box-shadow: 0 16px 32px -22px rgba(15,90,190,.45); transform: translateY(-2px); }
.ndc-swthumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #F4F7FB; }
.ndc-swthumb { overflow: hidden; }
.ndc-swthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ndc-swbadge { position: absolute; top: 8px; left: 0; }
.ndc-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ndc-pager button { min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid #CFE0F4; border-radius: 9px; background: #fff; font-size: 14px; font-weight: 600; color: #334155; }
.ndc-pager button.is-active { background: #0A84FF; border-color: #0A84FF; color: #fff; }
.ndc-pager button:disabled { opacity: .45; }

/* Galeri */
.ndc-gallery-view { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #E1EAF6; border-radius: 14px; background: #F4F7FB; }
.ndc-gallery-track { display: flex; height: 100%; transition: transform .3s ease; }
.ndc-gallery-slide { flex: 0 0 100%; min-width: 0; height: 100%; cursor: zoom-in; }
.ndc-gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.ndc-gallery-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -21px; border-radius: 999px; background: rgba(5,11,24,.65); color: #fff; }
.ndc-gallery-arrow svg, .ndc-lb-nav svg { width: 18px; height: 18px; }
.ndc-gallery-arrow.is-prev svg, .ndc-lb-nav.is-prev svg { transform: rotate(180deg); }
.ndc-gallery-arrow.is-prev { left: 10px; }
.ndc-gallery-arrow.is-next { right: 10px; }
.ndc-gallery-zoom, .ndc-gallery-count { position: absolute; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(5,11,24,.65); color: #fff; font-size: 12px; pointer-events: none; }
.ndc-gallery-zoom { left: 10px; }
.ndc-gallery-zoom svg { width: 13px; height: 13px; }
.ndc-gallery-count { right: 10px; }
.ndc-gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.ndc-gallery-thumbs button { flex: none; width: 84px; height: 54px; overflow: hidden; border: 2px solid transparent; border-radius: 8px; opacity: .7; }
.ndc-gallery-thumbs button.is-active { border-color: #0A84FF; opacity: 1; }
.ndc-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ndc-lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(5,11,24,.92); }
.ndc-lightbox[hidden] { display: none; }
.ndc-lightbox figure { max-width: 92vw; max-height: 86vh; }
.ndc-lightbox figure img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.ndc-lb-close, .ndc-lb-nav { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; }
.ndc-lb-close { top: 14px; right: 14px; }
.ndc-lb-close svg { width: 18px; height: 18px; }
.ndc-lb-nav { top: 50%; margin-top: -22px; }
.ndc-lb-nav.is-prev { left: 14px; }
.ndc-lb-nav.is-next { right: 14px; }
.ndc-lb-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; }
