/**
 * Gameosophy - Modern SaaS Digital Marketplace Product Page Stylesheet
 * Compact, High-Converting, Mobile-First Design System
 * Eliminates excessive whitespace, preserves original featured image aspect ratio
 */

:root {
  --gm-primary: rgb(var(--primary_color, 19, 99, 223));
  --gm-primary-dark: #0d4db0;
  --gm-primary-light: #3b82f6;
  --gm-primary-soft: rgba(var(--primary_color, 19, 99, 223), 0.08);
  --gm-primary-soft-hover: rgba(var(--primary_color, 19, 99, 223), 0.14);
  --gm-success: #10b981;
  --gm-success-dark: #059669;
  --gm-success-soft: #e6f9ee;
  --gm-text-success: #0d8a4f;
  --gm-warning: #f59e0b;
  --gm-warning-soft: #fef3c7;
  --gm-danger: #ef4444;
  --gm-danger-soft: #fee2e2;
  --gm-dark: #0f172a;
  --gm-dark-card: #1e293b;
  --gm-gray-900: #0f172a;
  --gm-gray-800: #1e293b;
  --gm-gray-700: #334155;
  --gm-gray-600: #475569;
  --gm-gray-500: #64748b;
  --gm-gray-400: #94a3b8;
  --gm-gray-300: #cbd5e1;
  --gm-gray-200: #e2e8f0;
  --gm-gray-100: #f1f5f9;
  --gm-gray-50: #f8fafc;
  --gm-white: #ffffff;
  --gm-radius-sm: 6px;
  --gm-radius-md: 10px;
  --gm-radius-lg: 14px;
  --gm-radius-xl: 18px;
  --gm-radius-full: 9999px;
  --gm-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --gm-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --gm-shadow-md: 0 6px 16px rgba(15, 23, 42, 0.06);
  --gm-shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08);
  --gm-shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12);
  --gm-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   PAGE CONTAINER & COMPACT WRAPPER
   ========================================================================== */
.gm-product-page-wrapper {
  background-color: #f8fafc;
  min-height: 100vh;
  padding: 20px 0 60px 0;
  color: var(--gm-gray-900);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .gm-product-page-wrapper {
    padding: 18px 0 48px 0;
  }
}

@media (max-width: 767px) {
  .gm-product-page-wrapper {
    padding: 16px 0 36px 0;
  }
}

@media (max-width: 480px) {
  .gm-product-page-wrapper {
    padding: 14px 0 32px 0;
  }
}

.gm-product-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

@media (max-width: 575px) {
  .gm-product-container {
    padding: 0 12px;
  }
}

/* Smooth anchor offsets for sticky headers */
.gm-content-card-block {
  scroll-margin-top: 90px;
}

/* Compact Breadcrumb */
.gm-breadcrumb-nav {
  margin-bottom: 12px;
  width: 100%;
  max-width: 100%;
}

.gm-breadcrumb-nav .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 4px 6px;
  font-size: 13px;
  background: transparent;
}

.gm-breadcrumb-nav .breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.gm-breadcrumb-nav .breadcrumb-item a {
  color: var(--gm-gray-500);
  text-decoration: none;
  font-weight: 500;
  transition: var(--gm-transition);
}

.gm-breadcrumb-nav .breadcrumb-item a:hover {
  color: var(--gm-primary);
  text-decoration: none;
}

.gm-breadcrumb-nav .breadcrumb-item.active {
  color: var(--gm-gray-900);
  font-weight: 600;
}

.gm-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  font-size: 9px;
  color: var(--gm-gray-400);
  padding-right: 8px;
}

.gm-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px 6px;
  font-size: 12px;
  color: var(--gm-gray-500);
  width: 100%;
}

.gm-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.gm-breadcrumb-link {
  color: var(--gm-gray-500);
  text-decoration: none;
  font-weight: 500;
  transition: var(--gm-transition);
}

.gm-breadcrumb-link:hover {
  color: var(--gm-primary);
  text-decoration: none;
}

.gm-breadcrumb-sep {
  color: var(--gm-gray-400);
  font-size: 10px;
}

.gm-breadcrumb-current {
  color: var(--gm-gray-900);
  font-weight: 600;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 575px) {
  .gm-breadcrumb-current {
    max-width: 150px;
  }
}

/* ==========================================================================
   COMPACT PRODUCT HEADER & ACTION BUTTONS
   ========================================================================== */
.gm-product-header-section {
  background: var(--gm-white);
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-lg);
  padding: 18px 22px;
  margin-bottom: 20px;
  box-shadow: var(--gm-shadow-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gm-product-header-left {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.gm-product-main-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--gm-gray-900);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 10px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 991px) {
  .gm-product-main-title {
    font-size: 23px;
  }
}

@media (max-width: 767px) {
  .gm-product-header-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px;
    gap: 14px;
    border-radius: var(--gm-radius-md);
  }

  .gm-product-header-left {
    width: 100%;
    flex: 1 1 100%;
  }

  .gm-product-main-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .gm-header-actions-bar {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .gm-btn-header-action {
    flex: 1 1 auto;
    min-height: 44px;
    justify-content: center;
    padding: 9px 12px;
    font-size: 12.5px;
    box-sizing: border-box;
  }
}

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

  .gm-btn-header-action {
    font-size: 12px;
    padding: 8px 10px;
  }
}

/* Compact Metadata Row */
.gm-header-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-size: 13px;
  color: var(--gm-gray-600);
  width: 100%;
  max-width: 100%;
  line-height: 1.4;
}

@media (max-width: 575px) {
  .gm-header-meta-row {
    gap: 6px 8px;
    font-size: 12px;
  }
}

.gm-author-link {
  color: var(--gm-gray-800);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gm-author-link:hover {
  color: var(--gm-primary);
  text-decoration: none;
}

.gm-author-badge {
  background: var(--gm-primary-soft);
  color: var(--gm-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--gm-radius-sm);
}

.gm-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gm-gray-300);
  flex-shrink: 0;
}

.gm-rating-stars-inline {
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  text-decoration: none;
}

.gm-rating-stars-inline:hover {
  text-decoration: none;
}

.gm-rating-stars-inline .score-num {
  color: var(--gm-gray-900);
  margin-left: 4px;
}

.gm-meta-reviews-count,
.gm-meta-comments-count {
  color: var(--gm-gray-500);
  text-decoration: none;
  transition: var(--gm-transition);
}

.gm-meta-reviews-count:hover,
.gm-meta-comments-count:hover {
  color: var(--gm-primary);
  text-decoration: none;
}

.gm-meta-sales-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0f9ff;
  color: #0369a1;
  padding: 3px 8px;
  border-radius: var(--gm-radius-full);
  font-size: 12px;
  font-weight: 600;
}

.gm-meta-updated-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gm-text-success);
  font-weight: 600;
  font-size: 12px;
}

/* Header Action Buttons Bar */
.gm-header-actions-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gm-btn-header-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--gm-radius-md);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: var(--gm-white);
  border: 1.5px solid var(--gm-gray-200);
  color: var(--gm-gray-700);
  transition: var(--gm-transition);
  cursor: pointer;
}

.gm-btn-header-action:hover {
  border-color: var(--gm-gray-400);
  background: var(--gm-gray-50);
  color: var(--gm-gray-900);
  text-decoration: none;
}

.gm-btn-header-action.btn-live-preview {
  background: var(--gm-primary-soft);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--gm-primary);
  font-weight: 700;
}

.gm-btn-header-action.btn-live-preview:hover {
  background: var(--gm-primary);
  color: #ffffff !important;
  border-color: var(--gm-primary);
}

.gm-btn-header-action.btn-fav.active {
  border-color: #ef4444;
  color: #ef4444;
  background: #fff1f2;
}

.gm-btn-header-action.btn-fav.active i {
  color: #ef4444;
}

.gm-fav-wrapper {
  display: inline-flex;
}

.gm-fav-wrapper .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--gm-radius-md);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: var(--gm-white);
  border: 1.5px solid var(--gm-gray-200);
  color: var(--gm-gray-700);
  transition: var(--gm-transition);
  cursor: pointer;
  line-height: normal;
  box-shadow: none;
}

.gm-fav-wrapper .btn:hover {
  border-color: var(--gm-gray-400);
  background: var(--gm-gray-50);
  color: var(--gm-gray-900);
}

.gm-fav-wrapper .btn.btn-favorite {
  border-color: #ef4444;
  color: #ef4444;
  background: #fff1f2;
}

.gm-fav-wrapper .btn.btn-favorite i {
  color: #ef4444;
}

/* ==========================================================================
   TWO-COLUMN MARKETPLACE LAYOUT (DESKTOP: 65% / 35%)
   ========================================================================== */
.gm-product-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .gm-product-main-grid {
    grid-template-columns: minmax(0, 1.85fr) minmax(360px, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1200px) {
  .gm-product-main-grid {
    grid-template-columns: minmax(0, 1.95fr) minmax(380px, 1fr);
    gap: 32px;
  }
}

/* ==========================================================================
   LEFT COLUMN: FEATURED MEDIA, DESCRIPTION, FEATURES, SPECS, REVIEWS (65%)
   ========================================================================== */
.gm-left-content-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Featured Media Card - Zero Unnecessary Padding, Image Fits Tightly */
.gm-media-container-card {
  background: var(--gm-white);
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-lg);
  padding: 0 !important;
  box-shadow: var(--gm-shadow-sm);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 575px) {
  .gm-media-container-card {
    padding: 0 !important;
    border-radius: var(--gm-radius-md);
  }
}

/* Featured Image Container - EXACT 1080px × 549px RATIO, ZERO PADDING, ZERO LETTERBOXING */
.gm-featured-image-box {
  position: relative;
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 1080 / 549 !important;
  height: auto !important;
  min-height: unset !important;
  max-height: 549px !important;
  margin: 0 auto;
  padding: 0 !important;
  overflow: hidden;
  background: #ffffff !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: zoom-in;
  transition: var(--gm-transition);
  box-sizing: border-box;
  box-shadow: none !important;
  outline: none !important;
}

@media (max-width: 575px) {
  .gm-featured-image-box {
    border-radius: var(--gm-radius-md) var(--gm-radius-md) 0 0;
  }
}

.gm-featured-image-box:hover {
  box-shadow: none !important;
}

.gm-featured-image-box #mainFeaturedImageLink,
.gm-featured-image-box .gm-featured-link {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  overflow: hidden;
}

@media (max-width: 575px) {
  .gm-featured-image-box #mainFeaturedImageLink,
  .gm-featured-image-box .gm-featured-link {
    padding: 0 !important;
  }
}

/* Main Display Image - 100% VISIBLE, NO CROPPING, NO STRETCH, FITS TIGHTLY */
.gm-featured-main-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: opacity 0.18s ease, transform 0.25s ease;
  user-select: none;
}

.gm-featured-image-box:hover .gm-featured-main-img {
  transform: scale(1.012);
}

/* Ribbons on Image */
.gm-image-ribbons {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.gm-media-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--gm-radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.gm-media-badge.flash-sale {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
}

.gm-media-badge.featured {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
}

.gm-media-badge.free {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

/* Single-Row Modern Thumbnail Gallery Strip */
.gm-gallery-thumbnails-wrap {
  margin: 0 !important;
  padding: 10px 12px 12px 12px !important;
  position: relative;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid var(--gm-gray-200);
  background: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 575px) {
  .gm-gallery-thumbnails-wrap {
    padding: 8px 10px 10px 10px !important;
  }
}

.gm-gallery-thumbnails-strip {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 10px;
  overflow-x: auto !important;
  overflow-y: hidden;
  padding: 4px 2px 8px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--gm-gray-300) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gm-gallery-thumbnails-strip::-webkit-scrollbar {
  height: 4px;
}

.gm-gallery-thumbnails-strip::-webkit-scrollbar-track {
  background: var(--gm-gray-100);
  border-radius: 4px;
}

.gm-gallery-thumbnails-strip::-webkit-scrollbar-thumb {
  background: var(--gm-gray-300);
  border-radius: 4px;
}

.gm-gallery-thumbnails-strip::-webkit-scrollbar-thumb:hover {
  background: var(--gm-gray-400);
}

.gm-gallery-thumb-item {
  position: relative;
  flex: 0 0 90px !important;
  width: 90px !important;
  height: 50px !important;
  aspect-ratio: 1080 / 549;
  border-radius: var(--gm-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid var(--gm-gray-200) !important;
  background: #ffffff !important;
  transition: var(--gm-transition);
  display: block !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

@media (min-width: 576px) {
  .gm-gallery-thumb-item {
    flex: 0 0 108px !important;
    width: 108px !important;
    height: 55px !important;
  }
}

@media (min-width: 992px) {
  .gm-gallery-thumb-item {
    flex: 0 0 118px !important;
    width: 118px !important;
    height: 60px !important;
  }
}

.gm-gallery-thumb-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  background: #ffffff !important;
  padding: 2px !important;
  box-sizing: border-box !important;
  border: none !important;
  transition: transform 0.2s ease;
}

.gm-gallery-thumb-item:hover {
  border-color: var(--gm-primary) !important;
}

.gm-gallery-thumb-item:hover img {
  transform: scale(1.05);
}

.gm-gallery-thumb-item.active {
  border-color: var(--gm-primary) !important;
  box-shadow: 0 0 0 2.5px rgba(99, 102, 241, 0.4) !important;
}

/* Quick Navigation Tabs */
.gm-section-nav-pills {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px 2px;
  margin-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gm-section-nav-pills::-webkit-scrollbar {
  display: none;
}

.gm-section-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--gm-radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gm-gray-700);
  background: var(--gm-white);
  border: 1px solid var(--gm-gray-200);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-family: inherit;
  flex-shrink: 0;
  min-height: 40px;
  box-sizing: border-box;
}

.gm-section-pill-link:hover {
  color: var(--gm-primary);
  border-color: rgba(106, 17, 203, 0.35);
  background: var(--gm-primary-soft);
  text-decoration: none;
  transform: translateY(-1px);
}

.gm-section-pill-link:focus,
.gm-section-pill-link:active {
  outline: none;
}

.gm-section-pill-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(106, 17, 203, 0.35) !important;
  transform: translateY(-1px);
}

.gm-section-pill-link.active i {
  color: #ffffff !important;
}

.gm-section-pill-link.active .gm-tab-pill-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.gm-tab-pill-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  background: var(--gm-gray-100);
  color: var(--gm-gray-600);
  transition: all 0.2s ease;
}

/* Unified Content Card Block & Dynamic Panels */
.gm-content-card-block {
  background: var(--gm-white);
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-lg);
  padding: 26px 28px;
  box-shadow: var(--gm-shadow-xs);
  min-height: 240px;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 767px) {
  .gm-content-card-block {
    padding: 18px 16px;
    border-radius: var(--gm-radius-md);
  }
}

@media (max-width: 480px) {
  .gm-content-card-block {
    padding: 16px 12px;
  }
}

.gm-tab-content-panel {
  display: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.gm-tab-content-panel.active {
  display: block;
  animation: gmTabFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gmTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gm-content-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--gm-gray-900);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: break-word;
}

.gm-content-card-title i {
  color: var(--gm-primary);
  font-size: 18px;
  flex-shrink: 0;
}

/* Description Typography */
.gm-description-article {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gm-gray-700);
  width: 100%;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

.gm-description-article h1,
.gm-description-article h2,
.gm-description-article h3,
.gm-description-article h4 {
  color: var(--gm-gray-900);
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 8px;
  word-break: break-word;
}

.gm-description-article h1 {
  font-size: 20px;
}

.gm-description-article h2 {
  font-size: 18px;
}

.gm-description-article h3 {
  font-size: 16px;
}

.gm-description-article h4 {
  font-size: 15px;
}

.gm-description-article p {
  margin-bottom: 12px;
}

.gm-description-article ul,
.gm-description-article ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.gm-description-article li {
  margin-bottom: 5px;
}

.gm-description-article img,
.gm-description-article video,
.gm-description-article iframe,
.gm-description-article embed,
.gm-description-article object {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--gm-radius-sm);
  margin: 12px 0;
  box-sizing: border-box;
}

.gm-description-article pre,
.gm-description-article code {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.gm-description-article table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 12px 0;
}

/* Visual Feature Grid */
.gm-visual-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .gm-visual-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.gm-visual-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gm-gray-50);
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--gm-gray-800);
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.gm-visual-feature-item i {
  color: var(--gm-success);
  font-size: 14px;
  flex-shrink: 0;
}

/* Specifications Modern Table in Unified Panel */
.gm-specs-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.gm-specs-table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.gm-specs-table-modern tr {
  transition: background-color 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.gm-specs-table-modern tr:hover {
  background: #f8faff;
}

.gm-specs-table-modern tr:hover td.gm-spec-key {
  background: #f1f5f9;
}

.gm-specs-table-modern td {
  padding: 11px 14px;
  font-size: 13px;
  vertical-align: middle;
  border-bottom: 1px solid var(--gm-gray-200);
  box-sizing: border-box;
}

.gm-specs-table-modern tr:last-child td {
  border-bottom: none;
}

.gm-specs-table-modern td.gm-spec-key {
  color: var(--gm-gray-700);
  font-weight: 600;
  width: 44%;
  min-width: 140px;
  background: #f8fafc;
  border-right: 1px solid var(--gm-gray-200);
  transition: background-color 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.gm-specs-table-modern td.gm-spec-key i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.16);
  color: var(--gm-primary);
  font-size: 11.5px;
  margin-right: 8px;
  vertical-align: middle;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.gm-specs-table-modern tr:hover td.gm-spec-key i {
  background: var(--gm-primary);
  color: #ffffff;
  border-color: var(--gm-primary);
  transform: scale(1.06);
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.gm-specs-table-modern td.gm-spec-val {
  color: var(--gm-gray-900);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
  background: #ffffff;
  transition: background-color 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.gm-specs-table-modern tr:hover td.gm-spec-val {
  background: #f8faff;
}

.gm-spec-link {
  color: var(--gm-primary-dark);
  text-decoration: none;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.14);
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.gm-spec-link:hover {
  background: var(--gm-primary);
  color: #ffffff;
  border-color: var(--gm-primary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.25);
}

/* Verified & Status Badges inside Specs Table */
.gm-spec-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gm-spec-verified-badge i {
  color: #059669;
  font-size: 13px;
}

.gm-spec-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.gm-spec-updated-badge i {
  color: #16a34a;
  font-size: 12px;
}

/* Asset Tags Section with Structured Border */
.gm-specs-tags-wrap {
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-md);
  box-sizing: border-box;
}

.gm-specs-tags-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gm-gray-500);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gm-specs-tags-title i {
  color: var(--gm-primary);
  font-size: 12px;
}

@media (max-width: 575px) {
  .gm-specs-table-modern td {
    padding: 10px 12px;
    font-size: 12.5px;
  }

  .gm-specs-table-modern td.gm-spec-key {
    min-width: 115px;
    width: 48%;
    font-size: 12px;
  }

  .gm-specs-table-modern td.gm-spec-key i {
    width: 22px;
    height: 22px;
    font-size: 10px;
    margin-right: 6px;
    border-radius: 5px;
  }

  .gm-specs-table-modern td.gm-spec-val {
    font-size: 12px;
  }

  .gm-specs-tags-wrap {
    padding: 12px 14px;
    margin-top: 14px;
  }
}

/* Empty State Modern Card */
.gm-empty-state-card {
  padding: 44px 20px;
  text-align: center;
  background: #f8fafc;
  border: 1.5px dashed #e2e8f0;
  border-radius: var(--gm-radius-lg);
  margin: 14px 0;
}

.gm-empty-state-icon {
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 50%;
  background: rgba(106, 17, 203, 0.08);
  color: var(--gm-primary);
  font-size: 22px;
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gm-empty-state-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gm-gray-800);
  margin-bottom: 6px;
}

.gm-empty-state-text {
  font-size: 13.5px;
  color: var(--gm-gray-500);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Pill Tags Grid */
.gm-tags-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.gm-tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gm-gray-700);
  background: #ffffff;
  border: 1px solid var(--gm-gray-200);
  padding: 4px 12px;
  border-radius: var(--gm-radius-full);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.gm-tag-pill:hover {
  background: var(--gm-primary);
  color: #ffffff;
  border-color: var(--gm-primary);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
  text-decoration: none;
}

.gm-sub-section-header {
  margin-bottom: 18px;
}

.gm-sub-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--gm-gray-900);
  letter-spacing: -0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gm-sub-section-title i {
  font-size: 17px;
}

/* Reviews & Ratings Section */
.gm-reviews-score-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--gm-gray-50);
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-md);
  padding: 18px 22px;
  margin-bottom: 20px;
}

@media (min-width: 576px) {
  .gm-reviews-score-overview {
    grid-template-columns: 140px 1fr;
    align-items: center;
  }
}

.gm-rating-big-score {
  font-size: 42px;
  font-weight: 800;
  color: var(--gm-gray-900);
  line-height: 1;
  text-align: center;
}

.gm-rating-big-stars {
  color: #f59e0b;
  font-size: 15px;
  margin: 4px 0;
  text-align: center;
}

.gm-rating-big-label {
  font-size: 12px;
  color: var(--gm-gray-500);
  text-align: center;
}

.gm-rating-bars-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gm-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gm-gray-600);
}

.gm-rating-bar-track {
  flex: 1;
  height: 7px;
  background: var(--gm-gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.gm-rating-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 4px;
}

.gm-review-single-item {
  border-bottom: 1px solid var(--gm-gray-100);
  padding: 16px 0;
}

.gm-review-single-item:last-child {
  border-bottom: none;
}

.gm-review-top-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.gm-review-user-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gm-review-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.gm-review-username {
  font-size: 14px;
  font-weight: 700;
  color: var(--gm-gray-900);
}

.gm-badge-verified-buyer {
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: var(--gm-radius-full);
  margin-left: 6px;
}

.gm-review-text {
  font-size: 14px;
  color: var(--gm-gray-700);
  line-height: 1.6;
  margin: 4px 0 0 0;
}

/* ==========================================================================
   COMMENTS & QUESTIONS SYSTEM - MODERN SAAS STYLING
   ========================================================================== */
#sectionComments {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gm-gray-200);
}

.gm-sub-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.gm-sub-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gm-gray-900);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  letter-spacing: -0.02em;
}

.gm-sub-section-title .gm-comment-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(106, 17, 203, 0.08);
  color: var(--gm-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.gm-comments-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f3f0ff;
  color: #6a11cb;
  font-size: 12px;
  font-weight: 700;
  margin-left: 4px;
}

/* Comment Item Card */
.gm-comment-single-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 16px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.gm-comment-single-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.gm-comment-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gm-comment-user-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Avatar Wrapper & Image (Fixed Zoom & Scaling) */
.gm-comment-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gm-comment-avatar-img {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 0 1.5px #e2e8f0 !important;
  background-color: #f8fafc !important;
  display: block !important;
}

.gm-comment-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1.5px #e2e8f0;
  user-select: none;
}

.gm-comment-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gm-comment-user-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gm-comment-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Modern Purchased Badge */
.gm-badge-verified-buyer {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

.gm-badge-verified-buyer svg,
.gm-badge-verified-buyer i {
  font-size: 11px;
}

.gm-comment-date {
  font-size: 12.5px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  white-space: nowrap;
}

/* Comment Content */
.gm-comment-body-text {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 4px 0;
  word-break: break-word;
}

/* Verified Admin Support Reply */
.gm-comment-admin-reply {
  margin-top: 14px;
  margin-left: 12px;
  padding: 14px 18px;
  background: #f8faff;
  border: 1px solid #e0e7ff;
  border-left: 3.5px solid #6366f1;
  border-radius: 12px;
  position: relative;
}

.gm-reply-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #4338ca;
}

.gm-reply-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.gm-reply-badge {
  background: #e0e7ff;
  color: #4338ca;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.gm-reply-body {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
}

/* Comment Form Card */
.gm-comment-input-wrap {
  margin-top: 24px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.gm-comment-input-wrap .form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.gm-comment-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  padding: 12px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: #0f172a;
  resize: vertical;
  background: #f8fafc;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  min-height: 90px;
}

.gm-comment-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #6a11cb;
  box-shadow: 0 0 0 3.5px rgba(106, 17, 203, 0.12);
}

.gm-btn-comment-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(106, 17, 203, 0.25);
}

.gm-btn-comment-submit:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(106, 17, 203, 0.35);
  color: #ffffff;
}

.gm-btn-comment-submit:active {
  transform: scale(0.98);
}

/* ==========================================================================
   RIGHT COLUMN: STICKY PURCHASE CARD (35%)
   ========================================================================== */
.gm-right-purchase-column {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .gm-sticky-purchase-card-wrapper {
    position: sticky;
    top: 85px;
    z-index: 25;
  }
}

.gm-purchase-card {
  background: var(--gm-white);
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-lg);
  box-shadow: var(--gm-shadow-md);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Free Item Download Card */
.gm-free-card-body {
  padding: 22px;
}

.gm-free-card-body p {
  font-size: 14px;
  color: var(--gm-gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Purchase Card Header: License Dropdown (Left) & Price (Right) */
.gm-purchase-card-top {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--gm-gray-200);
  width: 100%;
  box-sizing: border-box;
}

.gm-license-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.gm-license-dropdown-wrap {
  flex: 1;
  min-width: 140px;
  margin-bottom: 0;
}

.gm-license-select-custom {
  width: 100%;
  height: 44px;
  border-radius: var(--gm-radius-sm);
  border: 1.5px solid var(--gm-gray-300);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gm-gray-900);
  padding: 0 34px 0 12px;
  background: #ffffff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 12px center/14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: var(--gm-transition);
  box-sizing: border-box;
}

.gm-license-select-custom:hover {
  border-color: var(--gm-gray-400);
  background-color: var(--gm-gray-50);
}

.gm-license-select-custom:focus {
  outline: none;
  border-color: var(--gm-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.gm-license-price-col {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  flex-shrink: 0;
}

.gm-current-price-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--gm-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.gm-old-price-val {
  font-size: 14px;
  color: var(--gm-gray-400);
  text-decoration: line-through;
  font-weight: 500;
}

.gm-discount-badge {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  padding: 3px 8px;
  border-radius: var(--gm-radius-full);
}

@media (max-width: 575px) {
  .gm-purchase-card-top {
    padding: 14px 14px;
  }

  .gm-license-selector-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .gm-license-dropdown-wrap {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }

  .gm-license-price-col {
    width: 100%;
    justify-content: space-between;
  }

  .gm-current-price-val {
    font-size: 24px;
  }
}

/* Included Features Checklist in Purchase Card */
.gm-purchase-benefits-box {
  padding: 12px 20px;
  background: var(--gm-gray-50);
  border-bottom: 1px solid var(--gm-gray-200);
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 575px) {
  .gm-purchase-benefits-box {
    padding: 10px 14px;
  }
}

.gm-purchase-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gm-purchase-benefits-list li {
  font-size: 12px;
  font-weight: 600;
  color: var(--gm-gray-700);
  display: flex;
  align-items: center;
  gap: 6px;
}

.gm-purchase-benefits-list i {
  color: var(--gm-success);
  font-size: 12px;
  flex-shrink: 0;
}

/* Add-ons Configuration Section */
.gm-addons-accordion-wrap {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gm-gray-200);
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 575px) {
  .gm-addons-accordion-wrap {
    padding: 14px 14px;
  }
}

.gm-addons-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gm-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.gm-addon-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--gm-white);
  border: 1.5px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--gm-transition);
  user-select: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 8px;
}

.gm-addon-row-card:hover {
  border-color: var(--gm-gray-300);
  background: var(--gm-gray-50);
}

.gm-addon-row-card.is-active {
  border-color: var(--gm-primary);
  background: var(--gm-primary-soft);
}

.gm-addon-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.gm-addon-custom-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--gm-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #ffffff;
  transition: var(--gm-transition);
  flex-shrink: 0;
}

.gm-addon-row-card.is-active .gm-addon-custom-checkbox {
  background: var(--gm-primary);
  border-color: var(--gm-primary);
}

.gm-addon-custom-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--gm-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #ffffff;
  transition: var(--gm-transition);
  flex-shrink: 0;
}

.gm-addon-row-card.is-active .gm-addon-custom-radio {
  background: var(--gm-primary);
  border-color: var(--gm-primary);
}

.gm-addon-title-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--gm-gray-900);
  word-break: break-word;
}

.gm-addon-desc-text {
  font-size: 11px;
  color: var(--gm-gray-500);
  line-height: 1.3;
  margin-top: 2px;
  word-break: break-word;
}

.gm-addon-price-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--gm-radius-full);
  margin-left: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.gm-addon-price-pill.paid {
  background: var(--gm-success-soft);
  color: var(--gm-text-success);
  border: 1px solid #c2f0d5;
}

.gm-addon-price-pill.included {
  background: var(--gm-gray-100);
  color: var(--gm-gray-600);
}

/* Native Hidden Inputs */
.gm-native-addon-input,
.gm-native-child-input {
  display: none !important;
}

/* Nested Child Addon Panel (ASO) */
.gm-nested-child-panel {
  padding: 8px 12px 8px 24px;
  background: var(--gm-gray-50);
  border-radius: var(--gm-radius-sm);
  border: 1px dashed var(--gm-gray-300);
  margin-top: -4px;
  margin-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 575px) {
  .gm-nested-child-panel {
    padding: 8px 10px 8px 16px;
  }
}

.gm-nested-child-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--gm-gray-200);
  gap: 6px;
}

.gm-nested-child-row:last-child {
  border-bottom: none;
}

.gm-nested-child-row.is-selected {
  font-weight: 700;
  color: var(--gm-primary);
}

/* Dedicated Total Section */
.gm-dedicated-total-box {
  padding: 16px 20px;
  background: var(--gm-gray-50);
  border-bottom: 1px solid var(--gm-gray-200);
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 575px) {
  .gm-dedicated-total-box {
    padding: 14px 14px;
  }
}

.gm-total-line-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.gm-total-line-item.grand-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--gm-gray-900);
}

.gm-total-line-item.grand-total .gm-total-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--gm-gray-900);
  letter-spacing: -0.01em;
}

.gm-total-line-item.grand-total .total-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--gm-primary);
  letter-spacing: -0.02em;
}

@media (max-width: 575px) {
  .gm-total-line-item.grand-total .total-amount {
    font-size: 22px;
  }
}

/* Primary Action Buttons */
.gm-purchase-btn-actions {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 575px) {
  .gm-purchase-btn-actions {
    padding: 14px 14px;
  }
}

.gm-btn-primary-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  min-height: 48px;
  background: var(--gm-white);
  color: var(--gm-primary) !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--gm-radius-md);
  border: 2px solid var(--gm-primary);
  cursor: pointer;
  text-decoration: none;
  transition: var(--gm-transition);
  box-sizing: border-box;
}

.gm-btn-primary-cart:hover {
  background: var(--gm-primary-soft);
  color: var(--gm-primary-dark) !important;
  text-decoration: none;
}

.gm-btn-primary-cart.is-added {
  background: var(--gm-success-soft);
  color: var(--gm-text-success) !important;
  border-color: var(--gm-success);
}

.gm-btn-priority-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  min-height: 48px;
  background: linear-gradient(135deg, var(--gm-primary) 0%, var(--gm-primary-dark) 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--gm-radius-md);
  border: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  cursor: pointer;
  text-decoration: none;
  transition: var(--gm-transition);
  box-sizing: border-box;
}

.gm-btn-priority-buy:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
  color: #ffffff !important;
  text-decoration: none;
}

/* Trust Badges in Purchase Card */
.gm-card-trust-badges {
  padding: 0 20px 16px 20px;
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 575px) {
  .gm-card-trust-badges {
    padding: 0 14px 14px 14px;
    gap: 6px;
  }
}

@media (max-width: 360px) {
  .gm-card-trust-badges {
    grid-template-columns: 1fr;
  }
}

.gm-card-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gm-gray-600);
}

.gm-card-trust-item i {
  font-size: 12px;
  flex-shrink: 0;
}

.gm-card-trust-item i.fa-shield-alt,
.gm-card-trust-item i.fa-check-circle {
  color: var(--gm-success);
}

.gm-card-trust-item i.fa-bolt {
  color: #f59e0b;
}

.gm-card-trust-item i.fa-sync-alt {
  color: var(--gm-primary);
}

/* ==========================================================================
   RELATED PRODUCTS SECTION (4 CARDS PER ROW ON DESKTOP)
   ========================================================================== */
.gm-related-section-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 575px) {
  .gm-related-section-wrapper {
    margin-top: 28px;
  }
}

.gm-related-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.gm-related-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gm-gray-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: break-word;
}

@media (max-width: 575px) {
  .gm-related-title {
    font-size: 18px;
  }
}

.gm-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .gm-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 992px) {
  .gm-related-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   VIDEO MODAL & LIGHTBOX
   ========================================================================== */
.gm-video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.gm-video-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.gm-video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #000000;
  border-radius: var(--gm-radius-lg);
  overflow: hidden;
  box-shadow: var(--gm-shadow-xl);
  transform: scale(0.96);
  transition: transform 0.25s ease;
  box-sizing: border-box;
}

.gm-video-modal-overlay.is-open .gm-video-modal-dialog {
  transform: scale(1);
}

.gm-video-modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: var(--gm-transition);
}

.gm-video-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.gm-video-modal-iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.gm-video-modal-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   MOBILE FLOATING BOTTOM BAR (< 992px)
   ========================================================================== */
.gm-mobile-floating-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gm-gray-200);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 8px 14px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.gm-mobile-floating-buy-bar.is-visible {
  transform: translateY(0);
}

.gm-mobile-float-price-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gm-mobile-float-license {
  font-size: 11px;
  font-weight: 600;
  color: var(--gm-gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gm-mobile-float-amount {
  font-size: 19px;
  font-weight: 800;
  color: var(--gm-primary);
  line-height: 1.1;
}

.gm-mobile-float-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 380px) {
  .gm-mobile-floating-buy-bar {
    padding: 6px 10px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
    gap: 6px;
  }

  .gm-mobile-float-license {
    display: none;
  }

  .gm-mobile-float-amount {
    font-size: 17px;
  }

  .gm-mobile-float-actions .btn {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 12px !important;
  }
}

/* ==========================================================================
   GLOBAL TOAST NOTIFICATIONS
   ========================================================================== */
.gm-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .gm-toast-container {
    bottom: calc(75px + env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
  }
}

.gm-toast-message {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  color: var(--gm-gray-900);
  border-radius: var(--gm-radius-md);
  box-shadow: var(--gm-shadow-lg);
  border: 1px solid var(--gm-gray-200);
  font-size: 13px;
  font-weight: 600;
  min-width: 240px;
  max-width: 400px;
  width: auto;
  box-sizing: border-box;
  animation: gmToastSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (max-width: 576px) {
  .gm-toast-message {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

.gm-toast-message.success {
  border-left: 4px solid var(--gm-success);
}

.gm-toast-message.success i {
  color: var(--gm-success);
  font-size: 16px;
}

.gm-toast-message.error {
  border-left: 4px solid var(--gm-danger);
}

.gm-toast-message.error i {
  color: var(--gm-danger);
  font-size: 16px;
}

.gm-toast-message.info {
  border-left: 4px solid var(--gm-primary);
}

.gm-toast-message.info i {
  color: var(--gm-primary);
  font-size: 16px;
}

@keyframes gmToastSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   SPECIFICATIONS CARD - PREMIUM MARKETPLACE COMPONENT
   ========================================================================== */
.gm-specs-card-modern {
  margin-top: 20px;
  background: var(--gm-white);
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-lg);
  box-shadow: var(--gm-shadow-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  scroll-margin-top: 90px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.gm-specs-card-modern.is-highlighted {
  animation: gmHighlightPulse 1.8s ease;
}

@keyframes gmHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
    border-color: var(--gm-primary);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.25);
    border-color: var(--gm-primary);
  }

  100% {
    box-shadow: var(--gm-shadow-sm);
    border-color: var(--gm-gray-200);
  }
}

.gm-specs-card-header {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--gm-gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gm-specs-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gm-gray-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.gm-specs-card-title i {
  color: var(--gm-primary);
  font-size: 15px;
}

.gm-specs-card-body {
  padding: 6px 0 16px 0;
  background: var(--gm-white);
}

.gm-specs-list-modern {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gm-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gm-gray-100);
  transition: background-color 0.15s ease;
  gap: 16px;
  box-sizing: border-box;
}

.gm-spec-row:last-child {
  border-bottom: none;
}

.gm-spec-row:hover {
  background-color: #f8fafc;
}

.gm-spec-key {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gm-gray-700);
  font-weight: 600;
  font-size: 13.5px;
  flex-shrink: 0;
}

.gm-spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.16);
  color: var(--gm-primary);
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.gm-spec-row:hover .gm-spec-icon {
  background: var(--gm-primary);
  color: #ffffff;
  border-color: var(--gm-primary);
  transform: scale(1.05);
}

.gm-spec-label {
  font-weight: 600;
  color: #334155;
}

.gm-spec-val {
  text-align: right;
  color: var(--gm-gray-900);
  font-weight: 600;
  font-size: 13.5px;
  word-break: break-word;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.gm-spec-link {
  color: var(--gm-primary-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.14);
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.gm-spec-link:hover {
  background: var(--gm-primary);
  color: #ffffff;
  border-color: var(--gm-primary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.25);
}

.gm-spec-link-cat {
  font-weight: 700;
  color: var(--gm-primary);
}

.gm-spec-text {
  color: #1e293b;
  font-weight: 600;
  font-size: 13.5px;
}

.gm-spec-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--gm-radius-full);
  background: #f0fdf4;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #bbf7d0;
}

.gm-spec-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--gm-radius-full);
  background: #f0f9ff;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #bae6fd;
}

.gm-specs-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--gm-radius-full);
  background: #f0fdf4;
  color: #15803d;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid #bbf7d0;
}

/* Asset Tags Section in Specs Card */
.gm-specs-tags-wrap {
  margin: 12px 20px 0 20px;
  padding-top: 14px;
  border-top: 1px solid var(--gm-gray-100);
}

.gm-specs-tags-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gm-gray-600);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gm-specs-tags-title i {
  color: var(--gm-primary);
}

.gm-tags-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gm-tag-pill {
  display: inline-block;
  padding: 3px 8px;
  background: var(--gm-gray-100);
  border: 1px solid var(--gm-gray-200);
  border-radius: var(--gm-radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gm-gray-700);
  text-decoration: none;
  transition: var(--gm-transition);
}

.gm-tag-pill:hover {
  background: var(--gm-primary);
  border-color: var(--gm-primary);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Mobile Single Column Responsive Layout for Specifications */
@media (max-width: 575px) {
  .gm-specs-card-modern {
    margin-top: 16px;
    border-radius: var(--gm-radius-md);
    box-shadow: var(--gm-shadow-sm);
  }

  .gm-specs-card-header {
    padding: 13px 14px;
  }

  .gm-specs-card-title {
    font-size: 14.5px;
  }

  .gm-specs-card-body {
    padding: 4px 0 12px 0;
  }

  .gm-spec-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 11px 14px;
    gap: 6px;
  }

  .gm-spec-key {
    width: 100%;
    font-size: 13px;
  }

  .gm-spec-val {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    padding-left: 38px;
    font-size: 13px;
  }

  .gm-specs-tags-wrap {
    margin: 10px 14px 0 14px;
    padding-top: 10px;
  }
}