.jg-kv-html,
.jg-kv-html body.jg-kv-page {
  height: auto !important;
  min-height: 0 !important;
}

.jg-kv-html {
  overflow-y: auto !important;
}

body.jg-kv-page {
  background: var(--bg);
  color: var(--fg);
  overflow-y: visible !important;
  --jg-kv-space-1: 6px;
  --jg-kv-space-2: 10px;
  --jg-kv-space-3: 14px;
  --jg-kv-space-4: 18px;
  --jg-kv-space-5: 24px;
  --jg-kv-radius: 18px;
  --jg-kv-radius-lg: 22px;
  --jg-kv-shadow: var(--shadow);
  --jg-kv-shadow-hover: var(--shadow-hover);
  --jg-kv-ease: 180ms ease;
  --jg-kv-accent: var(--accent);
  --jg-kv-accent-2: var(--accent-2);
  --jg-kv-text: var(--fg);
  --jg-kv-muted: var(--muted);
  --jg-kv-fg-secondary: var(--fg-secondary);
  --jg-kv-surface: var(--surface);
  --jg-kv-surface-2: var(--surface-2);
  --jg-kv-elevated: var(--elevated);
  --jg-kv-border: var(--border);
  --jg-kv-border-strong: var(--border-strong);
  --jg-kv-success: var(--success);
}

body.jg-kv-page .container {
  width: min(1760px, 100%);
  max-width: min(1760px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 8px;
  padding-right: 8px;
  overflow: visible;
  box-sizing: border-box;
}

.jg-kv-fold-lead,
.jg-kv-fold-trust {
  display: none;
}

.jg-kv-flow {
  margin: 8px 0 12px;
}

.jg-kv-flow__list {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  box-shadow: var(--jg-kv-shadow);
}

.jg-kv-flow__list::-webkit-scrollbar {
  display: none;
}

.jg-kv-flow__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--jg-kv-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: background var(--jg-kv-ease), color var(--jg-kv-ease);
}

.jg-kv-flow__item + .jg-kv-flow__item::before {
  content: '';
  width: 14px;
  height: 1px;
  margin-right: 2px;
  background: var(--jg-kv-border-strong);
}

.jg-kv-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--jg-kv-surface-2);
  color: var(--jg-kv-muted);
  font-size: 11px;
  font-weight: 900;
}

.jg-kv-flow__item.is-current {
  color: var(--jg-kv-text);
  background: var(--accent-soft, rgba(124, 58, 237, 0.10));
}

.jg-kv-flow__item.is-current .jg-kv-flow__num {
  background: var(--jg-kv-accent);
  color: #fff;
}

.jg-kv-flow__item.is-done {
  color: var(--jg-kv-text);
}

.jg-kv-flow__item.is-done .jg-kv-flow__num {
  background: color-mix(in srgb, var(--jg-kv-success) 16%, transparent);
  color: var(--jg-kv-success);
}

.jg-kv-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--jg-kv-surface) 88%, transparent);
  border-bottom: 1px solid var(--jg-kv-border);
}

.jg-kv-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.jg-kv-logo {
  display: inline-flex;
  align-items: center;
}

.jg-kv-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jg-kv-header__actions a {
  text-decoration: none;
  color: var(--jg-kv-text);
  font-weight: 800;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
}

.jg-kv-shell {
  padding-top: 20px;
  padding-bottom: 48px;
}

.jg-kv-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.jg-kv-proof__item,
.jg-kv-headnote,
.jg-kv-categories,
.jg-kv-hero,
.jg-kv-actions,
.jg-kv-templates,
.reviews-section,
.seo-section {
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  box-shadow: var(--jg-kv-shadow);
}

.jg-kv-proof__item {
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 6px;
}

.jg-kv-proof__item span {
  font-size: 18px;
}

.jg-kv-proof__item strong {
  font-size: 18px;
  font-weight: 900;
}

.jg-kv-proof__item small {
  color: var(--jg-kv-muted);
  font-size: 12px;
  font-weight: 700;
}

.jg-kv-categories,
.jg-kv-hero,
.jg-kv-actions,
.jg-kv-templates {
  margin-top: 12px;
  border-radius: var(--jg-kv-radius-lg, 22px);
}

.jg-kv-categories {
  padding: 10px;
}

.jg-kv-categories__rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.jg-kv-categories__rail a {
  flex: 0 0 auto;
  text-decoration: none;
  white-space: nowrap;
  color: #334155;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  transition: transform var(--jg-kv-ease, 180ms ease), box-shadow var(--jg-kv-ease, 180ms ease), background var(--jg-kv-ease, 180ms ease), color var(--jg-kv-ease, 180ms ease), border-color var(--jg-kv-ease, 180ms ease);
}

.jg-kv-categories__rail a:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.08);
}

.jg-kv-categories__rail a.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.18);
}

.jg-kv-hero,
.jg-kv-actions,
.jg-kv-templates {
  padding: 14px;
}

.jg-kv-hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.jg-kv-kicker {
  margin: 0 0 8px;
  color: #7c3aed;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jg-kv-sub {
  margin: 8px 0 0;
  max-width: 760px;
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
}

.jg-kv-headnote {
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 6px;
}

.jg-kv-headnote span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.jg-kv-headnote strong {
  font-size: 24px;
  font-weight: 900;
}

.jg-kv-headnote small {
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.jg-kv-product-title {
  display: none;
}

.jg-kv-variants__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.jg-kv-variants__head h2,
.jg-kv-templates__head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
}

.jg-kv-variants__head p,
.jg-kv-templates__head p,
.jg-kv-template-status {
  margin: 6px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

body.jg-kv-page #stripesRoot {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 4px 12px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.55) rgba(124, 58, 237, 0.10);
}

body.jg-kv-page #stripesRoot > .stripe {
  flex: 0 0 clamp(220px, 18vw, 248px);
  min-width: clamp(220px, 18vw, 248px);
  max-width: clamp(220px, 18vw, 248px);
  scroll-snap-align: start;
  align-self: stretch;
}

/* Dijital: küçük/kapalı kart yok — her zaman açık akış */
html.is-dijital-product .jg-discovery-select-expand,
html.is-dijital-product .jg-discovery-collapse-btn,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper .jg-discovery-select-expand,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper .jg-discovery-collapse-btn {
  display: none !important;
}

body.jg-kv-page .jg-variant-rail-shell.is-single-variant #stripesRoot,
.jg-variant-rail-shell.is-single-variant #stripesRoot {
  display: block;
  overflow: visible;
  justify-content: stretch;
  width: 100%;
  scroll-snap-type: none;
}

body.jg-kv-page .jg-variant-rail-shell.is-single-variant #stripesRoot > .stripe.jg-discovery-card.is-sv-stepper,
.jg-variant-rail-shell.is-single-variant #stripesRoot > .stripe.jg-discovery-card.is-sv-stepper {
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  scroll-snap-align: none;
}

.jg-variant-rail-shell.is-single-variant #stripesRoot > .stripe.jg-discovery-card.is-sv-stepper.is-expanded,
body.jg-kv-page .jg-variant-rail-shell.is-single-variant #stripesRoot > .stripe.jg-discovery-card.is-sv-stepper.is-expanded {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 16px 22px;
  padding: 14px 16px;
  width: 100%;
  max-width: none;
  min-height: 0;
  box-sizing: border-box;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-collapse-btn {
  display: none !important;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary,
body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary {
  min-height: 0;
  max-height: none;
  height: auto;
  flex: 0 0 auto;
  opacity: 1;
  transform: none;
  margin: 0;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-ctas,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-select-expand,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-qty,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-qtystack,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-copy {
  display: none !important;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-photo,
body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-photo {
  width: 100%;
  height: auto;
  min-height: 240px;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transform: none;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-title,
body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-title {
  font-size: 20px;
  line-height: 1.25;
  min-height: 0;
  -webkit-line-clamp: 2;
}

body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-monthly-orders,
body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-review-count,
body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-cargo,
body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .lead-time {
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
}

body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-stars {
  font-size: 13px;
}

body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-price,
body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-price-main {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  min-height: 0;
}

.jg-variant-rail-shell.is-single-variant .jg-variant-rail-nav {
  display: none !important;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-detail {
  display: block;
  max-height: none;
  opacity: 1;
  transform: none;
  padding: 0;
  overflow: visible;
  pointer-events: auto;
  grid-template-columns: none;
  contain: none;
  min-width: 0;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .left-col,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .left-grid,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .photo-stack {
  display: none !important;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .right-col {
  display: block;
  width: 100%;
  min-width: 0;
}

.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper .jg-card-detail-toggle,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper .jg-card-detail-wrap,
.jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper .qty-title {
  display: none !important;
}

.jg-sv-steps,
.jg-sv-steps.is-sv-compact {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: none;
  align-items: stretch;
}

.jg-sv-steps.is-sv-ofset .jg-sv-size-chip,
.jg-sv-steps.is-sv-ofset .qty-row[data-jg-sv-key="custom"],
.is-sv-stepper.is-sv-ofset .jg-sv-size-chip,
.is-sv-stepper.is-sv-ofset .qty-row[data-jg-sv-key="custom"] {
  display: none !important;
}

.jg-sv-step {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.jg-sv-step:last-child {
  border-bottom: 0;
}

.jg-sv-step.is-pending {
  display: none;
}

.jg-sv-step.is-done,
.jg-sv-step.is-active {
  border-color: rgba(148, 163, 184, 0.18);
  background: transparent;
  box-shadow: none;
}

.jg-sv-step__summary,
.jg-sv-step__actions {
  display: none !important;
}

.jg-sv-step.is-done .jg-sv-step__body,
.jg-sv-step.is-active .jg-sv-step__body,
.jg-sv-step:not(.is-pending) .jg-sv-step__body {
  display: block;
  padding: 10px 0;
}

.jg-sv-step__label {
  margin: 0 0 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jg-sv-step__value {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.jg-sv-step__value::before {
  content: "â ";
  color: #16a34a;
  font-weight: 800;
}

.jg-sv-step__edit {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #7c3aed;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
}

.jg-sv-step__edit:hover {
  background: rgba(124, 58, 237, 0.08);
}

.jg-sv-step__actions,
.jg-sv-step__btn {
  display: none !important;
}

.jg-sv-step .qty-row,
.jg-sv-step .qty-row.no-label,
.jg-sv-step .qty-row.grid-only {
  margin: 0;
  gap: 8px;
  grid-template-columns: 1fr;
}

.jg-sv-step .price-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jg-sv-step .price-grid .price-item,
.jg-sv-step .jg-sv-size-chip,
.jg-sv-step .jg-sv-size-chip.btn,
.jg-sv-step .custom-size-toggle.jg-sv-size-chip {
  width: auto;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  box-shadow: none;
  transform: none;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.jg-sv-step .price-grid .price-item:hover,
.jg-sv-step .jg-sv-size-chip:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(124, 58, 237, 0.45);
}

.jg-sv-step .price-grid .price-item.active,
.jg-sv-step .jg-sv-size-chip.active {
  background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
  border-color: transparent;
  color: #fff;
}

.jg-sv-step[data-jg-sv-key="size"]:has(.custom-size-box.enabled) .price-grid .price-item.active:not(.jg-sv-size-chip) {
  background: #fff;
  border-color: rgba(148, 163, 184, 0.28);
  color: inherit;
}

.jg-sv-step .price-item .adet {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.jg-sv-step .qty-row[data-jg-sv-key="custom"]:not(:has(.custom-size-box.enabled)) {
  display: none;
}

.jg-sv-step .custom-size-box {
  width: 100%;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
}

.jg-sv-step .custom-size-head {
  display: none;
}

.jg-sv-step .custom-size-fields {
  display: none;
  margin-top: 0;
  grid-template-columns: 72px 1fr 1fr;
  gap: 8px;
}

.jg-sv-step .custom-size-box.enabled .custom-size-fields {
  display: grid;
}

.jg-sv-step .custom-size-box.enabled + .custom-size-hint,
.jg-sv-step .custom-size-box.enabled .custom-size-hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
}

.jg-sv-step .custom-size-hint {
  display: none;
}

.jg-sv-step .custom-size-unit,
.jg-sv-step .custom-size-fields input {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}

.jg-sv-step[data-jg-sv-key="ofset-qty"] .custom-size-box {
  display: block;
  margin-top: 0;
}

.jg-sv-step[data-jg-sv-key="ofset-qty"] .qty-select:not(.jg-sv-qty-select-sr) {
  max-width: 220px;
  min-height: 40px;
  border-radius: 10px;
}

.jg-sv-step .jg-sv-qty-select-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.jg-sv-step .qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.jg-sv-step .qty-stepper .qty-btn,
.jg-sv-step .qty-stepper .qty-input {
  min-height: 40px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.jg-sv-step .qty-stepper .qty-btn {
  width: 40px;
  background: #f8fafc;
  color: #5b21b6;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.jg-sv-step .qty-stepper .qty-input {
  width: 56px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
}

.jg-sv-step[data-jg-sv-key="checkout"] {
  flex: 0 0 auto;
}

.jg-sv-step[data-jg-sv-key="checkout"] .jg-sv-step__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 0;
}

.jg-sv-step[data-jg-sv-key="checkout"] input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.jg-sv-step .price-box {
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: none;
}

.jg-sv-step .price-box .price-value {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.jg-sv-step .price-box .price-note {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

.jg-sv-step .price-discount-meta,
.jg-sv-step .jg-price-badge:empty,
.jg-sv-step .jg-trust-line,
.jg-sv-step .jg-ai-badge,
.jg-sv-step .jg-ownfile-helper-text,
.jg-sv-step .jg-vip-promo-box,
.jg-sv-step .features-panel,
.jg-sv-step .features-toggle {
  display: none !important;
}

.jg-sv-step .lead-time-row {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.jg-sv-step .cta-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 0;
  flex: 0 0 auto;
}

.jg-sv-step .cta-row .jg-ownfile-cta-wrap,
.jg-sv-step .cta-row .jg-ownfile-cta-surface {
  width: auto;
  flex: 1 1 220px;
  min-width: 0;
}

.jg-sv-step .cta-row .jg-ownfile-cta-surface {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jg-sv-step .cta-row .btn.upload-btn,
.jg-sv-step .cta-row .upload-btn.btn.ghost,
.jg-sv-step .cta-row .btn.primary {
  width: 100%;
  flex: 1 1 220px;
  min-height: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: none;
}

.jg-sv-step .cta-row .btn.upload-btn,
.jg-sv-step .cta-row .upload-btn.btn.ghost {
  background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
  border-color: transparent;
  color: #fff;
}

.jg-sv-step .cta-row .choose-btn,
.jg-sv-step .cta-row .btn.choose-btn {
  width: auto;
  flex: 1 1 220px;
  align-self: center;
  min-height: 38px;
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 750;
  border-radius: 10px;
  background: #fff;
  color: #5b21b6;
  border: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow: none;
}

.jg-sv-step .cta-row .choose-btn.jg-cta-stacked {
  flex-direction: row;
  gap: 6px;
  height: auto;
  min-height: 38px;
}

.jg-sv-step .cta-row .choose-btn .jg-cta-pre {
  display: none;
}

.jg-sv-step .cta-row .choose-btn .jg-cta-main {
  font-size: 13px;
  font-weight: 750;
}

.jg-sv-step .jg-ownfile-info-btn {
  width: 28px;
  height: 28px;
}

body.dark-mode .jg-sv-step,
body.dark-mode .jg-sv-step.is-done,
body.dark-mode .jg-sv-step.is-active {
  background: transparent;
  border-color: var(--border, rgba(148, 163, 184, 0.22));
}

body.dark-mode .jg-sv-step .price-grid .price-item,
body.dark-mode .jg-sv-step .jg-sv-size-chip,
body.dark-mode .jg-sv-step .qty-stepper {
  background: var(--surface-2, #1e293b);
}

body.dark-mode .jg-sv-step__value {
  color: var(--fg, #e2e8f0);
}

body.dark-mode .jg-sv-step__btn {
  background: transparent;
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.28);
}

body.jg-kv-page #stripesRoot::-webkit-scrollbar {
  height: 12px;
}

body.jg-kv-page #stripesRoot::-webkit-scrollbar-track {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.06), rgba(168, 85, 247, 0.10));
}

body.jg-kv-page #stripesRoot::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(90deg, rgba(192, 132, 252, 0.88), rgba(147, 51, 234, 0.78)) padding-box;
}

.jg-variant-rail-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 0;
  overflow: visible;
}

.jg-variant-rail-label {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  margin: 2px 0 0;
  padding: 0 2px;
  user-select: none;
  pointer-events: none;
}

.jg-variant-rail-label__text {
  margin: 0;
  color: #475569;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.25;
  white-space: nowrap;
}

.jg-variant-rail-label__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.14);
  animation: jgVariantHintNudge 1.6s ease-in-out infinite;
}

.jg-variant-rail-label__arrow svg {
  width: 11px;
  height: 11px;
}

.jg-variant-rail-label.is-single .jg-variant-rail-label__arrow {
  display: none;
  animation: none;
}

@keyframes jgVariantHintNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .jg-variant-rail-label__arrow {
    animation: none;
  }
}

.jg-variant-rail-track {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.jg-variant-rail-track #stripesRoot {
  width: 100%;
}

.jg-variant-rail-shell.is-variant-guiding {
  isolation: isolate;
}

.jg-kv-variant-guide-beam {
  position: absolute;
  inset: -6px 0 2px;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  border-radius: 28px;
  opacity: 0;
}

.jg-kv-variant-guide-beam.is-playing {
  opacity: 1;
}

.jg-kv-variant-guide-beam__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(168, 85, 247, 0.16), transparent 72%),
    linear-gradient(90deg, rgba(124, 58, 237, 0.04), rgba(192, 132, 252, 0.10), rgba(124, 58, 237, 0.04));
  animation: jgKvGuideAmbient 1.55s ease-in-out 2;
}

.jg-kv-variant-guide-beam__light {
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: 0;
  width: min(38%, 260px);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(216, 180, 254, 0.05) 18%,
    rgba(192, 132, 252, 0.28) 42%,
    rgba(233, 213, 255, 0.72) 50%,
    rgba(168, 85, 247, 0.34) 58%,
    rgba(147, 51, 234, 0.08) 78%,
    transparent 100%
  );
  box-shadow:
    0 0 28px rgba(168, 85, 247, 0.35),
    0 0 64px rgba(124, 58, 237, 0.22);
  filter: blur(1.5px);
  transform: translateX(-120%);
  animation: jgKvGuideSweep 1.55s cubic-bezier(0.22, 0.72, 0.18, 1) 2;
}

body.jg-kv-page #stripesRoot.is-variant-guiding > .stripe.is-variant-guide-card {
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 1.5px rgba(168, 85, 247, 0.42),
    0 0 0 6px rgba(168, 85, 247, 0.08),
    0 18px 42px rgba(124, 58, 237, 0.18),
    0 10px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 280ms ease, transform 280ms ease;
}

body.jg-kv-page #stripesRoot.is-variant-guiding > .stripe.is-variant-guide-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(135deg, rgba(237, 233, 254, 0.14), transparent 42%, rgba(168, 85, 247, 0.08));
  animation: jgKvGuideCardSheen 1.55s ease-in-out 2;
}

@keyframes jgKvGuideSweep {
  0% {
    transform: translateX(-130%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateX(360%);
    opacity: 0;
  }
}

@keyframes jgKvGuideAmbient {
  0%,
  100% {
    opacity: 0.35;
  }
  45%,
  55% {
    opacity: 1;
  }
}

@keyframes jgKvGuideCardSheen {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jg-kv-variant-guide-beam__light,
  .jg-kv-variant-guide-beam__glow,
  body.jg-kv-page #stripesRoot.is-variant-guiding > .stripe.is-variant-guide-card::after {
    animation: none !important;
  }

  .jg-kv-variant-guide-beam.is-playing {
    opacity: 1;
  }

  .jg-kv-variant-guide-beam__glow {
    opacity: 0.85;
  }

  .jg-kv-variant-guide-beam__light {
    display: none;
  }
}

body.dark-mode .jg-kv-variant-guide-beam__glow {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(168, 85, 247, 0.22), transparent 72%),
    linear-gradient(90deg, rgba(91, 33, 182, 0.08), rgba(168, 85, 247, 0.16), rgba(91, 33, 182, 0.08));
}

body.dark-mode .jg-kv-variant-guide-beam__light {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(167, 139, 250, 0.08) 18%,
    rgba(192, 132, 252, 0.34) 42%,
    rgba(237, 233, 254, 0.78) 50%,
    rgba(168, 85, 247, 0.38) 58%,
    rgba(124, 58, 237, 0.12) 78%,
    transparent 100%
  );
  box-shadow:
    0 0 34px rgba(168, 85, 247, 0.42),
    0 0 70px rgba(91, 33, 182, 0.28);
}

body.dark-mode.jg-kv-page #stripesRoot.is-variant-guiding > .stripe.is-variant-guide-card,
body.dark-mode #stripesRoot.is-variant-guiding > .stripe.is-variant-guide-card {
  box-shadow:
    0 0 0 1.5px rgba(196, 181, 253, 0.42),
    0 0 0 6px rgba(124, 58, 237, 0.14),
    0 20px 48px rgba(0, 0, 0, 0.42);
}

.jg-kv-modal.is-variant-guide .jg-kv-modal__title {
  letter-spacing: -0.03em;
}

.jg-kv-modal.is-variant-guide .jg-kv-modal__desc {
  color: #64748b;
}

@media (max-width: 520px) {
  .jg-kv-modal.is-variant-guide .jg-kv-modal__desc {
    white-space: normal;
  }
}

.jg-kv-modal.is-single-cta .jg-kv-modal__actions {
  display: grid;
}

.jg-kv-modal.is-single-cta .jg-kv-modal__btn.is-primary {
  width: 100%;
}

.jg-kv-ai-fields-modal {
  width: min(440px, calc(100vw - 28px));
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
}

.jg-kv-ai-fields__list {
  display: grid;
  gap: 6px;
  margin: 4px 0 10px;
  max-height: min(46vh, 360px);
  overflow: auto;
  padding-right: 2px;
}

.jg-kv-ai-fields__row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--jg-kv-border, #e2e8f0);
  background: #fff;
  cursor: pointer;
}

.jg-kv-ai-fields__row.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f8fafc;
}

.jg-kv-ai-fields__row input {
  margin-top: 3px;
}

.jg-kv-ai-fields__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.jg-kv-ai-fields__meta strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--jg-kv-text, #0f172a);
}

.jg-kv-ai-fields__meta em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jg-kv-ai-fields__icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

body.dark-mode .jg-kv-modal.is-variant-guide .jg-kv-modal__desc {
  color: rgba(226, 232, 240, 0.82);
}

body.dark-mode .jg-kv-ai-fields__row {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.22);
}

body.dark-mode .jg-kv-ai-fields__row.is-disabled {
  background: rgba(15, 23, 42, 0.35);
}

body.dark-mode .jg-kv-ai-fields__meta strong {
  color: #e2e8f0;
}

body.dark-mode .jg-kv-ai-fields__icons {
  color: #cbd5e1;
}

body.jg-kv-guide-open .jg-smart-ai,
body.jg-kv-guide-open .jg-smart-ai-launcher {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.jg-kv-templates.is-awaiting-variant {
  position: relative;
}

.jg-kv-templates.is-awaiting-variant .jg-kv-template-grid {
  opacity: 0.92;
}

.jg-kv-templates.is-awaiting-variant .jg-kv-template-card {
  position: relative;
  opacity: 0.58;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  cursor: not-allowed;
}

.jg-kv-templates.is-awaiting-variant .jg-kv-template-card::before {
  content: 'LÃ¼tfen yukarÄ±dan varyant seÃ§iniz';
  position: absolute;
  left: 50%;
  top: 38%;
  z-index: 8;
  transform: translate(-50%, -50%) translateY(4px);
  width: max-content;
  max-width: calc(100% - 18px);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.jg-kv-templates.is-awaiting-variant .jg-kv-template-card:hover {
  transform: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.06);
  z-index: 4;
}

.jg-kv-templates.is-awaiting-variant .jg-kv-template-card:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.jg-kv-templates.is-awaiting-variant .jg-kv-template-card__preview {
  cursor: not-allowed;
}

.jg-kv-templates.is-awaiting-variant .jg-kv-template-card__actions,
.jg-kv-templates.is-awaiting-variant .jg-kv-template-card__face-chip,
.jg-kv-templates.is-awaiting-variant .jg-kv-template-more {
  pointer-events: none;
}

.jg-kv-variant-gate-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 0;
  padding: 10px 14px;
  width: fit-content;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.08);
}

.jg-kv-variant-gate-hint[hidden] {
  display: none !important;
}

.jg-variant-rail-shell.is-scrollable .jg-variant-rail-track {
  padding: 0 44px;
}

.jg-variant-rail-shell.is-scrollable .jg-variant-rail-nav {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1;
  pointer-events: auto !important;
}

.jg-variant-rail-shell.is-scrollable .jg-variant-rail-nav:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.jg-variant-rail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--jg-kv-border-strong, var(--border-strong));
  border-radius: 999px;
  background: var(--jg-kv-elevated, var(--elevated));
  color: var(--jg-kv-text, var(--fg));
  box-shadow: var(--jg-kv-shadow, var(--shadow));
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease, filter 160ms ease;
}

.jg-variant-rail-nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.04);
  color: #fff;
  border-color: transparent;
  background: var(--jg-kv-accent, var(--accent));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--jg-kv-accent, var(--accent)) 28%, transparent);
}

.jg-variant-rail-nav:active:not(:disabled) {
  transform: translateY(-50%) scale(0.98);
}

.jg-variant-rail-nav:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

.jg-variant-rail-nav:disabled {
  opacity: 0.4;
  cursor: default;
  color: var(--jg-kv-muted, var(--muted));
  border-color: var(--jg-kv-border, var(--border));
  background: var(--jg-kv-surface-2, var(--surface-2));
  box-shadow: none;
  transform: translateY(-50%);
  filter: none;
}

.jg-variant-rail-nav--prev {
  left: 2px;
}

.jg-variant-rail-nav--next {
  right: 2px;
}

.jg-variant-rail-nav svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}

body.dark-mode .jg-variant-rail-nav {
  border-color: var(--border);
  background: var(--elevated);
  color: var(--fg-secondary);
  box-shadow: var(--shadow);
}

body.dark-mode .jg-variant-rail-nav:hover:not(:disabled) {
  color: #fff;
  background: var(--accent);
  border-color: transparent;
}

body.dark-mode .jg-variant-rail-label__text {
  color: var(--muted);
}

body.dark-mode .jg-variant-rail-label__arrow {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.16);
  border-color: rgba(167, 139, 250, 0.22);
}

@media (max-width: 720px) {
  .jg-variant-rail-label {
    display: inline-flex;
    margin: 0 0 2px;
    padding: 0 4px;
  }
  .jg-variant-rail-label__text {
    font-size: 12px;
    white-space: normal;
  }
  .jg-variant-rail-shell.is-scrollable:not(.is-single-variant) .jg-variant-rail-track {
    padding: 0;
  }
  .jg-variant-rail-shell.is-single-variant.is-scrollable .jg-variant-rail-track {
    padding: 0 36px;
  }
  .jg-variant-rail-nav {
    width: 34px;
    height: 34px;
  }
}

body.jg-kv-page .stripe.jg-discovery-card.is-expanded { transform: none; }

.jg-kv-actions__bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.jg-kv-actions__bar button,
.jg-kv-loadbtn,
.jg-kv-panel__actions button,
.jg-kv-panel__actions a {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.jg-kv-actions__bar button {
  background: rgba(124, 58, 237, 0.08);
  color: #334155;
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.jg-kv-actions__bar button.is-active,
.jg-kv-loadbtn,
.jg-kv-panel__actions button {
  color: #fff;
  border-color: transparent;
  background: var(--jg-kv-accent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--jg-kv-accent) 24%, transparent);
}

.jg-kv-panel__actions a {
  background: var(--jg-kv-surface-2);
  color: var(--jg-kv-text);
  border: 1px solid var(--jg-kv-border);
}

.jg-kv-panels {
  display: grid;
}

.jg-kv-panel {
  display: none;
}

.jg-kv-panel.is-open {
  display: block;
}

.jg-kv-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.jg-kv-panel__card,
.jg-kv-panel__step {
  border-radius: 20px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  padding: 18px;
}

.jg-kv-panel__card--muted {
  background: var(--jg-kv-surface-2);
}

.jg-kv-panel__eyebrow {
  display: inline-flex;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jg-kv-panel__card h2 {
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.jg-kv-panel__card p,
.jg-kv-panel__card li,
.jg-kv-panel__step small {
  color: #475569;
  line-height: 1.6;
}

.jg-kv-panel__card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.jg-kv-panel__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.jg-kv-panel__step {
  display: grid;
  gap: 8px;
}

.jg-kv-panel__step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.jg-kv-panel__step span {
  font-weight: 900;
  font-size: 17px;
}

.jg-kv-templates__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}

.jg-kv-templates__head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
}

.jg-kv-templates__head p {
  margin: 6px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.jg-kv-ai {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "hero hero"
    "person filters";
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 10px;
}

.jg-kv-ai__hero {
  grid-area: hero;
  display: grid;
  gap: 4px;
  border-radius: var(--jg-kv-radius-lg, 22px);
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  box-shadow: var(--jg-kv-shadow);
  padding: 12px 14px 12px;
  text-align: center;
}

.jg-kv-ai__brand {
  color: var(--jg-kv-text);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.jg-kv-ai__title {
  margin: 0;
  color: var(--jg-kv-text);
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.jg-kv-ai__hint {
  margin: 0 auto;
  max-width: 46ch;
  color: #64748b;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}

.jg-kv-ai__spec {
  margin: 6px auto 0;
  width: min(760px, 100%);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0.03));
  color: #312e81;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: left;
}

.jg-kv-ai__gate {
  margin: 6px auto 0;
  max-width: 52ch;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.jg-kv-ai__submit[disabled],
.jg-kv-ai__submit[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.jg-kv-ai__results {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 12px;
  border-radius: var(--jg-kv-radius-lg, 22px);
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  box-shadow: var(--jg-kv-shadow);
}

.jg-kv-ai__results-head {
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
}

.jg-kv-ai__results-head strong {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--jg-kv-text);
}

.jg-kv-ai__results-head p,
.jg-kv-ai__results-status {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.jg-kv-ai__results-status.is-error {
  color: #b91c1c;
}

.jg-kv-ai__results-status.is-loading {
  color: #4338ca;
}

.jg-kv-ai__results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.jg-kv-ai__result-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--jg-kv-border);
  background: #fff;
  position: relative;
}

.jg-kv-ai__result-card.is-fallback {
  border-color: #f59e0b;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.25);
}

.jg-kv-ai__result-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: #fff7ed;
  color: #b45309;
  border: 1px solid #fdba74;
}

.jg-kv-ai__result-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 85 / 55;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.jg-kv-ai__result-thumb.is-empty {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.jg-kv-ai__result-thumb img,
.jg-kv-ai__result-thumb object {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.jg-kv-ai__result-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--jg-kv-text);
}

.jg-kv-ai__result-meta span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.35;
}

.jg-kv-ai__chip.is-soon,
.jg-kv-ai__chip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.jg-kv-ai__chip-soon {
  margin-left: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: lowercase;
  color: #94a3b8;
}

.jg-kv-ai__result-open {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #4f46e5;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.jg-kv-ai__result-open:hover {
  background: #4338ca;
}

.jg-kv-ai__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: min(760px, 100%);
  margin: 6px auto 0;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  box-shadow: var(--jg-kv-shadow);
}

.jg-kv-ai__input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--jg-kv-text);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.1;
  font-weight: 700;
  box-shadow: none;
}

.jg-kv-ai__input::placeholder {
  color: var(--jg-kv-muted);
}

.jg-kv-ai__input:focus {
  outline: none;
}

.jg-kv-ai__composer:focus-within {
  border-color: color-mix(in srgb, var(--jg-kv-accent) 45%, var(--jg-kv-border));
  box-shadow: 0 0 0 3px var(--ring);
}

.jg-kv-ai__submit {
  appearance: none;
  min-height: 40px;
  min-width: 168px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  border: 0;
  background: var(--jg-kv-accent);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--jg-kv-accent) 22%, transparent);
  transition: background var(--jg-kv-ease, 180ms ease), box-shadow var(--jg-kv-ease, 180ms ease);
}

.jg-kv-ai__submit:hover {
  background: var(--jg-kv-accent-2);
  box-shadow: 0 12px 22px color-mix(in srgb, var(--jg-kv-accent) 28%, transparent);
}

.jg-kv-ai__submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.jg-kv-ai__submit-text {
  white-space: nowrap;
}

.jg-kv-ai__filters {
  grid-area: filters;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

.jg-kv-ai__chip {
  appearance: none;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  color: var(--jg-kv-fg-secondary, var(--jg-kv-text));
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition: background var(--jg-kv-ease, 180ms ease), color var(--jg-kv-ease, 180ms ease), border-color var(--jg-kv-ease, 180ms ease), box-shadow var(--jg-kv-ease, 180ms ease);
}

.jg-kv-ai__chip:hover {
  border-color: var(--jg-kv-border-strong);
  background: var(--jg-kv-surface-2);
  box-shadow: none;
}

.jg-kv-ai__chip.is-active {
  border-color: transparent;
  background: var(--jg-kv-accent);
  color: #fff;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--jg-kv-accent) 22%, transparent);
}

.jg-kv-ai__person {
  grid-area: person;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 5px 6px 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface-2);
  box-shadow: none;
}

.jg-kv-ai__person-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.jg-kv-ai__person-copy {
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-align: left;
}

.jg-kv-ai__person-copy strong {
  display: inline;
  margin: 0;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
}

.jg-kv-ai__person-copy p {
  margin: 0;
  color: var(--jg-kv-muted);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 600;
  white-space: nowrap;
}

.jg-kv-ai__person-edit {
  appearance: none;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--jg-kv-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition: background var(--jg-kv-ease, 180ms ease), opacity var(--jg-kv-ease, 180ms ease);
}

.jg-kv-ai__person-edit:hover {
  background: var(--jg-kv-accent-2);
  opacity: 1;
}

.jg-kv-template-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin: 0 auto 12px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface-2);
  color: var(--jg-kv-muted);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
  box-shadow: none;
}

.jg-kv-template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.jg-kv-templates[data-preview-shape="portrait"] .jg-kv-template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html.is-bloknot-product .jg-kv-templates[data-preview-shape="portrait"] .jg-kv-template-grid,
html.is-canta-product .jg-kv-templates[data-preview-shape="portrait"] .jg-kv-template-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jg-kv-templates[data-preview-shape="wide"] .jg-kv-template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jg-kv-template-empty {
  border-radius: 22px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  box-shadow: var(--jg-kv-shadow);
}

.jg-kv-template-skel {
  border-radius: 22px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  box-shadow: var(--jg-kv-shadow);
  overflow: hidden;
  min-width: 0;
}

.jg-kv-template-skel__preview {
  aspect-ratio: var(--jg-kv-preview-ar, 1.55);
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.22), rgba(148, 163, 184, 0.12));
  background-size: 220% 100%;
  animation: jgKvTplSkel 1.15s ease-in-out infinite;
}

.jg-kv-template-skel__lines {
  display: grid;
  gap: 10px;
  padding: 14px 14px 16px;
}

.jg-kv-template-skel__line {
  display: block;
  height: 12px;
  border-radius: 999px;
  width: 72%;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.22), rgba(148, 163, 184, 0.12));
  background-size: 220% 100%;
  animation: jgKvTplSkel 1.15s ease-in-out infinite;
}

.jg-kv-template-skel__line.is-title {
  width: 54%;
  height: 14px;
}

@keyframes jgKvTplSkel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.jg-kv-templates.is-awaiting-variant .jg-kv-template-skel {
  opacity: 0.72;
}

.jg-kv-template-card {
  border-radius: 22px;
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  box-shadow: var(--jg-kv-shadow);
  overflow: hidden;
  display: grid;
  min-width: 0;
  /* Avoid content-visibility + hover height changes (causes scroll/hover jank). */
  contain: layout style;
  transition: border-color 140ms ease;
}

.jg-kv-template-card:hover {
  border-color: rgba(15, 23, 42, 0.10);
}

.jg-kv-template-card__preview {
  position: relative;
  display: block;
  aspect-ratio: var(--ar, 1.55);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  overflow: hidden;
  contain: layout paint style;
  cursor: pointer;
}

.jg-tpl-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity 180ms ease;
}

.jg-tpl-overlay.back {
  opacity: 0;
}

.jg-kv-template-card[data-face="back"] .jg-tpl-overlay.front {
  opacity: 0;
}

.jg-kv-template-card[data-face="back"] .jg-tpl-overlay.back {
  opacity: 1;
}

.jg-tpl-overlay .jg-tpl-text {
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  transform: translateZ(0);
  text-rendering: geometricPrecision;
}

.jg-tpl-overlay img {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
}

.jg-kv-tpl-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Only flip transitions when face changes; keep idle cheap. */
  transition: opacity 160ms ease;
}

.jg-kv-templates[data-preview-shape="portrait"] .jg-kv-tpl-img,
.jg-kv-templates[data-preview-shape="wide"] .jg-kv-tpl-img {
  object-fit: contain;
  background: #ffffff;
}

.jg-kv-tpl-img.is-front {
  opacity: 1;
}

.jg-kv-tpl-img.is-back {
  opacity: 0;
}

.jg-kv-template-card[data-face="back"] .jg-kv-tpl-img.is-front {
  opacity: 0;
}

.jg-kv-template-card[data-face="back"] .jg-kv-tpl-img.is-back {
  opacity: 1;
}

.jg-kv-template-card__preview > img:not(.jg-kv-tpl-img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jg-kv-template-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.jg-kv-template-card__pro {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.18);
  color: rgba(88, 28, 135, 0.96);
  border: 1px solid rgba(168, 85, 247, 0.34);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.10), 0 14px 34px rgba(124, 58, 237, 0.14);
}

.jg-kv-template-card__pro[hidden] {
  display: none !important;
}

.jg-kv-template-card__face-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  width: 28px;
  height: 28px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  box-shadow: 0 6px 14px rgba(2, 6, 23, 0.10);
  cursor: pointer;
}

.jg-kv-template-card.has-back .jg-kv-template-card__face-chip {
  display: inline-flex;
}

.jg-kv-template-card__face-chip:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.72);
}

.jg-kv-template-card__face-chip:active {
  transform: translateY(1px);
}

.jg-kv-template-card__lock {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 10px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.55) 70%, rgba(2, 6, 23, 0.68) 100%);
  pointer-events: none;
}

.jg-kv-template-card.is-locked .jg-kv-template-card__lock {
  display: flex;
}

.jg-kv-template-card__lock-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.78);
  color: #fff;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.jg-kv-template-card.is-locked .jg-kv-template-card__btn.is-primary {
  background: #94a3b8;
  cursor: not-allowed;
}

.jg-kv-template-card.is-locked .jg-kv-template-card__btn.is-secondary {
  opacity: 0.72;
  cursor: not-allowed;
}

.jg-kv-modal-ov {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.jg-kv-modal-ov.is-light {
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.jg-kv-modal-ov.is-open {
  display: flex;
}

.jg-kv-modal {
  width: min(420px, 100%);
  border-radius: 18px;
  background: var(--jg-kv-elevated, var(--jg-kv-surface));
  border: 1px solid var(--jg-kv-border);
  box-shadow: var(--jg-kv-shadow-hover);
  padding: 16px 16px 14px;
}

.jg-kv-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.jg-kv-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--jg-kv-text);
}

.jg-kv-modal__desc {
  margin: 8px 0 0;
  color: var(--jg-kv-muted);
  font-weight: 650;
  line-height: 1.45;
  font-size: 13.5px;
}

.jg-kv-modal__close {
  border: 1px solid var(--jg-kv-border);
  background: var(--jg-kv-surface);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-weight: 950;
  cursor: pointer;
  flex: 0 0 auto;
}

.jg-kv-modal__actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.jg-kv-modal__btn {
  flex: 1;
  border: 0;
  border-radius: 14px;
  padding: 12px;
  font-weight: 950;
  cursor: pointer;
}

.jg-kv-modal__btn.is-primary {
  background: #0f172a;
  color: #fff;
}

.jg-kv-modal__btn.is-secondary {
  background: #f1f5f9;
  color: #0f172a;
}

.jg-kv-template-card__info {
  display: grid;
  gap: 10px;
  padding: 14px 14px 16px;
  min-width: 0;
}

.jg-kv-template-card__info h3 {
  margin: 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jg-kv-template-card__info p {
  margin: 0;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.45;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jg-kv-template-card__actions,
.jg-kv-template-more {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.jg-kv-template-card__btn,
.jg-kv-template-morebtn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.jg-kv-template-card__btn:hover,
.jg-kv-template-morebtn:hover {
  transform: translateY(-1px);
}

.jg-kv-template-card__btn.is-primary,
.jg-kv-template-morebtn {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.16);
}

.jg-kv-template-card__btn.is-secondary {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.jg-kv-template-card__btn[disabled],
.jg-kv-template-morebtn[disabled] {
  opacity: 0.64;
  cursor: default;
  transform: none;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  /* Opacity/visibility only â never animate max-height (major layout jank source). */
  .jg-kv-template-card__info p,
  .jg-kv-template-card__actions {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 100ms ease, visibility 100ms ease;
  }

  .jg-kv-template-card:hover .jg-kv-template-card__info p,
  .jg-kv-template-card:focus-within .jg-kv-template-card__info p,
  .jg-kv-template-card:hover .jg-kv-template-card__actions,
  .jg-kv-template-card:focus-within .jg-kv-template-card__actions {
    opacity: 1;
    visibility: visible;
    height: auto;
    pointer-events: auto;
  }

  .jg-kv-template-card:hover .jg-kv-template-card__actions,
  .jg-kv-template-card:focus-within .jg-kv-template-card__actions {
    margin-top: 2px !important;
  }

  .jg-kv-template-card__face-chip {
    opacity: 0;
    transition: opacity 100ms ease;
  }

  .jg-kv-template-card:hover .jg-kv-template-card__face-chip,
  .jg-kv-template-card:focus-within .jg-kv-template-card__face-chip,
  .jg-kv-template-card.has-back[data-face="back"] .jg-kv-template-card__face-chip {
    opacity: 1;
  }

  .jg-kv-templates.is-awaiting-variant .jg-kv-template-card:hover .jg-kv-template-card__info p,
  .jg-kv-templates.is-awaiting-variant .jg-kv-template-card:hover .jg-kv-template-card__actions,
  .jg-kv-templates.is-awaiting-variant .jg-kv-template-card:hover .jg-kv-template-card__face-chip {
    opacity: 0;
    visibility: hidden;
    height: 0;
    pointer-events: none;
  }
}

/* Touch / coarse pointer: reveal slogan + actions on press (same as desktop hover) */
@media (hover: none), (pointer: coarse) {
  .jg-kv-template-card__info p,
  .jg-kv-template-card__actions {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 100ms ease, visibility 100ms ease;
  }

  .jg-kv-template-card__face-chip {
    opacity: 0;
    transition: opacity 100ms ease;
  }

  .jg-kv-template-card.is-touch-open .jg-kv-template-card__info p,
  .jg-kv-template-card.is-touch-open .jg-kv-template-card__actions {
    opacity: 1;
    visibility: visible;
    height: auto;
    pointer-events: auto;
  }

  .jg-kv-template-card.is-touch-open .jg-kv-template-card__actions {
    margin-top: 2px !important;
  }

  .jg-kv-template-card.is-touch-open .jg-kv-template-card__face-chip,
  .jg-kv-template-card.has-back[data-face="back"] .jg-kv-template-card__face-chip {
    opacity: 1;
  }

  .jg-kv-templates.is-awaiting-variant .jg-kv-template-card.is-touch-open .jg-kv-template-card__info p,
  .jg-kv-templates.is-awaiting-variant .jg-kv-template-card.is-touch-open .jg-kv-template-card__actions,
  .jg-kv-templates.is-awaiting-variant .jg-kv-template-card.is-touch-open .jg-kv-template-card__face-chip {
    opacity: 0;
    visibility: hidden;
    height: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jg-kv-template-card,
  .jg-kv-template-card__info p,
  .jg-kv-template-card__actions,
  .jg-kv-template-card__face-chip,
  .jg-kv-tpl-img,
  .jg-tpl-overlay {
    transition: none !important;
  }
}

.jg-kv-template-more {
  margin-top: 16px;
  justify-content: center;
}

.jg-kv-template-empty {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.reviews-section,
.seo-section {
  margin-top: 16px;
  border-radius: 24px;
}

@keyframes jgKvShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ââ Premium dark theme (shared token system with light) ââ */
body.dark-mode.jg-kv-page {
  color-scheme: dark;
  background: var(--bg) !important;
  color: var(--fg);
}

body.dark-mode.jg-kv-page .container {
  background: transparent !important;
  color: var(--fg) !important;
}

body.dark-mode.jg-kv-page .product-head {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--fg);
}

body.dark-mode.jg-kv-page .product-head .product-title {
  color: var(--fg);
}

body.dark-mode.jg-kv-page .product-head p {
  color: var(--muted);
}

body.dark-mode.jg-kv-page .jg-kv-fold-lead {
  color: #c4b5fd;
}

body.dark-mode.jg-kv-page .jg-kv-fold-lead strong {
  color: #ede9fe;
}

body.dark-mode.jg-kv-page .jg-kv-fold-trust {
  color: #94a3b8;
}

body.dark-mode.jg-kv-page .trust-item {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--muted);
}

body.dark-mode.jg-kv-page .jg-kv-flow__list {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

body.dark-mode.jg-kv-page .jg-kv-flow__item {
  color: var(--muted);
  background: transparent;
}

body.dark-mode.jg-kv-page .jg-kv-flow__item.is-current {
  background: var(--accent-soft);
  color: var(--fg);
}

body.dark-mode.jg-kv-page .jg-kv-flow__item.is-current .jg-kv-flow__num {
  background: var(--accent);
  color: #fff;
}

body.dark-mode.jg-kv-page .jg-kv-flow__item.is-done {
  color: var(--fg-secondary);
}

body.dark-mode.jg-kv-page .jg-kv-flow__item.is-done .jg-kv-flow__num {
  background: color-mix(in srgb, var(--success) 18%, transparent);
  color: var(--success);
}

body.dark-mode.jg-kv-page .jg-quick-chip {
  background: var(--surface);
  border-color: var(--border);
  color: var(--fg-secondary);
  box-shadow: none;
}

body.dark-mode.jg-kv-page .jg-quick-chip:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--fg);
  box-shadow: none;
  filter: none;
}

body.dark-mode.jg-kv-page .jg-quick-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

body.dark-mode.jg-kv-page .jg-quick-chip.active {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 28%, transparent);
}

body.dark-mode.jg-kv-page .jg-quick-scroll {
  background: var(--elevated);
  border-color: var(--border);
  color: var(--fg-secondary);
  box-shadow: var(--shadow);
}

body.dark-mode.jg-kv-page .jg-quick-scroll:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--fg);
  box-shadow: var(--shadow-hover);
}

body.dark-mode.jg-kv-page .stripe.jg-discovery-card,
body.dark-mode.jg-kv-page html.is-kartvizit-product .stripe.jg-discovery-card {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--jg-kv-radius);
}

body.dark-mode.jg-kv-page .stripe.jg-discovery-card.is-collapsed:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
  background: var(--elevated);
}

body.dark-mode.jg-kv-page .stripe.jg-discovery-card.is-selected,
body.dark-mode.jg-kv-page .stripe.jg-discovery-card.is-expanded {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent),
    var(--shadow-hover);
  background: var(--elevated);
}

body.dark-mode.jg-kv-page .jg-discovery-summary-title {
  color: var(--fg);
}

body.dark-mode.jg-kv-page .jg-discovery-summary-price-main {
  color: var(--success);
}

body.dark-mode.jg-kv-page .jg-discovery-summary-copy,
body.dark-mode.jg-kv-page .jg-discovery-summary .lead-time,
body.dark-mode.jg-kv-page .jg-discovery-summary-review-count,
body.dark-mode.jg-kv-page .jg-discovery-summary-unit,
body.dark-mode.jg-kv-page .jg-discovery-summary-price-old,
body.dark-mode.jg-kv-page .jg-variant-rail-label__text,
body.dark-mode.jg-kv-page .jg-discovery-ai-suitable {
  color: var(--muted);
}

body.dark-mode.jg-kv-page .jg-discovery-ai-suitable__icon {
  color: var(--fg-secondary);
}

body.dark-mode.jg-kv-page .jg-discovery-summary-photo {
  background: var(--surface-2);
  border-color: var(--border);
}

body.dark-mode.jg-kv-page .jg-discovery-summary-tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg-secondary);
}

body.dark-mode.jg-kv-page .jg-discovery-select-expand {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--fg-secondary);
}

body.dark-mode.jg-kv-page .jg-discovery-select-expand:hover {
  background: var(--elevated);
  border-color: var(--border-strong);
  color: var(--fg);
}

body.dark-mode.jg-kv-page .jg-discovery-mini-btn {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--fg);
  box-shadow: none;
}

body.dark-mode.jg-kv-page .jg-discovery-mini-btn.is-ghost {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--fg-secondary);
}

body.dark-mode.jg-kv-page .jg-discovery-mini-btn.is-ghost:hover {
  background: var(--elevated);
  border-color: var(--border-strong);
  color: var(--fg);
  filter: none;
  transform: none;
}

body.dark-mode.jg-kv-page .jg-discovery-mini-btn.is-primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

body.dark-mode.jg-kv-page .jg-discovery-mini-btn.is-primary:hover {
  background: var(--accent-2);
  filter: none;
  transform: none;
}

body.dark-mode.jg-kv-page .jg-discovery-mini-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

body.dark-mode.jg-kv-page .jg-discovery-summary-qty-select {
  border-color: var(--border);
  color: var(--fg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 7.75L10 12.25L14.5 7.75' stroke='%23a1a1aa' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--surface-2), var(--surface-2));
  box-shadow: none;
}

body.dark-mode.jg-kv-page .jg-discovery-summary-qty-select:hover,
body.dark-mode.jg-kv-page .jg-discovery-summary-qty-select:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px var(--ring);
  outline: none;
}

body.dark-mode.jg-kv-page .jg-discovery-collapse-btn {
  background: var(--elevated);
  border-color: var(--border);
  color: var(--fg-secondary);
}

body.dark-mode.jg-kv-page .jg-howto-head,
body.dark-mode.jg-kv-page .jg-howto-tab {
  background: var(--surface);
  border-color: var(--border);
  color: var(--fg);
  box-shadow: var(--shadow);
}

body.dark-mode.jg-kv-page .jg-howto-tab:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

body.dark-mode.jg-kv-page .jg-howto-tab.is-active {
  background: var(--elevated);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  color: var(--fg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}

body.dark-mode.jg-kv-page .jg-reviews-preview-item {
  background: var(--surface-2);
  border-color: var(--border);
}

body.dark-mode.jg-kv-page .jg-reviews-preview-name {
  color: var(--fg);
}

body.dark-mode.jg-kv-page .jg-reviews-preview-meta,
body.dark-mode.jg-kv-page .jg-reviews-preview-text {
  color: var(--muted);
}

body.dark-mode.jg-kv-page .jg-kv-ai,
body.dark-mode.jg-kv-page .jg-kv-ai__hero,
body.dark-mode.jg-kv-page .jg-kv-ai__person,
body.dark-mode .jg-kv-ai,
body.dark-mode .jg-kv-ai__hero,
body.dark-mode .jg-kv-ai__person {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

body.dark-mode .jg-kv-categories__rail a,
body.dark-mode .jg-kv-panel__actions a,
body.dark-mode .jg-kv-template-card,
body.dark-mode .jg-kv-template-empty,
body.dark-mode .jg-kv-flow,
body.dark-mode .jg-kv-header__actions a,
body.dark-mode .jg-kv-proof__item,
body.dark-mode .jg-kv-headnote,
body.dark-mode .jg-kv-categories,
body.dark-mode .jg-kv-hero,
body.dark-mode .jg-kv-actions,
body.dark-mode .jg-kv-templates,
body.dark-mode .reviews-section,
body.dark-mode .seo-section,
body.dark-mode .jg-kv-panel__card,
body.dark-mode .jg-kv-panel__step {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

body.dark-mode .jg-kv-ai__brand,
body.dark-mode .jg-kv-ai__person-copy strong,
body.dark-mode .jg-kv-template-card__info h3,
body.dark-mode .jg-kv-modal__title,
body.dark-mode .jg-kv-modal__close {
  color: var(--fg);
}

body.dark-mode .jg-kv-ai__title,
body.dark-mode .jg-kv-ai__hint,
body.dark-mode .jg-kv-ai__person-copy p,
body.dark-mode .jg-kv-template-card__info p,
body.dark-mode .jg-kv-template-empty,
body.dark-mode .jg-kv-modal__desc,
body.dark-mode .jg-kv-sub,
body.dark-mode .jg-kv-variants__head p,
body.dark-mode .jg-kv-templates__head p,
body.dark-mode .jg-kv-template-status,
body.dark-mode .jg-kv-headnote small,
body.dark-mode .jg-kv-panel__card p,
body.dark-mode .jg-kv-panel__card li,
body.dark-mode .jg-kv-panel__step small {
  color: var(--muted);
}

body.dark-mode .jg-kv-ai__input,
body.dark-mode .jg-kv-ai__chip,
body.dark-mode .jg-kv-ai__person-edit {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--fg);
  box-shadow: none;
}

body.dark-mode .jg-kv-ai__input:hover,
body.dark-mode .jg-kv-ai__chip:hover,
body.dark-mode .jg-kv-ai__person-edit:hover {
  border-color: var(--border-strong);
  background: var(--elevated);
}

body.dark-mode .jg-kv-ai__input:focus,
body.dark-mode .jg-kv-ai__person-edit:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: 0 0 0 3px var(--ring);
}

body.dark-mode .jg-kv-ai__input::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

body.dark-mode .jg-kv-template-summary {
  border-color: var(--border);
  background: var(--elevated);
  color: var(--fg-secondary);
  box-shadow: var(--shadow);
}

body.dark-mode .jg-kv-ai__chip.is-active {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

body.dark-mode .jg-kv-ai__submit {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 28%, transparent);
}

body.dark-mode .jg-kv-ai__submit:hover {
  background: var(--accent-2);
}

body.dark-mode .jg-kv-ai__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

body.dark-mode .jg-kv-template-card__btn.is-secondary,
body.dark-mode .jg-kv-modal__btn.is-secondary {
  background: var(--surface-2);
  color: var(--fg);
  border-color: var(--border);
}

body.dark-mode .jg-kv-template-card__btn.is-secondary:hover,
body.dark-mode .jg-kv-modal__btn.is-secondary:hover {
  background: var(--elevated);
  border-color: var(--border-strong);
}

body.dark-mode .jg-kv-template-card__pro {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  color: color-mix(in srgb, var(--accent) 70%, #fff);
}

body.dark-mode .jg-kv-modal {
  background: var(--elevated);
  border-color: var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

body.dark-mode .jg-kv-modal__close {
  background: var(--surface-2);
  border-color: var(--border);
}

body.dark-mode.jg-kv-page #stripesRoot {
  scrollbar-color: var(--border-strong) transparent;
}

body.dark-mode.jg-kv-page #stripesRoot::-webkit-scrollbar-track {
  background: transparent;
}

body.dark-mode.jg-kv-page #stripesRoot::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
}

body.dark-mode.jg-kv-page .jg-unified-bar,
body.dark-mode.jg-kv-page .jg-templates-embed {
  background: var(--surface);
  border-color: var(--border);
}

body.dark-mode.jg-kv-page .jg-unified-tab {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--fg-secondary);
}

body.dark-mode.jg-kv-page .jg-unified-tab:hover {
  color: var(--fg);
  border-color: var(--border-strong);
}

body.dark-mode.jg-kv-page .jg-micro-toast {
  background: var(--elevated);
  border-color: var(--border);
  color: var(--fg);
  box-shadow: var(--shadow-hover);
}

body.dark-mode.jg-kv-page .jg-social-proof {
  border-color: rgba(139, 92, 246, 0.28);
  background:
    linear-gradient(135deg, #2e1065 0%, #1e1b4b 42%, #0f0f1b 100%);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

body.dark-mode.jg-kv-page .jg-social-proof .jg-social-item,
body.dark-mode.jg-kv-page .jg-social-proof .jg-social-tx {
  color: rgba(255, 255, 255, 0.96);
}

body.dark-mode.jg-kv-page .jg-social-proof .jg-trust-item,
body.dark-mode.jg-kv-page .jg-trust-item {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

body.dark-mode.jg-kv-page svg,
body.dark-mode.jg-kv-page .jg-quick-scroll,
body.dark-mode.jg-kv-page .jg-variant-rail-nav {
  color: inherit;
}

@media (max-width: 1100px) {
  .jg-kv-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jg-kv-hero__head,
  .jg-kv-panel__grid,
  .jg-kv-templates__head {
    grid-template-columns: 1fr;
  }

  .jg-kv-ai {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "person"
      "filters";
  }

  .jg-kv-ai__filters {
    justify-content: center;
  }

  .jg-kv-ai__person {
    margin: 0 auto;
  }

  .jg-kv-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jg-kv-templates[data-preview-shape="portrait"] .jg-kv-template-grid,
  .jg-kv-templates[data-preview-shape="wide"] .jg-kv-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.is-bloknot-product .jg-kv-templates[data-preview-shape="portrait"] .jg-kv-template-grid,
  html.is-canta-product .jg-kv-templates[data-preview-shape="portrait"] .jg-kv-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jg-kv-template-card__face-chip {
    width: 26px;
    height: 26px;
    left: 8px;
    bottom: 8px;
  }

  .jg-kv-template-summary {
    margin-bottom: 10px;
    padding: 0 12px;
    font-size: 11px;
  }
}

@media (max-width: 1100px) {
  body.jg-kv-page .jg-variant-rail-shell.is-single-variant #stripesRoot > .stripe.jg-discovery-card.is-sv-stepper.is-expanded,
  .jg-variant-rail-shell.is-single-variant #stripesRoot > .stripe.jg-discovery-card.is-sv-stepper.is-expanded {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 12px 16px;
  }

  .jg-sv-steps,
  .jg-sv-steps.is-sv-compact {
    max-width: none;
  }
}

@media (max-width: 768px) {
  body.jg-kv-page .container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }

  body.jg-kv-page .jg-variant-rail-shell,
  body.jg-kv-page .jg-variant-rail-track,
  body.jg-kv-page #stripesRoot {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .jg-kv-shell {
    padding-top: 14px;
    padding-bottom: 28px;
  }

  .jg-kv-header__inner {
    min-height: 64px;
  }

  .jg-kv-header__actions {
    display: none;
  }

  .jg-kv-proof {
    grid-template-columns: 1fr 1fr;
  }

  .jg-kv-proof__item,
  .jg-kv-categories,
  .jg-kv-hero,
  .jg-kv-actions,
  .jg-kv-templates,
  .reviews-section,
  .seo-section {
    border-radius: 18px;
  }

  .jg-kv-hero,
  .jg-kv-actions,
  .jg-kv-templates {
    padding: 16px;
  }

  .jg-kv-ai {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "person"
      "filters";
    gap: 8px;
    margin-bottom: 10px;
  }

  .jg-kv-ai__hero {
    border-radius: 18px;
    padding: 12px 12px 10px;
  }

  .jg-kv-ai__brand {
    font-size: 24px;
  }

  .jg-kv-ai__title {
    font-size: 15px;
  }

  .jg-kv-ai__hint {
    font-size: 11px;
  }

  .jg-kv-ai__composer {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .jg-kv-ai__input {
    min-height: 40px;
    padding: 0 10px;
  }

  .jg-kv-ai__submit {
    width: 100%;
    min-width: 0;
  }

  .jg-kv-ai__person-copy p {
    display: none;
  }

  .jg-kv-flow__label {
    font-size: 11px;
  }

  .jg-kv-ai__filters {
    justify-content: center;
    gap: 6px;
  }

  .jg-kv-ai__chip {
    min-height: 30px;
    padding: 0 11px;
    font-size: 11.5px;
  }

  .jg-kv-ai__person {
    width: 100%;
    justify-content: space-between;
  }

  .jg-kv-templates__head {
    display: grid;
  }

  /* Amazon-style: yatay kaydırmalı kart rayı (eski 2 kolon ızgara kaydırmayı kesiyordu) */
  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 10px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    padding: 0 4px 2px;
    scrollbar-width: none;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-discovery-card {
    flex: 0 0 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    width: 140px !important;
    scroll-snap-align: start;
    align-self: flex-start;
    height: auto;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-info-stripe {
    display: none !important;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant) .jg-variant-rail-nav,
  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant).is-scrollable .jg-variant-rail-nav {
    display: none !important;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant) .jg-variant-rail-track,
  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant).is-scrollable .jg-variant-rail-track {
    padding: 0 !important;
  }

  /* âVaryantÄ± bÃ¼yÃ¼ltâ â eski yatay kaydÄ±rmalÄ± rail (kÃ¼Ã§Ã¼k summary kartlar) */
  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):has(.stripe.is-expanded) #stripesRoot {
    display: flex;
    flex: 1 1 auto;
    gap: 10px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    padding: 2px 2px 10px;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):has(.stripe.is-expanded) #stripesRoot > .stripe {
    flex: 0 0 min(100%, calc(100vw - 52px));
    min-width: min(100%, calc(100vw - 52px));
    max-width: min(100%, calc(100vw - 52px));
    width: auto;
    scroll-snap-align: start;
    align-self: stretch;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):has(.stripe.is-expanded).is-scrollable .jg-variant-rail-track {
    padding: 0 36px;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):has(.stripe.is-expanded).is-scrollable .jg-variant-rail-nav {
    display: inline-flex !important;
  }

  /* Dijital tek varyant: mobilde dikey yığ */
  body.jg-kv-page .jg-variant-rail-shell.is-single-variant #stripesRoot > .stripe.jg-discovery-card.is-sv-stepper,
  body.jg-kv-page .jg-variant-rail-shell.is-single-variant #stripesRoot > .stripe.jg-discovery-card.is-sv-stepper.is-expanded {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px;
  }

  body.jg-kv-page .jg-variant-rail-shell.is-single-variant #stripesRoot {
    gap: 10px;
    padding: 2px 2px 10px;
  }

  .jg-sv-steps,
  .jg-sv-steps.is-sv-compact {
    max-width: none;
  }

  .jg-sv-step .price-grid .price-item,
  .jg-sv-step .jg-sv-size-chip {
    min-height: 44px;
    padding: 10px 14px;
  }

  .jg-sv-step .custom-size-fields,
  .jg-sv-step .custom-size-box.enabled .custom-size-fields {
    grid-template-columns: 1fr 1fr;
  }

  .jg-sv-step .custom-size-unit {
    grid-column: 1 / -1;
  }

  .jg-sv-step .cta-row .jg-ownfile-cta-wrap,
  .jg-sv-step .cta-row .btn.upload-btn,
  .jg-sv-step .cta-row .choose-btn,
  .jg-sv-step .cta-row .btn.choose-btn {
    flex: 1 1 calc(50% - 8px);
    width: auto;
    min-width: 0;
  }

  .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-photo,
  body.jg-kv-page .jg-variant-rail-shell.is-single-variant .stripe.is-sv-stepper.is-expanded .jg-discovery-summary-photo {
    min-height: 200px;
    height: auto;
    max-height: none;
  }

  .jg-kv-template-grid {
    grid-template-columns: 1fr;
  }

  .jg-kv-templates[data-preview-shape="portrait"] .jg-kv-template-grid,
  .jg-kv-templates[data-preview-shape="wide"] .jg-kv-template-grid,
  .jg-kv-templates[data-preview-shape="landscape"] .jg-kv-template-grid {
    grid-template-columns: 1fr;
  }

  html.is-bloknot-product .jg-kv-templates[data-preview-shape="portrait"] .jg-kv-template-grid,
  html.is-canta-product .jg-kv-templates[data-preview-shape="portrait"] .jg-kv-template-grid {
    grid-template-columns: 1fr;
  }

  .jg-kv-template-summary {
    width: 100%;
    min-height: 32px;
    padding: 8px 12px;
    border-radius: 14px;
    text-align: center;
    white-space: normal;
  }

  /* First screen: name + start price + card CTA without scroll */
  body.jg-kv-page .product-head,
  body.jg-kv-page.jg-ofset-loaded .product-head {
    display: grid !important;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0;
    margin: 0 0 4px;
    padding: 8px 10px;
    border-radius: 12px;
    position: static;
    height: auto;
    min-height: 0;
  }

  body.jg-kv-page .jg-announce-bar,
  body.jg-kv-page .jg-social-proof,
  body.jg-kv-page #jgSocialProof,
  body.jg-kv-page #jgQuickCategories,
  body.jg-kv-page #jgQuickProducts {
    display: none !important;
  }

  body.jg-kv-page > .container {
    display: flex;
    flex-direction: column;
  }

  body.jg-kv-page > .container > * { order: 50; }
  body.jg-kv-page > .container > .product-head { order: 10; }
  body.jg-kv-page > .container > .page-h1 { order: 11; }
  body.jg-kv-page > .container > .jg-kv-flow { order: 12; }
  body.jg-kv-page > .container > #jgSmartRecoMount { order: 13; }
  body.jg-kv-page > .container > main { order: 14; }
  body.jg-kv-page > .container > #jgPkgVariantPromo { order: 20; }
  body.jg-kv-page > .container > .jg-kv-templates { order: 21; }
  body.jg-kv-page > .container > .reviews-section { order: 22; }
  body.jg-kv-page > .container > .seo-section { order: 23; }
  body.jg-kv-page > .container > #jgInternalLinks { order: 24; }
  body.jg-kv-page > .container > .footer { order: 30; }

  body.jg-kv-page .product-head .trust-list {
    display: none;
  }

  body.jg-kv-page .product-head .product-title {
    font-size: 16px;
    line-height: 1.15;
    font-weight: 900;
  }

  body.jg-kv-page .jg-kv-fold-lead {
    display: block;
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    color: #6d28d9;
  }

  body.jg-kv-page .jg-kv-fold-lead strong {
    font-weight: 900;
    color: #5b21b6;
  }

  body.jg-kv-page .jg-kv-fold-deadline {
    font-weight: 900;
    color: #5b21b6;
  }

  body.jg-kv-page .jg-kv-fold-deadline.is-ended {
    color: #64748b;
  }

  body.jg-kv-page .jg-kv-fold-trust {
    display: block;
    margin: 2px 0 0;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    color: #475569;
  }

  body.jg-kv-page .jg-kv-flow {
    margin: 0 0 8px;
  }

  body.jg-kv-page .jg-kv-flow__list {
    padding: 3px 6px;
    gap: 4px;
  }

  body.jg-kv-page .jg-kv-flow__item {
    padding: 3px 6px;
    gap: 4px;
    font-size: 11px;
  }

  body.jg-kv-page .jg-kv-flow__item + .jg-kv-flow__item::before {
    width: 8px;
    margin: 0 1px;
  }

  body.jg-kv-page .jg-kv-flow__num {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  body.jg-kv-page .jg-kv-flow__label {
    font-size: 0;
    line-height: 0;
  }

  body.jg-kv-page .jg-kv-flow__label::after {
    content: attr(data-short);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
  }

  .jg-kv-shell {
    padding-top: 8px;
  }

  body.jg-kv-page .jg-variant-rail-label {
    min-height: 22px;
    margin: 0 0 6px;
    padding: 0 2px;
    font-size: 12px;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-photo {
    height: 86px;
    min-height: 0;
    max-height: 86px;
    padding: 4px;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-reviews,
  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-monthly-orders {
    display: none !important;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-price-main {
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-mini-btn.is-primary,
  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-actionprimary .jg-discovery-mini-btn.is-primary,
  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-cta-arrows {
    min-height: 40px;
    height: auto;
    font-size: 12px;
    line-height: 1.2;
    padding: 8px 8px;
    border-radius: 10px;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-actionprimary .jg-discovery-summary-cta-arrows > .jg-discovery-mini-btn.is-primary {
    min-height: 40px;
    font-size: 12px;
    padding: 8px 4px;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed:not(.is-kv100-discovery) .jg-discovery-mini-btn.is-ghost {
    min-height: 36px;
    font-size: 11px;
    padding: 6px 8px;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-upload-helper {
    display: block !important;
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-upload-helper__more {
    display: none;
  }

}

/* Layout recipe picker (9N) */
.jg-kv-ai-recipe-modal {
  max-width: 720px;
  width: min(96vw, 720px);
}
.jg-kv-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-height: min(58vh, 420px);
  overflow: auto;
  padding: 0.15rem;
  margin: 0.35rem 0 0.5rem;
}
@media (max-width: 640px) {
  .jg-kv-recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.jg-kv-recipe-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: #fff;
  padding: 0.55rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.jg-kv-recipe-card.is-selected {
  border-color: #0f172a;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12);
}
.jg-kv-recipe-card__label {
  font-size: 0.72rem;
  line-height: 1.25;
  color: #334155;
  font-weight: 600;
}
.jg-kv-recipe-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 85 / 55;
  border-radius: 6px;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.jg-kv-recipe-thumb__logo {
  position: absolute;
  width: 18%;
  height: 22%;
  background: #94a3b8;
  border-radius: 3px;
}
.jg-kv-recipe-thumb__logo.is-left { left: 8%; top: 38%; }
.jg-kv-recipe-thumb__logo.is-right { right: 8%; top: 38%; }
.jg-kv-recipe-thumb__logo.is-center-top {
  left: 50%; top: 12%; transform: translateX(-50%); width: 16%; height: 18%;
}
.jg-kv-recipe-thumb__info {
  position: absolute;
  width: 42%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.jg-kv-recipe-thumb__info.is-left { left: 8%; }
.jg-kv-recipe-thumb__info.is-right { right: 8%; }
.jg-kv-recipe-thumb__info.is-center { left: 50%; transform: translateX(-50%); width: 48%; }
.jg-kv-recipe-thumb__info.is-top { top: 12%; }
.jg-kv-recipe-thumb__info.is-mid { top: 32%; }
.jg-kv-recipe-thumb__info.is-bottom { bottom: 12%; }
.jg-kv-recipe-thumb__info i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #0f172a;
  opacity: 0.75;
}
.jg-kv-recipe-thumb__info i:nth-child(1) { width: 88%; height: 4px; }
.jg-kv-recipe-thumb__info i:nth-child(2) { width: 55%; opacity: 0.45; }
.jg-kv-recipe-thumb__info i:nth-child(3) { width: 70%; opacity: 0.55; }
.jg-kv-recipe-thumb__info i:nth-child(4) { width: 62%; opacity: 0.45; }
.jg-kv-recipe-thumb__info.is-rtl i { margin-left: auto; }
.jg-kv-recipe-thumb__info.is-icr::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 2px;
  width: 3px;
  height: 70%;
  background: #64748b;
  border-radius: 1px;
}
.jg-kv-recipe-thumb.is-bold .jg-kv-recipe-thumb__logo {
  width: 22%;
  height: 28%;
}
.jg-kv-recipe-thumb.is-hero .jg-kv-recipe-thumb__info i:nth-child(1) {
  height: 7px;
  width: 96%;
  opacity: 1;
}
.jg-kv-recipe-thumb.has-addr .jg-kv-recipe-thumb__info i:nth-child(4) {
  display: none;
}
.jg-kv-recipe-thumb__addr {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 8%;
  height: 3px;
  border-radius: 2px;
  background: #94a3b8;
  opacity: 0.85;
}
.jg-kv-recipe-thumb.has-photo {
  background: linear-gradient(90deg, #f8fafc 0%, #f8fafc 48%, #e2e8f0 52%, #cbd5e1 100%);
}
.jg-kv-recipe-thumb__photo {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 46%;
  background: linear-gradient(135deg, #94a3b8, #64748b);
  opacity: 0.55;
}
.jg-kv-recipe-thumb__photo.is-photo-right { right: 0; border-radius: 0 6px 6px 0; }
.jg-kv-recipe-thumb__photo.is-photo-left { left: 0; border-radius: 6px 0 0 6px; }
.jg-kv-recipe-thumb.has-photo .jg-kv-recipe-thumb__info.is-left { left: 6%; width: 40%; }
.jg-kv-recipe-thumb.has-photo .jg-kv-recipe-thumb__info.is-right { right: 6%; width: 40%; }
body.dark-mode .jg-kv-recipe-card {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.25);
}
body.dark-mode .jg-kv-recipe-card.is-selected { border-color: #e2e8f0; }
body.dark-mode .jg-kv-recipe-card__label { color: #cbd5e1; }
body.dark-mode .jg-kv-recipe-thumb {
  background: linear-gradient(180deg, #0f172a, #1e293b);
}
body.dark-mode .jg-kv-recipe-thumb__info i { background: #e2e8f0; }

/* İlk JS turu tamamlanmadan önce eski yatay rayın görünmesini engelle. */
html.is-kartvizit-product body.jg-kv-page #stripesRoot.jg-kv-grid-boot {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  overflow: visible !important;
  padding: 4px 0 8px !important;
  scroll-snap-type: none !important;
}

html.is-kartvizit-product body.jg-kv-page #stripesRoot.jg-kv-grid-boot > .stripe.jg-discovery-card {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  flex: none !important;
  scroll-snap-align: none !important;
}

html.is-kartvizit-product body.jg-kv-page #stripesRoot.jg-kv-grid-boot > .stripe.jg-discovery-card:nth-child(n+5) {
  display: none !important;
}

@media (min-width: 769px) {
  html.is-kartvizit-product body.jg-kv-page #stripesRoot.jg-kv-grid-boot {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (min-width: 769px) and (hover: hover) {
  body.jg-kv-page #stripesRoot > .stripe.jg-discovery-card:not(:hover)
    .jg-kv-design-intent {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(4px) !important;
  }

  body.jg-kv-page #stripesRoot > .stripe.jg-discovery-card:hover
    .jg-kv-design-intent {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* Kartvizit conversion grid: product discovery without a hidden horizontal rail. */
html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid #stripesRoot {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  overflow: visible !important;
  padding: 4px 0 8px !important;
  scroll-snap-type: none !important;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid #stripesRoot > .stripe.jg-discovery-card {
  position: relative;
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  flex: none !important;
  scroll-snap-align: none !important;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid:not(.is-grid-expanded) #stripesRoot > .stripe.is-grid-overflow {
  display: none !important;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid .jg-variant-rail-nav {
  display: none !important;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid .jg-variant-rail-track {
  padding: 0 !important;
  overflow: visible !important;
}

body.jg-kv-page .jg-variant-rail-shell.is-kv-variant-focused-away {
  display: none !important;
}

body.jg-kv-page.jg-kv-upload-focus #jgKvTemplatesSection {
  display: none !important;
}

body.jg-kv-page #jgProductStage.is-kv-variant-focused {
  display: block;
  width: 100%;
  margin-top: 0;
  padding-bottom: 10px;
  min-height: 0;
}

body.jg-kv-page #jgProductStage.is-kv-variant-focused .choose-btn,
body.jg-kv-page #jgProductStage.is-kv-variant-focused .jg-amz-buynow,
body.jg-kv-page #jgProductStage.is-kv-variant-focused .jg-amz-order__label,
body.jg-kv-page #jgProductStage.is-kv-variant-focused .jg-ai-badge,
body.jg-kv-page #jgProductStage.is-kv-variant-focused .jg-amz-order,
body.jg-kv-page #jgProductStage.is-kv-variant-focused .jg-amz-pdp__trust,
body.jg-kv-page #jgProductStage.is-kv-variant-focused .cta-row,
body.jg-kv-page #jgProductStage.is-kv-variant-focused .upload-btn,
body.jg-kv-page #jgProductStage.is-kv-variant-focused .jg-ownfile-cta-wrap {
  display: none !important;
}

body.jg-kv-page #jgProductStage.is-kv-variant-focused .jg-amz-pdp__body {
  min-height: 0;
}

body.jg-kv-page #jgProductStage.is-kv-variant-focused .jg-amz-cta__sub:empty {
  display: none;
}

.jg-kv-purchase-card {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.jg-kv-purchase-anchor {
  width: 100%;
}

.jg-kv-purchase-bar {
  position: relative;
  z-index: 20;
  display: none;
  grid-template-columns: minmax(96px, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 24px rgba(15,23,42,.10);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}

.jg-kv-purchase-bar.is-visible {
  display: grid;
}

.jg-kv-purchase-bar.is-fixed {
  position: fixed;
  z-index: 10100;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
  box-shadow: 0 -10px 30px rgba(15,23,42,.16);
  transform: none;
}

body.jg-kv-page .fixed-dark-mode-toggle {
  display: none !important;
}

.header-nav-drawer header nav .mobile-dark-mode-toggle {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

body.jg-kv-page.jg-kv-purchase-fixed .jg-wa-quote {
  z-index: 10110;
  bottom: calc(var(--jg-kv-purchase-h, 88px) + 12px + env(safe-area-inset-bottom, 0px));
}

body.jg-kv-page.jg-kv-purchase-fixed .jg-home-ai {
  z-index: 10110 !important;
  bottom: calc(var(--jg-kv-purchase-h, 88px) + 12px + env(safe-area-inset-bottom, 0px)) !important;
}

.jg-kv-purchase-bar__trust {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  color: #166534;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 750;
}

.jg-kv-purchase-bar__trust span {
  white-space: normal;
}

.jg-kv-purchase-bar__amount {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.jg-kv-purchase-bar__price {
  color: #0f172a;
  font-size: clamp(18px, 5vw, 22px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.jg-kv-purchase-bar__cargo {
  color: #64748b;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 750;
  white-space: nowrap;
}

.jg-kv-purchase-bar__cargo.is-free {
  color: #15803d;
}

.jg-kv-purchase-bar__button {
  min-height: 52px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: #35b5e6;
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 900;
  cursor: pointer;
}

.jg-kv-purchase-bar__button:disabled {
  opacity: .65;
  cursor: wait;
}

.jg-kv-purchase-bar__actions {
  display: grid;
  gap: 7px;
}

.jg-kv-purchase-bar__button strong,
.jg-kv-purchase-bar__button span {
  display: block;
}

.jg-kv-purchase-bar__button strong {
  font-size: 15px;
}

.jg-kv-purchase-bar__button span {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  opacity: .9;
}

.jg-kv-purchase-bar__templates,
.jg-kv-purchase-bar__options-toggle {
  width: 100%;
  padding: 7px 9px;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.jg-kv-purchase-bar__templates {
  min-height: 40px;
  border: 1px solid #c4b5fd;
  background: #f5f3ff;
  color: #6d28d9;
}

.jg-kv-purchase-bar__options-toggle {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #475569;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jg-kv-purchase-bar__options {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(110px, .45fr);
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.jg-kv-purchase-bar__options:not([hidden]) {
  display: grid;
}

.jg-kv-purchase-bar__options label {
  display: grid;
  gap: 4px;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
}

.jg-kv-purchase-bar__options select {
  width: 100%;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 12px;
}

.jg-kv-added-modal {
  position: fixed;
  z-index: 11000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15,23,42,.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, visibility .16s ease;
}

.jg-kv-added-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.jg-kv-added-modal__dialog {
  width: min(100%, 470px);
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.3);
  transform: translateY(10px);
  transition: transform .16s ease;
}

.jg-kv-added-modal.is-open .jg-kv-added-modal__dialog {
  transform: translateY(0);
}

.jg-kv-added-modal__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  background: #ecfdf5;
  color: #15803d;
}

.jg-kv-added-modal__head h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.jg-kv-added-modal__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 900;
}

.jg-kv-added-modal__close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #64748b;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.jg-kv-added-modal__body {
  display: grid;
  gap: 11px;
  padding: 22px 20px;
  background: #fff;
}

.jg-kv-added-modal__product {
  color: #0f172a;
  font-size: 20px;
}

.jg-kv-added-modal__assurance {
  margin: -2px 0 3px;
  color: #166534;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.jg-kv-added-modal__details {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 13px;
}

.jg-kv-added-modal__details > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 8px;
}

.jg-kv-added-modal__details b {
  color: #475569;
  overflow-wrap: anywhere;
}

.jg-kv-added-modal__cart,
.jg-kv-added-modal__continue {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.jg-kv-added-modal__cart {
  min-height: 56px;
  border-color: #1598cb;
  background: #35b5e6;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 8px 22px rgba(21,152,203,.22);
}

.jg-kv-added-modal__continue {
  min-height: 44px;
  font-size: 14px;
  font-weight: 800;
}

.jg-kv-variant-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  margin: 0 0 10px;
  padding: 8px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.jg-kv-variant-back:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #0f172a;
}

.jg-kv-grid-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.jg-kv-design-intent {
  position: absolute;
  inset: 0 0 auto;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  padding: 34px 7px 8px;
  border-radius: 8px 8px 0 0;
  border: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0) 0%, rgba(15,23,42,.52) 42%, rgba(15,23,42,.88) 100%);
  color: #fff;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .jg-discovery-summary-media {
  position: relative;
  overflow: hidden;
}

body.jg-kv-page .jg-discovery-summary-media.has-design-intent {
  position: relative;
  overflow: hidden;
}

.jg-kv-design-intent > strong {
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.75);
}

.jg-kv-design-intent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
}

.jg-kv-design-intent__btn {
  min-width: 0;
  min-height: 36px;
  padding: 5px 4px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 5px;
  background: rgba(255,255,255,.94);
  color: #0f172a;
  font: inherit;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 800;
  white-space: normal;
  cursor: pointer;
}

.jg-kv-design-intent__btn.is-templates {
  border-color: rgba(255,255,255,.55);
  background: rgba(124,58,237,.90);
  color: #fff;
}

.jg-ownfile-completion {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #86efac;
  border-radius: 12px;
  background: #f0fdf4;
  color: #14532d;
  box-sizing: border-box;
}

.jg-ownfile-completion > strong {
  font-size: 16px;
}

.jg-ownfile-completion ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.jg-ownfile-completion__continue {
  width: 100%;
  min-height: 50px;
}

.jg-kv-personalization-intro {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin: 26px 0 16px;
  padding: 22px;
  border: 1px solid #ddd6fe;
  border-radius: 16px;
  background: linear-gradient(135deg, #faf5ff, #eff6ff);
  color: #0f172a;
}

.jg-kv-personalization-intro__eyebrow {
  color: #6d28d9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jg-kv-personalization-intro h2,
.jg-kv-personalization-intro p {
  margin: 0;
}

.jg-kv-personalization-intro h2 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.15;
}

.jg-kv-personalization-intro p {
  max-width: 720px;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.jg-kv-personalization-intro__button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #6d28d9;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.jg-kv-personalization-intro small {
  color: #64748b;
}

.stripe.is-intent-open .jg-kv-design-intent {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 769px) {
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-header-search {
    width: min(100%, 680px);
    margin-right: auto;
    margin-left: auto;
  }

  html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid #stripesRoot {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* Amazon storefront: skinny rail cards + one product stage (not a new page) */
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .jg-variant-rail-label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  margin: 0 0 4px;
  padding: 0 2px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f1111;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot {
  align-items: flex-start;
  padding: 0 4px 2px;
  gap: 8px;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .jg-variant-rail-label__arrow {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-discovery-card,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-amz-rail-card.is-collapsed {
  flex: 0 0 156px;
  min-width: 156px;
  max-width: 156px;
  scroll-snap-align: start;
  padding: 0 !important;
  border-radius: 8px;
  border-color: transparent;
  background: #fff;
  box-shadow: none;
  min-height: 0 !important;
  height: auto !important;
  align-self: flex-start !important;
  overflow: hidden;
  contain: none !important;
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
  transform: none;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-discovery-card.is-collapsed:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-discovery-card.is-selected {
  border-color: #d5d9d9;
  box-shadow: 0 0 0 2px #0f1111;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 2px;
  min-height: 0 !important;
  height: auto !important;
  max-height: none;
  overflow: hidden;
  padding: 0 0 4px;
  cursor: pointer;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  background: #fff;
  border-radius: 0;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-photo {
  width: 100%;
  height: 100% !important;
  min-height: 148px !important;
  max-height: 168px !important;
  object-fit: contain;
  padding: 8px !important;
  transform: none;
  cursor: pointer;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
  padding: 0 6px 2px;
  flex: 0 0 auto !important;
  min-height: 0 !important;
  height: auto !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-title {
  order: 1;
  display: block !important;
  width: 100%;
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
  color: #0f1111;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  cursor: pointer;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-tag {
  order: 2;
  display: inline-flex !important;
  flex-wrap: nowrap;
  align-items: center;
  width: auto;
  max-width: 100%;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 2px 6px !important;
  border: 1px solid #cc0c39 !important;
  border-radius: 2px !important;
  background: #cc0c39 !important;
  color: #fff !important;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-tag.is-discount,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-tag.is-firsat {
  background: #cc0c39 !important;
  border-color: #cc0c39 !important;
  color: #fff !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-amz-countdown {
  order: 4;
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  flex: 0 0 auto;
  color: #cc0c39;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-meta,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-price-row {
  order: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-price {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-price-main {
  order: 1;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #0f1111 !important;
  white-space: nowrap;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-price-old,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-price-old.is-visible {
  order: 2;
  display: inline !important;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  color: #565959 !important;
  text-decoration: line-through;
  white-space: nowrap;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-reviews,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-monthly-orders,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-qty,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-qtystack,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-unit,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-cargo,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-features,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-features-panel,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-measure,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .lead-time-row,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-ctas,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-select-expand,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-collapse-btn,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-gallery-nav,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-gallery-dots,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-cargo-free,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-campaign-badge {
  display: none !important;
}

#jgProductStage.jg-product-stage {
  margin: 8px 0 16px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  background: #fff;
  min-height: 200px;
  box-sizing: border-box;
}
#jgProductStage.jg-product-stage[hidden] {
  display: none !important;
}
#jgProductStage.jg-product-stage:empty,
#jgProductStage.jg-product-stage:has(.jg-amz-pdp__body:empty):not(:has(.jg-discovery-detail)),
#jgProductStage.jg-product-stage:not(:has(.jg-discovery-detail)) {
  display: none !important;
}
#jgProductStage.jg-product-stage:not(:has(.jg-discovery-detail))::before {
  content: none;
}
.jg-amz-pdp__head {
  margin-bottom: 8px;
}
.jg-amz-pdp__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.jg-amz-pdp__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f1111;
}
.jg-amz-pdp__reviews {
  flex: 0 0 auto;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #007185;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.jg-amz-pdp__reviews:hover {
  text-decoration: underline;
  color: #c45500;
}
.jg-amz-pdp__copy {
  margin: 8px 0 0;
  color: #565959;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}
.jg-amz-pdp__body {
  min-height: 120px;
}
#jgProductStage .jg-discovery-detail {
  display: grid !important;
  grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
  gap: 10px 20px;
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  contain: none !important;
  padding: 0 !important;
}
#jgProductStage .left-col,
#jgProductStage .left-grid,
#jgProductStage .photo-stack {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#jgProductStage .left-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}
#jgProductStage .left-col,
#jgProductStage .photo-stack {
  overflow: hidden;
}
#jgProductStage .stripe-photo,
#jgProductStage .photo-stack img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
}
#jgProductStage .right-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
#jgProductStage .qty-title {
  display: none !important;
}
#jgProductStage .jg-amz-countdown,
#jgProductStage .kv100-trust-item[data-jg-kv100-countdown] {
  margin-top: 4px;
  color: #cc0c39;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
#jgProductStage .kv100-trust {
  margin: 0;
  gap: 6px;
}
#jgProductStage .kv100-trust-item {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
}
#jgProductStage .jg-card-variant-box,
#jgProductStage .variant-group {
  margin: 0;
  padding: 0;
}
#jgProductStage .qty-row,
#jgProductStage .qty-row.no-label,
#jgProductStage .qty-row.grid-only {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0;
  grid-template-columns: none;
}
#jgProductStage .price-box,
#jgProductStage .price-box.green,
#jgProductStage .price-box.red,
#jgProductStage .price-box.kv100-free {
  margin: 0;
  padding: 2px 0 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
#jgProductStage .price-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
#jgProductStage .price-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f1111;
}
#jgProductStage .jg-price-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}
#jgProductStage .jg-price-main {
  order: 1;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f1111;
}
#jgProductStage .jg-price-old {
  order: 2;
  display: inline;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 600;
  color: #565959 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #565959;
  opacity: 0.9;
}
#jgProductStage .jg-price-meta {
  order: 3;
  flex: 1 0 100%;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: #6b7280;
}
#jgProductStage .price-note {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  color: #6b7280;
}
#jgProductStage .price-detail-toggle {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  margin: 2px 0 0;
  padding: 0 !important;
  min-height: 0;
  height: auto;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #007185 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
#jgProductStage .price-detail-toggle:hover {
  text-decoration: underline;
  color: #c45500 !important;
}
#jgProductStage .lead-time-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8faf9;
}
#jgProductStage .lead-time {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: #0f1111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
#jgProductStage .jg-amz-lead__date {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f1111;
}
#jgProductStage .jg-amz-lead__hint {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}
#jgProductStage .cta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
}
#jgProductStage .cta-row .btn,
#jgProductStage .choose-btn,
#jgProductStage .upload-btn,
#jgProductStage .jg-amz-buynow {
  width: 100%;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
  white-space: normal;
}
#jgProductStage .jg-amz-cta {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  margin-top: 0 !important;
  padding: 10px 14px 8px !important;
  line-height: 1.15;
  text-align: center;
}
#jgProductStage .jg-amz-cta__title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
#jgProductStage .jg-amz-cta__sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  opacity: 0.78;
}
#jgProductStage .choose-btn,
#jgProductStage .choose-btn.jg-amz-cta {
  border: 0 !important;
  background: #111827 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12) !important;
}
#jgProductStage .choose-btn:hover,
#jgProductStage .choose-btn.jg-amz-cta:hover {
  background: #0b1220 !important;
  filter: none !important;
  transform: none !important;
}
#jgProductStage .upload-btn,
#jgProductStage .jg-ownfile-cta-wrap .upload-btn,
#jgProductStage .upload-btn.jg-amz-cta {
  border: 1px solid #fcd200 !important;
  background: #ffd814 !important;
  color: #0f1111 !important;
  font-weight: 800 !important;
}
#jgProductStage .upload-btn:hover,
#jgProductStage .jg-ownfile-cta-wrap .upload-btn:hover,
#jgProductStage .upload-btn.jg-amz-cta:hover {
  background: #f7ca00 !important;
  filter: none !important;
}
#jgProductStage .jg-amz-buynow,
#jgProductStage .jg-amz-buynow.jg-amz-cta {
  border: 1px solid #ff8f00 !important;
  background: #ffa41c !important;
  color: #0f1111 !important;
  font-weight: 800 !important;
}
#jgProductStage .jg-amz-buynow:hover {
  background: #fa8900 !important;
  filter: none !important;
}
#jgProductStage .jg-cta-bounce-arrow,
#jgProductStage .jg-cta-pre,
#jgProductStage .jg-discovery-collapse-btn,
#jgProductStage .jg-ownfile-info-btn {
  display: none !important;
}
#jgProductStage .jg-ownfile-cta-wrap,
#jgProductStage .jg-ownfile-cta-surface {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  gap: 0;
}
#jgProductStage .jg-amz-order .jg-ai-badge {
  margin-top: 6px;
}
#jgProductStage .jg-amz-ai-meta:empty {
  display: none !important;
}
#jgProductStage .jg-ai-badge {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
}
#jgProductStage .jg-amz-ai-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
#jgProductStage .jg-amz-ai-how {
  display: none !important;
}
#jgProductStage .jg-ownfile-helper-text[hidden] {
  display: none !important;
}
#jgProductStage .jg-ownfile-helper-text:not([hidden]) {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  color: #64748b;
}
#jgProductStage .qty-select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
}
#jgProductStage .recommended-hint,
#jgProductStage .jg-trust-line,
#jgProductStage .jg-price-badge:empty {
  display: none !important;
}
#jgProductStage .jg-card-detail-toggle,
#jgProductStage .jg-amz-spec-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 2px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}
#jgProductStage .jg-amz-spec-toggle::after {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid #64748b;
  border-bottom: 1.5px solid #64748b;
  transform: rotate(45deg) translateY(-2px);
}
#jgProductStage .jg-amz-spec-toggle.active::after {
  transform: rotate(-135deg) translateY(-1px);
}
#jgProductStage .jg-amz-spec-toggle__summary {
  flex: 1 1 auto;
  min-width: 0;
}
#jgProductStage .jg-amz-spec-toggle:not(.active) .jg-amz-spec-toggle__summary {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#jgProductStage .jg-card-detail-wrap {
  margin: 0;
  padding: 0;
  display: none !important;
}
#jgProductStage .jg-amz-spec-toggle.active + .jg-card-detail-wrap {
  display: block !important;
}
#jgProductStage .features-panel.inline {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}
body.jg-sv-stepper-product #jgProductStage {
  display: none !important;
}

body.jg-kv-page:not(.jg-sv-stepper-product) .container {
  overflow: visible;
}
body.jg-kv-page:not(.jg-sv-stepper-product) #stripesRoot {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

@media (min-width: 900px) {
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-discovery-card {
    flex: 0 0 168px;
    min-width: 168px;
    max-width: 168px;
  }
}

@media (max-width: 768px) {
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .jg-variant-rail-label {
    font-size: 16px;
    margin: 0 0 2px;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-discovery-card {
    flex: 0 0 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    width: 140px !important;
    align-self: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-photo {
    min-height: 118px !important;
    max-height: 128px !important;
    padding: 4px !important;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-title {
    font-size: 12px;
    min-height: 0 !important;
    height: auto !important;
  }
  #jgProductStage.jg-product-stage {
    margin: 6px 0 14px;
    padding: 10px;
    border-radius: 10px;
    min-height: 0;
  }
  .jg-amz-pdp__title-row {
    flex-direction: column;
    gap: 4px;
  }
  .jg-amz-pdp__title {
    font-size: 17px;
  }
  .jg-amz-pdp__copy {
    margin-top: 4px;
    font-size: 13px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .jg-amz-pdp__reviews {
    white-space: normal;
  }
  #jgProductStage .jg-discovery-detail {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  #jgProductStage .right-col {
    gap: 7px;
  }
  #jgProductStage .stripe-photo,
  #jgProductStage .photo-stack img {
    max-height: 240px;
  }
  #jgProductStage .price-value,
  #jgProductStage .jg-price-main {
    font-size: 26px;
  }
}

body.dark-mode.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .jg-variant-rail-label {
  color: #fafafa;
}
body.dark-mode.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-discovery-card {
  background: #111;
}
body.dark-mode.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot > .stripe.jg-discovery-card.is-selected {
  box-shadow: 0 0 0 2px #fafafa;
}
body.dark-mode.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-tag {
  background: #e11d48 !important;
  border-color: #e11d48 !important;
  color: #fff !important;
}
body.dark-mode #jgProductStage.jg-product-stage {
  background: #111;
  border-color: rgba(255, 255, 255, 0.12);
}
body.dark-mode #jgProductStage .price-value,
body.dark-mode #jgProductStage .jg-price-main,
body.dark-mode #jgProductStage .jg-amz-lead__date,
body.dark-mode #jgProductStage .jg-amz-order__label {
  color: #fafafa;
}
body.dark-mode #jgProductStage .jg-price-old {
  color: #9ca3af !important;
  text-decoration-color: #9ca3af;
}
body.dark-mode #jgProductStage .jg-price-meta,
body.dark-mode #jgProductStage .jg-amz-lead__hint,
body.dark-mode #jgProductStage .price-note {
  color: #94a3b8;
}
body.dark-mode #jgProductStage .lead-time-row,
body.dark-mode #jgProductStage .jg-amz-spec-toggle,
body.dark-mode #jgProductStage .features-panel.inline {
  background: #0b0b0b;
  border-color: rgba(255, 255, 255, 0.10);
  color: #cbd5e1;
}
body.dark-mode #jgProductStage .upload-btn,
body.dark-mode #jgProductStage .jg-ownfile-cta-wrap .upload-btn {
  background: #111 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #e2e8f0 !important;
}
body.dark-mode #jgProductStage .jg-ai-badge {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(255, 255, 255, 0.10);
  color: #e2e8f0;
}
body.dark-mode .jg-amz-pdp__title {
  color: #fafafa;
}
body.dark-mode .jg-amz-pdp__copy {
  color: #cbd5e1;
}
body.dark-mode .jg-amz-pdp__reviews {
  color: #7dd3fc;
}

/* Amazon storefront cleanup: extras parked, rail cards = image/title/deal/price */
body.jg-kv-page:not(.jg-sv-stepper-product) #jgVipTemplatesCta,
body.jg-kv-page:not(.jg-sv-stepper-product) #jgHowToOrderSection,
body.jg-kv-page:not(.jg-sv-stepper-product) #jgReviewsPreviewCard,
body.jg-kv-page:not(.jg-sv-stepper-product) #jgVariantInfoCard,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-howto-section,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-vip-feature-card {
  display: none !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-ctas,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-wa-row,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-features,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-ai-suitable,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-upload-helper,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-select-expand,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-amz-rail-card .jg-discovery-summary-ctas,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-amz-rail-card .lead-time-row,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-amz-rail-card .jg-discovery-summary-reviews,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-amz-rail-card .jg-discovery-summary-qtystack,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-amz-rail-card .jg-discovery-summary-cargo {
  display: none !important;
}

body.jg-kv-page:not(.jg-sv-stepper-product) .jg-discovery-summary .post-upload-actions,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-discovery-summary .jg-ownfile-upload-status,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-discovery-summary-ctas .post-upload-actions,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-discovery-summary-upload-col .post-upload-actions,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-discovery-summary-upload-col .jg-ownfile-upload-status {
  display: none !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-kv-fold-lead,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-kv-fold-trust,
body.jg-kv-page:not(.jg-sv-stepper-product) .product-head .trust-list,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-cta-bounce-arrow,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-cta-pre,
body.jg-kv-page:not(.jg-sv-stepper-product) #jgSmartRecoMount {
  display: none !important;
}
.jg-amz-pdp__trust {
  margin: 8px 0 0;
  padding: 0;
  color: #565959;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}
body.dark-mode .jg-amz-pdp__trust {
  color: #94a3b8;
}
.jg-amz-pdp__trust a {
  color: #007185;
  font-weight: 700;
  text-decoration: none;
}
.jg-amz-pdp__trust a:hover { text-decoration: underline; }

.jg-amz-header-search {
  position: relative;
  display: none;
}
.jg-amz-header-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.jg-amz-header-search__wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.jg-amz-header-search__wrap > i {
  color: #64748b;
  font-size: 14px;
}
.jg-amz-header-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: #0f1111;
  outline: none;
}
.jg-amz-header-search__results {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% - 4px);
  z-index: 30;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}
.jg-amz-header-search__item,
.jg-amz-header-search__empty {
  display: block;
  padding: 10px 12px;
  color: #0f1111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.jg-amz-header-search__item:hover { background: #f8fafc; }
.jg-amz-header-search__empty { color: #64748b; font-weight: 500; }

.jg-amz-trust-strip {
  display: none;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.jg-amz-trust-strip__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.jg-amz-trust-strip__inner::-webkit-scrollbar { display: none; }
.jg-amz-trust-strip__inner a {
  color: #007185;
  text-decoration: none;
}

body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-header-search,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-trust-strip {
  display: block;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-header-search {
  padding: 0 18px 10px;
}

/* Compact Kartvizit grid imagery: remove unused vertical space around landscape photos. */
html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  #stripesRoot > .stripe.jg-discovery-card .jg-discovery-summary-media {
  aspect-ratio: 1.45 / 1 !important;
  min-height: 0 !important;
  height: auto !important;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  #stripesRoot > .stripe.jg-discovery-card .jg-discovery-summary-photo {
  min-height: 0 !important;
  max-height: none !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: contain !important;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .jg-variant-rail-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-bottom: 8px;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .jg-variant-rail-label__text {
  font-size: 20px;
  font-weight: 900;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .jg-variant-rail-label__sub {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .jg-variant-rail-label__arrow {
  display: none;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-spec {
  order: 2;
  display: block;
  width: 100%;
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-tag {
  order: 3;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-tag[hidden],
html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-tag:empty {
  display: none !important;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-meta,
html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-price-row {
  order: 4;
}

html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
  .stripe.jg-discovery-card.is-collapsed .jg-amz-countdown {
  order: 5;
}

body.jg-kv-page:not(.jg-sv-stepper-product) header {
  overflow: visible;
}

body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-copy,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-discovery-card.is-collapsed .jg-discovery-summary-copy,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) .stripe.jg-amz-rail-card .jg-discovery-summary-copy {
  display: none !important;
}

body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-amz-rail-card.is-collapsed,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) #stripesRoot > .stripe.jg-amz-rail-card.is-collapsed {
  contain-intrinsic-size: none !important;
  min-height: 0 !important;
  height: auto !important;
  align-self: flex-start !important;
  padding: 0 !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-amz-rail-card.is-collapsed .jg-discovery-summary,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) #stripesRoot > .stripe.jg-amz-rail-card.is-collapsed > .jg-discovery-summary {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant):not(:has(.stripe.is-expanded)) .stripe.jg-amz-rail-card.is-collapsed .jg-discovery-summary-title {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot {
  align-items: flex-start !important;
}

.jg-amz-order {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 2px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.jg-amz-order__label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f1111;
}
#jgProductStage .jg-amz-order .choose-btn {
  min-height: 46px;
  font-size: 15px !important;
}
#jgProductStage .jg-amz-order .upload-btn {
  min-height: 38px;
  font-size: 13px !important;
}
#jgProductStage .qty-row {
  display: flex;
}

body.jg-kv-page:not(.jg-sv-stepper-product) #jgQuickCategories,
body.jg-kv-page:not(.jg-sv-stepper-product) #jgQuickCategories.jg-amz-discover,
body.jg-kv-page:not(.jg-sv-stepper-product) #jgQuickProducts,
body.jg-kv-page:not(.jg-sv-stepper-product) #jgPkgVariantPromo,
body.jg-kv-page:not(.jg-sv-stepper-product) #jgPkgTemplateTip,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-pkg-mkt-rail,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-pkg-mkt-tip {
  display: none !important;
}
.jg-amz-ai-toggle {
  display: none;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-ai-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 10px 0 12px;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-ai-toggle:hover {
  background: #0f172a;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-ai-toggle.is-open {
  background: #0f172a;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-kv-ai {
  display: none !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-kv-ai.is-open {
  display: grid !important;
}
body.jg-kv-page:not(.jg-sv-stepper-product) #jgKvTemplateSummary,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-kv-template-summary,
body.jg-kv-page:not(.jg-sv-stepper-product) .jg-kv-ai__spec,
body.jg-kv-page .jg-kisi-hint-backdrop {
  display: none !important;
}
.jg-amz-discover__title {
  flex: 1 0 100%;
  width: 100%;
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f1111;
}
body.jg-kv-page:not(.jg-sv-stepper-product) #jgQuickProducts {
  display: none !important;
}

@media (max-width: 768px) {
  body.jg-kv-page:not(.jg-sv-stepper-product) {
    padding-top: 92px;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) header {
    height: auto !important;
    min-height: 44px;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) > .jg-amz-trust-strip {
    position: relative;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) .product-head,
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-kv-flow {
    display: none !important;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) > .container {
    padding-top: 4px;
    padding-bottom: 12px;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-label {
    margin: 0 0 2px !important;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-variant-rail-shell:not(.is-single-variant) #stripesRoot {
    align-items: flex-start;
    padding: 0 4px 2px;
    gap: 8px;
  }
  #jgProductStage.jg-product-stage {
    margin: 6px 0 14px;
    padding: 10px;
  }
  body.jg-kv-page:not(.jg-sv-stepper-product) .jg-kv-templates {
    margin-top: 8px;
  }
}

body.dark-mode .jg-amz-header-search__wrap {
  background: #111;
  border-color: rgba(255, 255, 255, 0.16);
}
body.dark-mode .jg-amz-header-search__input,
body.dark-mode .jg-amz-discover__title,
body.dark-mode .jg-amz-order__label {
  color: #fafafa;
}
body.dark-mode .jg-amz-header-search__results,
body.dark-mode .jg-amz-order {
  background: #111;
  border-color: rgba(255, 255, 255, 0.12);
}
body.dark-mode .jg-amz-header-search__item { color: #fafafa; }
body.dark-mode .jg-amz-trust-strip {
  background: #000;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
body.dark-mode .jg-amz-trust-strip__inner { color: #cbd5e1; }

/* Compact design entry and secondary AI helper. */
html.is-kartvizit-product body.jg-kv-page .jg-kv-personalization-intro {
  gap: 5px;
  margin: 16px 0 8px;
  padding: 13px 14px;
  border-radius: 12px;
  box-shadow: none;
}

html.is-kartvizit-product body.jg-kv-page #jgKvTemplatesSection {
  margin-top: 26px;
  border-top: 3px solid #8b5cf6;
}

html.is-kartvizit-product body.jg-kv-page .jg-kv-personalization-intro h2 {
  font-size: 17px;
  line-height: 1.2;
}

html.is-kartvizit-product body.jg-kv-page .jg-kv-personalization-intro p {
  max-width: 560px;
  font-size: 12px;
  line-height: 1.4;
}

html.is-kartvizit-product body.jg-kv-page .jg-kv-personalization-intro__button {
  min-height: 36px;
  margin-top: 3px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
}

html.is-kartvizit-product body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-ai-toggle {
  width: auto;
  min-height: 32px;
  margin: 7px auto 10px;
  padding: 6px 12px;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none;
}

html.is-kartvizit-product body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-ai-toggle:hover,
html.is-kartvizit-product body.jg-kv-page:not(.jg-sv-stepper-product) .jg-amz-ai-toggle.is-open {
  border-color: #c4b5fd;
  background: #f5f3ff;
  color: #5b21b6;
  box-shadow: none;
}

@media (max-width: 600px) {
  html.is-kartvizit-product body.jg-kv-page #jgKvTemplatesSection {
    margin-top: 18px;
    border-top-width: 2px;
  }
}

/* Desktop conversion layout: keep discovery cards compact and the purchase
   action contained instead of stretching mobile UI across the viewport. */
@media (min-width: 769px) {
  body.jg-kv-page #stripesRoot:not(.is-kartvizit-grid) > .stripe.jg-discovery-card {
    flex: 0 0 250px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
  }

  html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid #stripesRoot {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 4px 2px 12px !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: thin;
  }

  html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
    #stripesRoot > .stripe.jg-discovery-card {
    grid-column: auto !important;
    flex: 0 0 250px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    overflow: hidden;
    scroll-snap-align: start !important;
  }

  html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
    #stripesRoot > .stripe.is-grid-overflow {
    display: block !important;
  }

  html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid .jg-kv-grid-more {
    display: none !important;
  }

  html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid.is-scrollable
    .jg-variant-rail-nav {
    display: inline-flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid.is-scrollable
    .jg-variant-rail-track {
    padding: 0 42px !important;
  }

  html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
    #stripesRoot > .stripe.jg-discovery-card > .jg-discovery-detail {
    display: none !important;
  }

  html.is-kartvizit-product body.jg-kv-page .jg-variant-rail-shell.is-kartvizit-grid
    .jg-kv-design-intent {
    inset: auto 0 0;
    width: 100%;
    height: 58%;
    min-height: 78px;
    max-height: 105px;
    aspect-ratio: auto;
    justify-content: flex-end;
    padding: 18px 6px 6px;
    background: linear-gradient(to bottom, rgba(15,23,42,0) 0%, rgba(15,23,42,.72) 48%, rgba(15,23,42,.92) 100%);
  }

  body.jg-kv-page.jg-kv-purchase-fixed {
    padding-bottom: 88px;
  }

  body.jg-kv-page #jgProductStage.is-kv-variant-focused .left-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.jg-kv-page #jgProductStage.is-kv-variant-focused .left-col,
  body.jg-kv-page #jgProductStage.is-kv-variant-focused .left-grid,
  body.jg-kv-page #jgProductStage.is-kv-variant-focused .photo-stack {
    max-width: 100%;
    min-height: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  body.jg-kv-page #jgProductStage.is-kv-variant-focused .stripe-photo {
    display: block;
    max-width: 100% !important;
    transform: none;
    box-sizing: border-box;
  }

  .jg-kv-purchase-bar {
    grid-template-columns: minmax(120px, max-content) minmax(0, 1fr);
    gap: 10px 12px;
    min-height: 72px;
    padding: 10px 14px;
  }

  .jg-kv-purchase-bar.is-fixed {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 72px;
    padding: 10px 14px;
    border: 1px solid #dbe4ee;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    transform: none;
    grid-template-columns: minmax(120px, max-content) minmax(0, 1fr);
    box-shadow: 0 -10px 30px rgba(15,23,42,.16);
  }

  .jg-kv-purchase-bar__trust {
    grid-column: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    font-size: 11px;
  }

  .jg-kv-purchase-bar__price {
    font-size: 22px;
  }

  .jg-kv-purchase-bar__button {
    min-height: 56px;
    border-radius: 10px;
  }

  body.jg-kv-page.jg-kv-purchase-fixed .jg-wa-quote,
  body.jg-kv-page.jg-kv-purchase-fixed .jg-home-ai {
    bottom: calc(var(--jg-kv-purchase-h, 88px) + 12px) !important;
  }

  body.jg-kv-page #stripesRoot:not(.is-kartvizit-grid)
    .jg-kv-design-intent {
    inset: auto 0 0;
    width: 100%;
    height: 58%;
    min-height: 78px;
    max-height: 105px;
    aspect-ratio: auto;
    justify-content: flex-end;
    padding: 18px 6px 6px;
    background: linear-gradient(to bottom, rgba(15,23,42,0) 0%, rgba(15,23,42,.72) 48%, rgba(15,23,42,.92) 100%);
  }
}

@media (max-width: 768px) {
  body.jg-kv-page .jg-discovery-summary-media.has-design-intent
    .jg-kv-design-intent {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    min-height: 72px;
    max-height: 86px;
    aspect-ratio: auto;
    justify-content: flex-end;
    padding: 16px 5px 5px;
    background: linear-gradient(to bottom, rgba(15,23,42,0) 0%, rgba(15,23,42,.72) 46%, rgba(15,23,42,.94) 100%);
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant)
    .jg-variant-rail-nav {
    display: none !important;
  }

  body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant)
    .jg-variant-rail-track {
    padding: 0 !important;
    overflow: visible !important;
  }

  html body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant)
    #stripesRoot:not(.is-kartvizit-grid) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 4px 0 12px !important;
    scroll-snap-type: none !important;
  }

  html body.jg-kv-page .jg-variant-rail-shell:not(.is-single-variant)
    #stripesRoot:not(.is-kartvizit-grid) > .stripe.jg-discovery-card {
    grid-column: auto !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    scroll-snap-align: none !important;
  }
}


