/* DroneBase — Skin prodotto "radar" (batch 2, design LIVE su misura).
   Caricato SOLO sui prodotti col marker class "db-pd-skin-radar" nel contenuto
   (loader: inc/css-loader.php, wp_head:110, DOPO single-product.css → sovrascrive
   il framework col design giusto). CSS estratto verbatim dal blocco <style> inline
   che prima viveva nella descrizione prodotto. Origine: drone-detection-radar-mobile-h3-pro. */


  #db-pd-v5 { box-sizing: border-box; }
  #db-pd-v5 *, #db-pd-v5 *::before, #db-pd-v5 *::after { box-sizing: border-box; }
  #db-pd-v5 a { color: #0071e3; text-decoration: none; }
  #db-pd-v5 img { max-width: 100%; display: block; height: auto; }
  #db-pd-v5 table, #db-pd-v5 tr, #db-pd-v5 td { border-collapse: collapse; }

  #db-pd-v5 .v5-lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0071e3;
    margin-bottom: 10px;
  }
  #db-pd-v5 .v5-h2 {
    display: block;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    line-height: 1.15;
    margin-bottom: 18px;
  }
  #db-pd-v5 .v5-body {
    font-size: 17px;
    color: #515154;
    line-height: 1.55;
    margin-bottom: 32px;
    max-width: 760px;
  }

  /* HERO */
  #db-pd-v5 .v5-hero {
    position: relative;
    padding: 80px 40px 70px;
    background: linear-gradient(135deg, #1d1d1f 0%, #2a2a2e 100%);
    color: #fff;
    overflow: hidden;
  }
  #db-pd-v5 .v5-hero::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,113,227,0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  #db-pd-v5 .v5-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
  }
  #db-pd-v5 .v5-hero-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2997ff;
    margin-bottom: 22px;
  }
  #db-pd-v5 .v5-hero-title {
    display: block;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 22px;
    color: #fff;
  }
  #db-pd-v5 .v5-hero-sub {
    font-size: 19px;
    line-height: 1.55;
    color: #d1d1d6;
    font-weight: 400;
    margin: 0;
  }

  /* HERO IMAGE (replaces video) */
  #db-pd-v5 .v5-hero-media {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
  }
  #db-pd-v5 .v5-hero-media img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* KPI BAR */
  #db-pd-v5 .v5-kpi {
    background: #fff;
    padding: 0;
    margin-top: 0;
  }
  #db-pd-v5 .v5-kpi table { width: 100%; table-layout: fixed; }
  #db-pd-v5 .v5-kpi td {
    padding: 30px 24px;
    text-align: left;
    vertical-align: top;
    border-right: 1px solid #e5e5e7;
  }
  #db-pd-v5 .v5-kpi td:last-child { border-right: none; }
  #db-pd-v5 .v5-kpi-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    line-height: 1;
    margin-bottom: 6px;
  }
  #db-pd-v5 .v5-kpi-unit {
    font-size: 18px;
    font-weight: 500;
    color: #86868b;
  }
  #db-pd-v5 .v5-kpi-lbl {
    display: block;
    font-size: 12px;
    color: #86868b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
  }

  /* IMAGE SECTION */
  #db-pd-v5 .v5-img-sec { background: #fff; padding: 60px 40px; }
  #db-pd-v5 .v5-img-wrap {
    max-width: 880px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f7;
  }

  /* FEATURE OVERLAY */
  #db-pd-v5 .v5-feature {
    position: relative;
    background: #000;
    overflow: hidden;
  }
  #db-pd-v5 .v5-feature-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    opacity: 0.55;
  }
  #db-pd-v5 .v5-feature-overlay {
    position: absolute;
    inset: 0;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
    color: #fff;
  }
  #db-pd-v5 .v5-feature-lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2997ff;
    margin-bottom: 14px;
  }
  #db-pd-v5 .v5-feature-title {
    display: block;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 14px;
    max-width: 600px;
  }
  #db-pd-v5 .v5-feature-desc {
    font-size: 16px;
    line-height: 1.55;
    color: #d1d1d6;
    max-width: 640px;
    margin: 0;
  }

  /* SECTIONS */
  #db-pd-v5 .v5-sec-white { background: #fff; padding: 80px 40px; }
  #db-pd-v5 .v5-sec-gray { background: #f5f5f7; padding: 80px 40px; }

  /* CARDS GRID */
  #db-pd-v5 .v5-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 14px;
  }
  #db-pd-v5 .v5-card {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 28px 24px;
  }
  #db-pd-v5 .v5-card-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e5e7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #0071e3;
  }
  #db-pd-v5 .v5-card-icon svg { width: 20px; height: 20px; }
  #db-pd-v5 .v5-card-title {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
  }
  #db-pd-v5 .v5-card-desc {
    display: block;
    font-size: 14px;
    color: #515154;
    line-height: 1.5;
  }

  /* SEO TEXT */
  #db-pd-v5 .v5-seo-text {
    font-size: 16px;
    color: #515154;
    line-height: 1.7;
    max-width: 880px;
    margin-top: 16px;
  }
  #db-pd-v5 .v5-seo-text strong { color: #1d1d1f; font-weight: 600; }

  /* SPECS */
  #db-pd-v5 .v5-specs {
    margin-top: 14px;
    background: #f5f5f7;
    border-radius: 14px;
    padding: 20px 28px;
  }
  #db-pd-v5 .v5-spec-group {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0071e3;
    padding: 22px 0 12px;
    border-bottom: 2px solid #0071e3;
    margin-bottom: 4px;
  }
  #db-pd-v5 .v5-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e7;
    gap: 20px;
  }
  #db-pd-v5 .v5-spec-row:last-child { border-bottom: none; }
  #db-pd-v5 .v5-spec-k {
    color: #86868b;
    font-size: 14.5px;
    flex: 0 0 auto;
  }
  #db-pd-v5 .v5-spec-v {
    color: #1d1d1f;
    font-size: 14.5px;
    font-weight: 500;
    text-align: right;
  }

  /* BOX GRID */
  #db-pd-v5 .v5-box-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 14px;
  }
  #db-pd-v5 .v5-box-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid #e5e5e7;
  }
  #db-pd-v5 .v5-box-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(0,113,227,0.1);
    color: #0071e3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  #db-pd-v5 .v5-box-icon svg { width: 16px; height: 16px; }
  #db-pd-v5 .v5-box-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 2px;
  }
  #db-pd-v5 .v5-box-note {
    font-size: 13px;
    color: #86868b;
    line-height: 1.45;
  }

  /* USE CASES GRID */
  #db-pd-v5 .v5-uc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 14px;
  }
  #db-pd-v5 .v5-uc-card {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 28px 24px;
  }
  #db-pd-v5 .v5-uc-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e5e7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #0071e3;
  }
  #db-pd-v5 .v5-uc-icon svg { width: 20px; height: 20px; }
  #db-pd-v5 .v5-uc-title {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
  }
  #db-pd-v5 .v5-uc-desc {
    display: block;
    font-size: 14px;
    color: #515154;
    line-height: 1.5;
  }

  /* FUNCTIONS LIST */
  #db-pd-v5 .v5-feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 14px;
  }
  #db-pd-v5 .v5-feat-card {
    background: #fff;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  #db-pd-v5 .v5-feat-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(0,113,227,0.1);
    color: #0071e3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  #db-pd-v5 .v5-feat-icon svg { width: 14px; height: 14px; }
  #db-pd-v5 .v5-feat-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 3px;
  }
  #db-pd-v5 .v5-feat-desc {
    display: block;
    font-size: 13.5px;
    color: #515154;
    line-height: 1.5;
  }

  /* FAQ */
  #db-pd-v5 details.v5-faq {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 10px;
    border: 1px solid #e5e5e7;
    overflow: hidden;
  }
  #db-pd-v5 details.v5-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
    position: relative;
    padding-right: 50px;
  }
  #db-pd-v5 details.v5-faq summary::-webkit-details-marker { display: none; }
  #db-pd-v5 details.v5-faq summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: #0071e3;
  }
  #db-pd-v5 details[open].v5-faq summary::after { content: '&#8722;'; }
  #db-pd-v5 .v5-faq-body {
    padding: 0 24px 22px;
    font-size: 15px;
    color: #515154;
    line-height: 1.6;
  }

  /* CTA */
  #db-pd-v5 .v5-cta {
    background: linear-gradient(135deg, #1d1d1f 0%, #2a2a2e 100%);
    color: #fff;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  #db-pd-v5 .v5-cta::before {
    content: '';
    position: absolute;
    bottom: -100px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(0,113,227,0.2) 0%, transparent 70%);
    pointer-events: none;
  }
  #db-pd-v5 .v5-cta-title {
    display: block;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
  }
  #db-pd-v5 .v5-cta-sub {
    font-size: 16px;
    color: #d1d1d6;
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
  }
  #db-pd-v5 .v5-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin: 4px 4px;
    color: #fff;
    position: relative;
    z-index: 1;
  }

  /* RESPONSIVE */
  @media(max-width: 640px) {
    #db-pd-v5 .v5-hero { padding: 50px 24px 45px; }
    #db-pd-v5 .v5-hero-title { font-size: 32px; }
    #db-pd-v5 .v5-hero-sub { font-size: 16px; }
    #db-pd-v5 .v5-h2 { font-size: 26px; }
    #db-pd-v5 .v5-sec-white,
    #db-pd-v5 .v5-sec-gray,
    #db-pd-v5 .v5-img-sec { padding: 50px 24px; }
    #db-pd-v5 .v5-feat-grid,
    #db-pd-v5 .v5-cards,
    #db-pd-v5 .v5-uc-grid,
    #db-pd-v5 .v5-box-grid { grid-template-columns: 1fr; }
    #db-pd-v5 .v5-feature-img { height: 320px; }
    #db-pd-v5 .v5-feature-overlay { padding: 36px 28px; }
    #db-pd-v5 .v5-feature-title { font-size: 24px; }
    #db-pd-v5 .v5-kpi td {
      display: block;
      width: 100%;
      border-right: none;
      border-bottom: 1px solid #e5e5e7;
    }
    #db-pd-v5 .v5-kpi td:last-child { border-bottom: none; }
    #db-pd-v5 .v5-cta { padding: 50px 24px; }
    #db-pd-v5 .v5-cta-title { font-size: 24px; }
    #db-pd-v5 .v5-spec-row { flex-direction: column; gap: 4px; }
    #db-pd-v5 .v5-spec-v { text-align: left; }
  }

