/* ================================================================
   NDPE Product Master — Premium Design System v4.0
   ================================================================ */
.ndpe-pm-wrap{--pm-accent:#e85d04;--pm-accent-hover:#c94d00;--pm-accent-light:rgba(232,93,4,.09);--pm-text-primary:#111827;--pm-text-secondary:#4b5563;--pm-text-muted:#9ca3af;--pm-bg-page:#f5f4f1;--pm-bg-card:#fff;--pm-bg-offset:#f9f8f6;--pm-border:rgba(0,0,0,.08);--pm-border-md:rgba(0,0,0,.12);--pm-shadow-xs:0 1px 2px rgba(0,0,0,.05);--pm-shadow-sm:0 2px 8px rgba(0,0,0,.07);--pm-shadow-md:0 6px 20px rgba(0,0,0,.09);--pm-shadow-lg:0 16px 48px rgba(0,0,0,.12);--pm-r-xs:6px;--pm-r-sm:10px;--pm-r-md:16px;--pm-r-lg:22px;--pm-ease:180ms cubic-bezier(.16,1,.3,1);--pm-font:inherit}
.ndpe-pm-wrap *,.ndpe-pm-wrap *::before,.ndpe-pm-wrap *::after{box-sizing:border-box}
.ndpe-pm-wrap{font-family:var(--pm-font);background:var(--pm-bg-page);color:var(--pm-text-primary)}

/* ── HERO ── */
.ndpe-pm-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:52px;max-width:1200px;margin:0 auto;padding:52px 32px;align-items:start;background:var(--pm-bg-card);border-bottom:1px solid var(--pm-border)}
.ndpe-pm-gallery-col{display:flex;flex-direction:column;gap:12px}

/* Browser Frame */
.ndpe-pm-browser-frame{border-radius:var(--pm-r-lg);overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.09),var(--pm-shadow-lg)}
.ndpe-pm-browser-topbar{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#1e1e1e;border-bottom:1px solid rgba(255,255,255,.05)}
.ndpe-pm-browser-dots{display:flex;gap:6px;flex-shrink:0}
.ndpe-dot{width:12px;height:12px;border-radius:50%;display:block}
.ndpe-dot-r{background:#ff5f57}.ndpe-dot-y{background:#ffbd2e}.ndpe-dot-g{background:#28c840}
.ndpe-pm-browser-urlbar{flex:1;display:flex;align-items:center;gap:6px;max-width:260px;margin:0 auto;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:6px;padding:5px 10px;color:rgba(255,255,255,.45);font-size:11px;overflow:hidden}
.ndpe-pm-urlbar-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:rgba(255,255,255,.55)}
.ndpe-pm-topbar-ext{color:rgba(255,255,255,.35);display:flex;align-items:center;padding:5px;border-radius:5px;transition:all var(--pm-ease);text-decoration:none;flex-shrink:0}
.ndpe-pm-topbar-ext:hover{color:rgba(255,255,255,.85);background:rgba(255,255,255,.08)}

/* Image Viewport */
.ndpe-pm-image-viewport{position:relative;height:420px;overflow:hidden;background:#f0f0f0;cursor:ns-resize}
.ndpe-pm-product-screenshot{width:100%;display:block;transition:none;will-change:transform;pointer-events:none;user-select:none;-webkit-user-select:none}
.ndpe-pm-img-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#d1d5db;gap:10px;font-size:13px}
.ndpe-pm-scroll-hint-badge{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;background:rgba(0,0,0,.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:rgba(255,255,255,.9);font-size:11px;font-weight:600;letter-spacing:.04em;padding:6px 14px;border-radius:100px;border:1px solid rgba(255,255,255,.12);pointer-events:none;transition:opacity var(--pm-ease)}
.ndpe-pm-image-viewport:hover .ndpe-pm-scroll-hint-badge{opacity:0}

/* Live Preview Button */
.ndpe-pm-live-preview-btn{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 22px;background:var(--pm-bg-card);border:1.5px solid var(--pm-border-md);border-radius:var(--pm-r-md);box-shadow:var(--pm-shadow-sm);text-decoration:none;color:var(--pm-text-primary);font-size:.9375rem;font-weight:700;letter-spacing:-.01em;transition:all var(--pm-ease);cursor:pointer}
.ndpe-pm-live-preview-btn:hover{border-color:var(--pm-accent);box-shadow:0 0 0 3px var(--pm-accent-light),var(--pm-shadow-sm);color:var(--pm-accent);text-decoration:none}
.ndpe-pm-lpb-dot{width:8px;height:8px;background:#22c55e;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 2px rgba(34,197,94,.25);animation:ndpe-pulse 2s ease-in-out infinite}
@keyframes ndpe-pulse{0%,100%{box-shadow:0 0 0 2px rgba(34,197,94,.25)}50%{box-shadow:0 0 0 5px rgba(34,197,94,.1)}}
.ndpe-pm-lpb-label{flex:1;text-align:center}
.ndpe-pm-lpb-arrow{margin-left:auto;color:var(--pm-text-muted);display:flex;align-items:center;transition:transform var(--pm-ease)}
.ndpe-pm-live-preview-btn:hover .ndpe-pm-lpb-arrow{transform:translateX(4px);color:var(--pm-accent)}

/* Thumbnails */
.ndpe-pm-thumb-strip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.ndpe-pm-thumb-strip::-webkit-scrollbar{display:none}
.ndpe-pm-thumb{flex-shrink:0;width:64px;height:48px;border-radius:var(--pm-r-sm);overflow:hidden;border:2px solid var(--pm-border);cursor:pointer;padding:0;background:none;transition:border-color var(--pm-ease)}
.ndpe-pm-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ndpe-pm-thumb:hover,.ndpe-pm-thumb.ndpe-thumb-active{border-color:var(--pm-accent)}

/* ── INFO COLUMN ── */
.ndpe-pm-info-col{display:flex;flex-direction:column;gap:16px;position:sticky;top:90px;align-self:start}


/* Tags */
.ndpe-pm-tags-strip{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:-4px}
.ndpe-pm-tag-chip{font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--pm-accent);background:var(--pm-accent-light);border:1px solid rgba(232,93,4,.18);padding:3px 10px;border-radius:100px}

/* Title */
.ndpe-pm-product-title{font-size:clamp(1.5rem,3vw,2rem)!important;font-weight:800!important;line-height:1.18!important;letter-spacing:-.03em!important;color:var(--pm-text-primary)!important;margin:0!important}

/* Rating */
.ndpe-pm-rating-row{display:flex;align-items:center;gap:8px}
.ndpe-pm-rating-text,.ndpe-pm-no-reviews{font-size:.8125rem;color:var(--pm-text-muted);display:flex;align-items:center;gap:5px}

/* Short Desc */
.ndpe-pm-short-desc{padding:16px 18px;background:var(--pm-bg-offset);border-left:3px solid var(--pm-accent);border-radius:0 var(--pm-r-sm) var(--pm-r-sm) 0;font-size:.9rem;line-height:1.7;color:var(--pm-text-secondary)}
.ndpe-pm-short-desc p{margin:0!important}

/* ── Features Block ─────────────────────────────────── */
.ndpe-pm-features-block{
  padding:18px 0 4px;
  border-top:1px solid var(--pm-border);
  margin-top:4px;
}
.ndpe-pm-features-heading{
  font-size:.6875rem;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;color:var(--pm-text-muted);
  margin:0 0 14px;
}
.ndpe-pm-features-list{
  list-style:none;padding:0;margin:0;
  display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;
}
.ndpe-pm-feature-item{
  display:flex;align-items:flex-start;gap:9px;
  font-size:.875rem;font-weight:600;
  color:var(--pm-text-secondary);
  line-height:1.4;
}
.ndpe-pm-feat-icon{
  width:22px;height:22px;min-width:22px;
  background:var(--pm-accent-light,rgba(232,93,4,.1));
  color:var(--pm-accent);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;margin-top:1px;
}
.ndpe-pm-feat-text{flex:1}

/* Feature Badges */
.ndpe-pm-feat-badge{
  font-size:.625rem;
  font-weight:800;
  letter-spacing:.05em;
  padding:2px 6px;
  border-radius:4px;
  text-transform:uppercase;
  margin-left:8px;
  display:inline-flex;
  align-items:center;
  line-height:1;
  vertical-align:middle;
}
.ndpe-badge-hot{background:#fee2e2;color:#ef4444}
.ndpe-badge-new{background:#dcfce7;color:#22c55e}
.ndpe-badge-trending{background:#fef08a;color:#ca8a04}
.ndpe-badge-popular{background:#e0f2fe;color:#0ea5e9}
.ndpe-badge-limited{background:#ffedd5;color:#ea580c}
.ndpe-badge-free{background:#d1fae5;color:#059669}
.ndpe-badge-pro{background:#ede9fe;color:#7c3aed}
.ndpe-badge-sale{background:#fce7f3;color:#db2777}
.ndpe-badge-beta{background:#f3f4f6;color:#4b5563}

/* Stunning Hover Effect & Design Polish */
.ndpe-pm-feature-item{
  transition:all 0.2s ease;
  padding:4px 0;
}
.ndpe-pm-feature-item:hover{
  transform:translateX(4px);
  color:var(--pm-text-primary);
}
.ndpe-pm-feature-item:hover .ndpe-pm-feat-icon{
  background:var(--pm-accent);
  color:#fff;
  transform:scale(1.1);
}
.ndpe-pm-feat-icon{
  transition:all 0.2s ease;
}



/* Trust Grid */
.ndpe-pm-trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ndpe-pm-trust-item{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--pm-bg-card);border:1.5px solid var(--pm-border);border-radius:var(--pm-r-md);box-shadow:var(--pm-shadow-xs);transition:all var(--pm-ease)}
.ndpe-pm-trust-item:hover{border-color:var(--pm-accent);box-shadow:0 0 0 3px var(--pm-accent-light)}
.ndpe-pm-trust-icon-wrap{width:36px;height:36px;border-radius:9px;background:var(--pm-accent-light);border:1px solid rgba(232,93,4,.15);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--pm-accent)}
.ndpe-pm-trust-icon-wrap svg{stroke:var(--pm-accent);fill:none}
.ndpe-pm-trust-title{font-size:.8125rem;font-weight:700;color:var(--pm-text-primary);display:block;line-height:1.2}
.ndpe-pm-trust-sub{font-size:.6875rem;color:var(--pm-text-muted);display:block;margin-top:2px;line-height:1.3}

/* Price Block */
.ndpe-pm-price-block{padding:18px 20px;background:var(--pm-bg-card);border:1.5px solid var(--pm-border-md);border-radius:var(--pm-r-md);box-shadow:var(--pm-shadow-xs)}
.ndpe-pm-price-label-text{font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--pm-text-muted);margin-bottom:10px;display:block}
.ndpe-pm-price-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ndpe-pm-price-block .price{display:flex!important;align-items:baseline!important;gap:10px!important;flex-wrap:wrap!important;line-height:1!important}
.ndpe-pm-price-block .price ins,.ndpe-pm-price-block .price ins .woocommerce-Price-amount,.ndpe-pm-price-block .price ins .woocommerce-Price-amount bdi{font-size:2.25rem!important;font-weight:900!important;color:var(--pm-text-primary)!important;letter-spacing:-.04em!important;line-height:1!important;text-decoration:none!important;display:inline!important}
.ndpe-pm-price-block .price del,.ndpe-pm-price-block .price del .woocommerce-Price-amount,.ndpe-pm-price-block .price del bdi{font-size:1rem!important;font-weight:500!important;color:var(--pm-text-muted)!important;text-decoration:line-through!important;display:inline!important}
.ndpe-pm-price-block .price>.woocommerce-Price-amount,.ndpe-pm-price-block .price>.woocommerce-Price-amount bdi{font-size:2.25rem!important;font-weight:900!important;color:var(--pm-text-primary)!important;letter-spacing:-.04em!important;line-height:1!important}
.ndpe-pm-discount-chip{display:inline-flex!important;align-items:center!important;padding:6px 14px!important;background:#16a34a!important;color:#fff!important;font-size:.8125rem!important;font-weight:800!important;border-radius:100px!important;letter-spacing:.02em!important;box-shadow:0 2px 8px rgba(22,163,74,.28)!important;white-space:nowrap!important}

/* Buy Button */
.ndpe-pm-cart-wrap,.ndpe-pm-cart-wrap form.cart{display:flex!important;flex-direction:column!important;gap:0!important}
.ndpe-pm-cart-wrap .quantity{display:none!important}
.ndpe-pm-cart-wrap .single_add_to_cart_button,.ndpe-pm-cart-wrap button.single_add_to_cart_button{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:17px 28px!important;background:var(--pm-accent)!important;color:#fff!important;border:none!important;border-radius:var(--pm-r-md)!important;font-size:1.0625rem!important;font-weight:800!important;letter-spacing:-.01em!important;cursor:pointer!important;box-shadow:0 4px 0 rgba(0,0,0,.18),0 8px 24px rgba(232,93,4,.28)!important;transition:all var(--pm-ease)!important;position:relative!important;overflow:hidden!important;text-decoration:none!important}
.ndpe-pm-cart-wrap .single_add_to_cart_button:hover{background:var(--pm-accent-hover)!important;box-shadow:0 2px 0 rgba(0,0,0,.18),0 12px 32px rgba(232,93,4,.38)!important;transform:translateY(-2px)!important}
.ndpe-pm-cart-wrap .single_add_to_cart_button:active{transform:translateY(1px)!important;box-shadow:0 1px 0 rgba(0,0,0,.18)!important}


/* Meta Panel */
.ndpe-pm-meta-panel{background:var(--pm-bg-offset);border:1.5px solid var(--pm-border);border-radius:var(--pm-r-md);overflow:hidden}
.ndpe-pm-meta-row{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--pm-border)}
.ndpe-pm-meta-row:last-child{border-bottom:none}
.ndpe-pm-meta-key{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--pm-text-muted)}
.ndpe-pm-meta-val{font-size:.8125rem;font-weight:600;color:var(--pm-text-primary);text-align:right}

/* ── TABS ── */
.ndpe-pm-tabs-section{background:var(--pm-bg-page);padding:48px 32px}
.ndpe-pm-tabs-inner{max-width:1200px;margin:0 auto}
.ndpe-pm-tab-nav{display:flex;align-items:stretch;gap:0;border-bottom:2px solid var(--pm-border);overflow-x:auto;scrollbar-width:none;margin-bottom:0;position:relative;z-index:2}
.ndpe-pm-tab-nav::-webkit-scrollbar{display:none}
.ndpe-pm-tab-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 24px;font-size:.9375rem;font-weight:600;color:var(--pm-text-muted);border:none;border-bottom:3px solid transparent;background:transparent;cursor:pointer;white-space:nowrap;margin-bottom:-2px;border-radius:0;transition:color 160ms ease,border-color 160ms ease,background 160ms ease;letter-spacing:-.01em;position:relative;z-index:1;pointer-events:auto!important;user-select:none;-webkit-user-select:none}
.ndpe-pm-tab-btn:hover{color:var(--pm-text-primary);background:rgba(0,0,0,.025)}
.ndpe-pm-tab-btn.ndpe-tab-active{color:var(--pm-accent);border-bottom-color:var(--pm-accent);font-weight:700;background:rgba(232,93,4,.03)}
.ndpe-pm-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;background:var(--pm-bg-offset);border-radius:100px;font-size:.6875rem;font-weight:700;color:var(--pm-text-muted);padding:0 6px}
.ndpe-pm-tab-btn.ndpe-tab-active .ndpe-pm-tab-count{background:var(--pm-accent-light);color:var(--pm-accent)}
.ndpe-pm-tab-panels{background:var(--pm-bg-card);border:1.5px solid var(--pm-border);border-top:none;border-radius:0 0 var(--pm-r-lg) var(--pm-r-lg);box-shadow:0 4px 20px rgba(0,0,0,.05)}
.ndpe-pm-tab-panel{padding:40px 48px;display:none}
.ndpe-pm-tab-panel.ndpe-tab-active{display:block}
.ndpe-pm-tab-panel.ndpe-tab-active{animation:ndpe-fade-up 220ms ease forwards}
@keyframes ndpe-fade-up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* Description */
.ndpe-pm-desc-content{max-width:820px;font-size:.9375rem!important;line-height:1.85!important;color:var(--pm-text-secondary)!important}
.ndpe-pm-desc-content h2{font-size:1.1875rem!important;font-weight:800!important;color:var(--pm-text-primary)!important;margin:36px 0 14px!important;padding-bottom:10px!important;border-bottom:1px solid var(--pm-border)!important;letter-spacing:-.025em!important}
.ndpe-pm-desc-content h3{font-size:1.0625rem!important;font-weight:700!important;color:var(--pm-text-primary)!important;margin:28px 0 10px!important;letter-spacing:-.02em!important}
.ndpe-pm-desc-content h2:first-child,.ndpe-pm-desc-content h3:first-child{margin-top:0!important}
.ndpe-pm-desc-content p{margin-bottom:16px!important;color:var(--pm-text-secondary)!important}
.ndpe-pm-desc-content ul{list-style:none!important;padding-left:0!important;margin-bottom:16px!important}
.ndpe-pm-desc-content ul li{padding-left:22px!important;position:relative!important;margin-bottom:8px!important}
.ndpe-pm-desc-content ul li::before{content:"✓"!important;position:absolute!important;left:0!important;color:var(--pm-accent)!important;font-weight:800!important}
.ndpe-pm-desc-content ol{padding-left:20px!important;margin-bottom:16px!important}
.ndpe-pm-desc-content strong{color:var(--pm-text-primary)!important;font-weight:700!important}
.ndpe-pm-desc-content a{color:var(--pm-accent)!important;font-weight:600!important;text-decoration:none!important}
.ndpe-pm-desc-content a:hover{text-decoration:underline!important}
.ndpe-pm-desc-content hr{border:none!important;border-top:1px solid var(--pm-border)!important;margin:32px 0!important}
.ndpe-pm-desc-content blockquote{margin:24px 0!important;padding:18px 22px!important;background:#fff7ed!important;border-left:4px solid var(--pm-accent)!important;border-radius:0 var(--pm-r-sm) var(--pm-r-sm) 0!important;font-style:normal!important}
.ndpe-pm-desc-content img{max-width:100%;border-radius:var(--pm-r-md);margin:1em 0}

/* ── Reviews — Premium Borderless Redesign ────────────────────── */
.ndpe-pm-reviews-wrap{padding:0}
.ndpe-pm-reviews-wrap .woocommerce-Reviews{margin:0!important;padding:0!important}
.ndpe-pm-reviews-wrap .woocommerce-Reviews-title{display:none!important}
.ndpe-pm-reviews-wrap #comments{margin-bottom:0!important}

/* List */
.ndpe-pm-reviews-wrap ol.commentlist{
  list-style:none!important;margin:0!important;padding:0!important;
  display:flex;flex-direction:column;gap:14px;
}

/* ── Card — no border, pure shadow ── */
.ndpe-pm-reviews-wrap ol.commentlist li.review{
  background:var(--pm-bg-card)!important;
  border:none!important;
  border-left:none!important;
  outline:none!important;
  border-radius:var(--pm-r-lg)!important;
  padding:0!important;margin:0!important;
  box-shadow:0 1px 4px rgba(0,0,0,.04),0 4px 18px rgba(0,0,0,.07)!important;
  transition:box-shadow 240ms ease,transform 240ms ease!important;
  position:relative;overflow:hidden;
}
.ndpe-pm-reviews-wrap ol.commentlist li.review::after{display:none!important}
.ndpe-pm-reviews-wrap ol.commentlist li.review:hover{
  box-shadow:0 6px 28px rgba(0,0,0,.11),0 1px 6px rgba(0,0,0,.05)!important;
  transform:translateY(-2px)!important;
  border:none!important;
}

/* ── Container ── */
.ndpe-pm-reviews-wrap .comment_container{
  display:flex!important;gap:18px!important;padding:24px 28px!important;
  background:transparent!important;border:none!important;align-items:flex-start!important;
}

/* ── Avatar — clean, no orange ring ── */
.ndpe-pm-reviews-wrap .comment_container > img.avatar,
.ndpe-pm-reviews-wrap .comment_container img.avatar{
  width:46px!important;height:46px!important;
  border-radius:50%!important;
  border:2px solid rgba(0,0,0,.07)!important;
  outline:none!important;
  box-shadow:0 2px 10px rgba(0,0,0,.10)!important;
  flex-shrink:0!important;object-fit:cover!important;margin:0!important;
}

/* ── Body — CSS grid: [meta | stars] / [desc | desc] ── */
.ndpe-pm-reviews-wrap .comment-text{
  flex:1!important;border:none!important;padding:0!important;
  background:transparent!important;min-width:0!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  grid-template-rows:auto 1fr!important;
  grid-template-areas:"meta stars" "desc desc"!important;
  column-gap:16px!important;
  align-items:start!important;
}

/* Stars — top right */
.ndpe-pm-reviews-wrap .star-rating{
  grid-area:stars!important;
  display:flex!important;font-size:.9375rem!important;
  line-height:1!important;margin:0!important;align-self:center!important;
}
.ndpe-pm-reviews-wrap .star-rating::before{color:#e9e9e9!important}
.ndpe-pm-reviews-wrap .star-rating span::before{color:var(--pm-accent)!important}

/* Meta row — left */
.ndpe-pm-reviews-wrap .comment-text .meta{
  grid-area:meta!important;
  display:flex!important;flex-wrap:wrap!important;
  align-items:center!important;gap:7px!important;margin-bottom:10px!important;
}

/* Author */
.ndpe-pm-reviews-wrap .comment-text .woocommerce-review__author{
  font-size:.9375rem!important;font-weight:800!important;
  color:var(--pm-text-primary)!important;line-height:1.2!important;letter-spacing:-.01em;
}

/* Hide WC dash + hide native verified text (we use JS badge) */
.ndpe-pm-reviews-wrap .comment-text .woocommerce-review__dash{display:none!important}
.ndpe-pm-reviews-wrap .comment-text .woocommerce-review__verified{display:none!important}

/* Date — plain text, no pill */
.ndpe-pm-reviews-wrap .comment-text .woocommerce-review__published-date{
  font-size:.75rem!important;color:var(--pm-text-muted)!important;
  background:none!important;border:none!important;
  padding:0!important;margin-left:0!important;border-radius:0!important;
}

/* ── JS-Forced Verified Badge ── */
.ndpe-review-verified-badge{
  display:inline-flex!important;align-items:center!important;gap:4px!important;
  font-size:.625rem!important;font-weight:700!important;
  letter-spacing:.06em!important;text-transform:uppercase!important;
  color:#0369a1!important;
  background:linear-gradient(135deg,#e0f2fe,#bae6fd)!important;
  padding:3px 9px 3px 6px!important;border-radius:20px!important;
  line-height:1.6!important;border:none!important;vertical-align:middle!important;
  white-space:nowrap;
}
.ndpe-review-verified-badge svg{flex-shrink:0!important}

/* Description */
.ndpe-pm-reviews-wrap .comment-text .description{grid-area:desc!important;margin-top:4px}
.ndpe-pm-reviews-wrap .comment-text .description p{
  font-size:.9375rem!important;line-height:1.8!important;
  color:var(--pm-text-secondary)!important;margin:0 0 6px!important;
}
.ndpe-pm-reviews-wrap .comment-text .description p:last-child{margin:0!important}

/* No reviews */
.ndpe-pm-reviews-wrap p.woocommerce-noreviews{
  font-size:.9375rem!important;color:var(--pm-text-muted)!important;
  padding:32px 0!important;text-align:center!important;margin:0!important;
}

/* ── Store Reply — indented, tinted, no border ── */
.ndpe-pm-reviews-wrap ol.commentlist li.review ol.children{
  list-style:none!important;margin:0!important;padding:0 24px 24px 88px!important;
}
.ndpe-pm-reviews-wrap ol.commentlist li.review ol.children li{
  background:var(--pm-bg-offset)!important;
  border:none!important;border-left:none!important;
  border-radius:var(--pm-r-md)!important;padding:0!important;margin:0!important;
  box-shadow:none!important;
}
.ndpe-pm-reviews-wrap ol.commentlist li.review ol.children .comment_container{
  padding:16px 20px!important;gap:12px!important;
}
.ndpe-pm-reviews-wrap ol.commentlist li.review ol.children img.avatar{
  width:32px!important;height:32px!important;box-shadow:none!important;
}
.ndpe-pm-reviews-wrap ol.commentlist li.review ol.children .comment-text{
  grid-template-areas:"meta meta" "desc desc"!important;
}
.ndpe-pm-reviews-wrap ol.commentlist li.review ol.children .woocommerce-review__author{
  font-size:.875rem!important;color:var(--pm-accent)!important;font-weight:700!important;
}
.ndpe-pm-reviews-wrap ol.commentlist li.review ol.children .star-rating{display:none!important}

/* ── Review Form ── */
.ndpe-pm-reviews-wrap #review_form_wrapper{
  margin-top:36px!important;padding:32px!important;
  background:var(--pm-bg-offset)!important;
  border-radius:var(--pm-r-lg)!important;border:none!important;
  box-shadow:0 2px 12px rgba(0,0,0,.06)!important;
}
.ndpe-pm-reviews-wrap #reply-title,
.ndpe-pm-reviews-wrap .comment-reply-title{
  font-size:1.0625rem!important;font-weight:800!important;
  color:var(--pm-text-primary)!important;margin:0 0 24px!important;letter-spacing:-.02em;
}
.ndpe-pm-reviews-wrap .comment-form{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;
}
.ndpe-pm-reviews-wrap .comment-form .comment-form-rating,
.ndpe-pm-reviews-wrap .comment-form .comment-form-comment,
.ndpe-pm-reviews-wrap .comment-form .comment-notes,
.ndpe-pm-reviews-wrap .comment-form .form-submit{grid-column:1/-1!important}
.ndpe-pm-reviews-wrap .comment-form label{
  display:block!important;font-size:.75rem!important;font-weight:700!important;
  color:var(--pm-text-secondary)!important;margin-bottom:6px!important;
  letter-spacing:.04em!important;text-transform:uppercase!important;
}
.ndpe-pm-reviews-wrap .comment-form input[type="text"],
.ndpe-pm-reviews-wrap .comment-form input[type="email"],
.ndpe-pm-reviews-wrap .comment-form textarea{
  width:100%!important;padding:13px 16px!important;
  border:1.5px solid var(--pm-border-md)!important;border-radius:var(--pm-r-sm)!important;
  font-size:.9375rem!important;background:var(--pm-bg-card)!important;
  color:var(--pm-text-primary)!important;outline:none!important;
  transition:border-color 200ms ease,box-shadow 200ms ease!important;
  box-sizing:border-box!important;
}
.ndpe-pm-reviews-wrap .comment-form input:focus,
.ndpe-pm-reviews-wrap .comment-form textarea:focus{
  border-color:var(--pm-accent)!important;
  box-shadow:0 0 0 3px var(--pm-accent-light)!important;
}
.ndpe-pm-reviews-wrap .comment-form textarea{min-height:110px!important;resize:vertical!important}
.ndpe-pm-reviews-wrap .comment-form p.comment-notes{font-size:.8125rem!important;color:var(--pm-text-muted)!important;margin:0!important}
.ndpe-pm-reviews-wrap .stars a{color:var(--pm-accent)!important;font-size:1.375rem!important;transition:transform 150ms ease!important}
.ndpe-pm-reviews-wrap .stars a:hover{transform:scale(1.2)!important}
.ndpe-pm-reviews-wrap .submit{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:var(--pm-accent)!important;
  color:#fff!important;border:none!important;
  padding:14px 36px!important;border-radius:var(--pm-r-md)!important;
  font-size:.9375rem!important;font-weight:800!important;
  letter-spacing:.01em!important;cursor:pointer!important;
  transition:all 200ms ease!important;
  box-shadow:0 4px 16px rgba(0,0,0,.18)!important;
}
.ndpe-pm-reviews-wrap .submit:hover{
  filter:brightness(1.08)!important;transform:translateY(-1px)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.22)!important;
}



/* FAQ */
/* FAQ ─ Premium Card Accordion */
.ndpe-pm-faq-wrap{display:flex;flex-direction:column;gap:12px;counter-reset:ndpe-faq}
.ndpe-pm-faq-item{
  border:1px solid var(--pm-border);
  border-radius:var(--pm-r-md);
  background:var(--pm-bg-card);
  overflow:hidden;
  transition:border-color 220ms ease,box-shadow 220ms ease;
}
.ndpe-pm-faq-item:hover{
  border-color:var(--pm-border-md);
  box-shadow:0 4px 16px rgba(0,0,0,.06);
}
.ndpe-pm-faq-item.ndpe-faq-open{
  border-color:var(--pm-accent);
  border-left-width:4px;
  box-shadow:0 4px 20px rgba(0,0,0,.08);
}
/* Question button */
.ndpe-pm-faq-q{
  width:100%;display:flex;align-items:center;
  justify-content:space-between;gap:16px;
  padding:18px 20px;
  background:transparent;border:none;
  font-size:.9375rem;font-weight:700;
  color:var(--pm-text-primary);cursor:pointer;
  text-align:left;line-height:1.4;
  transition:color 200ms ease,background 200ms ease;
  position:relative;
}
.ndpe-pm-faq-q::before{
  counter-increment:ndpe-faq;
  content:counter(ndpe-faq,decimal-leading-zero);
  font-size:.6875rem;font-weight:800;letter-spacing:.05em;
  color:var(--pm-accent);opacity:.7;
  flex-shrink:0;min-width:24px;
}
.ndpe-pm-faq-q:hover{color:var(--pm-accent);background:var(--pm-bg-offset)}
.ndpe-pm-faq-item.ndpe-faq-open .ndpe-pm-faq-q{
  color:var(--pm-accent);background:var(--pm-bg-offset);
}
.ndpe-pm-faq-item.ndpe-faq-open .ndpe-pm-faq-q::before{opacity:1}
/* Chevron */
.ndpe-pm-faq-chevron{flex-shrink:0;transition:transform 280ms cubic-bezier(.4,0,.2,1);color:var(--pm-text-muted)}
.ndpe-pm-faq-item.ndpe-faq-open .ndpe-pm-faq-chevron{transform:rotate(180deg);color:var(--pm-accent)}
/* Answer — smooth max-height animation */
.ndpe-pm-faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height 300ms cubic-bezier(.4,0,.2,1),
             padding-bottom 280ms ease,
             opacity 240ms ease;
  padding:0 20px 0 60px;
  opacity:0;
  font-size:.9375rem;line-height:1.8;color:var(--pm-text-secondary);
}
/* ndpe-faq-closed kept for PHP no-JS fallback compatibility */
.ndpe-pm-faq-a.ndpe-faq-closed{
  max-height:0!important;
  padding-bottom:0!important;
  opacity:0!important;
}

/* ── RELATED ── */
.ndpe-pm-related-section{background:var(--pm-bg-page);padding:56px 32px 64px;border-top:1px solid var(--pm-border)}
.ndpe-pm-related-inner{max-width:1200px;margin:0 auto}
.ndpe-pm-related-heading{font-size:1.375rem!important;font-weight:800!important;letter-spacing:-.03em!important;color:var(--pm-text-primary)!important;margin:0 0 28px!important}
.ndpe-pm-related-grid{
  display:grid;
  /* auto-fill is container-aware — works in Elementor preview at any simulated device width */
  grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));
  gap:20px;
  align-items:start;
}

/* ndpe-card integration — grid sizing glue (ndpe-cards.css handles all internal design) */
.ndpe-pm-related-grid .ndpe-card{height:100%;display:flex;flex-direction:column}
.ndpe-pm-related-grid .ndpe-card-body{flex:1}
.ndpe-pm-related-grid .ndpe-card-thumb{aspect-ratio:16/10;overflow:hidden}
.ndpe-pm-related-grid .ndpe-card-img{width:100%;height:100%;object-fit:cover;display:block}
.ndpe-pm-related-grid .ndpe-card:hover{transform:translateY(-4px);box-shadow:0 0 0 2px var(--pm-accent),0 12px 28px rgba(0,0,0,.1)!important;border-color:var(--pm-accent)!important;text-decoration:none}
.ndpe-pm-related-grid .ndpe-card:hover .ndpe-card-img{transform:scale(1.04)}


/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .ndpe-pm-hero{grid-template-columns:1fr;gap:36px;padding:36px 24px}
  .ndpe-pm-info-col{position:static!important;max-height:none!important;overflow-y:visible!important}
  .ndpe-pm-related-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  /* Force 2 columns on tablet — overrides auto-fill at narrow widths */
  .ndpe-pm-related-grid{grid-template-columns:repeat(2,1fr);gap:14px}
}
@media(max-width:640px){
  .ndpe-pm-hero,.ndpe-pm-tabs-section,.ndpe-pm-related-section{padding-left:16px;padding-right:16px}
  .ndpe-pm-trust-grid{grid-template-columns:1fr}
  .ndpe-pm-tab-panel{padding:28px 20px}
  .ndpe-pm-related-grid{grid-template-columns:repeat(2,1fr);gap:12px}
}
@media(max-width:480px){
  /* 1 column on small phones — cards are full width and fully readable */
  .ndpe-pm-related-grid{grid-template-columns:1fr;gap:12px}
  /* Compact card internals for single-column mobile */
  .ndpe-pm-related-grid .ndpe-card-thumb{aspect-ratio:16/7!important}
  .ndpe-pm-related-grid .ndpe-card-body{padding:12px 14px 8px!important}
  .ndpe-pm-related-grid .ndpe-card-footer{padding:8px 14px 14px!important;gap:6px!important}
  .ndpe-pm-related-grid .ndpe-card-title{font-size:.9375rem!important;-webkit-line-clamp:1!important}
  .ndpe-pm-related-grid .ndpe-card-price{font-size:.9375rem!important}
  /* Let button text wrap instead of overflow/truncate */
  .ndpe-pm-related-grid .ndpe-btn{white-space:normal!important;text-align:center!important;font-size:.8125rem!important;padding:9px 14px!important;line-height:1.3!important}
}
@media(max-width:380px){
  .ndpe-pm-related-section{padding-left:12px!important;padding-right:12px!important}
  .ndpe-pm-related-grid{gap:10px}
}

/* Hero ratio variants */
.ndpe-hero-ratio-5050{grid-template-columns:1fr 1fr!important}
.ndpe-hero-ratio-5545{grid-template-columns:1.1fr .9fr!important}
.ndpe-hero-ratio-6040{grid-template-columns:1.2fr .8fr!important}
.ndpe-hero-ratio-4555{grid-template-columns:.9fr 1.1fr!important}


/* ── Phase 4: Smooth scroll info col fix ── */
.ndpe-pm-image-viewport{height:var(--pm-viewport-height,420px)}
html{scroll-behavior:auto}

/* ── Phase 5: Design polish ── */
.ndpe-pm-browser-frame{border-radius:16px!important;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 4px 16px rgba(0,0,0,.1),0 16px 48px rgba(0,0,0,.12)!important}
.ndpe-pm-hero{background:#fff!important;border-bottom:1px solid rgba(0,0,0,.06)!important}
.ndpe-pm-short-desc{background:#fff9f5}
.ndpe-pm-trust-item{align-items:flex-start}
.ndpe-pm-related-card{border-radius:14px}
.ndpe-pm-meta-panel{background:#f9f8f6;border-radius:14px}

/* GPU + perf */
.ndpe-pm-product-screenshot,.ndpe-pm-related-card{transform:translateZ(0)}
.ndpe-pm-related-section{content-visibility:auto;contain-intrinsic-size:0 600px}

.elementor-widget-ndpe_product_master,.elementor-widget-ndpe_product_master>.elementor-widget-container{overflow:visible!important}

/* ── Preview Modal (Issue 1) ── */
.ndpe-pm-modal-overlay{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.75);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px;animation:ndpe-modal-in 220ms ease}
@keyframes ndpe-modal-in{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
.ndpe-pm-modal-overlay[hidden]{display:none!important}
.ndpe-pm-modal-box{width:100%;max-width:1140px;height:90vh;max-height:860px;background:#1a1a1a;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 32px 80px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.08)}
.ndpe-pm-modal-topbar{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#242424;border-bottom:1px solid rgba(255,255,255,.06);flex-shrink:0}
.ndpe-pm-modal-dots{display:flex;gap:6px;flex-shrink:0}
.ndpe-pm-modal-url{flex:1;text-align:center;font-size:12px;color:rgba(255,255,255,.4);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ndpe-pm-modal-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}
.ndpe-pm-modal-ext{color:rgba(255,255,255,.35);padding:5px;border-radius:5px;display:flex;align-items:center;transition:color 150ms;text-decoration:none}
.ndpe-pm-modal-ext:hover{color:rgba(255,255,255,.8)}
.ndpe-pm-modal-close{width:28px;height:28px;background:rgba(255,255,255,.07);border:none;border-radius:6px;color:rgba(255,255,255,.5);font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 150ms;line-height:1}
.ndpe-pm-modal-close:hover{background:rgba(255,255,255,.13);color:#fff}
.ndpe-pm-modal-frame-wrap{flex:1;position:relative;overflow:hidden}
.ndpe-pm-modal-iframe{width:100%;height:100%;border:none;display:block}
.ndpe-pm-modal-loader{position:absolute;inset:0;background:#1a1a1a;display:flex;align-items:center;justify-content:center}
.ndpe-pm-modal-spinner{width:36px;height:36px;border:3px solid rgba(255,255,255,.1);border-top-color:var(--pm-accent,#e85d04);border-radius:50%;animation:ndpe-spin 700ms linear infinite}
@keyframes ndpe-spin{to{transform:rotate(360deg)}}

/* ── Issue 7: Design Polish ── */
/* Hero section — crisper shadow */
.ndpe-pm-hero{box-shadow:0 2px 0 var(--pm-border)}
/* Info col — no overflow trap */
.ndpe-pm-info-col{scroll-margin-top:20px}
/* Price block — elevated look */
.ndpe-pm-price-block{background:linear-gradient(135deg,#fff 0%,#fafaf9 100%);box-shadow:0 1px 3px rgba(0,0,0,.06),0 4px 12px rgba(0,0,0,.04),inset 0 0 0 1.5px rgba(0,0,0,.08)}
/* Buy button — richer shadow */
.ndpe-pm-cart-wrap .single_add_to_cart_button{text-transform:uppercase!important;letter-spacing:.04em!important}
/* Tab nav — subtle top-rounded card */
.ndpe-pm-tabs-section{padding-top:40px}
.ndpe-pm-tab-nav{background:var(--pm-bg-card);border-radius:var(--pm-r-lg) var(--pm-r-lg) 0 0;border:1.5px solid var(--pm-border);border-bottom:2px solid var(--pm-border);padding:0 8px}
/* Tab panels — seamless connection */
.ndpe-pm-tab-panels{border-top:none;margin-top:-1px}
/* Tab active indicator — thicker bottom border */
.ndpe-pm-tab-btn.ndpe-tab-active::after{content:'';position:absolute;bottom:-2px;left:0;right:0;height:3px;background:var(--pm-accent);border-radius:3px 3px 0 0}
/* Trust badges — align-items center */
.ndpe-pm-trust-item{align-items:center}
/* Related cards — smoother hover */
.ndpe-pm-related-card{transition:transform 180ms cubic-bezier(.16,1,.3,1),box-shadow 180ms cubic-bezier(.16,1,.3,1),border-color 180ms ease}
/* Scroll hint badge — fade on hover */
.ndpe-pm-image-viewport:hover .ndpe-pm-scroll-hint-badge{opacity:0;pointer-events:none}
/* Remove scroll-related jank on image */
.ndpe-pm-product-screenshot{backface-visibility:hidden;-webkit-backface-visibility:hidden}

/* ── Changelog ─ Timeline Design ─────────────────────── */
.ndpe-pm-cl-wrap{
  position:relative;
  padding-left:28px;
  border-left:2px solid var(--pm-border);
}
.ndpe-pm-cl-intro{
  font-size:.9375rem;color:var(--pm-text-muted);
  margin:0 0 28px;line-height:1.7;
}
.ndpe-pm-cl-entry{
  display:flex;gap:0;position:relative;
  padding:0 0 32px 0;
  margin:0;
}
.ndpe-pm-cl-entry:last-child{padding-bottom:0}
/* Timeline dot */
.ndpe-pm-cl-timeline-dot{
  width:12px;height:12px;
  border-radius:50%;
  flex-shrink:0;
  position:absolute;
  left:-35px;top:4px;
  border:2px solid var(--pm-bg-card);
  box-shadow:0 0 0 2px currentColor;
}
/* Body */
.ndpe-pm-cl-body{flex:1;min-width:0}
/* Header row */
.ndpe-pm-cl-header{
  display:flex;align-items:center;
  gap:10px;flex-wrap:wrap;
  margin-bottom:10px;
}
.ndpe-pm-cl-version{
  font-size:1.0625rem;font-weight:800;
  color:var(--pm-text-primary);letter-spacing:-.02em;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}
/* Badge — coloured tinted pill with icon */
.ndpe-pm-cl-badge{
  display:inline-flex;align-items:center;gap:4px;
  padding:3px 10px;border-radius:100px;
  font-size:.6875rem;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;
  /* colors set inline from PHP */
}
.ndpe-pm-cl-badge-icon{font-size:.75rem}
/* Date chip */
.ndpe-pm-cl-date{
  font-size:.75rem;color:var(--pm-text-muted);
  background:var(--pm-bg-offset);padding:2px 8px;
  border-radius:20px;border:1px solid var(--pm-border);
  margin-left:auto;
}
/* Notes */
.ndpe-pm-cl-notes{
  font-size:.9rem;line-height:1.8;
  color:var(--pm-text-secondary);
}
.ndpe-pm-cl-notes p{margin:0 0 6px}
.ndpe-pm-cl-notes p:last-child{margin-bottom:0}
.ndpe-pm-cl-notes ul{list-style:none;padding:0;margin:4px 0 0}
.ndpe-pm-cl-notes ul li{
  padding-left:20px;position:relative;margin-bottom:5px;
  font-size:.9rem;color:var(--pm-text-secondary);
}
.ndpe-pm-cl-notes ul li::before{
  content:'✔';position:absolute;left:0;
  color:var(--pm-accent);font-size:.7rem;top:3px;
}

/* ── Product Highlights Badges ── */
.ndpe-pm-highlights{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;margin-bottom:4px}
.ndpe-pm-highlight-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:rgba(232,93,4,.07);border:1px solid rgba(232,93,4,.18);border-radius:100px;font-size:.8125rem;font-weight:600;color:var(--pm-accent);line-height:1;white-space:nowrap;transition:background 160ms,transform 160ms}
.ndpe-pm-highlight-badge svg{flex-shrink:0;color:var(--pm-accent)}
.ndpe-pm-highlight-badge:hover{background:rgba(232,93,4,.13);transform:translateY(-1px)}

/* ── Extended Meta Panel rows — grouped sections ── */
.ndpe-pm-meta-panel{display:grid;grid-template-columns:1fr 1fr;gap:0}
.ndpe-pm-meta-row{display:contents}
.ndpe-pm-meta-key{padding:9px 12px 9px 0;font-size:.8125rem;font-weight:600;color:var(--pm-text-muted);border-bottom:1px solid var(--pm-border);text-transform:uppercase;letter-spacing:.04em}
.ndpe-pm-meta-val{padding:9px 0 9px 12px;font-size:.875rem;font-weight:500;color:var(--pm-text-primary);border-bottom:1px solid var(--pm-border);word-break:break-word}
.ndpe-pm-meta-row:last-child .ndpe-pm-meta-key,
.ndpe-pm-meta-row:last-child .ndpe-pm-meta-val{border-bottom:none}

/* ── Modal image preview (preview_type=images) ── */
.ndpe-pm-modal-img-preview{width:100%;height:100%;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px;background:#111;scrollbar-width:thin;scrollbar-color:#444 transparent}
.ndpe-pm-modal-img-preview::-webkit-scrollbar{width:6px}
.ndpe-pm-modal-img-preview::-webkit-scrollbar-thumb{background:#444;border-radius:3px}
.ndpe-pm-preview-img{width:100%;border-radius:8px;display:block}

/* ── Modal video ── */
.ndpe-pm-modal-iframe[src*="youtube"],.ndpe-pm-modal-iframe[src*="vimeo"]{background:#000}

/* ═══════════════════════════════════════════════════════
   FULL MOBILE OPTIMISATION — NDPE Product Master
   Breakpoints: 1024px (tablet) | 768px (large mobile) | 480px (mobile) | 360px (small mobile)
═══════════════════════════════════════════════════════ */

/* ── TABLET: 1024px ── */
@media (max-width:1024px){
  /* Hero */
  .ndpe-pm-hero{grid-template-columns:1fr!important;gap:0!important;padding:0!important}
  .ndpe-pm-left-col{order:1}
  .ndpe-pm-info-col{order:2;position:static!important;max-height:none!important;overflow-y:visible!important;padding:28px 24px}
  .ndpe-pm-browser-frame{border-radius:0!important}
  .ndpe-pm-image-viewport{height:340px!important}

  /* Tabs */
  .ndpe-pm-tabs-section{padding:0}
  .ndpe-pm-tabs-inner{padding:0 24px}
  .ndpe-pm-tab-nav{gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:0}
  .ndpe-pm-tab-nav::-webkit-scrollbar{display:none}
  .ndpe-pm-tab-btn{white-space:nowrap;flex-shrink:0;padding:14px 16px;font-size:.875rem}

  /* Related */
  .ndpe-pm-related-grid{grid-template-columns:repeat(2,1fr)!important;gap:16px!important}
  .ndpe-pm-related-inner{padding:0 24px}

  /* Modal */
  .ndpe-pm-modal-box{width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;border-radius:0!important}
}

/* ── LARGE MOBILE: 768px ── */
@media (max-width:768px){
  /* Hero info column */
  .ndpe-pm-info-col{padding:24px 20px!important}

  /* Title */
  .ndpe-pm-title{font-size:1.375rem!important;line-height:1.3!important;margin-bottom:12px!important}

  /* Star rating + review count */
  .ndpe-pm-rating-row{flex-wrap:wrap;gap:6px}

  /* Short description */
  .ndpe-pm-short-desc{font-size:.875rem!important;padding:14px 16px!important;margin-bottom:16px!important}

  /* Price block */
  .ndpe-pm-price-row{flex-wrap:wrap;gap:8px;align-items:center}
  .ndpe-pm-sale-price{font-size:1.5rem!important}
  .ndpe-pm-regular-price{font-size:.9375rem!important}
  .ndpe-pm-discount-badge{font-size:.75rem!important;padding:3px 8px!important}

  /* Buy button */
  .ndpe-pm-buy-btn{width:100%!important;padding:16px!important;font-size:1rem!important;border-radius:10px!important}

  /* Live Preview button */
  .ndpe-pm-live-preview-btn{width:100%!important;justify-content:center!important;padding:12px 16px!important}

  /* Trust badges — 2 column grid on large mobile */
  .ndpe-pm-trust-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  .ndpe-pm-trust-item{padding:12px!important}

  /* Highlights */
  .ndpe-pm-highlights{gap:6px!important}
  .ndpe-pm-highlight-badge{font-size:.75rem!important;padding:5px 10px!important}

  /* Meta panel — single column */
  .ndpe-pm-meta-panel{grid-template-columns:1fr!important;border-radius:10px!important}
  .ndpe-pm-meta-key,.ndpe-pm-meta-val{display:block;width:100%}
  .ndpe-pm-meta-row{display:grid;grid-template-columns:1fr 1.4fr;align-items:baseline}
  .ndpe-pm-meta-key{font-size:.75rem!important;padding:10px 12px 10px 0!important}
  .ndpe-pm-meta-val{font-size:.875rem!important;padding:10px 0 10px 8px!important;text-align:right!important}

  /* Tabs inner */
  .ndpe-pm-tabs-inner{padding:0 16px!important}
  .ndpe-pm-tab-btn{padding:12px 14px!important;font-size:.8125rem!important}
  .ndpe-pm-tab-panel{padding:20px 16px!important}

  /* Description content */
  .ndpe-pm-desc-content{font-size:.875rem!important;line-height:1.75!important}
  .ndpe-pm-desc-content h2{font-size:1.25rem!important}
  .ndpe-pm-desc-content h3{font-size:1.0625rem!important}

  /* FAQ */
  /* FAQ — mobile */
  .ndpe-pm-faq-wrap{gap:10px}
  .ndpe-pm-faq-q{padding:16px!important;font-size:.9375rem!important}
  .ndpe-pm-faq-a{padding-top:0!important;padding-right:16px!important;padding-left:16px!important;font-size:.875rem!important}

  /* Changelog */
  /* Changelog — mobile */
  .ndpe-pm-cl-wrap{padding-left:20px}
  .ndpe-pm-cl-timeline-dot{left:-27px}
  .ndpe-pm-cl-header{gap:6px}
  .ndpe-pm-cl-date{margin-left:0!important}
  .ndpe-pm-cl-entry{padding-bottom:24px}

  /* Related products */
  .ndpe-pm-related-grid{grid-template-columns:repeat(2,1fr)!important;gap:12px!important}
  .ndpe-pm-related-section{padding:32px 16px!important}
  .ndpe-pm-related-heading{font-size:1.25rem!important;margin-bottom:16px!important}
  .ndpe-pm-related-card-body{padding:12px!important}
  .ndpe-pm-related-cta{margin:0 12px 12px!important;padding:9px!important;font-size:.75rem!important}

  /* Gallery thumbnails */
  .ndpe-pm-thumb-strip{gap:6px!important;padding:6px 16px!important}
  .ndpe-pm-thumb{width:52px!important;height:40px!important}

  /* Reviews — mobile */
  .ndpe-pm-reviews-wrap ol.commentlist{gap:14px}
  .ndpe-pm-reviews-wrap .comment_container{padding:18px 16px!important;gap:14px!important}
  .ndpe-pm-reviews-wrap .comment_container>img.avatar,
  .ndpe-pm-reviews-wrap .comment_container img.avatar{width:44px!important;height:44px!important}
  .ndpe-pm-reviews-wrap ol.commentlist li.review ol.children{padding:0 12px 14px 12px!important}
  .ndpe-pm-reviews-wrap .comment-form{grid-template-columns:1fr!important}
  .ndpe-pm-reviews-wrap #review_form_wrapper{padding:20px!important}
  .ndpe-pm-reviews-wrap .comment-text .woocommerce-review__published-date{margin-left:0!important}
}

/* ── MOBILE: 480px ── */
@media (max-width:480px){
  /* Hero */
  .ndpe-pm-info-col{padding:20px 16px!important}
  .ndpe-pm-title{font-size:1.1875rem!important}
  .ndpe-pm-image-viewport{height:260px!important}

  /* Price */
  .ndpe-pm-sale-price{font-size:1.375rem!important}

  /* Trust badges — single column on smallest */
  .ndpe-pm-trust-grid{grid-template-columns:1fr!important}

  /* Related — single column on small mobile */
  .ndpe-pm-related-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}
  .ndpe-pm-related-card-body h3{font-size:.8125rem!important;-webkit-line-clamp:2!important}
  .ndpe-pm-related-price .woocommerce-Price-amount{font-size:.8125rem!important}

  /* Tabs */
  .ndpe-pm-tab-btn{padding:10px 12px!important;font-size:.75rem!important}
  .ndpe-pm-tab-panel{padding:16px 14px!important}

  /* Meta panel key/val stacked fully */
  .ndpe-pm-meta-row{grid-template-columns:1fr!important}
  .ndpe-pm-meta-key{padding:8px 12px 2px!important;border-bottom:none!important}
  .ndpe-pm-meta-val{padding:2px 12px 8px!important;text-align:left!important;border-bottom:1px solid var(--pm-border)!important}

  /* Highlights wrap tightly */
  .ndpe-pm-highlight-badge{font-size:.6875rem!important;padding:4px 9px!important}

  /* Modal fullscreen */
  .ndpe-pm-modal-overlay{padding:0!important;align-items:flex-end!important}
  .ndpe-pm-modal-box{border-radius:16px 16px 0 0!important;height:90vh!important;width:100%!important;max-width:100%!important;max-height:90vh!important}

  /* Preview button full width */
  .ndpe-pm-browser-urlbar{max-width:160px!important;font-size:10px!important}
}

/* ── SMALL MOBILE: 360px ── */
@media (max-width:360px){
  .ndpe-pm-title{font-size:1.0625rem!important}
  .ndpe-pm-sale-price{font-size:1.25rem!important}
  .ndpe-pm-related-grid{grid-template-columns:1fr!important}
  .ndpe-pm-buy-btn{font-size:.9375rem!important;padding:14px!important}
  .ndpe-pm-tab-btn{padding:9px 10px!important;font-size:.6875rem!important}
  .ndpe-pm-info-col{padding:16px 12px!important}
}
