/* GamsGo-style listing detail page */
.gg-shop-page {
  background: #f5f6f8;
  min-height: 100vh;
}

.gg-shop-wrap {
  max-width: min(1600px, calc(100vw - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 2rem 3rem;
}

.gg-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #333;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.15s;
}

.gg-back:hover {
  color: var(--brand-cta, #0047bb);
}

.gg-shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .gg-shop-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 2rem;
    align-items: start;
  }
}

.gg-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.04);
}

.gg-product-card {
  padding: 1.5rem;
}

.gg-product-head {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.gg-product-thumb {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f5;
}

.gg-product-thumb--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}

.gg-product-thumb--icon .material-symbols-outlined {
  font-size: 3rem;
}

.gg-product-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  color: #111827;
  margin: 0 0 1rem;
}

.gg-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.5rem;
}

@media (min-width: 640px) {
  .gg-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .gg-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gg-feature {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.gg-feature-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f3f4f6;
  color: #374151;
}

.gg-feature-icon--ok {
  background: #ecfdf5;
  color: #059669;
}

.gg-feature-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0 0 0.15rem;
}

.gg-feature-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.gg-feature-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.gg-feature-link:hover {
  text-decoration: underline;
}

.gg-notice {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #eef7fe;
  color: #1e40af;
  font-size: 0.8125rem;
  line-height: 1.5;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.gg-notice .material-symbols-outlined {
  font-size: 1.125rem;
  margin-top: 0.1rem;
}

.gg-desc-card {
  padding: 1.5rem;
  margin-top: 1.25rem;
}

.gg-desc-card h2 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 1rem;
}

.gg-desc-card .listing-description-html {
  color: #374151;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.gg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 992px) {
  .gg-sidebar {
    position: sticky;
    top: 5.5rem;
  }
}

.gg-buy-card {
  padding: 1.25rem 1.35rem;
}

.gg-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.gg-meta-row:last-of-type {
  border-bottom: none;
}

.gg-meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #6b7280;
}

.gg-meta-value {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #111827;
}

.gg-meta-value .material-symbols-outlined {
  font-size: 1.125rem;
  color: #f59e0b;
}

.gg-meta-value--shield .material-symbols-outlined {
  color: #2563eb;
}

.gg-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1rem 0 0.75rem;
}

.gg-price-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
}

.gg-price-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-cta, #0047bb);
  line-height: 1;
}

.gg-price-unit {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.gg-slots {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.gg-btn-buy {
  display: block;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: var(--brand-cta, #0047bb);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.65rem 1rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.gg-btn-buy:hover {
  background: var(--brand-cta-hover, #00328a);
  color: #fff;
}

.gg-btn-buy:active {
  transform: scale(0.99);
}

.gg-btn-secondary {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.gg-btn-secondary:hover {
  background: #f9fafb;
}

.gg-trust-list {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.gg-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #374151;
  margin-bottom: 0.45rem;
}

.gg-trust-item:last-child {
  margin-bottom: 0;
}

.gg-trust-item .material-symbols-outlined {
  font-size: 1.125rem;
  color: #2563eb;
}

.gg-seller-card {
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gg-seller-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.gg-seller-name {
  font-weight: 800;
  color: #111827;
  font-size: 0.9375rem;
  margin: 0;
}

.gg-seller-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.gg-seller-meta .material-symbols-outlined {
  font-size: 1rem;
  color: #22c55e;
}

.seller-rating {
  font-weight: 700;
  color: #111827;
}

.gg-activation-feed {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.gg-activation-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}

.gg-activation-feed-head h3 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #111827;
}

.gg-activation-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gg-activation-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  animation: gg-live-pulse 1.6s ease-in-out infinite;
}

@keyframes gg-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.gg-activation-stage {
  position: relative;
  min-height: 92px;
  padding: 0.85rem 1rem 1rem;
}

.gg-activation-toast {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gg-activation-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gg-activation-toast.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

.gg-activation-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gg-activation-icon .material-symbols-outlined {
  font-size: 1.125rem;
}

.gg-activation-text {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
}

.gg-activation-time {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.gg-activation-recent {
  border-top: 1px solid #f1f5f9;
  padding: 0.65rem 1rem 0.85rem;
}

.gg-activation-recent p {
  margin: 0 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

.gg-activation-recent ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gg-activation-recent li {
  font-size: 0.75rem;
  color: #4b5563;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #eef2f7;
  line-height: 1.35;
}

.gg-activation-recent li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gg-seller-rating {
  font-weight: 700;
  color: #111827;
}

.gg-reviews-card {
  padding: 1.25rem 1.35rem;
  margin-top: 1.25rem;
}

.gg-reviews-card h2 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.gg-review-item {
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.65rem;
  background: #fafbfc;
}

.gg-related {
  margin-top: 1.25rem;
}

.gg-related h2 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
}

.gg-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .gg-related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.gg-related-link {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.gg-related-link:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.gg-related-link img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.gg-unavailable {
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 600;
}
