/* Products listing + single (loaded only on product pages) */

/* Listing grid (page-products.php) */
.prd-listing{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}
.prd-tile{border:1px solid var(--panel-brd);border-radius:18px;background:var(--panel);padding:26px;display:flex;flex-direction:column;gap:12px;transition:.28s}
.prd-tile:hover{transform:translateY(-6px);border-color:var(--accent-2)}
.prd-tile .pt-badge{align-self:flex-start;font-family:var(--mono);font-size:.66rem;text-transform:uppercase;letter-spacing:.08em;padding:5px 11px;border-radius:100px;background:linear-gradient(120deg,rgba(0,229,192,.16),rgba(124,92,255,.1));border:1px solid var(--panel-brd);color:var(--accent-2)}
.prd-tile h3{font-family:var(--display);font-size:1.15rem;font-weight:600;color:var(--ink)}
.prd-tile p{color:var(--muted);font-size:.9rem}
.prd-tile .pt-price{font-family:var(--display);font-size:1.5rem;font-weight:700;color:var(--ink)}
.prd-tile .pt-price s{font-size:.95rem;color:var(--faint);font-weight:400;margin-left:6px}
.prd-tile .go{margin-top:auto;font-family:var(--mono);font-size:.78rem;color:var(--accent-2)}

/* Single product layout */
.prd-single{padding-top:0;padding-bottom:56px}

/* Single Product Hero Banner (Distinct Background Banner) */
.prd-hero{
  position:relative;
  padding-top:125px;
  padding-bottom:44px;
  background:radial-gradient(120% 140% at 15% 10%,rgba(124,92,255,.24) 0%,transparent 60%),
             radial-gradient(100% 120% at 85% 20%,rgba(0,229,192,.15) 0%,transparent 55%),
             linear-gradient(180deg,rgba(20,22,38,.96) 0%,rgba(10,11,18,.99) 100%);
  border-bottom:1px solid var(--panel-brd);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.04),0 12px 36px rgba(0,0,0,.3);
  overflow:hidden;
}
.prd-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px);
  background-size:24px 24px;
  opacity:.35;
  pointer-events:none;
}
.prd-hero .wrap{position:relative;z-index:1}
.prd-hero .crumbs{margin-bottom:14px;color:var(--faint);font-family:var(--mono);font-size:.82rem}
.prd-hero .crumbs a{color:var(--muted);text-decoration:none;transition:color .2s}
.prd-hero .crumbs a:hover{color:var(--accent-2)}
.prd-hero .crumbs span{color:var(--ink)}

.prd-badge{
  display:inline-block;
  font-family:var(--mono);
  font-size:.7rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:6px 14px;
  border-radius:100px;
  background:linear-gradient(120deg,rgba(0,229,192,.18),rgba(124,92,255,.18));
  border:1px solid rgba(0,229,192,.4);
  color:var(--accent-2);
  margin-bottom:14px;
  box-shadow:0 0 18px rgba(0,229,192,.15);
}
.prd-h1{
  font-family:var(--display);
  font-size:clamp(2rem,4.5vw,3.2rem);
  font-weight:700;
  color:var(--ink);
  letter-spacing:-.02em;
  line-height:1.1;
  margin-bottom:14px;
}
.prd-lead{
  font-size:1.1rem;
  color:var(--muted);
  max-width:820px;
  line-height:1.65;
  margin:0;
}

@media(max-width:640px){
  .prd-hero{padding-top:92px;padding-bottom:28px}
}

.prd-body-wrap{padding-top:40px}

/* 2-Column Grid matching single blog post */
.single-grid2{display:grid;grid-template-columns:1fr 320px;gap:44px;align-items:start}
.single-side{position:sticky;top:90px;display:flex;flex-direction:column;gap:18px}

@media(max-width:960px){
  .single-grid2{grid-template-columns:1fr}
  .single-side{position:static;order:-1;margin-bottom:20px}
}

/* ---- Right-side product card ---- */
.prd-cardbox{border:1px solid var(--panel-brd);border-radius:20px;background:var(--panel);overflow:hidden;box-shadow:0 12px 32px rgba(0,0,0,.25)}
.pcb-img{background:#fff;padding:18px;display:flex;justify-content:center;align-items:center}
.pcb-img img{max-height:180px;width:auto;border-radius:8px}
.pcb-body{padding:24px}
.pcb-body .prd-badge{margin-bottom:10px}
.pcb-title{font-family:var(--display);font-size:1.18rem;font-weight:600;color:var(--ink);margin-bottom:10px;line-height:1.25}
.pcb-body .prd-price{font-family:var(--display);font-size:2rem;font-weight:700;color:var(--accent-2);margin-bottom:6px}
.pcb-body .prd-price s{font-size:.95rem;color:var(--faint);font-weight:400;margin-left:6px}
.pcb-body .meta-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--panel-brd);font-size:.9rem}
.pcb-body .meta-row:last-of-type{border-bottom:0}
.pcb-body .meta-row .k{color:var(--faint)}
.pcb-body .meta-row .v{color:var(--ink);font-weight:500;text-align:right}
.pcb-body .btn{width:100%;justify-content:center;margin-top:12px}
.prd-note{font-family:var(--mono);font-size:.72rem;color:var(--faint);text-align:center;margin-top:14px;line-height:1.6}

/* ---- Product bundle tiers ---- */
.pcb-tiers{margin:8px 0 12px;border:1px solid var(--panel-brd);border-radius:12px;overflow:hidden}
.pcb-tiers .pt{display:flex;justify-content:space-between;align-items:center;padding:9px 14px;font-size:.9rem;border-bottom:1px solid var(--panel-brd);background:var(--bg);color:var(--muted)}
.pcb-tiers .pt:last-child{border-bottom:0}
.pcb-tiers .pt b{color:var(--accent-2);font-family:var(--display)}

/* Shared helpers */
.feat-list{list-style:none;margin:12px 0 0}
.feat-list li{padding-left:24px;position:relative;color:var(--muted);margin-bottom:10px;font-size:.96rem;line-height:1.6}
.feat-list li::before{content:"▹";position:absolute;left:0;color:var(--accent-2);font-weight:bold}
.related{margin-top:44px}
.related h2{font-family:var(--display);font-size:1.5rem;margin-bottom:18px}
.svc-list-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}
.svc-list-card{padding:24px;border:1px solid var(--panel-brd);border-radius:16px;background:var(--panel);transition:.28s;display:flex;flex-direction:column;gap:10px}
.svc-list-card:hover{transform:translateY(-5px);border-color:var(--accent-2)}
.svc-list-card h3{font-family:var(--display);font-size:1.08rem;font-weight:600}
.svc-list-card p{color:var(--muted);font-size:.9rem}
.svc-list-card .go{margin-top:auto;font-family:var(--mono);font-size:.78rem;color:var(--accent-2)}

@media(max-width:900px){.prd-listing{grid-template-columns:repeat(2,1fr)}.svc-list-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.prd-listing{grid-template-columns:1fr}.svc-list-grid{grid-template-columns:1fr}}

/* ==========================================================================
   Single Product Content Typography (Matched exactly to Single Blog Post CSS)
   ========================================================================== */
.prd-article,
.entry-content,
.prd-content {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.75;
  min-width: 0;
}
.prd-article h2,
.prd-content h2 {
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 30px 0 12px;
  scroll-margin-top: 90px;
  line-height: 1.2;
}
.prd-article h3,
.prd-content h3 {
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 22px 0 10px;
  scroll-margin-top: 90px;
}
.prd-article h4,
.prd-content h4 {
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 18px 0 8px;
  scroll-margin-top: 90px;
}
.prd-article p,
.prd-content p {
  margin-bottom: 16px;
}
.prd-article ul,
.prd-article ol,
.prd-content ul {
  margin: 0 0 16px 22px;
}
.prd-article li,
.prd-content li {
  margin-bottom: 8px;
}
.prd-article a,
.prd-content a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prd-article a:hover,
.prd-content a:hover {
  color: var(--accent);
}
.prd-article strong,
.prd-content strong {
  color: var(--ink);
}
.prd-article code,
.prd-content code {
  font-family: var(--mono);
  font-size: .85em;
  background: rgba(124,92,255,.12);
  color: var(--accent-2);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--panel-brd);
  word-break: break-word;
}
.prd-article pre,
.prd-content pre {
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
  margin: 20px 0;
}
.prd-article pre code,
.prd-content pre code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
}
.prd-article blockquote,
.prd-content blockquote {
  border-left: 3px solid var(--accent-2);
  padding: 12px 18px;
  margin: 20px 0;
  color: var(--ink);
  font-style: italic;
  background: rgba(124,92,255,.04);
  border-radius: 0 8px 8px 0;
}
.prd-article table,
.prd-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .95rem;
}
.prd-article th,
.prd-article td,
.prd-content th,
.prd-content td {
  border: 1px solid var(--panel-brd);
  padding: 10px 14px;
  text-align: left;
}
.prd-article th,
.prd-content th {
  background: var(--panel);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
}
.prd-article img,
.prd-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--panel-brd);
  margin: 12px 0;
}
/* ==========================================================================
   Universal Responsive Table Styling (Blog, Services, Products, Pages)
   ========================================================================== */
.entry-content table,
.bs-body table,
.svc-article table,
.prd-article table,
.wp-block-table table,
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  font-size: 0.95rem;
  background: var(--panel);
  border: 1px solid var(--panel-brd);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.wp-block-table,
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: 16px;
}

.wp-block-table table {
  margin: 0;
}

.entry-content th,
.bs-body th,
.svc-article th,
.prd-article th,
.wp-block-table th,
th {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.14) 0%, rgba(20, 22, 38, 0.95) 100%);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid var(--panel-brd);
  border-right: 1px solid var(--panel-brd);
  letter-spacing: -0.01em;
}

.entry-content th:last-child,
.bs-body th:last-child,
.svc-article th:last-child,
.prd-article th:last-child,
.wp-block-table th:last-child,
th:last-child {
  border-right: none;
}

.entry-content td,
.bs-body td,
.svc-article td,
.prd-article td,
.wp-block-table td,
td {
  padding: 14px 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--panel-brd);
  border-right: 1px solid var(--panel-brd);
  vertical-align: middle;
  line-height: 1.6;
}

.entry-content td:last-child,
.bs-body td:last-child,
.svc-article td:last-child,
.prd-article td:last-child,
.wp-block-table td:last-child,
td:last-child {
  border-right: none;
}

.entry-content tr:last-child td,
.bs-body tr:last-child td,
.svc-article tr:last-child td,
.prd-article tr:last-child td,
.wp-block-table tr:last-child td,
tr:last-child td {
  border-bottom: none;
}

.entry-content tbody tr,
.bs-body tbody tr,
.svc-article tbody tr,
.prd-article tbody tr,
.wp-block-table tbody tr,
tbody tr {
  transition: background 0.2s ease;
}

.entry-content tbody tr:nth-child(even),
.bs-body tbody tr:nth-child(even),
.svc-article tbody tr:nth-child(even),
.prd-article tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even),
tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.entry-content tbody tr:hover,
.bs-body tbody tr:hover,
.svc-article tbody tr:hover,
.prd-article tbody tr:hover,
.wp-block-table tbody tr:hover,
tbody tr:hover {
  background: rgba(124, 92, 255, 0.08);
}

.entry-content td strong,
.bs-body td strong,
.svc-article td strong,
.prd-article td strong {
  color: var(--ink);
}

.entry-content td a,
.bs-body td a,
.svc-article td a,
.prd-article td a {
  color: var(--accent-2);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .entry-content table,
  .bs-body table,
  .svc-article table,
  .prd-article table,
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.88rem;
  }
  .entry-content th,
  .bs-body th,
  .svc-article th,
  .prd-article th,
  th,
  .entry-content td,
  .bs-body td,
  .svc-article td,
  .prd-article td,
  td {
    padding: 10px 12px;
  }
}

/* FAQ Accordion */
.faq-accordion {
  margin: 28px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--panel-brd);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  gap: 14px;
  margin: 0 !important;
}

.faq-question:hover {
  color: var(--accent-2);
  background: rgba(124, 92, 255, 0.04);
}

.faq-item.active .faq-question {
  color: var(--accent-2);
  border-bottom: 1px solid var(--panel-brd);
  background: rgba(124, 92, 255, 0.06);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.12);
  color: var(--accent-2);
  font-size: 1.15rem;
  font-weight: 400;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-2);
  color: #090a12;
  font-weight: bold;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer-inner {
  padding: 18px 20px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Unified Left-Aligned Headers for Service and Product Pages
   ========================================================================== */
.svc-single,
.prd-single {
  padding-top: 118px !important;
  padding-bottom: 60px !important;
}

.svc-header,
.prd-header {
  margin-bottom: 26px;
  text-align: left;
}

.svc-header .crumbs,
.prd-header .crumbs {
  margin-bottom: 12px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.svc-header .crumbs a,
.prd-header .crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.svc-header .crumbs a:hover,
.prd-header .crumbs a:hover {
  color: var(--accent-2);
}

.svc-header .crumbs span,
.prd-header .crumbs span {
  color: var(--ink);
}

.svc-cat-badge,
.prd-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(0, 229, 192, 0.12);
  color: var(--accent-2);
  border: 1px solid rgba(0, 229, 192, 0.32);
  margin-bottom: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.svc-cat-badge:hover {
  background: rgba(0, 229, 192, 0.2);
  color: #fff;
}

.svc-h1,
.prd-h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 4px 0 12px;
  color: var(--ink);
  text-align: left;
}

.svc-lead,
.prd-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 820px;
  line-height: 1.65;
  margin: 0 0 12px;
}

@media (max-width: 640px) {
  .svc-single,
  .prd-single {
    padding-top: 92px !important;
  }
}


/* ==========================================================================
   Feature Card Grid & Universal Accordion Styling
   ========================================================================== */
.cvw-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}
@media (max-width: 768px) {
  .cvw-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.cvw-feature-card {
  border: 1px solid var(--panel-brd);
  border-radius: 18px;
  background: var(--panel);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.cvw-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.cvw-fc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(0, 229, 192, 0.12));
  border: 1px solid var(--panel-brd);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.cvw-fc-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.cvw-fc-body h3 {
  font-family: var(--display);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px 0 !important;
  line-height: 1.3;
}
.cvw-fc-body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 !important;
}

/* Enhanced FAQ Accordions */
.faq-accordion {
  margin: 28px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--panel-brd);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover,
.faq-item.active {
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  gap: 16px;
  margin: 0 !important;
  outline: none;
}
.faq-question:hover {
  color: var(--accent-2);
  background: rgba(124, 92, 255, 0.04);
}
.faq-item.active .faq-question {
  color: var(--accent-2);
  border-bottom: 1px solid var(--panel-brd);
  background: rgba(124, 92, 255, 0.06);
}
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.14);
  color: var(--accent-2);
  font-size: 1.15rem;
  font-weight: bold;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-2);
  color: #090a12;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer {
  max-height: 1200px;
}
.faq-answer-inner {
  padding: 20px 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.faq-answer-inner p:last-child {
  margin-bottom: 0;
}
