/* Failsafe Studio: Dedicated Product Page Stylesheet */

.product-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px 64px 28px;
  width: 100%;
}

/* Breadcrumbs */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-nav a:hover {
  color: var(--accent-cyan);
}

.breadcrumb-separator {
  color: var(--border-color);
  font-size: 11px;
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 500;
}

/* Product Hero Grid */
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  margin-bottom: 48px;
}

@media (max-width: 960px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Media Gallery */
.gallery-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.featured-image-wrapper {
  background: radial-gradient(circle at center, #0f172a 0%, #030712 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 16px;
  user-select: none;
}

.featured-image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.featured-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
  transition: transform 0.25s ease, opacity 0.2s ease;
  cursor: zoom-in;
  z-index: 1;
}

/* Gallery Navigation Arrows */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  opacity: 0;
}

.featured-image-wrapper:hover .gallery-nav-btn {
  opacity: 1;
}

.gallery-nav-btn:hover {
  background: var(--accent-cyan);
  color: #030712;
  border-color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.gallery-prev {
  left: 12px;
}

.gallery-nav-btn.gallery-next {
  right: 12px;
}

/* Gallery Counter Badge */
.gallery-counter-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 2;
  pointer-events: none;
}

/* Gallery Zoom Button */
.gallery-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  opacity: 0;
}

.featured-image-wrapper:hover .gallery-zoom-btn {
  opacity: 1;
}

.gallery-zoom-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Thumbnail Strip with Smooth Scroll for 10+ Images */
.thumbnails-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 182, 212, 0.4) transparent;
}

.thumbnails-strip::-webkit-scrollbar {
  height: 5px;
}

.thumbnails-strip::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.thumbnails-strip::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.4);
  border-radius: 4px;
}

.thumbnails-strip::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

.thumbnail-item {
  width: 90px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  background: #070b14;
  flex-shrink: 0;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  position: relative;
}

.thumbnail-item:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.thumbnail-item.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}

.thumbnail-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Lightbox Fullscreen Overlay */
.gallery-lightbox-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.94);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  cursor: zoom-out;
  user-select: none;
}

.gallery-lightbox-overlay.active {
  display: flex !important;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
  gap: 12px;
  cursor: default;
  position: relative;
  z-index: 1000000;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: auto;
}

.lightbox-caption {
  font-size: 13px;
  color: #94a3b8;
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1000002;
}

.lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000001;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.lightbox-nav-btn:hover {
  background: var(--accent-cyan);
  color: #030712;
  border-color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.lightbox-prev {
  left: 28px;
}

.lightbox-nav-btn.lightbox-next {
  right: 28px;
}

/* Modal Thumbnail Cards with Delete & Reorder */
.modal-media-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding: 6px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-thumb-card {
  position: relative;
  width: 100px;
  height: 70px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: #070b14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
}

.modal-thumb-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-thumb-card .thumb-badge {
  position: absolute;
  bottom: 2px;
  left: 2px;
  background: rgba(0, 0, 0, 0.7);
  color: #94a3b8;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

.modal-thumb-card .thumb-delete-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  border: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-thumb-card:hover .thumb-delete-btn {
  opacity: 1;
}

.modal-thumb-card .thumb-delete-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Product Info Panel */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-headline {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Trust Seal */
.trust-seal-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.trust-seal-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-shield-icon {
  font-size: 24px;
}

.trust-seal-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-seal-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.btn-inspect-cert {
  background: transparent;
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-inspect-cert:hover {
  background: rgba(16, 185, 129, 0.15);
}

/* Pricing Card */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.price-display-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-main {
  font-size: 38px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}

.price-currency {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

.price-license-type {
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-buy-license {
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.35);
  text-decoration: none;
}

.btn-buy-license:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-add-cart {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-add-cart:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
}

.specs-pills-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.spec-pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-pill-icon {
  color: var(--accent-cyan);
  font-size: 14px;
}

.high-court-guarantee-pill {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #c4b5fd;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Admin / Dev Controls */
.admin-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed var(--accent-amber);
  border-radius: 8px;
  padding: 12px 18px;
  margin-top: 6px;
}

.admin-controls-text {
  font-size: 12px;
  color: var(--accent-amber);
  font-weight: 600;
}

/* Deep Information Tabs */
.deep-info-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
  overflow-x: auto;
}

.deep-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.deep-tab-btn:hover {
  color: var(--text-main);
}

.deep-tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.deep-tab-pane {
  display: none;
  animation: fadeIn 0.2s ease;
}

.deep-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Features Grid */
.features-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-card-icon {
  font-size: 20px;
  color: var(--accent-cyan);
  line-height: 1;
  margin-top: 2px;
}

.feature-card-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.5;
}

/* System Requirements Table */
.sys-req-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.sys-req-table th {
  padding: 14px 20px;
  background: rgba(18, 24, 38, 0.85);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 2px solid var(--border-color);
}

.sys-req-table tr {
  border-bottom: 1px solid var(--border-color);
}

.sys-req-table tr:last-child {
  border-bottom: none;
}

.sys-req-table td {
  padding: 14px 20px;
  font-size: 13.5px;
  vertical-align: top;
}

.sys-req-table td:first-child {
  width: 22%;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(18, 24, 38, 0.4);
}

.sys-req-table td:not(:first-child) {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.5;
}

/* Markdown Content Area */
.markdown-rendered-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 32px;
  line-height: 1.7;
}

.markdown-rendered-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.markdown-rendered-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

.markdown-rendered-body p {
  margin-bottom: 16px;
  color: #cbd5e1;
}

.markdown-rendered-body ul {
  margin-left: 24px;
  margin-bottom: 18px;
}

.markdown-rendered-body li {
  margin-bottom: 8px;
  color: #cbd5e1;
}

.markdown-rendered-body code {
  font-family: var(--font-mono);
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* ==========================================================================
   Modern Window Modals & Draggable Titlebars
   ========================================================================== */
dialog.forge-modal, dialog.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  max-width: 480px;
  width: 92%;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  color: #f8fafc;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 35px rgba(6, 182, 212, 0.15);
  z-index: 1000;
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(10px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  cursor: grab;
  user-select: none;
}

.modal-header:active {
  cursor: grabbing;
}

.modal-header h3, .modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close, .close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-close:hover, .close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.modal-body {
  padding: 22px 24px;
  color: #e2e8f0;
}

.modal-body label {
  display: block;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-body .form-input, 
.modal-body input[type="text"], 
.modal-body input[type="email"], 
.modal-body input[type="password"] {
  background: #020617;
  border: 1px solid #334155;
  color: #f8fafc;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.modal-body .form-input:focus, 
.modal-body input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   Verified Buyer Reviews & Community Feedback
   ========================================================================== */
.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px;
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 24px;
  align-items: center;
}

@media (max-width: 860px) {
  .review-stats-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.review-overall-rating {
  text-align: center;
}

.review-avg-score {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: var(--font-mono);
}

.review-stars-large {
  color: var(--accent-amber);
  font-size: 20px;
  margin: 6px 0;
  letter-spacing: 2px;
}

.review-total-count {
  font-size: 12px;
  color: var(--text-muted);
}

.review-breakdown-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.review-bar-label {
  width: 45px;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}

.review-bar-track {
  flex-grow: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: var(--accent-amber);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.review-bar-count {
  width: 30px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
  flex-shrink: 0;
}

.review-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.write-review-panel {
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.star-rating-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}

.star-pick {
  font-size: 24px;
  color: #475569;
  transition: color 0.15s ease, transform 0.1s ease;
}

.star-pick.active, .star-pick:hover, .star-pick.hovered {
  color: var(--accent-amber);
  transform: scale(1.1);
}

.product-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #1e293b;
  border: 1px solid var(--border-color);
}

.review-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
}

.review-author-company {
  font-size: 12px;
  color: var(--text-muted);
}

.verified-buyer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-stars {
  color: var(--accent-amber);
  font-size: 14px;
  letter-spacing: 1px;
}

.review-date {
  font-size: 12px;
  color: var(--text-muted);
}

.review-headline {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}

.review-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.review-helpful-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.review-helpful-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
}

.review-helpful-btn.voted {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  cursor: default;
}

.developer-reply-box {
  margin-top: 8px;
  background: rgba(15, 23, 42, 0.8);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
}

.developer-reply-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.developer-reply-text {
  font-size: 13px;
  line-height: 1.5;
  color: #e2e8f0;
  margin: 0;
}

/* ==========================================================================
   Studio Modal & Modern Markdown Editor System
   ========================================================================== */
.studio-product-modal {
  max-width: 1140px !important;
  width: 94vw !important;
  max-height: 88vh !important;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(56, 189, 248, 0.25), 0 0 40px rgba(6, 182, 212, 0.2) !important;
}

/* Modal Screenshot Thumbnails Preview Strip */
.modal-media-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px;
  min-height: 84px;
  align-items: center;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.modal-thumb-card {
  position: relative;
  flex: 0 0 110px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.modal-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-thumb-del {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.modal-thumb-del:hover {
  transform: scale(1.15);
  background: #ef4444;
}

/* Modern Markdown Editor Toolbar */
.markdown-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  flex-wrap: wrap;
}

.md-tool-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.md-tool-btn:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
  color: #fff;
}

.md-tool-sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 4px;
}

.md-mode-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.md-mode-tab:hover {
  color: #fff;
}

.md-mode-tab.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.5);
  color: var(--accent-cyan);
}

.md-live-preview-pane {
  background: rgba(10, 15, 26, 0.9);
  border: 1px solid var(--border-color);
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 16px 20px;
  min-height: 160px;
  max-height: 320px;
  overflow-y: auto;
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e8f0;
}

/* Custom Tabs Editor in Modal */
.custom-tab-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-tab-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Option 2B Rich Structured Capability Cards on Product Page */
.feature-card-rich {
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card-rich::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-cyan), #3b82f6);
  opacity: 0.8;
}

.feature-card-rich:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.15);
}

.feature-card-rich-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card-rich-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 8px;
  flex-shrink: 0;
}

.feature-card-rich-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.feature-card-rich-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
  padding-left: 42px;
}

/* ==========================================================================
   Free Network Analyzer Hero & Pro Upgrade Styles
   ========================================================================== */

.badge-free-edition {
  background: rgba(16, 185, 129, 0.18);
  color: var(--accent-emerald, #10b981);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.free-edition-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.09), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.12);
  position: relative;
  overflow: hidden;
}

.free-edition-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
}

.free-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.free-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.free-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.free-price-tag {
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.free-card-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.free-download-cta-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.btn-download-primary {
  flex: 2;
  min-width: 220px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-download-primary:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

.btn-download-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.btn-download-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.btn-download-text strong {
  font-size: 14.5px;
  color: #ffffff;
}

.btn-download-text small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-top: 2px;
}

.btn-download-zip {
  flex: 1;
  min-width: 140px;
  background: rgba(15, 23, 42, 0.7);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-download-zip:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.free-features-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--text-muted);
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.free-features-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Pro Upgrade Card Header & Benefit Styles */
.pro-upgrade-card {
  position: relative;
  overflow: hidden;
}

.pro-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.pro-unlock-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.price-cadence {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-left: 8px;
  font-weight: 500;
}

.pro-benefits-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
}

.pro-benefit-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.pro-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pro-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.4;
}

.pro-check {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Tier Compare Table Styles */
.tier-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px 0;
  font-size: 13px;
}

.tier-compare-table th,
.tier-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.tier-compare-table th {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

.tier-compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.tier-pill-free {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
}

.tier-pill-pro {
  display: inline-block;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
}

/* ==========================================================================
   Mobile Responsive Overrides for Product Details Page
   ========================================================================== */
@media (max-width: 860px) {
  .product-container {
    padding: 16px 14px 56px;
    width: 100%;
    box-sizing: border-box;
  }

  .breadcrumb-nav {
    flex-wrap: wrap;
    font-size: 12px;
    margin-bottom: 16px;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .featured-image-wrapper {
    aspect-ratio: 16 / 10;
    padding: 10px;
  }

  .gallery-thumbnails {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    gap: 8px;
  }

  .gallery-thumbnails::-webkit-scrollbar {
    display: none;
  }

  .pricing-panel {
    padding: 20px 16px;
  }

  .product-action-bar {
    flex-direction: column;
    gap: 12px;
  }

  .product-action-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .tab-nav-bar {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
    gap: 4px;
  }

  .tab-nav-bar::-webkit-scrollbar {
    display: none;
  }

  .tab-nav-btn {
    flex: 0 0 auto;
    padding: 10px 16px;
    font-size: 13px;
  }

  .tier-compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .tier-compare-table {
    min-width: 480px;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 22px;
  }

  .product-hero-tagline {
    font-size: 13.5px;
  }

  .featured-image-wrapper {
    height: 200px;
  }
}



