/*
 * sn-product.css — single software product page (single-software.php)
 *
 * Loaded only on is_singular('software'), after theme.css, so plain class
 * selectors here beat the older `.header_content .*` rules in theme.css when
 * they collide. Everything new is namespaced `sn-` to keep it out of the way of
 * the shared archive/category styles.
 */

.single-software {
  --sn-blue: #3f7cfb;
  --sn-blue-dark: #1b4dd1;
  --sn-blue-soft: #eef3ff;
  --sn-ink: #101828;
  --sn-body: #475467;
  --sn-muted: #667085;
  --sn-line: #e4e7ec;
  --sn-line-soft: #f0f2f5;
  --sn-surface: #fff;
  --sn-surface-soft: #f7f9fc;
  --sn-green: #16a34a;
  --sn-green-soft: #e9f7ee;
  --sn-amber: #f59e0b;
  --sn-orange: #ff7a31;
  --sn-radius: 14px;
  --sn-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
}

/* ============================================================ HERO */

.single-software .header_content.sn-hero {
  padding: 0 0 26px;
  background: linear-gradient(180deg, #f4f7fd 0%, #fff 78%);
  border-bottom: 1px solid var(--sn-line);
  box-shadow: none;
}

.single-software .sn-hero .breadcrumb {
  margin-bottom: 0;
  padding: 14px 0 6px;
  font-size: 13px;
}

.sn-hero__inner {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding-top: 10px;
}

.sn-hero__logo {
  width: 96px;
  height: 96px;
  border-radius: var(--sn-radius);
  border: 1px solid var(--sn-line);
  background: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sn-shadow);
}

.sn-hero__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.sn-hero__titlerow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.single-software .sn-hero__titlerow h1 {
  display: inline-block;
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--sn-ink);
}

.sn-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--sn-green-soft);
  color: #12803c;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.sn-verified::before {
  content: "";
  width: 13px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2312803c'%3E%3Cpath d='M10 0l2.4 1.8 3-.2 1 2.8 2.6 1.5-1 2.9 1 2.9-2.6 1.5-1 2.8-3-.2L10 20l-2.4-1.8-3 .2-1-2.8L1 14.1 2 11.2 1 8.3l2.6-1.5 1-2.8 3 .2z'/%3E%3Cpath d='M8.8 13.6l-3-3 1.2-1.2 1.8 1.8 4.2-4.2 1.2 1.2z' fill='%23e9f7ee'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.sn-hero__tagline {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--sn-body);
  max-width: 62ch;
}

.sn-hero__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.single-software a.sn-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d7e0f5;
  background: var(--sn-blue-soft);
  color: var(--sn-blue-dark);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}

.single-software a.sn-chip:hover {
  background: #e2ebff;
  border-color: #b9caf3;
}

/* Quick-facts strip */
.sn-hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--sn-line);
}

.sn-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 96px;
}

.sn-hero__facts .sn-fact-label {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--sn-muted);
  font-weight: 600;
}

.sn-hero__facts .sn-fact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--sn-ink);
}

.sn-fact-value.is-yes { color: var(--sn-green); }
.sn-fact-value.is-no { color: var(--sn-muted); }

/* Right-hand action card */
.sn-hero__aside {
  background: var(--sn-surface);
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius);
  padding: 18px;
  box-shadow: var(--sn-shadow);
}

.sn-score {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--sn-line-soft);
}

.sn-score__badge {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 10px;
  background: var(--sn-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.sn-score__badge.is-empty {
  background: var(--sn-surface-soft);
  border: 1px dashed #cbd5e1;
  color: var(--sn-muted);
}

.single-software .sn-score__value {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--sn-ink);
  line-height: 1.2;
}

.single-software .sn-score__value span {
  font-size: 13px;
  font-weight: 500;
  color: var(--sn-muted);
}

.single-software .sn-score__meta {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--sn-muted);
}

.sn-stars {
  display: inline-flex;
  gap: 2px;
  margin-top: 3px;
}

.sn-stars i {
  width: 14px;
  height: 14px;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d8dde6'%3E%3Cpath d='M12 17.3l-6.2 3.6 1.6-7L2 9.2l7.1-.6L12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.sn-stars i.is-on {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 17.3l-6.2 3.6 1.6-7L2 9.2l7.1-.6L12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7z'/%3E%3C/svg%3E");
}

/* Buttons */
.single-software a.sn-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.single-software a.sn-btn + .sn-btn { margin-top: 10px; }

.single-software a.sn-btn--primary {
  background: var(--sn-blue);
  color: #fff;
  border: 1px solid var(--sn-blue);
}

.single-software a.sn-btn--primary:hover {
  background: var(--sn-blue-dark);
  border-color: var(--sn-blue-dark);
}

.single-software a.sn-btn--accent {
  background: var(--sn-orange);
  color: #fff;
  border: 1px solid var(--sn-orange);
}

.single-software a.sn-btn--accent:hover { background: #ef6a1f; border-color: #ef6a1f; }

.single-software a.sn-btn--ghost {
  background: #fff;
  color: var(--sn-blue-dark);
  border: 1px solid #cdd9f4;
}

.single-software a.sn-btn--ghost:hover { background: var(--sn-blue-soft); }

.sn-btn__ext {
  width: 14px;
  height: 14px;
  flex: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ============================================ STICKY SECTION NAV */

.sn-jump {
  position: sticky;
  top: 68px;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--sn-line);
}

.sn-jump__list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.sn-jump__list::-webkit-scrollbar { display: none; }

.single-software .sn-jump__list a {
  display: block;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--sn-body);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.single-software .sn-jump__list a:hover { color: var(--sn-blue-dark); }

.single-software .sn-jump__list a.is-active {
  color: var(--sn-blue-dark);
  border-bottom-color: var(--sn-blue);
}

.single-software .sof_details[id] { scroll-margin-top: 128px; }

/* ==================================================== SECTIONS */

.single-software .product-detail-body { padding-top: 8px; }

.single-software .sof_details { margin-bottom: 44px; }

.single-software .section_title h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--sn-ink);
  letter-spacing: -.01em;
}

.single-software .section_title_sub_desc {
  color: var(--sn-muted);
  font-size: 15px;
  max-width: 78ch;
}

.single-software .over_view_description p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--sn-body);
}

.single-software .section_bg_prof {
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius);
  background: var(--sn-surface);
  box-shadow: var(--sn-shadow);
}

/* --------------------------------------------------- Features */

.single-software .features_section-main .section_bg_prof { padding: 8px; }

.single-software ul.features_ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  column-count: initial;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-software ul.features_ul li.features_li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 13px 14px;
  border-radius: 10px;
  background: var(--sn-surface-soft);
  border: 1px solid var(--sn-line-soft);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--sn-ink);
  break-inside: avoid;
}

.single-software ul.features_ul li.features_li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--sn-green-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------------------------------------------------- Pricing */

.single-software .pricing_section-main .row { gap: 0; }

.single-software .cat_pricing_card {
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius);
  background: var(--sn-surface);
  box-shadow: var(--sn-shadow);
  padding: 22px;
}

.single-software .cat_pricing_card .plan_name {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sn-blue-soft);
  color: var(--sn-blue-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.single-software .cat_pricing_card .plan_price {
  font-size: 30px;
  font-weight: 700;
  color: var(--sn-ink);
  line-height: 1.15;
  margin-bottom: 2px;
}

.single-software .cat_pricing_card .plan_duration {
  color: var(--sn-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.single-software .cat_pricing_card .get-pricing-btn.button {
  background: var(--sn-blue);
  border-radius: 10px;
  height: 42px;
  font-weight: 600;
}

.single-software .cat_pricing_card .get-pricing-btn.button:hover { background: var(--sn-blue-dark); }

.single-software .cat_pricing_card .mx-auto {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sn-body);
}

/* --------------------------------------------- Specifications */

.single-software .specification_section_content {
  padding: 0;
  overflow: hidden;
}

.single-software .specification_section_content .row_ss_spacing {
  margin: 0;
  border-bottom: 1px solid var(--sn-line-soft);
}

.single-software .specification_section_content .row_ss_spacing:last-child { border-bottom: 0; }

.single-software .specification_section_content .specification_bg {
  background: var(--sn-surface-soft);
  border-right: 1px solid var(--sn-line-soft);
}

.single-software .specification_section_content .specification_list_view {
  padding: 12px 16px;
  font-size: 14.5px;
  color: var(--sn-ink);
}

.single-software .specification_bg .specification_list_view {
  color: var(--sn-muted);
  font-weight: 600;
}

.single-software .td_specifications_listing_values {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-software .td_specifications_listing_values li {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--sn-blue-soft);
  color: var(--sn-blue-dark);
  font-size: 13px;
  font-weight: 500;
}

/* ------------------------------------- Video and screenshots */

/* Both of these used to sit in a full-width white card. With one screenshot or one
 * embed that card is mostly empty space, so the media carries its own frame instead. */
.single-software .videos_section .section_bg_prof,
.single-software .screenshots_section .section_bg_prof {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.single-software .videos_section iframe {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius);
  background: #000;
}

.single-software .ss_list_wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.single-software .ss_link-wrap {
  display: block;
  border: 1px solid var(--sn-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--sn-surface-soft);
  transition: border-color .15s ease, transform .15s ease;
}

.single-software .ss_link-wrap:hover {
  border-color: var(--sn-blue);
  transform: translateY(-2px);
}

.single-software .ss_link-wrap img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  /* Product screenshots put their nav and headings top-left, so crop from there
     rather than centring and cutting both edges. */
  object-position: top left;
}

/* ---------------------------------------------------- Reviews */

.single-software .overall_reviews_section .below_main_section_bg { padding: 0; }

.single-software .reviews_section .padding_overall_review { padding: 20px 22px; }

.single-software .border_bottom_overall_reviews { border-bottom: 1px solid var(--sn-line-soft); }

.single-software .second_section_main_overall { padding: 18px 22px; }

.single-software .circle_progressbar_main { margin-bottom: 12px; }

.single-software .circle_progress_main {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sn-blue-soft);
  border: 2px solid #cfdcfb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-software .circle_progress_text {
  margin: 0;
  font-weight: 700;
  color: var(--sn-blue-dark);
}

/* Empty state shown instead of the zeroed-out rating grid */
.sn-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 22px;
  border: 1px dashed #d3dbe6;
  border-radius: var(--sn-radius);
  background: var(--sn-surface-soft);
}

.sn-empty__icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--sn-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 17.3l-6.2 3.6 1.6-7L2 9.2l7.1-.6L12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7z'/%3E%3C/svg%3E");
  background-size: 20px 20px;
  background-position: center;
  background-repeat: no-repeat;
}

.single-software .sn-empty__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--sn-ink);
}

.single-software .sn-empty__text {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--sn-muted);
}

.sn-empty__cta { margin-left: auto; flex: none; }

.single-software .sn-empty__cta .sn-btn { width: auto; padding: 0 20px; }

/* ------------------------------------------------------- FAQs */

.single-software .faqs_section .accordion-item {
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius) !important;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--sn-surface);
  box-shadow: var(--sn-shadow);
}

.single-software .faqs_section .accordion-button {
  font-size: 16px;
  font-weight: 600;
  color: var(--sn-ink);
  padding: 16px 20px;
  background: var(--sn-surface);
  box-shadow: none;
}

.single-software .faqs_section .accordion-button:not(.collapsed) {
  background: var(--sn-blue-soft);
  color: var(--sn-blue-dark);
}

.single-software .faqs_section .accordion-body {
  padding: 4px 20px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sn-body);
}

/* ----------------------------------------- Related / alternatives */

.single-software .related_software_row { row-gap: 16px; }

.single-software .related_software_card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius);
  background: var(--sn-surface);
  box-shadow: var(--sn-shadow);
  transition: border-color .15s ease, transform .15s ease;
}

.single-software .related_software_card:hover {
  border-color: var(--sn-blue);
  transform: translateY(-2px);
}

.sn-rel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.sn-rel-logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--sn-line);
  background: #fff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sn-rel-logo img { max-width: 100%; max-height: 100%; }

.sn-rel-logo--fallback {
  background: var(--sn-blue-soft);
  color: var(--sn-blue-dark);
  font-weight: 700;
  font-size: 16px;
}

.single-software .related_software_name {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.single-software .related_software_name a { color: var(--sn-ink); text-decoration: none; }
.single-software .related_software_name a:hover { color: var(--sn-blue-dark); }

.single-software .related_software_tagline {
  font-size: 14px;
  line-height: 1.55;
  color: var(--sn-muted);
  margin: 0;
}

.single-software .related_software_browse { margin-top: 18px; font-size: 15px; }

/* ================================================= RESPONSIVE */

@media (max-width: 1199px) {
  .sn-hero__inner { grid-template-columns: 88px minmax(0, 1fr) 270px; gap: 22px; }
  .single-software ul.features_ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .sn-hero__inner {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px 18px;
  }
  .sn-hero__logo { width: 72px; height: 72px; padding: 9px; }
  .single-software .sn-hero__titlerow h1 { font-size: 24px; }
  .sn-hero__aside { grid-column: 1 / -1; }
  .sn-score { padding-bottom: 12px; margin-bottom: 12px; }
}

@media (max-width: 767px) {
  .single-software ul.features_ul { grid-template-columns: minmax(0, 1fr); }
  .sn-hero__facts { gap: 12px 22px; }
  .sn-jump { top: 60px; }
  .single-software .sof_details[id] { scroll-margin-top: 112px; }
  .single-software .sn-jump__list a { padding: 11px 12px; font-size: 13px; }
  .sn-empty { flex-wrap: wrap; }
  .sn-empty__cta { margin-left: 0; width: 100%; }
  .single-software .sn-empty__cta .sn-btn { width: 100%; }
  .single-software .specification_section_content .specification_list_view { padding: 10px 12px; font-size: 14px; }
  .single-software .ss_list_wrapper { grid-template-columns: minmax(0, 1fr); }
}
