/* ===== kr-card-unify (orig line 447) ===== */
/* ===== UNIFIED PRODUCT CARD STYLE ===== */

/* Card wrapper — the PsCard div */
.cursor-pointer.w-full.h-full > .flex.w-full.flex-col.shadow-sm {
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
  border: 1px solid rgba(0,0,0,.05) !important;
  transition: box-shadow 0.2s ease, transform 0.15s ease !important;
  background: rgb(var(--color-feAchromatic-50)) !important;
}
.dark .cursor-pointer.w-full.h-full > .flex.w-full.flex-col.shadow-sm {
  background: rgb(var(--color-feAchromatic-900)) !important;
  border-color: rgba(255,255,255,.08) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.2) !important;
}
.cursor-pointer.w-full.h-full > .flex.w-full.flex-col.shadow-sm:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
  transform: translateY(-2px) !important;
}
.dark .cursor-pointer.w-full.h-full > .flex.w-full.flex-col.shadow-sm:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.3) !important;
}

/* Image container — uniform aspect ratio for all cards */
.cursor-pointer.w-full.h-full .h-44.relative.z-0 {
  aspect-ratio: 1 / 1 !important; /* kr-card-app-match */
  height: auto !important;
  position: relative !important;
  overflow: hidden !important;
  background: #f3f4f6 !important;
  border-radius: 8px 8px 0 0 !important;
}
.dark .cursor-pointer.w-full.h-full .h-44.relative.z-0 {
  background: #1f2937 !important;
}
/* PsRouteLink wrapper — stretch to fill image container */
.cursor-pointer.w-full.h-full .h-44.relative.z-0 > .absolute.z-10:first-child {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
}
/* Inner overflow div — fill the PsRouteLink */
.cursor-pointer.w-full.h-full .h-44.relative.z-0 .overflow-hidden {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}
/* Images — cover the entire area */
.cursor-pointer.w-full.h-full .h-44.relative.z-0 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block !important;
}

/* Heart/favourite button */
.cursor-pointer.w-full.h-full .h-44 > .absolute.z-10.rounded.w-10.h-10 {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  right: 6px !important;
  top: 6px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.15) !important;
  z-index: 25 !important;
}
.cursor-pointer.w-full.h-full .h-44 > .absolute.z-10.rounded.w-10.h-10 svg {
  width: 18px !important;
  height: 18px !important;
}

/* ===== BADGE STYLING ===== */

/* --- "Ad" badge (was "Featured") — bg-feSuccess-500 --- */
/* Standalone Featured/Ad badge */
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-feSuccess-500.rounded {
  position: absolute !important;
  left: 6px !important;
  top: 6px !important;
  z-index: 22 !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
  background: rgb(var(--color-feSuccess-500)) !important;
}

/* --- Discount badge — bg-fePrimary-500 -> RED --- */
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-fePrimary-500.rounded {
  position: absolute !important;
  left: 6px !important;
  top: 6px !important;
  z-index: 21 !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
  background: #dc2626 !important;
}

/* When BOTH badges exist: Ad on top, Discount below */
/* The discount div wraps the featured div as a child */
/* Make parent (discount) a vertical flex column */
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-fePrimary-500.rounded:has(> .absolute.bg-feSuccess-500) {
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 4px !important;
  background: transparent !important;
  padding: 0 !important;
}
/* Discount badge when inside flex parent */
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-fePrimary-500.rounded:has(> .absolute.bg-feSuccess-500)::before {
  content: none !important;
}

/* Nested Featured/Ad badge inside discount container — becomes first (top) via column-reverse */
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-fePrimary-500.rounded > .absolute.bg-feSuccess-500 {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: inline-flex !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: rgb(var(--color-feSuccess-500)) !important;
  order: 1 !important;
}

/* The discount text spans inside the parent div (NOT the nested child) */
/* We need the discount label to become its own block */
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-fePrimary-500.rounded:has(> .absolute.bg-feSuccess-500) > p:first-of-type,
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-fePrimary-500.rounded:has(> .absolute.bg-feSuccess-500) > span:first-of-type {
  background: #dc2626 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  order: 2 !important;
}

/* Render the badge text directly; JS now normalizes it to "Ad". */
.cursor-pointer.w-full.h-full .h-44 .absolute.bg-feSuccess-500.rounded p,
.cursor-pointer.w-full.h-full .h-44 .absolute.bg-feSuccess-500 p {
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  color: white !important;
}
.cursor-pointer.w-full.h-full .h-44 .absolute.bg-feSuccess-500.rounded p::after,
.cursor-pointer.w-full.h-full .h-44 .absolute.bg-feSuccess-500 p::after {
  content: none !important;
}

/* Discount badge text must be white on the red pill (all card types,
   incl. related-items raw cards and the dual Ad+discount layout) */
.cursor-pointer .absolute.bg-fePrimary-500.rounded,
.cursor-pointer .absolute.bg-fePrimary-500.rounded p,
.cursor-pointer .absolute.bg-fePrimary-500.rounded span {
  color: #fff !important;
}

/* Badge text size (remaining) */
.cursor-pointer.w-full.h-full .h-44 .absolute.rounded span,
.cursor-pointer.w-full.h-full .h-44 .absolute.rounded > p {
  font-size: 10px !important;
  line-height: 1.2 !important;
}

/* Pending badge */
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-feWarning-500.rounded {
  left: 6px !important;
  top: 6px !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
}
/* Disabled badge */
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-feSecondary-300.rounded {
  left: 6px !important;
  top: 6px !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
}
/* Rejected badge */
.cursor-pointer.w-full.h-full .h-44 > .absolute.bg-feError-500.rounded {
  left: 6px !important;
  top: 6px !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
}
/* Sold out badge at bottom-left */
.cursor-pointer.w-full.h-full .h-44 > .absolute.left-2.bottom-2 {
  left: 6px !important;
  bottom: 6px !important;
}

/* ===== VERIFIED SELLER BADGE ===== */
.kr-verified-badge {
  position: absolute !important;
  left: 6px !important;
  bottom: 6px !important;
  right: auto !important;
  z-index: 25 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: calc(100% - 12px) !important;
  box-sizing: border-box !important;
  gap: 3px !important;
  background: rgba(0,0,0,0.72) !important;
  backdrop-filter: blur(4px) !important;
  color: #fff !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.kr-verified-badge svg {
  width: 12px !important;
  height: 12px !important;
  flex-shrink: 0 !important;
  fill: #3b82f6 !important;
}

/* Title text — single line */
.cursor-pointer.w-full.h-full .truncate-2-lines {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: rgb(var(--color-feAchromatic-900)) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  min-height: 2.5em !important;
  margin-bottom: 2px !important;
}
.dark .cursor-pointer.w-full.h-full .truncate-2-lines {
  color: rgb(var(--color-feAchromatic-50)) !important;
}

/* Price */
.cursor-pointer.w-full.h-full .font-semibold.text-fePrimary-500,
.cursor-pointer.w-full.h-full .text-fePrimary-500.font-semibold {
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* Body padding area */
.cursor-pointer.w-full.h-full .ps-1.pt-1 {
  padding: 6px 10px 4px !important;
}

/* Location row — smaller */
.cursor-pointer.w-full.h-full .ps-1.flex.items-center:has(svg) {
  padding: 0 10px 2px !important;
}
.cursor-pointer.w-full.h-full .ps-1.flex.items-center:has(svg) span {
  font-size: 11px !important;
}
.cursor-pointer.w-full.h-full .ps-1.flex.items-center:has(svg) svg {
  width: 12px !important;
  height: 12px !important;
}

/* ===== INJECTED TOWNSHIP + TIME STYLES ===== */
.kr-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 6px;
  font-size: 11px;
  color: #6b7280;
  overflow: hidden;
}
.dark .kr-card-meta {
  color: #9ca3af;
}
.kr-card-meta .kr-township {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.kr-card-meta .kr-time {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 10px;
  color: #9ca3af;
}
.dark .kr-card-meta .kr-time {
  color: #6b7280;
}
.kr-card-meta .kr-dot {
  color: #d1d5db;
  flex-shrink: 0;
}
.dark .kr-card-meta .kr-dot {
  color: #4b5563;
}

/* ===== FEATURED SECTION — MATCH LAYOUT ===== */
.bg-feSecondary-50.flex.flex-col.sm\:flex-row {
  background: transparent !important;
  padding: 0 16px !important;
  gap: 0 !important;
  flex-direction: column !important;
}
.dark .bg-feSecondary-50.flex.flex-col.sm\:flex-row {
  background: transparent !important;
}
.bg-feSecondary-50 .md\:w-64.flex.flex-col {
  width: 100% !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}
.bg-feSecondary-50 .md\:w-64 .mt-4.sm\:mt-0 {
  display: none !important;
}
.bg-feSecondary-50 .md\:w-64 > .hidden.sm\:block {
  display: flex !important;
}
.bg-feSecondary-50 .md\:w-64 .block.sm\:hidden {
  display: none !important;
}
.bg-feSecondary-50 .w-full.sm\:max-w-sm {
  max-width: 100% !important;
  width: 100% !important;
}
div:has(> .bg-feSecondary-50.flex.flex-col.sm\:flex-row) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Splide slide cards */
.splide__slide .cursor-pointer.w-full.h-full.pb-3 {
  padding-bottom: 4px !important;
}

/* ===== GRID PAGE LAYOUT ===== */
/* Grid container — prevent horizontal overflow on mobile */
.grid.grid-cols-4 {
  max-width: 100% !important;
  overflow-x: hidden !important;
}
/* Grid cards — uniform aspect ratio */
.grid .cursor-pointer.w-full.h-full .h-44.relative.z-0 {
  aspect-ratio: 4 / 3 !important;
}
/* Grid cards — consistent card height */
.grid .cursor-pointer.w-full.h-full {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-width: 0 !important;
}
/* Grid card body — fill remaining space */
.grid .cursor-pointer.w-full.h-full > div:last-child {
  flex: 1 !important;
}
/* Grid item wrapper — equal height, no overflow */
.grid > div[class*="col-span"] {
  display: flex !important;
  min-width: 0 !important;
  overflow: hidden !important;
}
/* Kill w-screen (100vw) on images inside grid — prevents horizontal scroll */
.grid .w-screen {
  width: 100% !important;
}
/* Also kill w-screen on ALL card images everywhere */
.cursor-pointer.w-full.h-full .w-screen {
  width: 100% !important;
}

/* ===== kr-card-tighten: uniform square image + compact text area ===== */
/* Uniform 1:1 image on grid cards too, so every widget's card matches */
.grid .cursor-pointer.w-full.h-full .h-44.relative.z-0 {
  aspect-ratio: 1 / 1 !important;
}
/* Drop the legacy spacer div that forced extra image height */
.cursor-pointer.w-full.h-full .h-44.relative.z-0 > .relative.pt-28 {
  display: none !important;
}
/* Trim the card's outer bottom padding */
.cursor-pointer.w-full.h-full.pb-3 { padding-bottom: 4px !important; }
/* Title: remove the reserved blank 2nd line; keep 2-line clamp, tighter leading */
.cursor-pointer.w-full.h-full .truncate-2-lines {
  min-height: 0 !important;
  line-height: 1.2 !important;
  margin-bottom: 0 !important;
}
/* Title block: tight top/bottom padding */
.cursor-pointer.w-full.h-full .ps-1.pt-1 {
  padding: 5px 10px 1px !important;
}
/* Price row (discounted variant): no extra vertical gap */
.cursor-pointer.w-full.h-full .ps-1.flex.justify-start {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* Location row: tight */
.cursor-pointer.w-full.h-full .ps-1.flex.items-center:has(svg) {
  padding: 1px 10px 0 !important;
}
/* Township/time meta row: tight */
.kr-card-meta { padding: 1px 10px 4px !important; }


/* Featured card meta (injected below image on notShowTitle cards) */
.kr-featured-meta {
  padding: 4px 10px 6px !important;
}

/* ===== kr-featured-card-fill-style (orig line 1049) ===== */
/* compact card body: collapse empty structural divs + no reserved price space */
.cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-500:not(.absolute) > div:empty { display: none !important; }
.cursor-pointer.w-full.h-full.pb-3 .kr-featured-fill-price-row { min-height: 0 !important; }

.kr-featured-fill-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 5px 8px 6px !important;
}
.kr-featured-fill-title {
  margin: 0 !important;
  min-height: 2.45em !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}
.dark .kr-featured-fill-title {
  color: #f8fafc !important;
}
.kr-featured-fill-price-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}
.kr-featured-fill-current-price {
  margin: 0 !important;
  color: #0b9e43 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}
.dark .kr-featured-fill-current-price {
  color: #4ade80 !important;
}
.kr-featured-fill-original-price {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  text-decoration: line-through !important;
}
.dark .kr-featured-fill-original-price {
  color: #94a3b8 !important;
}
.kr-featured-fill-location {
  margin: auto 0 0 !important;
  color: #64748b !important;
  font-size: 0.72rem !important;
  line-height: 1.25 !important;
}
.dark .kr-featured-fill-location {
  color: #94a3b8 !important;
}

/* ===== kr-shared-listing-card-style (orig line 1295) ===== */
.kr-listing-card-meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-top: 2px !important;
}
.kr-listing-card-location-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
.kr-listing-card-location-icon {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: 12px !important;
  height: 12px !important;
  margin-right: 2px !important;
  color: #6b7280 !important;
}
.kr-listing-card-location-icon svg {
  width: 12px !important;
  height: 12px !important;
  display: block !important;
}
.dark .kr-listing-card-location-icon {
  color: #9ca3af !important;
}
.kr-listing-card-location-text {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  gap: 0 !important;
}
.kr-listing-card-location-primary {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  color: #6b7280 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.dark .kr-listing-card-location-primary {
  color: #9ca3af !important;
}
.kr-listing-card-location-secondary {
  display: none !important;
}
.kr-listing-card-delivery-chip {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 2px 5px !important;
  border-radius: 6px !important;
  font-size: 9.5px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
}
.kr-listing-card-delivery-chip[data-delivery-kind="pickup"] {
  background: rgba(37, 99, 235, 0.16) !important;
  color: #1d4ed8 !important;
}
.kr-listing-card-delivery-chip[data-delivery-kind="shipping"] {
  background: rgba(22, 163, 74, 0.16) !important;
  color: #166534 !important;
}
html.dark .kr-listing-card-delivery-chip[data-delivery-kind="pickup"] {
  background: rgba(37, 99, 235, 0.28) !important;
  color: #ffffff !important;
}
html.dark .kr-listing-card-delivery-chip[data-delivery-kind="shipping"] {
  background: rgba(22, 163, 74, 0.28) !important;
  color: #ffffff !important;
}
.kr-listing-card-delivery-chip-icon {
  width: 11px !important;
  height: 11px !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
}
.kr-listing-card-delivery-chip-icon svg {
  width: 11px !important;
  height: 11px !important;
  display: block !important;
}

/* ===== kr-profile-v7 (orig line 1701) ===== */
/* ================================================================
   PROFILE PAGES — Modern responsive UI v7
   Other Profile: JS applies inline styles for layout (bulletproof)
   CSS handles: pseudo-elements, hover effects, transitions, dark mode
   Own Profile: CSS grid overrides (same as before)
   ================================================================ */

/* ══════════════════════════════════
   OTHER PROFILE — Green header (pseudo-element, can't be inline)
   ══════════════════════════════════ */

.kr-other-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 5rem !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  z-index: 0 !important;
  border-radius: 1rem 1rem 0 0 !important;
}
@media (min-width:640px) {
  .kr-other-card::before { height: 5.5rem !important; }
}
html.dark .kr-other-card::before {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

/* ══════════════════════════════════
   OTHER PROFILE — Hover effects & transitions
   ══════════════════════════════════ */

.kr-other-sidebar .text-center.mt-6 button:hover {
  box-shadow: 0 4px 14px rgba(16,185,129,0.3) !important;
  transform: translateY(-1px) !important;
  transition: all 0.2s !important;
}

.kr-other-items-grid .overflow-hidden {
  border-radius: 0.75rem !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}
.kr-other-items-grid .overflow-hidden:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  transform: translateY(-2px) !important;
}
html.dark .kr-other-items-grid .overflow-hidden:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.35) !important;
}

/* Item card images */
.kr-other-items-grid .h-44 {
  height: 9rem !important;
}
@media (min-width:640px) {
  .kr-other-items-grid .h-44 { height: 10rem !important; }
}
@media (min-width:1024px) {
  .kr-other-items-grid .h-44 { height: 11rem !important; }
}
.kr-other-items-grid .h-44 img {
  border-radius: 0.75rem 0.75rem 0 0 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Item card text */
.kr-other-items-grid .ps-1.pt-1.font-normal.text-sm {
  font-size: 0.8rem !important;
  line-height: 1.3 !important;
  padding: 0.25rem 0.5rem !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
@media (min-width:640px) {
  .kr-other-items-grid .ps-1.pt-1.font-normal.text-sm { font-size: 0.85rem !important; }
}
.kr-other-items-grid .font-semibold.text-base {
  font-size: 0.9rem !important;
  padding: 0 0.5rem !important;
}
.kr-other-items-grid .truncate.font-normal.text-sm {
  font-size: 0.75rem !important;
  padding: 0.125rem 0.5rem 0.375rem !important;
}

/* Favourite heart button */
.kr-other-items-grid .h-44 .w-10.h-10.flex.justify-center {
  border-radius: 50% !important;
  width: 2rem !important;
  height: 2rem !important;
  backdrop-filter: blur(4px);
}

/* Discount badges */
.kr-other-items-grid .bg-feWarning-500.rounded,
.kr-other-items-grid .bg-feSuccess-500.rounded,
.kr-other-items-grid .bg-feError-500.rounded,
.kr-other-items-grid .bg-feSecondary-300.rounded {
  border-radius: 0.375rem !important;
  padding: 0.125rem 0.5rem !important;
  font-size: 0.65rem !important;
}

/* Load More button */
.kr-other-listings .flex.justify-center button {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #fff !important;
  border-radius: 0.625rem !important;
  padding: 0.625rem 1.75rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  min-height: 2.5rem !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(16,185,129,0.2) !important;
  transition: all 0.2s !important;
}
.kr-other-listings .flex.justify-center button:hover {
  box-shadow: 0 4px 14px rgba(16,185,129,0.3) !important;
  transform: translateY(-1px) !important;
}

/* Stat pill hover */
.kr-stat-pill:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 10px rgba(16,185,129,0.25) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
}

/* Hide empties inside card */
.kr-other-card > span:empty,
.kr-other-card > div:empty {
  display: none !important;
}

/* dark mode avatar border */
html.dark .kr-other-card img.rounded-full,
html.dark .kr-other-card .w-32 img {
  border-color: #475569 !important;
}

/* ══════════════════════════════════
   OWN PROFILE — Container width
   ══════════════════════════════════ */

body.kr-ownp-off .lg\:w-large {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}
@media (min-width:768px) {
  body.kr-ownp-off .lg\:w-large {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}
@media (min-width:1024px) {
  body.kr-ownp-off .lg\:w-large {
    max-width: 960px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (min-width:1280px) {
  body.kr-ownp-off .lg\:w-large { max-width: 1100px !important; }
}

/* ══════════════════════════════════
   OWN PROFILE — Breadcrumb
   ══════════════════════════════════ */

body.kr-ownp-off .mb-7.mt-32 {
  margin-top: 5rem !important;
  margin-bottom: 1rem !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .mb-7.mt-32 { margin-top: 6rem !important; }
}
@media (min-width:1024px) {
  body.kr-ownp-off .mb-7.mt-32 { margin-top: 7rem !important; }
}
@media (max-width:639px) {
  body.kr-ownp-off .mb-7.mt-32 { display: none !important; }
}
@media (max-width:639px) {
  body.kr-ownp-off .grid.pb-12 { margin-top: 4.5rem !important; }
}

/* ══════════════════════════════════
   OWN PROFILE — Main Grid
   ══════════════════════════════════ */

body.kr-ownp-off .grid.pb-12 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
  padding-bottom: 2rem !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .grid.pb-12 {
    grid-template-columns: 260px 1fr !important;
    gap: 1.25rem !important;
  }
}
@media (min-width:1024px) {
  body.kr-ownp-off .grid.pb-12 {
    grid-template-columns: 280px 1fr !important;
    gap: 1.5rem !important;
  }
}
@media (min-width:1280px) {
  body.kr-ownp-off .grid.pb-12 {
    grid-template-columns: 300px 1fr !important;
    gap: 2rem !important;
  }
}

body.kr-ownp-off .grid.pb-12 > div:first-child {
  grid-column: 1 / 2 !important;
  width: 100% !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .grid.pb-12 > div:first-child {
    position: sticky !important;
    top: 5rem !important;
    align-self: flex-start !important;
  }
}

body.kr-ownp-off .grid.pb-12 > div:nth-child(2) {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .grid.pb-12 > div:nth-child(2) {
    grid-column: 2 / -1 !important;
  }
}

/* ══════════════════════════════════
   OWN PROFILE — Profile Info Card
   ══════════════════════════════════ */

body.kr-ownp-off .flex.flex-col.p-4.gap-2.border.rounded-lg {
  border: none !important;
  border-radius: 1rem !important;
  padding: 1.25rem !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 2px 12px rgba(0,0,0,0.04) !important;
  text-align: center !important;
  overflow: visible !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .flex.flex-col.p-4.gap-2.border.rounded-lg {
    border-radius: 1.25rem !important;
    padding: 1.5rem !important;
  }
}
html.dark body.kr-ownp-off .flex.flex-col.p-4.gap-2.border.rounded-lg {
  background: #1e293b !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15) !important;
  border: none !important;
}

body.kr-ownp-off .flex.flex-col.p-4.gap-2.border.rounded-lg > .flex.justify-between {
  padding: 0.375rem 0 !important;
  border-bottom: 1px solid #f3f4f6 !important;
  font-size: 0.85rem !important;
}
body.kr-ownp-off .flex.flex-col.p-4.gap-2.border.rounded-lg > .flex.justify-between:last-of-type {
  border-bottom: none !important;
}
html.dark body.kr-ownp-off .flex.flex-col.p-4.gap-2.border.rounded-lg > .flex.justify-between {
  border-bottom-color: rgba(255,255,255,0.06) !important;
}
body.kr-ownp-off .flex.flex-col.p-4.gap-2.border.rounded-lg .flex.justify-between .font-semibold {
  color: #10b981 !important;
  font-weight: 700 !important;
}

/* Edit Profile button */
body.kr-ownp-off .flex.flex-col.p-4.gap-2.border.rounded-lg ~ a button {
  width: 100% !important;
  border-radius: 0.75rem !important;
  padding: 0.65rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  min-height: 2.75rem !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(16,185,129,0.2) !important;
  transition: all 0.2s !important;
}
body.kr-ownp-off .flex.flex-col.p-4.gap-2.border.rounded-lg ~ a button:hover {
  box-shadow: 0 4px 14px rgba(16,185,129,0.3) !important;
  transform: translateY(-1px);
}

/* User Settings button */
body.kr-ownp-off button.bg-feSecondary-700 {
  width: 100% !important;
  border-radius: 0.75rem !important;
  padding: 0.65rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  min-height: 2.75rem !important;
  background: #fff !important;
  color: #374151 !important;
  border: 1.5px solid #d1d5db !important;
  transition: all 0.2s !important;
  box-shadow: none !important;
  margin-top: 0.5rem !important;
}
body.kr-ownp-off button.bg-feSecondary-700:hover {
  border-color: #9ca3af !important;
  background: #f9fafb !important;
}
html.dark body.kr-ownp-off button.bg-feSecondary-700 {
  background: #0f172a !important;
  border-color: #475569 !important;
  color: #e2e8f0 !important;
}

/* ══════════════════════════════════
   OWN PROFILE: Avatar
   ══════════════════════════════════ */

body.kr-ownp-off .w-32.h-32.rounded-full {
  width: 5.5rem !important;
  height: 5.5rem !important;
  margin: 0 auto 0.75rem !important;
  overflow: visible !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .w-32.h-32.rounded-full {
    width: 6.5rem !important;
    height: 6.5rem !important;
  }
}
body.kr-ownp-off .w-32.h-32.rounded-full img {
  width: 100% !important;
  height: 100% !important;
  border: 3px solid #e5e7eb !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}
html.dark body.kr-ownp-off .w-32.h-32.rounded-full img {
  border-color: #475569 !important;
}
body.kr-ownp-off .w-32.h-32.rounded-full .w-8.h-8 {
  width: 1.625rem !important;
  height: 1.625rem !important;
}

/* Username */
body.kr-ownp-off .flex.flex-col.p-4.gap-2 .text-xl.font-semibold {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.25rem !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .flex.flex-col.p-4.gap-2 .text-xl.font-semibold {
    font-size: 1.3rem !important;
  }
}

/* ══════════════════════════════════
   OWN PROFILE: Section Headers
   ══════════════════════════════════ */

body.kr-ownp-off .grid.pb-12 > div:nth-child(2) .flex.justify-between.items-center {
  margin-top: 1.25rem !important;
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid #f3f4f6 !important;
}
body.kr-ownp-off .grid.pb-12 > div:nth-child(2) > div:first-child .flex.justify-between.items-center {
  margin-top: 0 !important;
}
html.dark body.kr-ownp-off .grid.pb-12 > div:nth-child(2) .flex.justify-between.items-center {
  border-bottom-color: rgba(255,255,255,0.06) !important;
}

body.kr-profile-page .sm\:text-2xl.text-xl.font-semibold {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}
@media (min-width:640px) {
  body.kr-profile-page .sm\:text-2xl.text-xl.font-semibold {
    font-size: 1.25rem !important;
  }
}

body.kr-ownp-off .grid.pb-12 > div:nth-child(2) .flex.justify-between.items-center button {
  border-radius: 0.5rem !important;
  font-size: 0.8rem !important;
  padding: 0.35rem 0.75rem !important;
}

/* ══════════════════════════════════
   OWN PROFILE: Mobile item visibility
   ══════════════════════════════════ */

@media (max-width:639px) {
  body.kr-ownp-off .grid.pb-12 > div:nth-child(2) [class*="hidden"][class*="block"] {
    display: block !important;
  }
  body.kr-ownp-off .grid.pb-12 > div:nth-child(2) .grid.grid-cols-1 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.625rem !important;
  }
}

body.kr-ownp-off .grid.pb-12 > div:nth-child(2) .grid[class*="grid-cols-1"][class*="grid-cols-2"] {
  gap: 0.75rem !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .grid.pb-12 > div:nth-child(2) .grid[class*="grid-cols-1"][class*="grid-cols-2"] {
    gap: 0.875rem !important;
  }
}
@media (min-width:1280px) {
  body.kr-ownp-off .grid.pb-12 > div:nth-child(2) .grid[class*="grid-cols-1"][class*="grid-cols-3"] {
    gap: 1rem !important;
  }
}

/* ══════════════════════════════════
   SHARED: Item Cards
   ══════════════════════════════════ */

body.kr-ownp-off .grid[class*="grid-cols"] .overflow-hidden.rounded-lg {
  border-radius: 0.75rem !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}
body.kr-ownp-off .grid[class*="grid-cols"] .overflow-hidden.rounded-lg:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  transform: translateY(-2px) !important;
}
html.dark body.kr-ownp-off .grid[class*="grid-cols"] .overflow-hidden.rounded-lg {
  box-shadow: 0 1px 4px rgba(0,0,0,0.25) !important;
}

body.kr-ownp-off .grid[class*="grid-cols"] .h-44 {
  height: 9rem !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .grid[class*="grid-cols"] .h-44 { height: 10rem !important; }
}
@media (min-width:1024px) {
  body.kr-ownp-off .grid[class*="grid-cols"] .h-44 { height: 11rem !important; }
}
body.kr-ownp-off .grid[class*="grid-cols"] .h-44 img {
  border-radius: 0.75rem 0.75rem 0 0 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

body.kr-ownp-off .grid[class*="grid-cols"] .ps-1.pt-1.font-normal.text-sm {
  font-size: 0.8rem !important;
  line-height: 1.3 !important;
  padding: 0.25rem 0.5rem !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
@media (min-width:640px) {
  body.kr-ownp-off .grid[class*="grid-cols"] .ps-1.pt-1.font-normal.text-sm {
    font-size: 0.85rem !important;
  }
}
body.kr-ownp-off .grid[class*="grid-cols"] .font-semibold.text-base {
  font-size: 0.9rem !important;
  padding: 0 0.5rem !important;
}
body.kr-ownp-off .grid[class*="grid-cols"] .truncate.font-normal.text-sm {
  font-size: 0.75rem !important;
  padding: 0.125rem 0.5rem 0.375rem !important;
}
body.kr-ownp-off .grid[class*="grid-cols"] .h-44 .w-10.h-10.flex.justify-center {
  border-radius: 50% !important;
  width: 2rem !important;
  height: 2rem !important;
  backdrop-filter: blur(4px);
}
body.kr-ownp-off .grid[class*="grid-cols"] .bg-feWarning-500.rounded,
body.kr-ownp-off .grid[class*="grid-cols"] .bg-feSuccess-500.rounded,
body.kr-ownp-off .grid[class*="grid-cols"] .bg-feError-500.rounded,
body.kr-ownp-off .grid[class*="grid-cols"] .bg-feSecondary-300.rounded {
  border-radius: 0.375rem !important;
  padding: 0.125rem 0.5rem !important;
  font-size: 0.65rem !important;
}

/* ══════════════════════════════════
   SHARED: Load More Buttons (Own Profile)
   ══════════════════════════════════ */

body.kr-ownp-off .flex.justify-center.mt-6 button,
body.kr-ownp-off .flex.justify-center button[class*="bg-fePrimary"] {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #fff !important;
  border-radius: 0.625rem !important;
  padding: 0.625rem 1.75rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  min-height: 2.5rem !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(16,185,129,0.2) !important;
  transition: all 0.2s !important;
}
body.kr-ownp-off .flex.justify-center.mt-6 button:hover,
body.kr-ownp-off .flex.justify-center button[class*="bg-fePrimary"]:hover {
  box-shadow: 0 4px 14px rgba(16,185,129,0.3) !important;
  transform: translateY(-1px);
}

/* ══════════════════════════════════
   SHARED: Rating & Reviews
   ══════════════════════════════════ */

body.kr-profile-page .flex.items-center.content-center.justify-center.px-4.mb-3 {
  margin-bottom: 0.375rem !important;
  padding: 0 0.5rem !important;
}

body.kr-ownp-off .flex.flex-col.p-4.gap-2 .text-sm.mb-3.text-center {
  font-size: 0.8rem !important;
  margin-bottom: 0.5rem !important;
}
body.kr-ownp-off .flex.flex-col.p-4.gap-2 .text-xs.text-center {
  font-size: 0.75rem !important;
  color: #9ca3af !important;
  margin-bottom: 0.5rem !important;
}

/* Bluemark badges */
body.kr-profile-page .bg-feInfo-50.border.border-feInfo-500,
body.kr-profile-page .bg-feWarning-50.border.border-feWarning-500,
body.kr-profile-page .bg-feError-50.border.border-feError-500 {
  border-radius: 0.625rem !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.8rem !important;
}

/* ══════════════════════════════════
   OWN PROFILE: Hide empties
   ══════════════════════════════════ */

body.kr-ownp-off .flex.flex-col.p-4.gap-2 > span:empty,
body.kr-ownp-off .flex.flex-col.p-4.gap-2 > div:empty {
  display: none !important;
}

/* ===== kr-hide-share (orig line 2266) ===== */
p.text-feInfo-500.cursor-pointer {
  display: none !important;
}

/* ===== kr-auth-polish (orig line 2399) ===== */
/* === Hide privacy row === */
.kr-auth-page .flex.flex-row.items-start.justify-start.mb-6 { display: none !important; }

/* === Hide help text under fields (multiple selectors for reliability) === */
.kr-auth-page form p.text-xs,
.kr-auth-page form p.mt-2.text-xs,
.kr-auth-page form .mb-4 > p.text-xs,
.kr-auth-page form .mb-8 > p.text-xs,
.kr-auth-page form p[class*="text-xs"]:not([class*="text-feError"]) {
  display: none !important;
}

/* === Card root — unified shell === */
.kr-auth-page .h-auto.flex.flex-row.rounded-md,
.kr-auth-page .h-176.flex.flex-row.rounded-md,
.kr-auth-page .my-6.flex.flex-row.rounded-md {
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.06) !important;
  overflow: hidden !important;
  border: 1px solid rgba(0,0,0,0.04);
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
}
.dark .kr-auth-page .h-auto.flex.flex-row.rounded-md,
.kr-auth-page .h-auto.flex.flex-row.rounded-md,
.kr-auth-page .h-176.flex.flex-row.rounded-md,
.kr-auth-page .my-6.flex.flex-row.rounded-md {
  border-color: rgba(255,255,255,0.06);
}

/* Form panel — bg matches dark card so it's visually unified */
.kr-auth-page .w-full.lg\:w-100,
.kr-auth-page .w-full.lg\:w-100.bg-feAchromatic-50,
.kr-auth-page .flex-grow.bg-feAchromatic-50 {
  background: #0f1f1a !important; /* dark green-tinted slate */
  padding: 40px 36px !important;
}
@media (max-width: 640px) {
  .kr-auth-page .w-full.lg\:w-100 { padding: 28px 22px !important; }
}

/* Title in form */
.kr-auth-page .mt-6.mb-6.text-2xl {
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  margin-top: 4px !important;
  margin-bottom: 22px !important;
}

/* Field labels */
.kr-auth-page form .mb-2 {
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
  color: #334155 !important;
}
.dark.kr-auth-page form .mb-2,
.dark .kr-auth-page form .mb-2 {
  color: #cbd5e1 !important;
}

/* Inputs */
.kr-auth-page input[type="text"],
.kr-auth-page input[type="email"],
.kr-auth-page input[type="password"],
.kr-auth-page input[type="tel"] {
  padding: 13px 16px !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(148,163,184,0.35) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  transition: all 0.15s ease !important;
}
.kr-auth-page input::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}
.kr-auth-page input:focus {
  border-color: #10b981 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.16) !important;
  outline: none !important;
}
.dark.kr-auth-page input[type="text"],
.dark.kr-auth-page input[type="email"],
.dark.kr-auth-page input[type="password"],
.dark.kr-auth-page input[type="tel"],
.dark .kr-auth-page input[type="text"],
.dark .kr-auth-page input[type="email"],
.dark .kr-auth-page input[type="password"],
.dark .kr-auth-page input[type="tel"] {
  border: 1.5px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.04) !important;
  color: #f1f5f9 !important;
}
.dark.kr-auth-page input::placeholder,
.dark .kr-auth-page input::placeholder {
  color: rgba(255,255,255,0.55) !important;
}
.dark.kr-auth-page input:focus,
.dark .kr-auth-page input:focus {
  background: rgba(255,255,255,0.07) !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18) !important;
}

/* Buttons */
.kr-auth-page form button {
  padding: 14px 16px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  transition: all 0.15s ease !important;
  background: linear-gradient(90deg, #10b981, #059669) !important;
  color: #fff !important;
  border: none !important;
}
.kr-auth-page form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}

/* Or / sign in / forgot */
.kr-auth-page .flex.justify-between.mb-4,
.kr-auth-page .flex.flex-row.justify-center.my-8,
.kr-auth-page .flex.flex-row.justify-center.mb-6 {
  align-items: center !important;
}
.kr-auth-page .flex.flex-row.justify-center.my-8 p,
.kr-auth-page .flex.flex-row.justify-center.my-8 .me-1 { color: rgba(255,255,255,0.7) !important; }
.kr-auth-page .text-fePrimary-500 { color: #34d399 !important; }

/* Divider lines on dark */
.kr-auth-page .flex.flex-row.justify-center.mb-6 .border { border-color: rgba(255,255,255,0.15) !important; }

/* Social buttons */
.kr-auth-page .flex.flex-row.justify-center.space-x-3 > div {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  transition: all 0.15s ease !important;
}
.kr-auth-page .flex.flex-row.justify-center.space-x-3 > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Mobile: stack columns + show brand panel */
@media (max-width: 1023px) {
  .kr-auth-page .hidden.w-100.bg-feSecondary-900 {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 260px;
  }
  .kr-auth-page .h-auto.flex.flex-row.rounded-md,
.kr-auth-page .h-176.flex.flex-row.rounded-md,
.kr-auth-page .my-6.flex.flex-row.rounded-md {
    flex-direction: column !important;
    width: 92% !important;
    max-width: 480px;
    margin: 60px auto 20px !important;
  }
  .kr-auth-page .kr-brand-panel {
    padding: 26px 22px !important;
  }
  .kr-auth-page .kr-brand-tagline { font-size: 22px !important; }
  .kr-auth-page .kr-brand-sub { font-size: 13px !important; margin-bottom: 16px !important; }
  .kr-auth-page .kr-brand-stats { margin-bottom: 14px !important; }
  .kr-auth-page .kr-brand-features { margin-bottom: 4px !important; }
  .kr-auth-page .kr-brand-logo-wrap { margin-bottom: 14px !important; padding: 10px 18px !important; }
  .kr-auth-page .kr-brand-logo-wrap img { height: 32px !important; }

  .kr-auth-page .min-h-screen.flex.flex-row.items-center.justify-center {
    align-items: flex-start !important;
    padding-top: 16px !important;
    padding-bottom: 32px !important;
  }
  .kr-auth-page .kr-brand-panel { padding: 24px 18px !important; }
  .kr-auth-page .kr-brand-features { gap: 8px !important; margin-bottom: 4px !important; }
  .kr-auth-page .kr-brand-features li { font-size: 12px !important; }
  .kr-auth-page .min-h-screen.flex.flex-row { background: #0a1f1a !important; }
}

/* === Branded panel (left side / top on mobile) === */
.kr-auth-page .hidden.w-100.bg-feSecondary-900 {
  background: linear-gradient(160deg, #064e3b 0%, #047857 50%, #065f46 100%) !important;
  position: relative;
  overflow: hidden;
}
.kr-auth-page .hidden.w-100.bg-feSecondary-900::before,
.kr-auth-page .hidden.w-100.bg-feSecondary-900::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.4; pointer-events: none;
}
.kr-auth-page .hidden.w-100.bg-feSecondary-900::before {
  width: 280px; height: 280px; background: #10b981;
  top: -80px; right: -80px;
}
.kr-auth-page .hidden.w-100.bg-feSecondary-900::after {
  width: 220px; height: 220px; background: #34d399;
  bottom: -60px; left: -60px;
}
.kr-auth-page .hidden.w-100.bg-feSecondary-900 > *:not(.kr-brand-panel) { display: none !important; }
.kr-auth-page .hidden.w-100.bg-feSecondary-900 .kr-brand-panel { display: flex !important; }

.kr-brand-panel {
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
  text-align: center;
  color: #fff;
  height: 100%; width: 100%;
  box-sizing: border-box;
}

/* Logo container — solid white so logo is readable */
.kr-brand-logo-wrap {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 24px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kr-brand-logo-wrap img {
  height: 38px; width: auto; display: block;
  /* NO filter — show the actual logo colors */
}
/* Fallback text logo if image fails */
.kr-brand-logo-text {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.kr-brand-tagline {
  font-size: 26px; font-weight: 700; line-height: 1.25;
  letter-spacing: -0.01em; margin-bottom: 14px; max-width: 320px;
}
.kr-brand-tagline span {
  background: linear-gradient(90deg, #6ee7b7, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.kr-brand-sub {
  font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.78);
  line-height: 1.5; margin-bottom: 32px; max-width: 300px;
}
.kr-brand-stats {
  display: flex; gap: 8px; margin-bottom: 28px;
  width: 100%; max-width: 320px; justify-content: center;
}
.kr-brand-stat {
  flex: 1; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 12px 6px;
}
.kr-brand-stat-num { font-size: 20px; font-weight: 700; color: #fbbf24; line-height: 1.1; }
.kr-brand-stat-lbl {
  font-size: 10px; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px;
}
.kr-brand-features {
  list-style: none; padding: 0; margin: 0 0 24px 0;
  text-align: left; display: flex; flex-direction: column; gap: 10px;
}
.kr-brand-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.92);
}
.kr-brand-features li svg {
  flex-shrink: 0; width: 16px; height: 16px; color: #6ee7b7;
}
.kr-brand-flag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1); padding: 5px 12px;
  border-radius: 999px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.kr-brand-flag::before {
  content: ""; width: 16px; height: 12px;
  background: linear-gradient(to bottom, #ce1126 33%, #fcd116 33% 66%, #006b3f 66%);
  border-radius: 2px;
}

/* ===== kr-smooth-nav (orig line 2742) ===== */
#kr-nav-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999; pointer-events: none; opacity: 0;
  transition: opacity 0.15s ease;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
.dark #kr-nav-overlay { background: rgba(15,23,42,0.55); }
#kr-nav-overlay.active { opacity: 1; }
#kr-nav-overlay .kr-nav-spinner {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 32px; height: 32px; border: 3px solid rgba(0,0,0,0.08);
  border-top-color: #10b981; border-radius: 50%;
  animation: kr-spin 0.6s linear infinite;
}
.dark #kr-nav-overlay .kr-nav-spinner {
  border-color: rgba(255,255,255,0.1);
  border-top-color: #34d399;
}
@keyframes kr-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
#app { min-height: 100vh; }

/* ===== kr-blog-fix (orig line 2795) ===== */
/* Remove black tint overlay from blog slider — use subtle bottom gradient only */
#kr-blog-slider .kr-slide-overlay {
  background: transparent !important;
}
/* Hide the meta line (Admin + date) on blog slider cards */
#kr-blog-slider .kr-slide-meta {
  display: none !important;
}

/* ── Blog Detail page formatting ── */
.kr-blog-desc {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #374151;
  word-break: break-word;
}
.dark .kr-blog-desc { color: #e2e8f0; }
.kr-blog-desc .kr-para {
  margin-bottom: 1.2em;
}
.kr-blog-desc .kr-para:last-child { margin-bottom: 0; }
.kr-blog-desc .kr-heading {
  font-size: 1.15em;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
  color: #111827;
}
.dark .kr-blog-desc .kr-heading { color: #f1f5f9; }
.kr-blog-desc .kr-bullet {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 0.4em;
  padding-left: 8px;
}
.kr-blog-desc .kr-bullet-icon { flex-shrink: 0; }
.kr-blog-desc a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.dark .kr-blog-desc a { color: #60a5fa; }
.kr-blog-desc a:hover { color: #1d4ed8; }
.dark .kr-blog-desc a:hover { color: #93bbfd; }
.kr-blog-desc img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }

/* Hide Admin | date in blog detail compiled page */
.kr-blog-detail-hide-meta { display: none !important; }

/* ===== kr-choose-cat (orig line 2935) ===== */
/* ══════════════════════════════════════════
   SECTION 1: Choose Category — grid layout
   ══════════════════════════════════════════ */

/* Wrapper: full width on mobile, centered on tablet/desktop */
body .text-center.mt-28.w-mobile {
  width: calc(100% - 2rem) !important;
  max-width: 100% !important;
  margin-top: 4.5rem !important;
  padding: 0 !important;
}
@media (min-width:640px) {
  body .text-center.mt-28.w-mobile { width: 580px !important; margin-top: 6rem !important; }
}
@media (min-width:1024px) {
  body .text-center.mt-28.w-mobile { width: 900px !important; margin-top: 7rem !important; }
}

/* Title */
body .text-center.mt-28 .font-semibold.text-4xl {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@media (min-width:640px) {
  body .text-center.mt-28 .font-semibold.text-4xl { font-size: 2rem !important; }
}

/* Subtitle */
body .text-center.mt-28 .text-xl.text-gray-600 {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  margin-top: 0.25rem !important;
}
@media (min-width:640px) {
  body .text-center.mt-28 .text-xl.text-gray-600 { font-size: 1rem !important; margin-top: 0.5rem !important; }
}

/* Grid — 3 cols mobile, 4 tablet, 5 desktop */
body .text-center.mt-28 .mt-8.grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.625rem !important;
  margin-top: 1.25rem !important;
  padding: 0 !important;
}
@media (min-width:640px) {
  body .text-center.mt-28 .mt-8.grid { grid-template-columns: repeat(4,1fr) !important; gap:1rem !important; margin-top:1.5rem !important; }
}
@media (min-width:1024px) {
  body .text-center.mt-28 .mt-8.grid { grid-template-columns: repeat(5,1fr) !important; gap:1.25rem !important; }
}
body .text-center.mt-28 .mt-8.grid > div { padding:0 !important; }

/* Card: vertical centered */
body .text-center.mt-28 .mt-8.grid .flex.items-center {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem 0.375rem !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 0.875rem !important;
  border: 1.5px solid #e5e7eb !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  transition: all 0.2s ease !important;
}
@media (min-width:640px) {
  body .text-center.mt-28 .mt-8.grid .flex.items-center { padding: 1.25rem 0.5rem !important; border-radius: 1rem !important; }
}
body .text-center.mt-28 .mt-8.grid .flex.items-center:hover {
  border-color: #10b981 !important;
  box-shadow: 0 4px 16px rgba(16,185,129,0.15) !important;
  transform: translateY(-2px);
}
body .text-center.mt-28 .mt-8.grid .flex.items-center:active {
  transform: translateY(0);
}

/* Dark cards */
html.dark .text-center.mt-28 .mt-8.grid .flex.items-center {
  background: #1e293b !important; border-color: #334155 !important;
}
html.dark .text-center.mt-28 .mt-8.grid .flex.items-center:hover {
  border-color: #34d399 !important; box-shadow: 0 4px 16px rgba(52,211,153,0.2) !important;
}

/* Image circle */
body .text-center.mt-28 .mt-8.grid .flex.items-center .w-16.h-16 {
  width: 3rem !important; height: 3rem !important;
  border: 2px solid #e5e7eb !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
  margin: 0 !important;
}
html.dark .text-center.mt-28 .mt-8.grid .flex.items-center .w-16.h-16 { border-color: #475569 !important; }
@media (min-width:640px) {
  body .text-center.mt-28 .mt-8.grid .flex.items-center .w-16.h-16 { width:3.75rem !important; height:3.75rem !important; }
}
@media (min-width:1024px) {
  body .text-center.mt-28 .mt-8.grid .flex.items-center .w-16.h-16 { width:4rem !important; height:4rem !important; }
}

/* Category name */
body .text-center.mt-28 .mt-8.grid .flex.items-center .text-lg {
  margin: 0.5rem 0 0 0 !important;
  font-size: 0.7rem !important; font-weight: 600 !important;
  text-align: center !important; line-height: 1.2 !important;
  color: #1f2937 !important; word-break: break-word;
}
html.dark .text-center.mt-28 .mt-8.grid .flex.items-center .text-lg { color: #e2e8f0 !important; }
@media (min-width:640px) {
  body .text-center.mt-28 .mt-8.grid .flex.items-center .text-lg { font-size:0.8rem !important; }
}
@media (min-width:1024px) {
  body .text-center.mt-28 .mt-8.grid .flex.items-center .text-lg { font-size:0.875rem !important; }
}

/* Dark title/subtitle */
html.dark .text-center.mt-28 .font-semibold.text-4xl {
  background: linear-gradient(135deg,#34d399,#6ee7b7) !important;
  -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important;
}
html.dark .text-center.mt-28 .text-xl.text-gray-600 { color: #94a3b8 !important; }


/* ══════════════════════════════════════════
   SECTION 2: Submit Ad form — responsive
   ══════════════════════════════════════════ */

/* ── MOBILE-FIRST: w-mobile override → full width with margins ── */
@media (max-width:639px) {
  .w-mobile { width: calc(100% - 1.5rem) !important; max-width: 100% !important; }
}

/* ── Page title ── */
.flex.flex-col.justify-center.items-center.mt-28 {
  margin-top: 4.5rem !important;
  padding: 0 0.75rem !important;
}
.flex.flex-col.justify-center.items-center.mt-28 .mb-10 {
  margin-bottom: 1.25rem !important;
}
.flex.flex-col.justify-center.items-center.mt-28 .mb-10 .font-semibold {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@media (min-width:640px) {
  .flex.flex-col.justify-center.items-center.mt-28 { margin-top: 6rem !important; }
  .flex.flex-col.justify-center.items-center.mt-28 .mb-10 { margin-bottom: 1.75rem !important; }
  .flex.flex-col.justify-center.items-center.mt-28 .mb-10 .font-semibold { font-size: 1.75rem !important; }
}
@media (min-width:1024px) {
  .flex.flex-col.justify-center.items-center.mt-28 { margin-top: 7rem !important; }
  .flex.flex-col.justify-center.items-center.mt-28 .mb-10 .font-semibold { font-size: 2rem !important; }
}
html.dark .flex.flex-col.justify-center.items-center.mt-28 .mb-10 .font-semibold {
  background: linear-gradient(135deg,#34d399,#6ee7b7) !important;
  -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important;
}

/* ── Form card containers ── */
.flex.flex-col.w-mobile.border-2.rounded-md.mb-6,
.flex.flex-col.py-6.w-mobile.border-2.rounded-md.mb-6 {
  border: none !important;
  border-radius: 1rem !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.04) !important;
  overflow: visible !important;
  margin-bottom: 1rem !important;
}
@media (min-width:640px) {
  .flex.flex-col.w-mobile.border-2.rounded-md.mb-6,
  .flex.flex-col.py-6.w-mobile.border-2.rounded-md.mb-6 {
    border-radius: 1.25rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04) !important;
    margin-bottom: 1.5rem !important;
  }
}
html.dark .flex.flex-col.w-mobile.border-2.rounded-md.mb-6,
html.dark .flex.flex-col.py-6.w-mobile.border-2.rounded-md.mb-6 {
  background: #1e293b !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.15) !important;
}

/* ── Inner padding: tighter on mobile ── */
@media (max-width:639px) {
  .flex.flex-col.w-mobile.border-2 .col-span-12.px-6,
  .flex.flex-col.w-mobile.border-2 [class*="px-6"] {
    padding-left: 0.875rem !important;
    padding-right: 0.875rem !important;
  }
  .flex.flex-col.py-6[class*="ps-5"][class*="pe-6"] {
    padding-left: 0.875rem !important;
    padding-right: 0.875rem !important;
  }
}

/* ── Form labels ── */
.flex.flex-col.w-mobile.border-2 .text-base {
  font-weight: 600 !important;
  font-size: 0.825rem !important;
  color: #374151 !important;
  margin-bottom: 0.25rem !important;
}
@media (min-width:640px) {
  .flex.flex-col.w-mobile.border-2 .text-base { font-size: 0.9rem !important; }
}
html.dark .flex.flex-col.w-mobile.border-2 .text-base { color: #d1d5db !important; }

/* ── Input fields ── */
.flex.flex-col.w-mobile.border-2 input[type="text"],
.flex.flex-col.w-mobile.border-2 input[type="number"],
.flex.flex-col.w-mobile.border-2 input[type="tel"],
.flex.flex-col.w-mobile.border-2 input[type="time"],
.flex.flex-col.w-mobile.border-2 textarea,
.flex.flex-col.w-mobile.border-2 select {
  border-radius: 0.625rem !important;
  border: 1.5px solid #d1d5db !important;
  padding: 0.6rem 0.75rem !important;
  font-size: 0.875rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  -webkit-appearance: none !important;
}
@media (min-width:640px) {
  .flex.flex-col.w-mobile.border-2 input[type="text"],
  .flex.flex-col.w-mobile.border-2 input[type="number"],
  .flex.flex-col.w-mobile.border-2 input[type="tel"],
  .flex.flex-col.w-mobile.border-2 input[type="time"],
  .flex.flex-col.w-mobile.border-2 textarea,
  .flex.flex-col.w-mobile.border-2 select {
    border-radius: 0.75rem !important;
    padding: 0.65rem 0.875rem !important;
    font-size: 0.9rem !important;
  }
}
.flex.flex-col.w-mobile.border-2 input:focus,
.flex.flex-col.w-mobile.border-2 textarea:focus,
.flex.flex-col.w-mobile.border-2 select:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12) !important;
  outline: none !important;
}
html.dark .flex.flex-col.w-mobile.border-2 input[type="text"],
html.dark .flex.flex-col.w-mobile.border-2 input[type="number"],
html.dark .flex.flex-col.w-mobile.border-2 input[type="tel"],
html.dark .flex.flex-col.w-mobile.border-2 input[type="time"],
html.dark .flex.flex-col.w-mobile.border-2 textarea,
html.dark .flex.flex-col.w-mobile.border-2 select {
  border-color: #475569 !important;
  background: #0f172a !important;
  color: #e2e8f0 !important;
}
html.dark .flex.flex-col.w-mobile.border-2 input:focus,
html.dark .flex.flex-col.w-mobile.border-2 textarea:focus,
html.dark .flex.flex-col.w-mobile.border-2 select:focus {
  border-color: #34d399 !important;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.15) !important;
}

/* ── Dropdown selects ── */
.flex.flex-col.w-mobile.border-2 .border.border-feSecondary-200 {
  border-radius: 0.625rem !important;
  border: 1.5px solid #d1d5db !important;
  padding: 0.45rem 0.625rem !important;
  transition: border-color 0.2s !important;
  min-height: 2.5rem !important;
}
@media (min-width:640px) {
  .flex.flex-col.w-mobile.border-2 .border.border-feSecondary-200 {
    border-radius: 0.75rem !important;
    padding: 0.5rem 0.75rem !important;
  }
}
.flex.flex-col.w-mobile.border-2 .border.border-feSecondary-200:hover {
  border-color: #10b981 !important;
}
html.dark .flex.flex-col.w-mobile.border-2 .border.border-feSecondary-200 {
  border-color: #475569 !important;
  background: #0f172a !important;
}

/* ── Photo / video upload area ── */
.flex.flex-col.w-mobile.border-2 .bg-fePrimary-50 {
  border-radius: 0.75rem !important;
  border: 2px dashed #d1d5db !important;
  background: #f9fafb !important;
  transition: border-color 0.2s !important;
}
@media (min-width:640px) {
  .flex.flex-col.w-mobile.border-2 .bg-fePrimary-50 { border-radius: 1rem !important; }
}
.flex.flex-col.w-mobile.border-2 .bg-fePrimary-50:hover {
  border-color: #10b981 !important;
  background: #ecfdf5 !important;
}
html.dark .flex.flex-col.w-mobile.border-2 .bg-fePrimary-50 {
  background: #1e293b !important; border-color: #475569 !important;
}

/* ── Dropzone ── */
.flex.flex-col.w-mobile.border-2 .dz-message { border-radius: 0.75rem !important; }
@media (min-width:640px) {
  .flex.flex-col.w-mobile.border-2 .dz-message { border-radius: 1rem !important; }
}

/* ── Buttons — mobile: stack full-width, desktop: side by side ── */
.flex.flex-col.w-mobile.border-2 button[class*="bg-fePrimary-500"],
.flex.flex-col.w-mobile.border-2 .bg-fePrimary-500 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: none !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 1rem !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(16,185,129,0.25) !important;
  transition: all 0.2s ease !important;
  color: #fff !important;
  width: 100% !important;
  min-height: 2.75rem !important;
}
@media (min-width:640px) {
  .flex.flex-col.w-mobile.border-2 button[class*="bg-fePrimary-500"],
  .flex.flex-col.w-mobile.border-2 .bg-fePrimary-500 {
    border-radius: 0.875rem !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
}
.flex.flex-col.w-mobile.border-2 button[class*="bg-fePrimary-500"]:hover,
.flex.flex-col.w-mobile.border-2 .bg-fePrimary-500:hover {
  box-shadow: 0 4px 16px rgba(16,185,129,0.35) !important;
  transform: translateY(-1px);
}
.flex.flex-col.w-mobile.border-2 button[class*="bg-fePrimary-500"]:active,
.flex.flex-col.w-mobile.border-2 .bg-fePrimary-500:active {
  transform: translateY(0);
}

/* Dark submit */
html.dark .flex.flex-col.w-mobile.border-2 button[class*="bg-feAccent-500"],
html.dark .flex.flex-col.w-mobile.border-2 .bg-feAccent-500 {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
  color: #064e3b !important;
}

/* ── Cancel button ── */
.flex.flex-col.w-mobile.border-2 button[class*="bg-feAchromatic-50"],
.flex.flex-col.w-mobile.border-2 .bg-feAchromatic-50:not(nav *):not(.mt-8 *) {
  border: 1.5px solid #d1d5db !important;
  border-radius: 0.75rem !important;
  padding: 0.65rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  background: #fff !important;
  transition: all 0.2s !important;
  width: 100% !important;
  min-height: 2.75rem !important;
}
@media (min-width:640px) {
  .flex.flex-col.w-mobile.border-2 button[class*="bg-feAchromatic-50"],
  .flex.flex-col.w-mobile.border-2 .bg-feAchromatic-50:not(nav *):not(.mt-8 *) {
    border-radius: 0.875rem !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
}
.flex.flex-col.w-mobile.border-2 button[class*="bg-feAchromatic-50"]:hover {
  border-color: #9ca3af !important; background: #f3f4f6 !important;
}
html.dark .flex.flex-col.w-mobile.border-2 button[class*="bg-feAchromatic-50"],
html.dark .flex.flex-col.w-mobile.border-2 button[class*="bg-feAchromatic-900"] {
  border-color: #475569 !important; background: #0f172a !important; color: #e2e8f0 !important;
}
html.dark .flex.flex-col.w-mobile.border-2 button[class*="bg-feAchromatic-50"]:hover,
html.dark .flex.flex-col.w-mobile.border-2 button[class*="bg-feAchromatic-900"]:hover {
  border-color: #64748b !important; background: #1e293b !important;
}

/* ── Error text ── */
.flex.flex-col.w-mobile.border-2 .text-feError-500,
.flex.flex-col.w-mobile.border-2 [class*="text-feError"] {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
}

/* ── Required asterisk ── */
.flex.flex-col.w-mobile.border-2 .text-feError-800 { color: #ef4444 !important; }

/* ── Vendor profile section ── */
.flex.flex-col.py-6.w-mobile.border-2 {
  border: none !important;
  border-radius: 1rem !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.04) !important;
}
@media (min-width:640px) {
  .flex.flex-col.py-6.w-mobile.border-2 { border-radius: 1.25rem !important; }
}
html.dark .flex.flex-col.py-6.w-mobile.border-2 { background: #1e293b !important; }

/* ── Map area ── */
.flex.flex-col.w-mobile.border-2 #map,
.flex.flex-col.w-mobile.border-2 [class*="leaflet"],
.flex.flex-col.w-mobile.border-2 .gm-style {
  border-radius: 0.75rem !important;
  overflow: hidden !important;
}

/* ── Section spacing — tighter on mobile ── */
@media (max-width:639px) {
  .flex.flex-col.w-mobile.border-2 .col-span-12.mt-8 { margin-top: 1rem !important; }
  .flex.flex-col.w-mobile.border-2 .col-span-12.mt-4 { margin-top: 0.5rem !important; }
  .flex.flex-col.w-mobile.border-2 .mb-4 { margin-bottom: 0.75rem !important; }
  .flex.flex-col.w-mobile.border-2 .mb-6 { margin-bottom: 1rem !important; }
  .flex.flex-col.w-mobile.border-2 .gap-4 { gap: 0.5rem !important; }
}
@media (min-width:640px) {
  .flex.flex-col.w-mobile.border-2 .col-span-12.mt-8 { margin-top: 1.25rem !important; }
  .flex.flex-col.w-mobile.border-2 .col-span-12.mt-4 { margin-top: 0.75rem !important; }
}

/* ── Checkbox styling ── */
.flex.flex-col.w-mobile.border-2 input[type="checkbox"] {
  width: 1.125rem !important;
  height: 1.125rem !important;
  border-radius: 0.25rem !important;
  accent-color: #10b981 !important;
}

/* ===== kr-profile-artifact-cleanup (orig line 3396) ===== */
body.kr-profile-page #kr-blog-slider,
body.kr-profile-page #home_loading__container,
body.kr-profile-page .kr-recent-grid-wrap,
body.kr-profile-page .kr-popular-grid-wrap,
body.kr-profile-page .kr-category-grid-wrap,
body.kr-profile-page .kr-home-categories,
body.kr-profile-page .kr-home-popular,
body.kr-profile-page .kr-home-recent,
body.kr-profile-page .kr-skeleton {
  display: none !important;
}

/* ===== kr-op-style (orig line 3443) ===== */
/* ===== Layout ===== */
body.kr-other-profile .kr-op-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  overflow: visible !important;
}
body.kr-other-profile .kr-op-grid > div { grid-column: auto !important; min-width: 0 !important; margin-top: 0 !important; }
body.kr-other-profile .kr-op-side { display: flex !important; flex-direction: column !important; width: 100% !important; }
body.kr-other-profile .kr-op-list { display: block !important; width: 100% !important; min-width: 0 !important; }
@media (min-width: 1024px) {
  body.kr-other-profile .kr-op-grid {
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
  }
  body.kr-other-profile .kr-op-side { position: sticky !important; top: 84px !important; align-self: start !important; }
  body.kr-other-profile .lg\:w-large { max-width: 1120px !important; margin: 0 auto !important; }
}

/* ===== Hero card ===== */
body.kr-other-profile .kr-op-card {
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
  border-radius: 22px !important;
  padding: 26px 20px 20px !important;
  text-align: center !important;
  background: linear-gradient(150deg, #10b63f 0%, #0aa044 48%, #0b8f57 100%) !important;
  box-shadow: 0 22px 46px -30px rgba(16, 140, 70, 0.7) !important;
}
html.dark body.kr-other-profile .kr-op-card {
  background: linear-gradient(150deg, #0b7a37 0%, #0a6f42 100%) !important;
  box-shadow: 0 22px 46px -28px rgba(0, 0, 0, 0.7) !important;
}
body.kr-other-profile .kr-op-card::before,
body.kr-other-profile .kr-op-card::after {
  content: "" !important; position: absolute !important; border-radius: 50% !important;
  pointer-events: none !important; z-index: 0 !important;
}
body.kr-other-profile .kr-op-card::before { width: 150px; height: 150px; top: -46px; right: -40px; background: rgba(255,255,255,0.09) !important; }
body.kr-other-profile .kr-op-card::after { width: 92px; height: 92px; bottom: -30px; left: -24px; background: rgba(255,255,255,0.06) !important; }
body.kr-other-profile .kr-op-card > * { position: relative !important; z-index: 1 !important; }

/* Avatar */
body.kr-other-profile .kr-op-card .w-32 {
  width: 92px !important; height: 92px !important; margin: 4px auto 12px !important; position: relative !important;
  border-radius: 50% !important; overflow: hidden !important;
  background: #e2e8f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/44px no-repeat !important;
  border: 3px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45) !important;
}
body.kr-other-profile .kr-op-card .w-32 img,
body.kr-other-profile .kr-op-card img.rounded-full {
  width: 100% !important; height: 100% !important; border-radius: 50% !important; object-fit: cover !important;
  border: none !important; background: transparent !important;
}

/* Text on the hero -> white */
body.kr-other-profile .kr-op-card p { color: rgba(255, 255, 255, 0.9) !important; }
body.kr-other-profile .kr-op-card .kr-op-name,
body.kr-other-profile .kr-op-card p.text-xl {
  color: #ffffff !important; font-size: 1.32rem !important; font-weight: 800 !important;
  letter-spacing: -0.02em !important; margin: 0 0 4px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; width: 100% !important;
}
body.kr-other-profile .kr-op-card p.text-xs,
body.kr-other-profile .kr-op-card [class*="text-feSecondary-5"],
body.kr-other-profile .kr-op-card [class*="text-feSecondary-6"] { color: rgba(255, 255, 255, 0.78) !important; }
body.kr-other-profile .kr-op-card .flex.items-center.justify-center { margin: 2px 0 4px !important; padding: 0 !important; }

/* Glassy metrics */
body.kr-other-profile .kr-op-metrics {
  display: flex !important; align-items: stretch !important;
  margin: 14px 2px 2px !important; padding: 12px 4px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px !important;
}
body.kr-other-profile .kr-op-metric { flex: 1 1 0 !important; text-align: center !important; padding: 2px 4px !important; min-width: 0 !important; }
body.kr-other-profile .kr-op-metric + .kr-op-metric { border-left: 1px solid rgba(255, 255, 255, 0.2) !important; }
body.kr-other-profile .kr-op-metric-num { display: block !important; color: #fff !important; font-size: 1.18rem !important; font-weight: 800 !important; line-height: 1.1 !important; }
body.kr-other-profile .kr-op-metric-lbl { display: block !important; color: rgba(255, 255, 255, 0.82) !important; font-size: 0.66rem !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; margin-top: 4px !important; white-space: nowrap !important; }
body.kr-other-profile .kr-op-metric.kr-op-clickable { cursor: pointer !important; }
body.kr-other-profile .kr-op-rawstat { display: none !important; }

/* Follow / Block */
body.kr-other-profile .kr-op-followwrap { margin-top: 12px !important; }
body.kr-other-profile .kr-op-followwrap button {
  width: 100% !important; background: #10b63f !important; color: #fff !important; border: none !important;
  border-radius: 12px !important; padding: 12px 16px !important; font-size: 0.95rem !important; font-weight: 700 !important;
  min-height: 46px !important; cursor: pointer !important; box-shadow: 0 14px 26px -18px rgba(16, 182, 63, 0.6) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
}
body.kr-other-profile .kr-op-followwrap button:hover { transform: translateY(-1px) !important; }
body.kr-other-profile .kr-op-block { margin-top: 10px !important; padding: 4px !important; text-align: center !important; background: transparent !important; border: 0 !important; }
body.kr-other-profile .kr-op-block span { color: #ef4444 !important; font-size: 0.82rem !important; font-weight: 600 !important; cursor: pointer !important; }

/* Listings */
body.kr-other-profile .kr-op-header {
  margin: 2px 2px 14px !important; font-size: 1.25rem !important; font-weight: 800 !important;
  letter-spacing: -0.02em !important; color: #111827 !important;
}
html.dark body.kr-other-profile .kr-op-header { color: #f8fafc !important; }
body.kr-other-profile .kr-op-items {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important;
}
@media (min-width: 1280px) { body.kr-other-profile .kr-op-items { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
body.kr-other-profile .kr-op-items { width: 100% !important; }
body.kr-other-profile .kr-op-items > div { min-width: 0 !important; }

/* ===== kr-ownp-style (orig line 3650) ===== */
/* ===== Layout ===== */
body.kr-own-profile .kr-ownp-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  overflow: visible !important;
  margin-top: 0 !important;
}
body.kr-own-profile .kr-ownp-grid > div { grid-column: auto !important; min-width: 0 !important; margin-top: 0 !important; }
body.kr-own-profile .kr-ownp-side { display: flex !important; flex-direction: column !important; width: 100% !important; gap: 10px !important; }
body.kr-own-profile .kr-ownp-content { display: block !important; width: 100% !important; min-width: 0 !important; }
/* Hide the (untranslated) breadcrumb; keep nav clearance on the grid */
body.kr-own-profile .mb-7.mt-32 { display: none !important; }
body.kr-own-profile .kr-ownp-grid { margin-top: 4.5rem !important; }
@media (min-width: 1024px) {
  body.kr-own-profile .kr-ownp-grid {
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
    margin-top: 5.5rem !important;
  }
  body.kr-own-profile .kr-ownp-side { position: sticky !important; top: 84px !important; align-self: start !important; }
  body.kr-own-profile .lg\:w-large { max-width: 1120px !important; margin: 0 auto !important; }
}

/* ===== Hero card ===== */
body.kr-own-profile .kr-ownp-card {
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
  border-radius: 22px !important;
  padding: 26px 20px 20px !important;
  text-align: center !important;
  gap: 0 !important;
  background: linear-gradient(150deg, #10b63f 0%, #0aa044 48%, #0b8f57 100%) !important;
  box-shadow: 0 22px 46px -30px rgba(16, 140, 70, 0.7) !important;
}
html.dark body.kr-own-profile .kr-ownp-card {
  background: linear-gradient(150deg, #0b7a37 0%, #0a6f42 100%) !important;
  box-shadow: 0 22px 46px -28px rgba(0, 0, 0, 0.7) !important;
}
body.kr-own-profile .kr-ownp-card::before,
body.kr-own-profile .kr-ownp-card::after {
  content: "" !important; position: absolute !important; border-radius: 50% !important;
  pointer-events: none !important; z-index: 0 !important;
}
body.kr-own-profile .kr-ownp-card::before { width: 150px; height: 150px; top: -46px; right: -40px; background: rgba(255,255,255,0.09) !important; }
body.kr-own-profile .kr-ownp-card::after { width: 92px; height: 92px; bottom: -30px; left: -24px; background: rgba(255,255,255,0.06) !important; }
body.kr-own-profile .kr-ownp-card > * { position: relative !important; z-index: 1 !important; }

/* Avatar */
body.kr-own-profile .kr-ownp-card .w-32 {
  width: 92px !important; height: 92px !important; margin: 4px auto 12px !important; position: relative !important;
  border-radius: 50% !important; overflow: hidden !important;
  background: #e2e8f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center/44px no-repeat !important;
  border: 3px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45) !important;
}
body.kr-own-profile .kr-ownp-card .w-32 img,
body.kr-own-profile .kr-ownp-card img.rounded-full {
  width: 100% !important; height: 100% !important; border-radius: 50% !important; object-fit: cover !important;
  border: none !important; background: transparent !important;
}
body.kr-own-profile .kr-ownp-card .w-32 .w-8 {
  width: 22px !important; height: 22px !important; right: 2px !important; bottom: 2px !important;
  border: 2px solid #fff !important; z-index: 2 !important;
}

/* Text on the hero -> white */
body.kr-own-profile .kr-ownp-card p { color: rgba(255, 255, 255, 0.9) !important; }
body.kr-own-profile .kr-ownp-card .kr-ownp-name,
body.kr-own-profile .kr-ownp-card p.text-xl {
  color: #ffffff !important; font-size: 1.32rem !important; font-weight: 800 !important;
  letter-spacing: -0.02em !important; margin: 0 0 4px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; width: 100% !important;
}
body.kr-own-profile .kr-ownp-card p.text-xs,
body.kr-own-profile .kr-ownp-card [class*="text-feSecondary-5"],
body.kr-own-profile .kr-ownp-card [class*="text-feSecondary-6"] { color: rgba(255, 255, 255, 0.78) !important; }
body.kr-own-profile .kr-ownp-card .flex.items-center.justify-center { margin: 2px 0 4px !important; padding: 0 !important; }

/* Verify badge -> glassy chip */
body.kr-own-profile .kr-ownp-card .bg-feInfo-50 {
  background: rgba(255,255,255,0.16) !important; border: 1px solid rgba(255,255,255,0.34) !important;
  border-radius: 999px !important; padding: 4px 12px !important; margin: 6px auto 2px !important;
  display: inline-flex !important; width: auto !important;
}
body.kr-own-profile .kr-ownp-card .bg-feInfo-50 p,
body.kr-own-profile .kr-ownp-card .bg-feInfo-50 svg { color: #fff !important; }

/* about-me line */
body.kr-own-profile .kr-ownp-card p.text-sm { font-size: 0.8rem !important; line-height: 1.4 !important; margin: 6px 0 2px !important; }

/* Glassy metrics */
body.kr-own-profile .kr-ownp-metrics {
  display: flex !important; align-items: stretch !important;
  margin: 14px 2px 2px !important; padding: 12px 4px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px !important;
}
body.kr-own-profile .kr-ownp-metric { flex: 1 1 0 !important; text-align: center !important; padding: 2px 4px !important; min-width: 0 !important; }
body.kr-own-profile .kr-ownp-metric + .kr-ownp-metric { border-left: 1px solid rgba(255, 255, 255, 0.2) !important; }
body.kr-own-profile .kr-ownp-metric-num { display: block !important; color: #fff !important; font-size: 1.18rem !important; font-weight: 800 !important; line-height: 1.1 !important; }
body.kr-own-profile .kr-ownp-metric-lbl { display: block !important; color: rgba(255, 255, 255, 0.82) !important; font-size: 0.66rem !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; margin-top: 4px !important; white-space: nowrap !important; }
body.kr-own-profile .kr-ownp-rawstat { display: none !important; }

/* Buttons below the card */
body.kr-own-profile .kr-ownp-editwrap { width: 100% !important; }
body.kr-own-profile .kr-ownp-edit {
  width: 100% !important; background: #10b63f !important; color: #fff !important; border: none !important;
  border-radius: 12px !important; padding: 12px 16px !important; font-size: 0.95rem !important; font-weight: 700 !important;
  min-height: 46px !important; cursor: pointer !important; box-shadow: 0 14px 26px -18px rgba(16, 182, 63, 0.6) !important;
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  transition: transform 0.15s !important;
}
body.kr-own-profile .kr-ownp-edit:hover { transform: translateY(-1px) !important; }
body.kr-own-profile .kr-ownp-edit svg { width: 16px !important; height: 16px !important; }
body.kr-own-profile .kr-ownp-setting {
  width: 100% !important; background: #fff !important; color: #374151 !important; border: 1.5px solid #d1d5db !important;
  border-radius: 12px !important; padding: 11px 16px !important; font-size: 0.9rem !important; font-weight: 600 !important;
  min-height: 44px !important; cursor: pointer !important; box-shadow: none !important;
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
}
body.kr-own-profile .kr-ownp-setting:hover { background: #f9fafb !important; border-color: #9ca3af !important; }
html.dark body.kr-own-profile .kr-ownp-setting { background: #0f172a !important; border-color: #475569 !important; color: #e2e8f0 !important; }
body.kr-own-profile .kr-ownp-setting svg { width: 16px !important; height: 16px !important; }

/* Section headers in the content column */
body.kr-own-profile .kr-ownp-sechead {
  margin: 6px 2px 10px !important; padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(0,0,0,0.07) !important; align-items: center !important;
}
html.dark body.kr-own-profile .kr-ownp-sechead { border-bottom-color: rgba(255,255,255,0.08) !important; }
body.kr-own-profile .kr-ownp-sechead p { font-size: 1.15rem !important; font-weight: 800 !important; letter-spacing: -0.01em !important; }

/* ===== Product sections: dedupe breakpoint variants + layout ===== */
/* The Vue grid renders the same items in per-breakpoint variant wrappers; show only the fullest (xl) set. */
body.kr-own-profile .kr-ownp-pgrid > [class*=":block"] { display: none !important; }
body.kr-own-profile .kr-ownp-pgrid > [class*=":hidden"] { display: none !important; }
body.kr-own-profile .kr-ownp-pgrid > [class*="xl:block"] { display: block !important; }
/* Non-scroll grids (e.g. Sold Out): 2-col (3-col desktop) */
body.kr-own-profile .kr-ownp-pgrid:not(.kr-ownp-hscroll) { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 12px !important; }
@media (min-width: 1024px) { body.kr-own-profile .kr-ownp-pgrid:not(.kr-ownp-hscroll) { grid-template-columns: repeat(3, minmax(0,1fr)) !important; } }
/* Horizontal scroll (Promoted + Favourite) */
body.kr-own-profile .kr-ownp-hscroll {
  display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important;
  grid-template-columns: none !important; gap: 12px !important; padding-bottom: 8px !important;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
body.kr-own-profile .kr-ownp-hscroll > [class*="xl:block"] { flex: 0 0 auto !important; width: 168px !important; scroll-snap-align: start; }
@media (min-width: 1024px) { body.kr-own-profile .kr-ownp-hscroll > [class*="xl:block"] { width: 210px !important; } }
body.kr-own-profile .kr-ownp-hscroll::-webkit-scrollbar { height: 6px; }
body.kr-own-profile .kr-ownp-hscroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 999px; }
html.dark body.kr-own-profile .kr-ownp-hscroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); }

/* ===== kr-ucard-style (orig line 3907) ===== */
.kr-ucard .overflow-hidden.lg\:rounded-2xl { border-radius: 12px !important; border: 1px solid rgba(0,0,0,0.07) !important; box-shadow: 0 1px 5px rgba(0,0,0,0.06) !important; overflow: hidden !important; background: #fff !important; }
html.dark .kr-ucard .overflow-hidden.lg\:rounded-2xl { background: #1e293b !important; border-color: rgba(255,255,255,0.07) !important; }
.kr-ucard .lg\:h-56.h-36 { height: 150px !important; border-radius: 0 !important; }
.kr-ucard .lg\:h-56.h-36 img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
/* v-lazy-image leaves opacity:0 on cards that were display:none when observed; force loaded images visible */
.kr-ucard .lg\:h-56.h-36 img[src] { opacity: 1 !important; }
body.kr-own-profile .kr-ownp-content img[src] { opacity: 1 !important; }
.kr-ucard .pb-2.pt-2.px-2 { padding: 10px !important; gap: 4px !important; }
.kr-ucard .pb-2.pt-2.px-2 > p:first-child { font-size: 15px !important; font-weight: 700 !important; line-height: 1.25 !important; color: #111827 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; white-space: normal !important; }
html.dark .kr-ucard .pb-2.pt-2.px-2 > p:first-child { color: #f1f5f9 !important; }
.kr-ucard p.text-fePrimary-500 { font-size: 18px !important; font-weight: 700 !important; color: #0b9e43 !important; }
.kr-ucard .flex.items-center.gap-2 p { font-size: 12px !important; color: #6b7280 !important; }
html.dark .kr-ucard .flex.items-center.gap-2 p { color: #9ca3af !important; }
.kr-ucard .pb-2.pt-2.px-2 > p.flex.items-center { display: none !important; }
/* Unified look for .h-auto product cards (profile Favourite/Active/Sold-Out widgets + Active/Favourite lists) */
.cursor-pointer.w-full.h-auto p.ps-1.pt-1 {
  display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important;
  overflow: hidden !important; white-space: normal !important; line-height: 1.25 !important; min-height: 2.5em !important;
  font-size: 15px !important; font-weight: 700 !important; color: #111827 !important;
}
html.dark .cursor-pointer.w-full.h-auto p.ps-1.pt-1 { color: #f1f5f9 !important; }
.cursor-pointer.w-full.h-auto p.text-fePrimary-500 { font-size: 18px !important; font-weight: 700 !important; color: #0b9e43 !important; }
.cursor-pointer.w-full.h-auto p.line-through { font-size: 12px !important; }
.cursor-pointer.w-full.h-auto .pb-2.ps-1.flex.items-center p { font-size: 12px !important; color: #6b7280 !important; }
html.dark .cursor-pointer.w-full.h-auto .pb-2.ps-1.flex.items-center p { color: #9ca3af !important; }
/* Same card shell (border + radius + shadow) as .kr-ucard for the widgets + fav/active list pages */
body.kr-own-profile .kr-ownp-content .cursor-pointer > .overflow-hidden[class*="rounded"],
body.kr-fav-items main .cursor-pointer > .overflow-hidden[class*="rounded"],
body.kr-active-items main .cursor-pointer > .overflow-hidden[class*="rounded"] {
  border-radius: 12px !important; border: 1px solid rgba(0,0,0,0.07) !important;
  box-shadow: 0 1px 5px rgba(0,0,0,0.06) !important; background: #fff !important; overflow: hidden !important;
}
html.dark body.kr-own-profile .kr-ownp-content .cursor-pointer > .overflow-hidden[class*="rounded"],
html.dark body.kr-fav-items main .cursor-pointer > .overflow-hidden[class*="rounded"],
html.dark body.kr-active-items main .cursor-pointer > .overflow-hidden[class*="rounded"] {
  background: #1e293b !important; border-color: rgba(255,255,255,0.07) !important;
}
/* Paid/Favourite/Active list screens: 2-col grid on mobile (was 1-per-row) */
@media (max-width: 639px) {
  body.kr-paid-items main .grid[class*="grid-cols-4"],
  body.kr-fav-items main .grid[class*="grid-cols-4"],
  body.kr-active-items main .grid[class*="grid-cols-4"] { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px !important; }
  body.kr-paid-items main .grid[class*="grid-cols-4"] > *,
  body.kr-fav-items main .grid[class*="grid-cols-4"] > *,
  body.kr-active-items main .grid[class*="grid-cols-4"] > * { grid-column: auto !important; }
}

/* ===== anon-style-32 (orig line 4001) ===== */
.kl-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9998;background:transparent}
.kl-dropdown{position:fixed;z-index:9999;background:linear-gradient(180deg,rgba(255,255,255,.99) 0%,rgba(248,250,252,.99) 100%);border:1px solid rgba(148,163,184,.18);border-radius:12px;box-shadow:0 18px 42px rgba(15,23,42,.14);min-width:260px;max-width:320px;overflow:hidden;animation:klFadeIn .15s ease;color:#0f172a}
@keyframes klFadeIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.kl-header{padding:12px 16px 8px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(226,232,240,.9)}
.kl-header span{font-size:13px;font-weight:600;color:#0f172a;letter-spacing:.3px}
.kl-back{cursor:pointer;display:flex;align-items:center;gap:4px;color:#4f46e5;font-size:12px;font-weight:500}
.kl-back:hover{color:#4338ca}
.kl-back svg{width:14px;height:14px}
.kl-search{padding:8px 12px}
.kl-search input{width:100%;padding:8px 12px;border:1px solid rgba(148,163,184,.28);border-radius:8px;font-size:13px;outline:none;transition:border .2s,background .2s,box-shadow .2s;background:rgba(255,255,255,.96);color:#0f172a}
.kl-search input:focus{border-color:#6366f1;background:#fff;box-shadow:0 0 0 3px rgba(99,102,241,.12)}
.kl-search input::placeholder{color:#64748b}
.kl-list{max-height:280px;overflow-y:auto;padding:6px 0;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.7) transparent}
.kl-list::-webkit-scrollbar{width:4px}
.kl-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}
.kl-item{padding:10px 16px;cursor:pointer;font-size:13px;color:#334155;display:flex;align-items:center;justify-content:space-between;transition:background .12s,color .12s}
.kl-item:hover{background:#f1f5f9;color:#0f172a}
.kl-item.active{color:#4f46e5;font-weight:600;background:#eef2ff}
.kl-item .kl-arrow{color:#94a3b8;font-size:14px;font-weight:bold}
.kl-item.active .kl-arrow{color:#4f46e5}
.kl-loading{padding:24px;text-align:center;color:#64748b;font-size:13px}
.kl-nodata{padding:16px;text-align:center;color:#64748b;font-size:13px}
html.dark .kl-overlay{background:rgba(0,0,0,.48)}
html.dark .kl-dropdown{background:linear-gradient(180deg,rgba(17,24,39,.98) 0%,rgba(15,23,42,.98) 100%);border:1px solid rgba(71,85,105,.55);box-shadow:0 24px 52px rgba(0,0,0,.4);color:#e5e7eb}
html.dark .kl-header{border-bottom:1px solid rgba(51,65,85,.95)}
html.dark .kl-header span{color:#f3f4f6}
html.dark .kl-back{color:#a5b4fc}
html.dark .kl-back:hover{color:#c7d2fe}
html.dark .kl-search input{background:rgba(30,41,59,.92);border:1px solid rgba(71,85,105,.9);color:#f3f4f6}
html.dark .kl-search input:focus{border-color:#818cf8;background:rgba(30,41,59,.98);box-shadow:0 0 0 3px rgba(99,102,241,.2)}
html.dark .kl-search input::placeholder{color:#94a3b8}
html.dark .kl-list{scrollbar-color:rgba(99,102,241,.55) transparent}
html.dark .kl-list::-webkit-scrollbar-thumb{background:rgba(99,102,241,.55)}
html.dark .kl-item{color:#d1d5db}
html.dark .kl-item:hover{background:rgba(51,65,85,.82);color:#fff}
html.dark .kl-item.active{color:#c7d2fe;background:rgba(79,70,229,.22)}
html.dark .kl-item .kl-arrow{color:#94a3b8}
html.dark .kl-item.active .kl-arrow{color:#c7d2fe}
html.dark .kl-loading,
html.dark .kl-nodata{color:#94a3b8}
@media(max-width:640px){
.kl-dropdown{position:fixed!important;bottom:0!important;left:0!important;top:auto!important;right:0!important;width:100%!important;max-width:100%!important;min-width:100%!important;border-radius:16px 16px 0 0;max-height:70vh;animation:klSlideUp .2s ease}
.kl-overlay{background:rgba(0,0,0,.35)}
html.dark .kl-overlay{background:rgba(0,0,0,.58)}
.kl-list{max-height:calc(70vh - 120px)}
@keyframes klSlideUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
}

/* ===== kr-contact-page-style (orig line 4278) ===== */
/* ─────────────────────────────────────────────────────────────────────────
   Contact Us — clean, viewport-agnostic layout
   Strategy: ignore the upstream 5-col grid (it's behaving oddly because the
   responsive `lg:` utilities in this build aren't wrapped in @media queries).
   Force a flex column on the section, then split sidebar/form ourselves.
   ────────────────────────────────────────────────────────────────────── */

/* Outer wrapper spacing */
body.kr-contact-page .mt-28.mb-16.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  margin-top: 5.25rem !important;
  margin-bottom: 2.5rem !important;
}
@media (min-width: 640px) {
  body.kr-contact-page .mt-28.mb-16.px-3 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    margin-top: 6.5rem !important;
    margin-bottom: 3.5rem !important;
  }
}
@media (min-width: 1024px) {
  body.kr-contact-page .mt-28.mb-16.px-3 {
    margin-top: 7.5rem !important;
    margin-bottom: 4.5rem !important;
  }
}

/* Section card subtle shadow lift */
body.kr-contact-page section.relative.mx-auto.w-full.max-w-6xl {
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.10),
              0 4px 10px -4px rgba(15, 23, 42, 0.06) !important;
}
html.dark body.kr-contact-page section.relative.mx-auto.w-full.max-w-6xl {
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55),
              0 4px 10px -4px rgba(0, 0, 0, 0.35) !important;
}

/* ── Hard reset the inner grid to a flex column on mobile/tablet ──
   Force a single, predictable stack regardless of upstream grid behaviour. */
body.kr-contact-page section > .relative.grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
body.kr-contact-page section > .relative.grid > div {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  grid-column: auto !important;
}

/* Sidebar (first child): block flow, children stack vertically */
body.kr-contact-page section > .relative.grid > div:first-child {
  display: block !important;
  padding: 1.25rem !important;
  border-bottom: 1px solid rgb(243 244 246) !important;
  border-right: 0 !important;
}
html.dark body.kr-contact-page section > .relative.grid > div:first-child {
  border-bottom-color: rgb(55 65 81) !important;
}
body.kr-contact-page section > .relative.grid > div:first-child > * {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  grid-column: auto !important;
  flex: none !important;
}
/* Eyebrow pill keeps its inline-flex chip look */
body.kr-contact-page section > .relative.grid > div:first-child > p.inline-flex {
  display: inline-flex !important;
}

/* Form column (second child): block flow */
body.kr-contact-page section > .relative.grid > div:nth-child(2) {
  display: block !important;
  padding: 1.25rem !important;
}

/* Image inside sidebar */
body.kr-contact-page section img[alt="Contact"] {
  display: block !important;
  width: 100% !important;
  height: 11rem !important;
  object-fit: cover !important;
}

/* Info cards container — 2-up on mobile, stacked on lg sidebar */
body.kr-contact-page section .mt-5.hidden.grid-cols-1.gap-3 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  margin-top: 1rem !important;
}
body.kr-contact-page section .mt-5.hidden.grid-cols-1.gap-3 > div {
  display: block !important;
  width: auto !important;
}

/* Form name+phone grid — 1-col on mobile, 2-col on tablet+ */
body.kr-contact-page section .mt-6.grid.grid-cols-1.gap-4 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}
@media (min-width: 640px) {
  body.kr-contact-page section .mt-6.grid.grid-cols-1.gap-4 {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Form card */
body.kr-contact-page section .rounded-2xl.bg-white\/95,
body.kr-contact-page section .rounded-2xl.dark\:bg-feAchromatic-900\/80 {
  padding: 1.125rem !important;
  display: block !important;
}

/* Title sizing */
body.kr-contact-page section h1.mt-4 {
  font-size: 1.375rem !important;
  line-height: 1.3 !important;
  margin-top: 0.875rem !important;
}

/* Inputs & focus */
body.kr-contact-page input[type="text"],
body.kr-contact-page input[type="email"],
body.kr-contact-page input[type="tel"],
body.kr-contact-page textarea {
  border-radius: 0.625rem !important;
}
body.kr-contact-page input:focus,
body.kr-contact-page textarea:focus {
  outline: 2px solid rgba(99, 102, 241, 0.45) !important;
  outline-offset: 1px !important;
}

/* Submit button */
body.kr-contact-page section button.w-full.sm\:w-auto {
  border-radius: 0.625rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
}

/* Eyebrow pill dark-mode contrast */
html.dark body.kr-contact-page section p.inline-flex.rounded-full.bg-fePrimary-500\/10 {
  background-color: rgba(99, 102, 241, 0.18) !important;
}

/* ── Tablet: wider form card padding ── */
@media (min-width: 640px) {
  body.kr-contact-page section > .relative.grid > div:first-child { padding: 1.75rem !important; }
  body.kr-contact-page section > .relative.grid > div:nth-child(2) { padding: 1.75rem !important; }
  body.kr-contact-page section .rounded-2xl.bg-white\/95,
  body.kr-contact-page section .rounded-2xl.dark\:bg-feAchromatic-900\/80 {
    padding: 1.5rem !important;
  }
  body.kr-contact-page section h1.mt-4 {
    font-size: 1.5rem !important;
  }
  body.kr-contact-page section img[alt="Contact"] { height: 13rem !important; }
}

/* ── Desktop (>= 1024px): switch to side-by-side row layout ── */
@media (min-width: 1024px) {
  body.kr-contact-page section > .relative.grid {
    flex-direction: row !important;
  }
  body.kr-contact-page section > .relative.grid > div:first-child {
    flex: 0 0 38% !important;
    width: 38% !important;
    max-width: 38% !important;
    padding: 2rem !important;
    border-bottom: 0 !important;
    border-right: 1px solid rgb(243 244 246) !important;
  }
  html.dark body.kr-contact-page section > .relative.grid > div:first-child {
    border-right-color: rgb(55 65 81) !important;
    border-bottom: 0 !important;
  }
  body.kr-contact-page section > .relative.grid > div:nth-child(2) {
    flex: 1 1 62% !important;
    width: 62% !important;
    max-width: 62% !important;
    padding: 2.25rem !important;
  }
  body.kr-contact-page section h1.mt-4 {
    font-size: 1.875rem !important;
    line-height: 1.2 !important;
  }
  body.kr-contact-page section img[alt="Contact"] { height: 14rem !important; }
  /* Stack info cards vertically when sidebar is the narrower column */
  body.kr-contact-page section .mt-5.hidden.grid-cols-1.gap-3 {
    grid-template-columns: 1fr !important;
  }
}

/* ===== kr-safety-page-style (orig line 4681) ===== */
/* ─────────────────────────────────────────────────────────────────────────
   Safety Tips — clean, scannable, responsive design
   Mobile: single column. Tablet+: 2-col tip grid. Desktop: bigger type.
   ────────────────────────────────────────────────────────────────────── */

body.kr-safety-page .kr-safety-root {
  max-width: 64rem;
  margin: 0 auto;
  padding: 5rem 1rem 3rem;
}
@media (min-width: 640px) {
  body.kr-safety-page .kr-safety-root {
    padding: 6.5rem 1.5rem 4rem;
  }
}
@media (min-width: 1024px) {
  body.kr-safety-page .kr-safety-root {
    padding: 7.5rem 2rem 5rem;
  }
}

/* Hero */
body.kr-safety-page .kr-safety-hero {
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 1.5rem 1rem 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(16,185,129,0.06));
  border: 1px solid rgba(15,23,42,0.06);
}
html.dark body.kr-safety-page .kr-safety-hero {
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(16,185,129,0.10));
  border-color: rgba(255,255,255,0.06);
}
body.kr-safety-page .kr-safety-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(99,102,241,0.12);
  color: #4f46e5;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
html.dark body.kr-safety-page .kr-safety-eyebrow {
  background: rgba(99,102,241,0.22);
  color: #a5b4fc;
}
body.kr-safety-page .kr-safety-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
}
@media (min-width: 640px) {
  body.kr-safety-page .kr-safety-title { font-size: 2rem; }
}
@media (min-width: 1024px) {
  body.kr-safety-page .kr-safety-title { font-size: 2.5rem; }
}
html.dark body.kr-safety-page .kr-safety-title { color: #f8fafc; }
body.kr-safety-page .kr-safety-sub {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
html.dark body.kr-safety-page .kr-safety-sub { color: #cbd5e1; }

/* Admin reminder note */
body.kr-safety-page .kr-safety-admin-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  margin-bottom: 1.75rem;
  border-radius: 1rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
}
html.dark body.kr-safety-page .kr-safety-admin-note {
  background: rgba(251,146,60,0.10);
  border-color: rgba(251,146,60,0.30);
  color: #fdba74;
}
body.kr-safety-page .kr-safety-admin-icon {
  flex: none;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(234,88,12,0.12);
  color: #ea580c;
}
body.kr-safety-page .kr-safety-admin-icon svg { width: 18px; height: 18px; }
body.kr-safety-page .kr-safety-admin-body { font-size: 0.92rem; line-height: 1.55; }
body.kr-safety-page .kr-safety-admin-body strong { display: block; margin-bottom: 0.25rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
body.kr-safety-page .kr-safety-admin-body p { margin: 0.25rem 0; }
body.kr-safety-page .kr-safety-admin-body span { font-size: inherit !important; }

/* Section heading */
body.kr-safety-page .kr-safety-h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
}
@media (min-width: 1024px) {
  body.kr-safety-page .kr-safety-h2 { font-size: 1.5rem; }
}
html.dark body.kr-safety-page .kr-safety-h2 { color: #f1f5f9; }

/* Quick rules grid */
body.kr-safety-page .kr-safety-quick {
  margin-bottom: 2rem;
}
body.kr-safety-page .kr-safety-quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  body.kr-safety-page .kr-safety-quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
}
@media (min-width: 1024px) {
  body.kr-safety-page .kr-safety-quick-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}
body.kr-safety-page .kr-safety-quick-card {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 0.875rem;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
@media (min-width: 1024px) {
  body.kr-safety-page .kr-safety-quick-card { padding: 1rem 0.85rem 1rem 0.85rem; }
}
html.dark body.kr-safety-page .kr-safety-quick-card {
  background: #1f2937;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body.kr-safety-page .kr-safety-quick-num {
  position: absolute;
  top: 1rem; left: 1rem;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}
@media (min-width: 1024px) {
  body.kr-safety-page .kr-safety-quick-num { position: static; margin-bottom: 0.5rem; }
}
body.kr-safety-page .kr-safety-quick-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}
html.dark body.kr-safety-page .kr-safety-quick-card h3 { color: #f1f5f9; }
body.kr-safety-page .kr-safety-quick-card p {
  margin: 0;
  font-size: 0.825rem;
  line-height: 1.5;
  color: #475569;
}
html.dark body.kr-safety-page .kr-safety-quick-card p { color: #cbd5e1; }

/* Detailed sections */
body.kr-safety-page .kr-safety-section {
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
@media (min-width: 640px) {
  body.kr-safety-page .kr-safety-section { padding: 1.5rem; }
}
@media (min-width: 1024px) {
  body.kr-safety-page .kr-safety-section { padding: 1.75rem 2rem; }
}
html.dark body.kr-safety-page .kr-safety-section {
  background: #1f2937;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body.kr-safety-page .kr-safety-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
body.kr-safety-page .kr-safety-section-icon {
  flex: none;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.625rem;
  background: rgba(99,102,241,0.10);
  color: #4f46e5;
}
body.kr-safety-page .kr-safety-section-icon svg { width: 20px; height: 20px; }
html.dark body.kr-safety-page .kr-safety-section-icon {
  background: rgba(99,102,241,0.20);
  color: #a5b4fc;
}
body.kr-safety-page .kr-safety-section-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}
@media (min-width: 640px) {
  body.kr-safety-page .kr-safety-section-head h2 { font-size: 1.25rem; }
}
html.dark body.kr-safety-page .kr-safety-section-head h2 { color: #f1f5f9; }

/* Tip list */
body.kr-safety-page .kr-safety-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: kr-tip;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  body.kr-safety-page .kr-safety-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
    row-gap: 1rem;
  }
}
body.kr-safety-page .kr-safety-list li {
  position: relative;
  padding: 0 0 0 2rem;
  counter-increment: kr-tip;
}
body.kr-safety-page .kr-safety-list li::before {
  content: counter(kr-tip);
  position: absolute;
  left: 0; top: 0.05rem;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  color: #059669;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
html.dark body.kr-safety-page .kr-safety-list li::before {
  background: rgba(16,185,129,0.22);
  color: #6ee7b7;
}
body.kr-safety-page .kr-safety-li-title {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}
html.dark body.kr-safety-page .kr-safety-li-title { color: #f1f5f9; }
body.kr-safety-page .kr-safety-li-body {
  display: block;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #475569;
}
html.dark body.kr-safety-page .kr-safety-li-body { color: #cbd5e1; }

/* CTA block */
body.kr-safety-page .kr-safety-cta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #f8fafc;
  margin: 0.5rem 0 1.25rem;
}
@media (min-width: 640px) {
  body.kr-safety-page .kr-safety-cta {
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem 1.75rem;
  }
}
body.kr-safety-page .kr-safety-cta-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  flex: none;
}
body.kr-safety-page .kr-safety-cta-icon svg { width: 22px; height: 22px; }
body.kr-safety-page .kr-safety-cta-body { flex: 1; }
body.kr-safety-page .kr-safety-cta h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
body.kr-safety-page .kr-safety-cta p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
}
body.kr-safety-page .kr-safety-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
body.kr-safety-page .kr-safety-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
body.kr-safety-page .kr-safety-btn.primary {
  background: #ffffff;
  color: #4f46e5;
}
body.kr-safety-page .kr-safety-btn.primary:hover {
  background: #f1f5ff;
  transform: translateY(-1px);
}
body.kr-safety-page .kr-safety-btn.ghost {
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.32);
}
body.kr-safety-page .kr-safety-btn.ghost:hover {
  background: rgba(255,255,255,0.24);
}

/* Footnote */
body.kr-safety-page .kr-safety-footnote {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}
html.dark body.kr-safety-page .kr-safety-footnote { color: #94a3b8; }

/* ===== kr-privacy-page-style (orig line 5225) ===== */
/* ─────────────────────────────────────────────────────────────────────────
   Privacy Policy — clean, readable legal page
   Mobile: stacked. Tablet+: optional sticky TOC sidebar on desktop.
   ────────────────────────────────────────────────────────────────────── */

body.kr-privacy-page .kr-privacy-root {
  max-width: 70rem;
  margin: 0 auto;
  padding: 5rem 1rem 3rem;
}
@media (min-width: 640px) {
  body.kr-privacy-page .kr-privacy-root {
    padding: 6.5rem 1.5rem 4rem;
  }
}
@media (min-width: 1024px) {
  body.kr-privacy-page .kr-privacy-root {
    padding: 7.5rem 2rem 5rem;
  }
}

/* Hero */
body.kr-privacy-page .kr-privacy-hero {
  margin-bottom: 2rem;
  padding: 1.5rem 1.25rem 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(59,130,246,0.06));
  border: 1px solid rgba(15,23,42,0.06);
}
@media (min-width: 1024px) {
  body.kr-privacy-page .kr-privacy-hero { padding: 2rem 2.25rem; }
}
html.dark body.kr-privacy-page .kr-privacy-hero {
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(59,130,246,0.10));
  border-color: rgba(255,255,255,0.06);
}
body.kr-privacy-page .kr-privacy-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(99,102,241,0.12);
  color: #4f46e5;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
html.dark body.kr-privacy-page .kr-privacy-eyebrow {
  background: rgba(99,102,241,0.22);
  color: #a5b4fc;
}
body.kr-privacy-page .kr-privacy-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
}
@media (min-width: 640px) {
  body.kr-privacy-page .kr-privacy-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  body.kr-privacy-page .kr-privacy-title { font-size: 2.75rem; }
}
html.dark body.kr-privacy-page .kr-privacy-title { color: #f8fafc; }
body.kr-privacy-page .kr-privacy-sub {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  max-width: 50rem;
}
@media (min-width: 640px) {
  body.kr-privacy-page .kr-privacy-sub { font-size: 1rem; }
}
html.dark body.kr-privacy-page .kr-privacy-sub { color: #cbd5e1; }
body.kr-privacy-page .kr-privacy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
body.kr-privacy-page .kr-privacy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.05);
  font-size: 0.75rem;
  color: #475569;
  border: 1px solid rgba(15,23,42,0.06);
}
body.kr-privacy-page .kr-privacy-chip svg { width: 14px; height: 14px; }
body.kr-privacy-page .kr-privacy-chip a { color: #4f46e5; text-decoration: underline; text-underline-offset: 2px; }
html.dark body.kr-privacy-page .kr-privacy-chip {
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
  border-color: rgba(255,255,255,0.08);
}
html.dark body.kr-privacy-page .kr-privacy-chip a { color: #a5b4fc; }

/* Grid: TOC sidebar + article */
body.kr-privacy-page .kr-privacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  body.kr-privacy-page .kr-privacy-grid {
    grid-template-columns: 16rem 1fr;
    gap: 2.5rem;
  }
}

/* TOC */
body.kr-privacy-page .kr-privacy-toc {
  padding: 1rem 1.1rem;
  border-radius: 0.875rem;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
@media (min-width: 1024px) {
  body.kr-privacy-page .kr-privacy-toc {
    position: sticky;
    top: 6rem;
    align-self: start;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
  }
}
html.dark body.kr-privacy-page .kr-privacy-toc {
  background: #1f2937;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body.kr-privacy-page .kr-privacy-toc-title {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
}
html.dark body.kr-privacy-page .kr-privacy-toc-title { color: #94a3b8; }
body.kr-privacy-page .kr-privacy-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: kr-toc;
}
body.kr-privacy-page .kr-privacy-toc-list li {
  counter-increment: kr-toc;
  margin: 0;
}
body.kr-privacy-page .kr-privacy-toc-list a {
  display: block;
  padding: 0.4rem 0.5rem;
  margin: 0.1rem 0;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.35;
  color: #475569;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
body.kr-privacy-page .kr-privacy-toc-list a:hover {
  background: rgba(99,102,241,0.08);
  color: #4f46e5;
}
html.dark body.kr-privacy-page .kr-privacy-toc-list a { color: #cbd5e1; }
html.dark body.kr-privacy-page .kr-privacy-toc-list a:hover {
  background: rgba(99,102,241,0.18);
  color: #a5b4fc;
}
body.kr-privacy-page .kr-privacy-toc-list .kr-privacy-toc-h3 a {
  padding-left: 1.25rem;
  font-size: 0.8rem;
  color: #64748b;
}

/* Article (legal text) */
body.kr-privacy-page .kr-privacy-article {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  min-width: 0;
}
@media (min-width: 640px) {
  body.kr-privacy-page .kr-privacy-article { padding: 2rem 2.25rem; }
}
@media (min-width: 1024px) {
  body.kr-privacy-page .kr-privacy-article { padding: 2.5rem 2.75rem; }
}
html.dark body.kr-privacy-page .kr-privacy-article {
  background: #1f2937;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Prose typography (overrides ck-content default) */
body.kr-privacy-page .kr-privacy-prose {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
  body.kr-privacy-page .kr-privacy-prose { font-size: 1rem; line-height: 1.78; }
}
html.dark body.kr-privacy-page .kr-privacy-prose { color: #cbd5e1; }
body.kr-privacy-page .kr-privacy-prose h2 {
  margin: 2rem 0 0.85rem;
  padding-top: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  scroll-margin-top: 6rem;
}
@media (min-width: 1024px) {
  body.kr-privacy-page .kr-privacy-prose h2 { font-size: 1.4rem; margin-top: 2.5rem; }
}
html.dark body.kr-privacy-page .kr-privacy-prose h2 { color: #f1f5f9; }
body.kr-privacy-page .kr-privacy-prose h2:first-child { margin-top: 0; }
body.kr-privacy-page .kr-privacy-prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  scroll-margin-top: 6rem;
}
html.dark body.kr-privacy-page .kr-privacy-prose h3 { color: #f1f5f9; }
body.kr-privacy-page .kr-privacy-prose p {
  margin: 0 0 1rem;
}
body.kr-privacy-page .kr-privacy-prose p:empty,
body.kr-privacy-page .kr-privacy-prose p > br:only-child { display: none; }
body.kr-privacy-page .kr-privacy-prose strong { color: #0f172a; font-weight: 700; }
html.dark body.kr-privacy-page .kr-privacy-prose strong { color: #f1f5f9; }
body.kr-privacy-page .kr-privacy-prose a {
  color: #4f46e5;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
body.kr-privacy-page .kr-privacy-prose a:hover { color: #4338ca; }
html.dark body.kr-privacy-page .kr-privacy-prose a { color: #a5b4fc; }
html.dark body.kr-privacy-page .kr-privacy-prose a:hover { color: #c7d2fe; }
body.kr-privacy-page .kr-privacy-prose ul,
body.kr-privacy-page .kr-privacy-prose ol {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.5rem;
}
body.kr-privacy-page .kr-privacy-prose li {
  margin: 0.4rem 0;
}
body.kr-privacy-page .kr-privacy-prose ul li::marker { color: #6366f1; }
body.kr-privacy-page .kr-privacy-prose blockquote {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid #6366f1;
  background: rgba(99,102,241,0.06);
  color: #475569;
  font-style: italic;
  border-radius: 0 0.5rem 0.5rem 0;
}
html.dark body.kr-privacy-page .kr-privacy-prose blockquote {
  background: rgba(99,102,241,0.10);
  color: #cbd5e1;
}
/* Force CKEditor inline font sizing to match the prose scale */
body.kr-privacy-page .kr-privacy-prose span[style*="font-size"] {
  font-size: inherit !important;
}

/* CTA */
body.kr-privacy-page .kr-privacy-cta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #f8fafc;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  body.kr-privacy-page .kr-privacy-cta {
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem 1.75rem;
  }
}
body.kr-privacy-page .kr-privacy-cta-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  flex: none;
}
body.kr-privacy-page .kr-privacy-cta-icon svg { width: 22px; height: 22px; }
body.kr-privacy-page .kr-privacy-cta-body { flex: 1; }
body.kr-privacy-page .kr-privacy-cta h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
body.kr-privacy-page .kr-privacy-cta p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
body.kr-privacy-page .kr-privacy-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
body.kr-privacy-page .kr-privacy-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
body.kr-privacy-page .kr-privacy-btn.primary {
  background: #6366f1;
  color: #fff;
}
body.kr-privacy-page .kr-privacy-btn.primary:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}
body.kr-privacy-page .kr-privacy-btn.ghost {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
}
body.kr-privacy-page .kr-privacy-btn.ghost:hover {
  background: rgba(255,255,255,0.18);
}

/* ===== kr-faq-page-style (orig line 5937) ===== */
/* ─────────────────────────────────────────────────────────────────────────
   FAQ — searchable, categorized accordion
   ────────────────────────────────────────────────────────────────────── */

body.kr-faq-page .kr-faq-root {
  max-width: 56rem;
  margin: 0 auto;
  padding: 5rem 1rem 3rem;
}
@media (min-width: 640px) {
  body.kr-faq-page .kr-faq-root {
    padding: 6.5rem 1.5rem 4rem;
  }
}
@media (min-width: 1024px) {
  body.kr-faq-page .kr-faq-root {
    padding: 7.5rem 2rem 5rem;
  }
}

/* Hero */
body.kr-faq-page .kr-faq-hero {
  margin-bottom: 1.75rem;
  text-align: center;
}
body.kr-faq-page .kr-faq-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(99,102,241,0.12);
  color: #4f46e5;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
html.dark body.kr-faq-page .kr-faq-eyebrow {
  background: rgba(99,102,241,0.22);
  color: #a5b4fc;
}
body.kr-faq-page .kr-faq-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
}
@media (min-width: 640px) {
  body.kr-faq-page .kr-faq-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  body.kr-faq-page .kr-faq-title { font-size: 2.75rem; }
}
html.dark body.kr-faq-page .kr-faq-title { color: #f8fafc; }
body.kr-faq-page .kr-faq-sub {
  margin: 0 auto 1.25rem;
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}
@media (min-width: 640px) {
  body.kr-faq-page .kr-faq-sub { font-size: 1rem; }
}
html.dark body.kr-faq-page .kr-faq-sub { color: #cbd5e1; }
body.kr-faq-page .kr-faq-sub a { color: #4f46e5; text-decoration: underline; text-underline-offset: 2px; }
html.dark body.kr-faq-page .kr-faq-sub a { color: #a5b4fc; }

/* Search */
body.kr-faq-page .kr-faq-search {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
}
body.kr-faq-page .kr-faq-search svg {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: #94a3b8;
  pointer-events: none;
}
body.kr-faq-page .kr-faq-search input {
  width: 100%;
  padding: 0.85rem 2.5rem 0.85rem 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15,23,42,0.10);
  background: #ffffff;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05);
}
body.kr-faq-page .kr-faq-search input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
}
html.dark body.kr-faq-page .kr-faq-search input {
  background: #1f2937;
  color: #f1f5f9;
  border-color: rgba(255,255,255,0.10);
}
body.kr-faq-page .kr-faq-clear {
  position: absolute;
  right: 0.75rem; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
  color: #475569;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
body.kr-faq-page .kr-faq-clear.visible { display: flex; }
body.kr-faq-page .kr-faq-clear:hover { background: rgba(15,23,42,0.14); }
html.dark body.kr-faq-page .kr-faq-clear {
  background: rgba(255,255,255,0.10);
  color: #cbd5e1;
}

/* No results */
body.kr-faq-page .kr-faq-no-results {
  text-align: center;
  padding: 1.5rem;
  margin: 1rem 0 1.5rem;
  border-radius: 0.875rem;
  background: rgba(15,23,42,0.04);
  color: #475569;
  font-size: 0.9rem;
}
html.dark body.kr-faq-page .kr-faq-no-results {
  background: rgba(255,255,255,0.04);
  color: #cbd5e1;
}

/* Section card */
body.kr-faq-page .kr-faq-section {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
@media (min-width: 640px) {
  body.kr-faq-page .kr-faq-section { padding: 1.5rem 1.75rem; }
}
@media (min-width: 1024px) {
  body.kr-faq-page .kr-faq-section { padding: 1.75rem 2rem; }
}
html.dark body.kr-faq-page .kr-faq-section {
  background: #1f2937;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body.kr-faq-page .kr-faq-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
}
body.kr-faq-page .kr-faq-section-icon {
  flex: none;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.625rem;
  background: rgba(99,102,241,0.10);
  color: #4f46e5;
}
body.kr-faq-page .kr-faq-section-icon svg { width: 18px; height: 18px; }
html.dark body.kr-faq-page .kr-faq-section-icon {
  background: rgba(99,102,241,0.20);
  color: #a5b4fc;
}
body.kr-faq-page .kr-faq-section-head h2 {
  margin: 0;
  flex: 1;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}
@media (min-width: 640px) {
  body.kr-faq-page .kr-faq-section-head h2 { font-size: 1.25rem; }
}
html.dark body.kr-faq-page .kr-faq-section-head h2 { color: #f1f5f9; }
body.kr-faq-page .kr-faq-count {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  color: #64748b;
}
html.dark body.kr-faq-page .kr-faq-count {
  background: rgba(255,255,255,0.08);
  color: #94a3b8;
}

/* Accordion */
body.kr-faq-page .kr-faq-accordion {
  display: flex;
  flex-direction: column;
}
body.kr-faq-page .kr-faq-item {
  border-top: 1px solid rgba(15,23,42,0.07);
}
body.kr-faq-page .kr-faq-item:first-child { border-top: 0; }
html.dark body.kr-faq-page .kr-faq-item { border-top-color: rgba(255,255,255,0.06); }
body.kr-faq-page .kr-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 0.25rem;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  transition: color 0.15s;
}
@media (min-width: 640px) {
  body.kr-faq-page .kr-faq-q { padding: 1rem 0.25rem; font-size: 1rem; }
}
body.kr-faq-page .kr-faq-q:hover { color: #4f46e5; }
html.dark body.kr-faq-page .kr-faq-q { color: #f1f5f9; }
html.dark body.kr-faq-page .kr-faq-q:hover { color: #a5b4fc; }
body.kr-faq-page .kr-faq-q-text { flex: 1; }
body.kr-faq-page .kr-faq-q-icon {
  flex: none;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(99,102,241,0.10);
  color: #4f46e5;
  transition: transform 0.2s, background 0.2s;
}
body.kr-faq-page .kr-faq-q-icon svg { width: 14px; height: 14px; }
html.dark body.kr-faq-page .kr-faq-q-icon {
  background: rgba(99,102,241,0.20);
  color: #a5b4fc;
}
body.kr-faq-page .kr-faq-item.open .kr-faq-q-icon {
  transform: rotate(180deg);
  background: #4f46e5;
  color: #fff;
}
html.dark body.kr-faq-page .kr-faq-item.open .kr-faq-q-icon {
  background: #6366f1;
  color: #fff;
}
body.kr-faq-page .kr-faq-a {
  padding: 0 0.25rem 1rem 0.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
}
@media (min-width: 640px) {
  body.kr-faq-page .kr-faq-a { font-size: 0.95rem; }
}
html.dark body.kr-faq-page .kr-faq-a { color: #cbd5e1; }
body.kr-faq-page .kr-faq-a p { margin: 0 0 0.5rem; }
body.kr-faq-page .kr-faq-a p:last-child { margin-bottom: 0; }
body.kr-faq-page .kr-faq-a a {
  color: #4f46e5;
  text-decoration: underline;
  text-underline-offset: 2px;
}
html.dark body.kr-faq-page .kr-faq-a a { color: #a5b4fc; }

/* CTA */
body.kr-faq-page .kr-faq-cta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #f8fafc;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  body.kr-faq-page .kr-faq-cta {
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem 1.75rem;
  }
}
body.kr-faq-page .kr-faq-cta-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  flex: none;
}
body.kr-faq-page .kr-faq-cta-icon svg { width: 22px; height: 22px; }
body.kr-faq-page .kr-faq-cta-body { flex: 1; }
body.kr-faq-page .kr-faq-cta h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
body.kr-faq-page .kr-faq-cta p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
}
body.kr-faq-page .kr-faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
body.kr-faq-page .kr-faq-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
body.kr-faq-page .kr-faq-btn.primary {
  background: #ffffff;
  color: #4f46e5;
}
body.kr-faq-page .kr-faq-btn.primary:hover {
  background: #f1f5ff;
  transform: translateY(-1px);
}
body.kr-faq-page .kr-faq-btn.ghost {
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.32);
}
body.kr-faq-page .kr-faq-btn.ghost:hover {
  background: rgba(255,255,255,0.24);
}

/* ===== kr-loc-fix-style (orig line 6468) ===== */
/* Location dropdown button (in nav) */
.kr-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.5rem;
  padding: 0 0.6rem 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(229 231 235);
  background: rgb(249 250 251);
  color: rgb(30 41 59);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  flex-shrink: 0;
}
.kr-loc-btn .kr-loc-pin {
  width: 16px; height: 16px;
  color: rgb(99 102 241);
  flex-shrink: 0;
}
.kr-loc-btn .kr-loc-chevron {
  width: 14px; height: 14px;
  color: rgb(100 116 139);
  flex-shrink: 0;
  margin-left: 0.1rem;
  transition: transform .2s ease, color .2s;
}
.kr-loc-btn:hover {
  background: rgb(239 246 255);
  border-color: rgb(99 102 241);
  color: rgb(79 70 229);
}
.kr-loc-btn:hover .kr-loc-chevron { color: rgb(99 102 241); }
.kr-loc-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.22);
  border-color: rgb(99 102 241);
}
.kr-loc-btn.kr-loc-open {
  background: rgb(238 242 255);
  border-color: rgb(99 102 241);
  color: rgb(79 70 229);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
}
.kr-loc-btn.kr-loc-open .kr-loc-chevron {
  transform: rotate(180deg);
  color: rgb(99 102 241);
}
.kr-loc-btn-text {
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .kr-loc-btn {
    padding: 0 0.5rem;
    height: 2.25rem;
    gap: 0.25rem;
  }
  .kr-loc-btn .kr-loc-pin { width: 18px; height: 18px; }
  .kr-loc-btn .kr-loc-chevron { width: 12px; height: 12px; }
  .kr-loc-btn-text {
    max-width: 5.5rem;
    font-size: 0.78rem;
  }
}
@media (max-width: 380px) {
  .kr-loc-btn-text { display: none; }
  .kr-loc-btn { padding: 0 0.5rem; gap: 0.15rem; }
}
html.dark .kr-loc-btn {
  background: rgb(31 41 55);
  border-color: rgb(55 65 81);
  color: rgb(229 231 235);
}
html.dark .kr-loc-btn .kr-loc-pin { color: rgb(165 180 252); }
html.dark .kr-loc-btn .kr-loc-chevron { color: rgb(148 163 184); }
html.dark .kr-loc-btn.kr-loc-open {
  background: rgb(49 46 129);
  border-color: rgb(99 102 241);
  color: rgb(199 210 254);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.30);
}
html.dark .kr-loc-btn.kr-loc-open .kr-loc-chevron { color: rgb(199 210 254); }
html.dark .kr-loc-btn:hover {
  background: rgb(55 65 81);
  border-color: rgb(165 180 252);
  color: rgb(165 180 252);
}

/* ===== kr-nav-dedupe-style (orig line 6649) ===== */
/* Defense-in-depth: any nav explicitly tagged stale stays hidden even if
   inline styles get rewritten by Vue mid-transition. */
.kr-stale-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ===== kr-layout-dedupe-style (orig line 6835) ===== */
.kr-stale-layout {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ===== kr-nav-rearrange-style (orig line 7177) ===== */
/* ─────────────────────────────────────────────────────────────────────────
   Navbar rearrangement: 2-row mobile + clean desktop order
   Hamburger only shows on mobile (≤767px); desktop nav links only on ≥768px.
   The build's responsive Tailwind utilities aren't reliably wrapped in @media,
   so we override with high-specificity rules below.
   ────────────────────────────────────────────────────────────────────── */

/* Mobile-only top utility row above the main nav row */
.kr-nav-top-row { display: none; }

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
  /* Show the top row */
  .kr-nav-top-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.15rem 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    width: 100%;
  }
  html.dark .kr-nav-top-row { border-bottom-color: rgba(255, 255, 255, 0.06); }

  /* Hide the desktop links container completely on mobile */
  nav.fixed .kr-desktop-links,
  nav.fixed > div.flex.items-center.justify-between > div.hidden.md\:flex.gap-6 {
    display: none !important;
  }

  /* Make the nav tall enough for both rows */
  nav.fixed.kr-nav-stacked { height: auto !important; min-height: 0 !important; }
  nav.fixed.kr-nav-stacked > div.flex.items-center.justify-between.mt-3 {
    margin-top: 0 !important;
    padding: 0.1rem 0 0.12rem !important;
  }

  /* Hamburger wrap stays on the LEFT */
  nav.fixed .kr-hamburger-wrap { order: 0 !important; }
  /* Shrink the 40px hamburger + action buttons on mobile so rows are tighter */
  nav.fixed.kr-nav-stacked button[type=button].h-10.w-10 { height: 2rem !important; width: 2rem !important; }
  /* Shrink mobile logo (h-10 = 40px was the tallest element in the main row) */
  nav.fixed.kr-nav-stacked .h-10.cursor-pointer { height: 2rem !important; }
  nav.fixed.kr-nav-stacked .h-10.cursor-pointer img { height: 2rem !important; width: 2rem !important; }

  /* Tighten the top-row pieces */
  .kr-nav-top-row > .kr-loc-btn {
    flex: 1 1 auto;
    max-width: 70%;
    justify-content: flex-start;
  }
  .kr-nav-top-row > .kr-loc-btn .kr-loc-btn-text {
    display: inline-block !important;
    max-width: 100% !important;
    font-size: 0.82rem;
  }
  .kr-nav-top-row > button[title^="Switch to"] {
    flex: 0 0 auto;
    height: 2rem !important;
    padding: 0 0.7rem !important;
  }
  .kr-nav-top-row > button[title^="Switch to"] .hidden.sm\:inline {
    display: none !important;
  }
}

/* ── Desktop (≥768px) ── */
@media (min-width: 768px) {
  /* Hamburger and its wrap are completely hidden on desktop:
     the desktop nav already shows Home/Categories/Blogs/Contact Us/Buy Data,
     so the hamburger is redundant. */
  nav.fixed .kr-hamburger-wrap,
  nav.fixed button[type="button"].h-10.w-10:not([title^="Switch to"]) {
    display: none !important;
  }
  /* Force-show the desktop links row even if its `hidden` utility leaked */
  nav.fixed .kr-desktop-links,
  nav.fixed > div.flex.items-center.justify-between > div.hidden.md\:flex.gap-6 {
    display: flex !important;
  }
  /* Action-row spacing */
  nav.fixed .kr-action-row,
  nav.fixed > div.flex.items-center.justify-between > div.flex.items-center {
    gap: 0.65rem !important;
  }
  /* Reset any inline order so DOM order is the source of truth */
  nav.fixed .kr-action-row > * { order: initial !important; }
  /* Submit Ad CTA — keep clearly to the right with its own visual weight */
  nav.fixed .kr-submit-ad { margin-left: 0.5rem !important; }
}

@media (min-width: 1024px) {
  nav.fixed .kr-action-row,
  nav.fixed > div.flex.items-center.justify-between > div.flex.items-center {
    gap: 0.85rem !important;
  }
}

/* ===== kr-desktop-nav-clean-style (orig line 7390) ===== */
@media (min-width: 768px) {
  /* Vertically centre the whole bar and keep a steady height */
  nav.fixed > div.flex.items-center.justify-between {
    align-items: center !important;
    min-height: 64px !important;
  }

  /* ── Left: logo + primary links ─────────────────────────────────────── */
  /* Keyed to the STRUCTURAL selector (…gap-6) so it applies the instant Vue
     renders the row — not dependent on the async .kr-desktop-links tag. */
  nav.fixed div.hidden.md\:flex.gap-6,
  nav.fixed .kr-desktop-links {
    display: flex !important;
    align-items: center !important;
    gap: 0.15rem !important;
  }
  /* Logo: detach from the link rhythm, give it clear breathing room */
  nav.fixed div.hidden.md\:flex.gap-6 > div.h-10.cursor-pointer,
  nav.fixed .kr-desktop-links > div.h-10.cursor-pointer {
    margin-right: 1.15rem !important;
    padding: 0 !important;
  }
  /* Every text link: identical compact padding → even, consistent spacing */
  nav.fixed div.hidden.md\:flex.gap-6 > div:not(.h-10),
  nav.fixed .kr-desktop-links > div:not(.h-10) {
    padding: 0.45rem 0.8rem !important;
    border-radius: 9px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transition: background-color .15s ease, color .15s ease !important;
  }
  /* Rounded hover pill so it reads as a real menu */
  nav.fixed div.hidden.md\:flex.gap-6 > div:not(.h-10):hover,
  nav.fixed .kr-desktop-links > div:not(.h-10):hover {
    background: color-mix(in srgb, rgb(var(--color-fePrimary-500)) 10%, transparent) !important;
  }
  html.dark nav.fixed div.hidden.md\:flex.gap-6 > div:not(.h-10):hover,
  html.dark nav.fixed .kr-desktop-links > div:not(.h-10):hover {
    background: rgba(255, 255, 255, 0.07) !important;
  }

  /* ── Right: action cluster (search / theme / login / submit ad) ─────── */
  nav.fixed .kr-action-row,
  nav.fixed > div.flex.items-center.justify-between > div.flex.items-center {
    gap: 0.6rem !important;
    align-items: center !important;
    margin-left: 1rem !important;
  }
  nav.fixed .kr-action-row > svg.cursor-pointer,
  nav.fixed > div.flex.items-center.justify-between > div.flex.items-center > svg.cursor-pointer {
    width: 1.35rem !important;
    height: 1.35rem !important;
  }
}

/* ===== kr-blog-userlist-style (orig line 7521) ===== */
/* ─────────────────────────────────────────────────────────────────────────
   Blog list (/blog) — polished featured hero + clean grid cards
   ────────────────────────────────────────────────────────────────────── */

/* Outer container spacing */
body.kr-blog-list-page .mt-32.mb-10 {
  max-width: 76rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1rem !important;
  margin-top: 5.25rem !important;
  margin-bottom: 3rem !important;
}
@media (min-width: 640px) {
  body.kr-blog-list-page .mt-32.mb-10 {
    padding: 0 1.5rem !important;
    margin-top: 6.5rem !important;
  }
}
@media (min-width: 1024px) {
  body.kr-blog-list-page .mt-32.mb-10 {
    padding: 0 2rem !important;
    margin-top: 7.5rem !important;
    margin-bottom: 4.5rem !important;
  }
}

/* Featured hero card (the random "BlogCard" at the top) */
body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg {
  border-radius: 1.25rem !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px -8px rgba(15,23,42,0.20),
              0 2px 6px -2px rgba(15,23,42,0.08) !important;
  margin-bottom: 1.5rem !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px -10px rgba(15,23,42,0.28),
              0 4px 10px -4px rgba(15,23,42,0.12) !important;
}
body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .overflow-hidden.w-full.h-96 {
  height: 18rem !important;
  position: relative !important;
}
@media (min-width: 640px) {
  body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .overflow-hidden.w-full.h-96 {
    height: 22rem !important;
  }
}
@media (min-width: 1024px) {
  body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .overflow-hidden.w-full.h-96 {
    height: 26rem !important;
  }
}
/* Subtle gradient overlay so white text always stays legible */
body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .overflow-hidden.w-full.h-96::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.30) 45%, transparent 75%);
  pointer-events: none;
}
body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .absolute.w-full.lg\:w-4\/5 {
  padding: 1rem 1.25rem 1.5rem !important;
  z-index: 2 !important;
}
@media (min-width: 640px) {
  body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .absolute.w-full.lg\:w-4\/5 {
    padding: 1.5rem 2rem 1.75rem !important;
    width: 80% !important;
  }
}
@media (min-width: 1024px) {
  body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .absolute.w-full.lg\:w-4\/5 {
    padding: 2rem 2.5rem 2.25rem !important;
    width: 70% !important;
  }
}
/* Featured title */
body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .truncate-1-lines {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
@media (min-width: 640px) {
  body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .truncate-1-lines {
    font-size: 1.65rem !important;
  }
}
@media (min-width: 1024px) {
  body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .truncate-1-lines {
    font-size: 2rem !important;
  }
}
/* Featured description */
body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .truncate-2-lines {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  opacity: 0.95 !important;
}
@media (min-width: 640px) {
  body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .truncate-2-lines {
    font-size: 1rem !important;
  }
}
/* Featured meta date chip */
body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .flex.mb-3 {
  margin-bottom: 0.65rem !important;
}
body.kr-blog-list-page .relative.w-full.flex.shadow-sm.mb-4.rounded-lg .flex.mb-3 > span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.2rem 0.65rem !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.18) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  color: #fff !important;
}

/* Grid spacing — the existing `grid-cols-4 sm:grid-cols-4 md:grid-cols-9` is awkward.
   Replace with a clean responsive 1/2/3 grid via overrides. */
body.kr-blog-list-page .grid.grid-cols-4.sm\:grid-cols-4.md\:grid-cols-9 {
  grid-template-columns: 1fr !important;
  gap: 1.25rem !important;
  margin-top: 1.25rem !important;
}
@media (min-width: 640px) {
  body.kr-blog-list-page .grid.grid-cols-4.sm\:grid-cols-4.md\:grid-cols-9 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }
}
@media (min-width: 1024px) {
  body.kr-blog-list-page .grid.grid-cols-4.sm\:grid-cols-4.md\:grid-cols-9 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.75rem !important;
  }
}
body.kr-blog-list-page .grid.grid-cols-4.sm\:grid-cols-4.md\:grid-cols-9 > div {
  grid-column: auto !important;
}

/* Grid card polish (BlogHorizontalItem.vue) */
body.kr-blog-list-page .rounded-lg.cursor-pointer.w-full.h-full.shadow-sm.overflow-hidden {
  border-radius: 0.875rem !important;
  border: 1px solid rgba(15,23,42,0.06) !important;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
html.dark body.kr-blog-list-page .rounded-lg.cursor-pointer.w-full.h-full.shadow-sm.overflow-hidden {
  border-color: rgba(255,255,255,0.06) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}
body.kr-blog-list-page .rounded-lg.cursor-pointer.w-full.h-full.shadow-sm.overflow-hidden:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px -8px rgba(15,23,42,0.16),
              0 3px 8px -3px rgba(15,23,42,0.08) !important;
}
body.kr-blog-list-page .rounded-lg.cursor-pointer.w-full.h-full.shadow-sm.overflow-hidden .h-56 {
  height: 12.5rem !important;
}
@media (min-width: 1024px) {
  body.kr-blog-list-page .rounded-lg.cursor-pointer.w-full.h-full.shadow-sm.overflow-hidden .h-56 {
    height: 14rem !important;
  }
}
/* Card title */
body.kr-blog-list-page .rounded-lg.cursor-pointer.w-full.h-full.shadow-sm.overflow-hidden .h-14.font-semibold.text-xl {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  height: auto !important;
  min-height: 2.8em !important;
  color: #0f172a !important;
}
html.dark body.kr-blog-list-page .rounded-lg.cursor-pointer.w-full.h-full.shadow-sm.overflow-hidden .h-14.font-semibold.text-xl {
  color: #f1f5f9 !important;
}

/* Card meta row */
body.kr-blog-list-page .rounded-lg.cursor-pointer.w-full.h-full.shadow-sm.overflow-hidden .flex.items-center.gap-2.mt-2 {
  font-size: 0.8rem !important;
  color: #64748b !important;
  margin-top: 0.5rem !important;
}
html.dark body.kr-blog-list-page .rounded-lg.cursor-pointer.w-full.h-full.shadow-sm.overflow-hidden .flex.items-center.gap-2.mt-2 {
  color: #94a3b8 !important;
}

/* Load more button polish */
body.kr-blog-list-page .mx-auto.mt-6 button,
body.kr-blog-list-page button.mx-auto.mt-6 {
  border-radius: 0.625rem !important;
  font-weight: 600 !important;
  padding: 0.7rem 1.5rem !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   User list (/user-list) — polished header + cleaner cards
   ────────────────────────────────────────────────────────────────────── */

body.kr-userlist-page .mt-32.mb-10 {
  max-width: 76rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1rem !important;
  margin-top: 5.25rem !important;
  margin-bottom: 3rem !important;
}
@media (min-width: 640px) {
  body.kr-userlist-page .mt-32.mb-10 {
    padding: 0 1.5rem !important;
    margin-top: 6.5rem !important;
  }
}
@media (min-width: 1024px) {
  body.kr-userlist-page .mt-32.mb-10 {
    padding: 0 2rem !important;
    margin-top: 7.5rem !important;
    margin-bottom: 4.5rem !important;
  }
}

/* Search input polish */
body.kr-userlist-page input[type="text"],
body.kr-userlist-page input[type="search"] {
  border-radius: 0.625rem !important;
  font-size: 0.9rem !important;
  border-color: rgba(15,23,42,0.10) !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}
body.kr-userlist-page input[type="text"]:focus,
body.kr-userlist-page input[type="search"]:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18) !important;
  outline: none !important;
}

/* Sort filter button rounding */
body.kr-userlist-page .h-10.w-10.sm\:w-auto.sm\:ps-4.ps-2\.5 {
  border-radius: 0.625rem !important;
}

/* User grid — keep the upstream cols (1/2/3), tighten gap */
body.kr-userlist-page .grid.lg\:grid-cols-3.sm\:grid-cols-2.grid-cols-1 {
  gap: 1.25rem !important;
  margin-top: 0.5rem !important;
}
@media (min-width: 1024px) {
  body.kr-userlist-page .grid.lg\:grid-cols-3.sm\:grid-cols-2.grid-cols-1 {
    gap: 1.5rem !important;
  }
}

/* User card — softer shadow, gentle hover lift */
body.kr-userlist-page .items-center.justify-center.shadow-sm.relative.border.rounded-lg {
  border-radius: 1rem !important;
  border: 1px solid rgba(15,23,42,0.07) !important;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s !important;
  padding: 1.5rem 1.25rem 1.25rem !important;
  background: #ffffff !important;
}
html.dark body.kr-userlist-page .items-center.justify-center.shadow-sm.relative.border.rounded-lg {
  background: #1f2937 !important;
  border-color: rgba(255,255,255,0.08) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}
body.kr-userlist-page .items-center.justify-center.shadow-sm.relative.border.rounded-lg:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px -8px rgba(15,23,42,0.14),
              0 3px 8px -3px rgba(15,23,42,0.08) !important;
  border-color: rgba(99,102,241,0.30) !important;
}
html.dark body.kr-userlist-page .items-center.justify-center.shadow-sm.relative.border.rounded-lg:hover {
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.5),
              0 3px 8px -3px rgba(0,0,0,0.35) !important;
  border-color: rgba(165,180,252,0.40) !important;
}

/* Avatar — slight ring */
body.kr-userlist-page .w-20.h-20.relative.cursor-pointer img,
body.kr-userlist-page .w-20.h-20.relative.cursor-pointer .rounded-full {
  border: 3px solid rgba(99,102,241,0.10) !important;
  box-shadow: 0 2px 6px rgba(15,23,42,0.10) !important;
}
html.dark body.kr-userlist-page .w-20.h-20.relative.cursor-pointer img,
html.dark body.kr-userlist-page .w-20.h-20.relative.cursor-pointer .rounded-full {
  border-color: rgba(99,102,241,0.20) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35) !important;
}

/* Verified blue mark — better contrast & sizing */
body.kr-userlist-page .w-8.h-8.bg-feInfo-500.rounded-full.p-1.absolute.bottom-0.right-0 {
  width: 1.5rem !important;
  height: 1.5rem !important;
  padding: 0.2rem !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 1px 3px rgba(15,23,42,0.20) !important;
}
html.dark body.kr-userlist-page .w-8.h-8.bg-feInfo-500.rounded-full.p-1.absolute.bottom-0.right-0 {
  border-color: #1f2937 !important;
}

/* Stats row inside card — visual separator */
body.kr-userlist-page .flex.items-center.gap-1.col-span-1 {
  padding: 0.4rem 0.75rem !important;
  border-radius: 999px !important;
  background: rgba(15,23,42,0.04) !important;
  margin-top: 0.25rem !important;
}
html.dark body.kr-userlist-page .flex.items-center.gap-1.col-span-1 {
  background: rgba(255,255,255,0.05) !important;
}

/* Follow button — make it consistent across breakpoints */
body.kr-userlist-page .h-9 {
  width: 100% !important;
  margin-top: 0.5rem !important;
}
body.kr-userlist-page .h-9 button {
  width: 100% !important;
  border-radius: 0.625rem !important;
  font-weight: 600 !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.85rem !important;
}

/* Breadcrumb spacing */
body.kr-userlist-page .flex.flex-col.sm\:flex-row.sm\:justify-between {
  gap: 0.75rem !important;
  margin-bottom: 0.5rem !important;
}

/* Load more button polish */
body.kr-userlist-page .font-medium.mx-auto.mt-6 {
  border-radius: 0.625rem !important;
  font-weight: 600 !important;
  padding: 0.7rem 1.5rem !important;
}

/* ===== kr-datamart-shell-style (orig line 7888) ===== */
/* When on a DataMart frontend page, hide all admin-layout chrome
   (sidebar + titlebar) and reset margins/padding so the storefront
   navbar (provided by PsFrontendLayout) sits at the top. */
body.kr-datamart-page aside,
body.kr-datamart-page [class*="SidebarMenu"],
body.kr-datamart-page nav.z-50.fixed:not([class*="z-\\[130\\]"]):not(.kr-keep) {
  /* careful not to hit the storefront nav (z-[130]) */
}

/* Specifically target PsLayout's sidebar (it's a fixed-left container) */
body.kr-datamart-page .min-h-screen.antialiased.flex.fixed,
body.kr-datamart-page .min-h-screen.antialiased.flex.fixed.ltr\:left-0,
body.kr-datamart-page .fixed[class*="left-0"][class*="ltr"],
body.kr-datamart-page .fixed.ltr\:left-0.rtl\:right-0,
body.kr-datamart-page .flex.fixed.ltr\:left-0,
body.kr-datamart-page .flex.fixed[class*="left-0"] {
  display: none !important;
}

/* Hide PsLayout's TitleBar (fixed at top, looks like an app header) */
body.kr-datamart-page .fixed > [class*="TitleBar"],
body.kr-datamart-page nav[class*="bg-secondary"]:not([class*="z-\\[130\\]"]):not(.kr-keep) {
  display: none !important;
}

/* Hide PsLayout's outermost flex-row container if it has the sidebar+content split.
   PsLayout renders `<div class="flex flex-row"><sidebar/><content/></div>`.
   The content has classes `xl:ms-76 ms-0` for sidebar offset. */
body.kr-datamart-page .xl\:ms-76,
body.kr-datamart-page .xl\:ms-20 {
  margin-inline-start: 0 !important;
  margin-left: 0 !important;
}

/* Restore page top spacing if PsLayout's pt-18 is in effect */
body.kr-datamart-page .pt-18 {
  padding-top: 5.5rem !important;
}

/* Constrain PsLayout's full-viewport content area */
body.kr-datamart-page .h-screen.pt-18,
body.kr-datamart-page .h-screen.transition-all {
  height: auto !important;
  min-height: 100vh !important;
}

/* The license-activate banner + version-update banner from PsLayout — also hide */
body.kr-datamart-page .flex.p-6.gap-4.bg-yellow-50.rounded.shadow.border-l-4 {
  display: none !important;
}

/* ── Push DataMart page content below the fixed storefront nav ─────────────
   BuyData/MyOrders use `mt-4` for their inner wrapper, but the fixed nav is
   ~64-96px tall, so the "Buy Data / My Orders" tabs are tucked behind it. */
body.kr-datamart-page .ps-main-content.max-w-2xl,
body.kr-datamart-page .ps-main-content.max-w-4xl,
body.kr-datamart-page .ps-main-content {
  margin-top: 5.25rem !important;   /* ~84px on mobile to clear the 2-row nav */
  padding-top: 0.5rem;
}
@media (min-width: 768px) {
  body.kr-datamart-page .ps-main-content.max-w-2xl,
  body.kr-datamart-page .ps-main-content.max-w-4xl,
  body.kr-datamart-page .ps-main-content {
    margin-top: 6rem !important;     /* ~96px on desktop nav */
  }
}
@media (min-width: 1024px) {
  body.kr-datamart-page .ps-main-content.max-w-2xl,
  body.kr-datamart-page .ps-main-content.max-w-4xl,
  body.kr-datamart-page .ps-main-content {
    margin-top: 7rem !important;     /* a bit more breathing room on lg */
  }
}

/* ===== kr-myorders-polish-style (orig line 8159) ===== */
/* Status pills */
body.kr-datamart-page .kr-mo-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
body.kr-datamart-page .kr-mo-pill-success {
  background: rgba(16,185,129,0.12); color: #047857;
}
body.kr-datamart-page .kr-mo-pill-danger {
  background: rgba(239,68,68,0.12); color: #b91c1c;
}
body.kr-datamart-page .kr-mo-pill-warn {
  background: rgba(245,158,11,0.14); color: #b45309;
}
body.kr-datamart-page .kr-mo-pill-info {
  background: rgba(59,130,246,0.12); color: #1d4ed8;
}
body.kr-datamart-page .kr-mo-pill-neutral {
  background: rgba(15,23,42,0.06); color: #475569;
}
html.dark body.kr-datamart-page .kr-mo-pill-success { background: rgba(16,185,129,0.22); color: #6ee7b7; }
html.dark body.kr-datamart-page .kr-mo-pill-danger  { background: rgba(239,68,68,0.22);  color: #fca5a5; }
html.dark body.kr-datamart-page .kr-mo-pill-warn    { background: rgba(245,158,11,0.22); color: #fcd34d; }
html.dark body.kr-datamart-page .kr-mo-pill-info    { background: rgba(59,130,246,0.22); color: #93c5fd; }
html.dark body.kr-datamart-page .kr-mo-pill-neutral { background: rgba(255,255,255,0.08); color: #cbd5e1; }

/* A bit more visual polish on the table itself */
body.kr-datamart-page table.w-full.text-sm thead th {
  font-size: 0.72rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b !important;
  white-space: nowrap;
}
body.kr-datamart-page table.w-full.text-sm tbody td {
  font-size: 0.875rem;
  color: #0f172a;
  padding: 0.85rem 1.25rem !important;
  vertical-align: middle;
}
html.dark body.kr-datamart-page table.w-full.text-sm thead th { color: #94a3b8 !important; }
html.dark body.kr-datamart-page table.w-full.text-sm tbody td { color: #e2e8f0; }

/* ── Empty state card ────────────────────────────────────────────────── */
body.kr-datamart-page .kr-mo-empty-wrap {
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.kr-datamart-page .kr-mo-empty {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 640px) {
  body.kr-datamart-page .kr-mo-empty { padding: 3rem 2rem; }
}
html.dark body.kr-datamart-page .kr-mo-empty {
  background: #1f2937;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body.kr-datamart-page .kr-mo-empty-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(99,102,241,0.10);
  color: #4f46e5;
  margin-bottom: 1rem;
}
body.kr-datamart-page .kr-mo-empty-icon svg { width: 28px; height: 28px; }
html.dark body.kr-datamart-page .kr-mo-empty-icon {
  background: rgba(99,102,241,0.20);
  color: #a5b4fc;
}
body.kr-datamart-page .kr-mo-empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
@media (min-width: 640px) {
  body.kr-datamart-page .kr-mo-empty-title { font-size: 1.5rem; }
}
html.dark body.kr-datamart-page .kr-mo-empty-title { color: #f1f5f9; }
body.kr-datamart-page .kr-mo-empty-body {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}
html.dark body.kr-datamart-page .kr-mo-empty-body { color: #cbd5e1; }
body.kr-datamart-page .kr-mo-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
body.kr-datamart-page .kr-mo-empty-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .15s, color .15s;
}
body.kr-datamart-page .kr-mo-empty-cta.primary {
  background: #10b981;
  color: #ffffff;
}
body.kr-datamart-page .kr-mo-empty-cta.primary:hover {
  background: #059669;
  transform: translateY(-1px);
}
body.kr-datamart-page .kr-mo-empty-cta.ghost {
  background: transparent;
  color: #4f46e5;
  border: 1px solid rgba(99,102,241,0.30);
}
body.kr-datamart-page .kr-mo-empty-cta.ghost:hover {
  background: rgba(99,102,241,0.08);
}
html.dark body.kr-datamart-page .kr-mo-empty-cta.ghost {
  color: #a5b4fc;
  border-color: rgba(165,180,252,0.30);
}
html.dark body.kr-datamart-page .kr-mo-empty-cta.ghost:hover {
  background: rgba(99,102,241,0.20);
}
body.kr-datamart-page .kr-mo-empty-perks {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 22rem;
}
html.dark body.kr-datamart-page .kr-mo-empty-perks {
  border-top-color: rgba(255,255,255,0.06);
}
body.kr-datamart-page .kr-mo-empty-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #475569;
}
html.dark body.kr-datamart-page .kr-mo-empty-perks li { color: #94a3b8; }
body.kr-datamart-page .kr-mo-empty-perks svg {
  width: 14px; height: 14px;
  color: #10b981;
  flex-shrink: 0;
}
html.dark body.kr-datamart-page .kr-mo-empty-perks svg { color: #34d399; }

/* ===== kr-login-callout-style (orig line 8443) ===== */
/* Modal overlay — centered dialog with backdrop */
.kr-login-callout {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: krCalloutFade .18s ease;
}
.kr-login-callout-leaving {
  animation: krCalloutFadeOut .18s ease forwards;
}
@keyframes krCalloutFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes krCalloutFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
.kr-login-callout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
}
.kr-login-callout-card {
  position: relative;
  width: 100%;
  max-width: 24rem;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.35),
              0 6px 18px -6px rgba(15, 23, 42, 0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: krCalloutCardIn .22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes krCalloutCardIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1);   }
}
html.dark .kr-login-callout-card {
  background: #1f2937;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6),
              0 6px 18px -6px rgba(0, 0, 0, 0.4);
}
.kr-login-callout-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(99,102,241,0.12);
  color: #4f46e5;
  margin-bottom: 1rem;
}
.kr-login-callout-icon svg { width: 26px; height: 26px; }
html.dark .kr-login-callout-icon {
  background: rgba(99,102,241,0.22);
  color: #a5b4fc;
}
.kr-login-callout-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}
@media (min-width: 480px) {
  .kr-login-callout-title { font-size: 1.2rem; }
}
html.dark .kr-login-callout-title { color: #f8fafc; }
.kr-login-callout-body {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}
html.dark .kr-login-callout-body { color: #cbd5e1; }
.kr-login-callout-okay {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  padding: 0.7rem 1.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.kr-login-callout-okay:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(79, 70, 229, 0.45);
}
.kr-login-callout-okay:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.40);
}
.kr-login-callout-okay:active {
  transform: translateY(0);
}

/* ===== kr-footer-social-style (orig line 8674) ===== */
.kr-footer-social-row {
  gap: 0.75rem !important;
}

.kr-footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform .18s ease;
  flex-shrink: 0;
}

.kr-footer-social-btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.kr-footer-social-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 20px -14px rgba(15, 23, 42, 0.9);
}

.kr-footer-social-btn[data-brand="whatsapp"]:hover {
  background: rgba(37, 211, 102, 0.95);
  border-color: rgba(37, 211, 102, 0.95);
}

.kr-footer-social-btn[data-brand="facebook"]:hover {
  background: rgba(24, 119, 242, 0.95);
  border-color: rgba(24, 119, 242, 0.95);
}

.kr-footer-social-btn[data-brand="instagram"]:hover {
  background: linear-gradient(135deg, rgba(249, 168, 37, 0.95), rgba(225, 48, 108, 0.95));
  border-color: rgba(225, 48, 108, 0.95);
}

.kr-footer-social-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

/* ===== anon-style-65 (orig line 8824) ===== */
/* Hide the top bar (PsNavTabBar) — location/download now in main nav */
nav.z-50 {
  display: none !important;
  height: 0 !important; max-height: 0 !important; min-height: 0 !important;
  overflow: hidden !important; padding: 0 !important; margin: 0 !important;
  opacity: 0 !important; pointer-events: none !important;
}
nav.z-40 { margin-top: 0 !important; top: 0 !important; }
nav.z-40.mt-10 { margin-top: 0 !important; }
nav.z-40.mt-0 { margin-top: 0 !important; }
/* Force dark mode on nav bar */
.dark nav.z-40,
html.dark nav.z-40 {
  background-color: #111827 !important;
  background: #111827 !important;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 1px 3px rgba(0,0,0,.3) !important;
}
.dark nav.z-40 *:not(.kr-download-btn):not(.kr-download-btn *):not(.bg-fePrimary-500):not(.bg-fePrimary-500 *) {
  color: #e5e7eb;
}
.dark nav.z-40 svg.cursor-pointer,
.dark nav.z-40 .cursor-pointer svg {
  color: #e5e7eb !important;
  stroke: #e5e7eb !important;
}
div.mt-10.z-30, div.mt-10.relative { margin-top: 0 !important; }
body > div > div.mt-\[104px\], body > div > div.mt-\[64px\] { margin-top: 64px !important; }
body > div > div.pt-\[104px\], body > div > div.pt-\[64px\] { padding-top: 64px !important; }

/* ── Nav action buttons container ── */
.kr-nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── Generic nav icon button ── */
.kr-nav-btn {
  display: flex; align-items: center; gap: 4px; cursor: pointer;
  padding: 4px 6px; border-radius: 8px; font-size: 13px; font-weight: 500;
  color: #1f2937; transition: background .15s, color .15s; white-space: nowrap;
}
.kr-nav-btn:hover { background: rgba(79,70,229,0.08); color: #4f46e5; }
.kr-nav-btn svg { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; }
.kr-nav-btn .kr-btn-text { display: inline; }
.dark .kr-nav-btn { color: #e5e7eb; }
.dark .kr-nav-btn:hover { background: rgba(79,70,229,0.15); color: #a5b4fc; }
.dark .kr-nav-btn svg { stroke: #e5e7eb; }
.dark .kr-nav-btn:hover svg { stroke: #a5b4fc; }

/* ── Login button styling ── */
.kr-nav-btn.kr-login-btn { color: #6366f1; font-weight: 600; }
.kr-nav-btn.kr-login-btn:hover { background: rgba(99,102,241,0.1); }
.dark .kr-nav-btn.kr-login-btn { color: #a5b4fc; }

/* ── Download button ── */
.kr-download-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer;
  background: #4f46e5; color: #fff;
  text-decoration: none; transition: background .15s, transform .1s; white-space: nowrap;
}
.kr-download-btn:hover { background: #4338ca; transform: scale(1.02); }
.kr-download-btn svg { width: 18px; height: 18px; flex-shrink: 0; fill: #fff; }
.dark .kr-download-btn { background: #6366f1; color: #fff; }
.dark .kr-download-btn:hover { background: #818cf8; }
.dark .kr-download-btn svg { fill: #fff; }


/* ── Responsive ── */
@media(max-width: 767px) {
  .kr-nav-btn .kr-btn-text { display: none; }
  .kr-nav-actions { gap: 6px; }
  .kr-download-btn { padding: 4px 8px; font-size: 11px; }
  .kr-download-btn .kr-dl-text { display: none; }
  .kr-nav-btn { padding: 4px; }
  .kr-nav-btn svg { width: 18px; height: 18px; }
  nav.z-40 .flex.gap-6.items-center { gap: 4px !important; }
}

/* ── Mobile hamburger menu ── */
@media (max-width: 767px) {
  nav.z-40.fixed { overflow: visible !important; z-index: 51 !important; }
  nav.z-40 > .border.border-b-2,
  nav.z-40 .border.border-b-2 {
    position: fixed !important;
    top: 68px !important;
    left: 12px !important; right: auto !important;
    width: 220px !important;
    margin-top: 0 !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06) !important;
    padding: 0 !important;
    animation: kr-menu-appear 0.15s ease-out !important;
    background: #ffffff !important;
    z-index: 9999 !important;
  }
  .dark nav.z-40 > .border.border-b-2,
  .dark nav.z-40 .border.border-b-2 {
    background: rgb(var(--color-feAchromatic-900, 17 24 39)) !important;
    border-color: rgba(255,255,255,0.1) !important;
  }
  nav.z-40 > .border.border-b-2 > .flex.flex-col {
    padding: 6px !important; gap: 0 !important;
  }
  nav.z-40 > .border.border-b-2 > .flex.flex-col > .h-10 {
    display: none !important;
  }
  nav.z-40 > .border.border-b-2 .px-4.py-2 {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important; font-weight: 500 !important;
    color: #1e293b !important;
    transition: background-color 0.15s ease !important;
    background: transparent !important;
  }
  nav.z-40 > .border.border-b-2 .px-4.py-2:hover {
    background: rgba(0,0,0,0.04) !important;
  }
  .dark nav.z-40 > .border.border-b-2 .px-4.py-2 {
    color: #e5e7eb !important;
  }
  .dark nav.z-40 > .border.border-b-2 .px-4.py-2:hover {
    background: rgba(255,255,255,0.06) !important;
  }
}

/* ── Profile dropdown ── */
nav.z-40 .relative.inline-block > .absolute.z-20 {
  border-radius: 12px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06) !important;
  overflow: hidden !important;
}
@media (max-width: 767px) {
  nav.z-40 .relative.inline-block > .absolute {
    right: -8px !important; left: auto !important;
    max-width: calc(100vw - 24px) !important;
  }
}
@keyframes kr-menu-appear {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== anon-style-67 (orig line 9147) ===== */
/* ── Hide original banner (Vue-rendered) ── */
.mt-24.w-full > .bg-feAchromatic-900.relative {
  display: none !important;
}
.mt-24.w-full > .bg-feAchromatic-900.relative + .absolute {
  display: none !important;
}
.mt-24.w-full {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ── Blog Slider ── */
#kr-blog-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  margin-top: 64px; /* exactly the fixed-nav height; 70px left a white strip */
  z-index: 1;
}
/* Kurom: hide blog title on home slider */
#kr-blog-slider .kr-slide-title { display: none !important; }
/* Kurom: desktop - full-width themed band (#kr-blog-band) with the slider
   centered to the 944/1128 home content width. The band carries the theme
   background so the offset area follows light/dark; the slider keeps its
   overflow:hidden clip at the content width so exactly one slide shows. */
@media (min-width: 1024px) {
  #kr-blog-band { width: 100%; background: rgb(var(--color-feAchromatic-50)); }
  html.dark #kr-blog-band { background: rgb(var(--color-feAchromatic-900)); }
  #kr-blog-slider { width: 944px; margin-left: auto; margin-right: auto; }
  #kr-blog-slider .kr-slide img { border-radius: 16px; }
}
@media (min-width: 1280px) {
  #kr-blog-slider { width: 1128px; }
}
#kr-blog-slider .kr-slides {


  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
#kr-blog-slider .kr-slide {


  min-width: 100%;
  position: relative;
}
#kr-blog-slider .kr-slide img {


  width: 100%;
  /* Match the box to the 2:1 banner so it fits with no crop, no bars,
     no distortion. Capped so it doesn't get too tall on wide screens
     (there it fills width and crops a sliver top/bottom via cover). */
  aspect-ratio: 2 / 1;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  opacity: 1;
}
#kr-blog-slider .kr-slide-overlay {


  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px 32px;
}
@media(min-width: 640px) {
  #kr-blog-slider .kr-slide-overlay { padding: 32px 48px 48px; }


}
@media(min-width: 1024px) {
  #kr-blog-slider .kr-slide-overlay { padding: 40px 80px 56px; }


}
#kr-blog-slider .kr-slide-title {


  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
@media(min-width: 640px) {
  #kr-blog-slider .kr-slide-title { font-size: 2rem; }


}
@media(min-width: 1024px) {
  #kr-blog-slider .kr-slide-title { font-size: 2.5rem; }


}
#kr-blog-slider .kr-slide-meta {


  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
#kr-blog-slider .kr-slide-btn {


  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 8px;
  background: #fff;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  width: fit-content;
}
#kr-blog-slider .kr-slide-btn:hover {


  background: #e0e7ff;
  transform: scale(1.03);
}
#kr-blog-slider .kr-blog-dots {


  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  z-index: 5;
}
#kr-blog-slider .kr-dot {
  /* 24px hit area (a11y touch target); visual dot stays 4px via content-box clip */
  width: 24px;
  height: 24px;
  padding: 10px;
  background: #fff;
  background-clip: content-box;
  border-radius: 50%;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  margin: 0;
  box-sizing: border-box;
}
#kr-blog-slider .kr-dot.active {


  opacity: 1;
  transform: scale(1.2);
}
#kr-blog-slider .kr-blog-arrow {


  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  backdrop-filter: blur(4px);
}
#kr-blog-slider .kr-blog-arrow:hover { background: rgba(255,255,255,0.35); }


#kr-blog-slider .kr-prev { left: 12px; }


#kr-blog-slider .kr-next { right: 12px; }


#kr-blog-slider .kr-blog-arrow svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.5; }


@media(max-width: 639px) {
  #kr-blog-slider .kr-blog-arrow { width: 32px; height: 32px; }


  #kr-blog-slider .kr-blog-arrow svg { width: 16px; height: 16px; }


}
.dark #kr-blog-slider { background: #0f172a; }


.dark #kr-blog-slider .kr-slide-btn { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.2); }


.dark #kr-blog-slider .kr-slide-btn:hover { background: rgba(255,255,255,0.25); }

/* ===== anon-style-69 (orig line 9636) ===== */
/* ── Subcategory horizontal scroll bar ── */
 .kr-subcat-bar {
   display: flex;
   gap: 8px;
   overflow-x: auto;
   padding: 6px 0 10px;
   margin: 0 0 12px;
   -webkit-overflow-scrolling: touch;
   scrollbar-width: none;
   scroll-snap-type: x mandatory;
 }
 .kr-subcat-bar::-webkit-scrollbar { display: none; }
 .kr-subcat-pill {
   flex: 0 0 auto;
   scroll-snap-align: start;
   padding: 6px 16px;
   border-radius: 999px;
   font-size: 13px;
   font-weight: 500;
   white-space: nowrap;
   cursor: pointer;
   transition: all 0.2s ease;
   text-decoration: none !important;
   display: inline-flex;
   align-items: center;
   border: 1px solid rgb(var(--color-feAchromatic-200, 226 232 240));
   background: rgb(var(--color-feAchromatic-50, 255 255 255));
   color: rgb(var(--color-feSecondary-800, 30 41 59));
 }
 .kr-subcat-pill:hover {
   border-color: rgb(var(--color-fePrimary-500, 99 102 241));
   color: rgb(var(--color-fePrimary-500, 99 102 241));
 }
 .kr-subcat-pill.active {
   background: rgb(var(--color-fePrimary-500, 99 102 241));
   color: #fff;
   border-color: rgb(var(--color-fePrimary-500, 99 102 241));
 }
 /* Dark mode */
 .dark .kr-subcat-pill {
   border-color: rgba(255,255,255,0.12);
   background: rgb(var(--color-feSecondary-800, 30 41 59));
   color: rgb(var(--color-feSecondary-200, 203 213 225));
 }
 .dark .kr-subcat-pill:hover {
   border-color: rgb(var(--color-fePrimary-500, 99 102 241));
   color: rgb(var(--color-fePrimary-500, 99 102 241));
 }
 .dark .kr-subcat-pill.active {
   background: rgb(var(--color-fePrimary-500, 99 102 241));
   color: #fff;
   border-color: rgb(var(--color-fePrimary-500, 99 102 241));
 }
 @media (max-width: 640px) {
   .kr-subcat-pill { padding: 5px 12px; font-size: 12px; }
 }

/* ===== anon-style-72 (orig line 9861) ===== */
/* ── Item list — force 2-column product grid ── */
.kr-item-list-page .grid[class*="grid-cols-4"] {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 !important;
}
.kr-item-list-page .grid[class*="grid-cols-4"] > div[class*="col-span-4"] {
  grid-column: span 1 !important;
}

/* Card cleanup for 2-col */
.kr-item-list-page .grid[class*="grid-cols-4"] > div[class*="col-span-4"] > div {
  border-radius: 10px !important;
  overflow: hidden;
}

/* Dark mode borders */
.dark .kr-item-list-page .grid[class*="grid-cols-4"] > div[class*="col-span-4"] > div {
  border-color: rgba(255,255,255,0.08) !important;
}

/* Mobile tighter gap */
@media (max-width: 640px) {
  .kr-item-list-page .grid[class*="grid-cols-4"] {
    gap: 0 !important;
  }
}

/* ===== anon-style-74 (orig line 9903) ===== */
/* ── Category page — force 3-column card grid ── */
 .kr-category-page .grid[class*="grid-cols-4"] {
   grid-template-columns: repeat(3, 1fr) !important;
   gap: 6px !important;
 }
 .kr-category-page .grid[class*="grid-cols-4"] > div {
   grid-column: span 1 !important;
   max-width: 100% !important;
 }

 /* Card styling — clean & theme-aware */
 .kr-category-page .grid[class*="grid-cols-4"] > div > a > div {
   border-radius: 12px !important;
   overflow: hidden;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
 }
 .kr-category-page .grid[class*="grid-cols-4"] > div > a > div:hover {
   transform: translateY(-2px);
   box-shadow: 0 4px 16px rgba(0,0,0,0.1);
 }

 /* Image area height */
 .kr-category-page [class*="h-44"] {
   height: 152px !important;
 }

 /* Category name label */
 .kr-category-page [class*="h-20"][class*="pt-9"] {
   height: auto !important;
   padding: 10px 6px 12px !important;
   font-size: 12px !important;
   font-weight: 600 !important;
   line-height: 1.25 !important;
 }

 /* Icon circle overlay — hidden */
 .kr-category-page [class*="w-14"][class*="h-14"][class*="absolute"] {
   display: none !important;
 }

 /* Dark mode adjustments */
 .dark .kr-category-page .grid[class*="grid-cols-4"] > div > a > div {
   border-color: rgba(255,255,255,0.08) !important;
 }
 .dark .kr-category-page .grid[class*="grid-cols-4"] > div > a > div:hover {
   box-shadow: 0 4px 16px rgba(0,0,0,0.3);
 }

 /* Mobile — 3 cols tighter */
 @media (max-width: 640px) {
   .kr-category-page .grid[class*="grid-cols-4"] {
     gap: 6px !important;
   }
   .kr-category-page [class*="h-44"] {
     height: 112px !important;
   }
   .kr-category-page [class*="h-20"][class*="pt-9"] {
     font-size: 11.5px !important;
     line-height: 1.2 !important;
     padding: 8px 4px 10px !important;
   }
 }

/* ===== anon-style-76 (orig line 9982) ===== */
/* ===== Item Detail — Clean Mobile UI ===== */

 /* --- Reduce huge top margins --- */
 .kr-item-detail .mt-32.mb-10 {
 margin-top: 4.5rem !important;
 margin-bottom: 2rem !important;
 }
 .kr-item-detail .mt-32.mb-10 > .mb-4.mt-24 {
 margin-top: 0.5rem !important;
 margin-bottom: 0.75rem !important;
 }

 /* --- Hide breadcrumb on small mobile --- */
 @media (max-width: 639px) {
 .kr-item-detail .mt-32.mb-10 > .mb-4 nav,
 .kr-item-detail .mt-32.mb-10 > .mb-4 ol {
 display: none !important;
 }
 }

 /* --- Share & Report smaller, muted --- */
 .kr-item-detail .mt-32 .flex.items-center.gap-7.self-end {
 gap: 1rem !important;
 opacity: 0.7;
 font-size: 0.8rem !important;
 }

 /* --- Gallery: clean layout, horizontal thumbnails below --- */

 /* Wrapper: stack vertically, no overlay positioning */
 .kr-item-detail .wrapper.relative.rounded-lg.overflow-hidden {
     position: relative;
     border-radius: 12px;
     overflow: visible !important;
 }
 @media (max-width: 639px) {
     .kr-item-detail .wrapper.relative.rounded-lg.overflow-hidden {
         border-radius: 0 !important;
         margin-left: -12px;
         margin-right: -12px;
         width: calc(100% + 24px) !important;
     }
 }

 /* Main image area */
 .kr-item-detail .wrapper > .border.rounded-lg {
     border: none !important;
     border-radius: 12px !important;
     overflow: hidden;
 }
 @media (max-width: 639px) {
     .kr-item-detail .wrapper > .border.rounded-lg {
         border-radius: 0 !important;
     }
 }
 @media (min-width: 640px) {
   .kr-item-detail .wrapper .splide__slide img,
   .kr-item-detail .wrapper .splide__slide .ps-lazy-image {
       aspect-ratio: 4 / 3;
       object-fit: cover;
       width: 100%;
       height: 100%;
   }
 }

 /* Thumbnails strip: reposition from overlay to below */
 .kr-item-detail .wrapper > .absolute.bottom-4.left-4 {
     position: relative !important;
     bottom: auto !important;
     left: auto !important;
     width: 100% !important;
     margin-top: 8px;
     padding: 0 4px;
 }

 /* Force thumbnail Splide to horizontal */
 .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide {
     height: auto !important;
 }
 .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide__track {
     height: auto !important;
 }
 .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide__list {
     display: flex !important;
     flex-direction: row !important;
     height: auto !important;
     gap: 6px !important;
 }
 .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide__slide {
     width: 60px !important;
     height: 56px !important;
     min-width: 60px !important;
     flex-shrink: 0;
 }
 .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide__slide img {
     width: 60px !important;
     height: 56px !important;
     object-fit: cover;
     border-radius: 6px !important;
     border: 2px solid transparent;
     transition: border-color 0.2s, opacity 0.2s;
     opacity: 0.6;
     cursor: pointer;
 }
 .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide__slide.is-active img {
     border-color: #16a34a !important;
     opacity: 1;
 }
 @media (max-width: 639px) {
     .kr-item-detail .wrapper > .absolute.bottom-4.left-4 {
         padding: 0 12px;
     }
     .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide__slide {
         width: 52px !important;
         height: 38px !important;
         min-width: 52px !important;
     }
     .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide__slide img {
         width: 52px !important;
         height: 38px !important;
     }
 }

 /* Hide Splide arrows and pagination on thumbs strip */
 .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide__arrows,
 .kr-item-detail .wrapper > .absolute.bottom-4.left-4 .splide__pagination {
     display: none !important;
 }

 /* --- Grid gap --- */
 @media (max-width: 639px) {
 .kr-item-detail .grid.grid-cols-1.sm\:grid-cols-12 {
 gap: 0 !important;
 }
 }

 /* --- PsCard: remove heavy shadows, clean borders --- */
 .kr-item-detail [class*="ps-card"],
 .kr-item-detail .flex.w-full.flex-col.lg\:rounded-lg.shadow-sm {
 box-shadow: none !important;
 }
 .kr-item-detail .bg-feAchromatic-50.flex-col.lg\:rounded-lg {
 background: #fff !important;
 }
 .dark .kr-item-detail .bg-feAchromatic-50.flex-col.lg\:rounded-lg {
 background: rgb(var(--color-feAchromatic-900)) !important;
 }

 /* --- Price card inner container --- */
 .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.rounded-lg.border {
 padding: 16px !important;
 border-radius: 14px !important;
 border: 1px solid #eee !important;
 background: #fff !important;
 }
 .dark .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.rounded-lg.border {
 border-color: rgba(255,255,255,.08) !important;
 background: rgb(var(--color-feAchromatic-900)) !important;
 }

 /* Price text: bigger, bolder */
 .kr-item-detail .text-4xl.font-semibold {
 font-size: 2.25rem !important;
 font-weight: 800 !important;
 letter-spacing: -0.02em;
 }

 /* Bigger, prominent price + product name on mobile (match the app item detail) */
 @media (max-width: 639px) {
   .kr-item-detail .kr-item-summary-host .text-fePrimary-500.font-bold {
     font-size: 30px !important;
     line-height: 1.1 !important;
     letter-spacing: -0.02em !important;
   }
   .kr-item-detail .kr-item-summary-host p.mt-4.text-base.font-normal.text-feSecondary-600 {
     font-size: 18px !important;
     font-weight: 700 !important;
     line-height: 1.3 !important;
     color: #111827 !important;
     margin-top: 10px !important;
     white-space: normal !important;
   }
   html.dark .kr-item-detail .kr-item-summary-host p.mt-4.text-base.font-normal.text-feSecondary-600 {
     color: #f8fafc !important;
   }
 }

 /* Item title in price area */
 .kr-item-detail .mt-4.text-base.font-normal {
 color: #111 !important;
 font-weight: 600 !important;
 font-size: 1.05rem !important;
 line-height: 1.4 !important;
 }
 .dark .kr-item-detail .mt-4.text-base.font-normal {
 color: rgb(var(--color-feAchromatic-50)) !important;
 }

 /* Location & date labels in price card */
 .kr-item-detail .text-sm.font-normal.text-feSecondary-600 {
 color: #666 !important;
 font-size: 0.8rem !important;
 }
 .dark .kr-item-detail .text-sm.font-normal.text-feSecondary-600 {
 color: #9ca3af !important;
 }

 /* --- Favourite / heart button: circle --- */
 .kr-item-detail .mt-32 .bg-feAchromatic-50.text-fePrimary-500.border {
 border-radius: 50% !important;
 width: 44px !important;
 height: 56px !important;
 display: flex !important;
 align-items: center !important;
 justify-content: center !important;
 border: 1px solid #eee !important;
 flex-shrink: 0;
 }
 .dark .kr-item-detail .mt-32 .bg-feAchromatic-50.text-fePrimary-500.border {
 border-color: rgba(255,255,255,.1) !important;
 background: rgb(var(--color-feAchromatic-900)) !important;
 }

 /* --- Single/Multi item indicator: softer --- */
 .kr-item-detail .flex.items-center.gap-3.mt-4 {
 margin-top: 1rem !important;
 padding: 8px 0 !important;
 }
 .kr-item-detail .text-base.font-semibold.text-feSecondary-600 {
 color: #444 !important;
 font-weight: 500 !important;
 font-size: 0.9rem !important;
 }
 .dark .kr-item-detail .text-base.font-semibold.text-feSecondary-600 {
 color: #9ca3af !important;
 }

 /* --- Info cards (details, description, other info): cleaner --- */
 .kr-item-detail .bg-feSecondary-50.rounded-lg {
 background: #f9f9f9 !important;
 border-radius: 14px !important;
 border: 1px solid #f0f0f0 !important;
 padding: 16px !important;
 }
 .dark .kr-item-detail .bg-feSecondary-50.rounded-lg {
 background: rgba(255,255,255,.04) !important;
 border-color: rgba(255,255,255,.06) !important;
 }
 .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4 {
 padding: 16px !important;
 }
 .kr-item-detail .col-span-8.mt-6 .bg-feSecondary-50.rounded-lg {
 padding: 16px !important;
 }

 /* Section headings inside info cards */
 .kr-item-detail .text-xl.font-semibold.text-feSecondary-800 {
 font-size: 1rem !important;
 font-weight: 700 !important;
 color: #111 !important;
 text-transform: uppercase;
 letter-spacing: 0.04em;
 }
 .dark .kr-item-detail .text-xl.font-semibold.text-feSecondary-800 {
 color: rgb(var(--color-feAchromatic-50)) !important;
 }

 /* Description text */
 .kr-item-detail .whitespace-pre-line {
 color: #333 !important;
 font-size: 0.875rem !important;
 line-height: 1.6 !important;
 }
 .dark .kr-item-detail .whitespace-pre-line {
 color: #d1d5db !important;
 }

 /* Details grid labels */
 .kr-item-detail .text-base.font-medium.text-feSecondary-800 {
 color: #222 !important;
 font-weight: 600 !important;
 font-size: 0.85rem !important;
 }
 .dark .kr-item-detail .text-base.font-medium.text-feSecondary-800 {
 color: #e5e7eb !important;
 }
 .kr-item-detail .text-sm.font-normal.text-feSecondary-600.whitespace-pre-line,
 .kr-item-detail .text-sm.font-normal.text-feSecondary-600 {
 color: #555 !important;
 }
 .dark .kr-item-detail .text-sm.font-normal.text-feSecondary-600.whitespace-pre-line,
 .dark .kr-item-detail .text-sm.font-normal.text-feSecondary-600 {
 color: #9ca3af !important;
 }

 /* --- Spacing between sections on mobile --- */
 @media (max-width: 639px) {
 .kr-item-detail .col-span-1.sm\:col-span-7 > .mt-6,
 .kr-item-detail .col-span-1.sm\:col-span-7 > div > .mt-6 {
 margin-top: 0.75rem !important;
 }
 .kr-item-detail .col-span-1.sm\:col-span-7 > div.mt-6.sm\:hidden {
 margin-top: 0.75rem !important;
 }
 }

 /* --- Learn More links section: borderless, clean --- */
 .kr-item-detail .border-2.border-feSecondary-200.rounded-md {
 border: none !important;
 border-radius: 14px !important;
 background: #f9f9f9 !important;
 margin-top: 0.75rem !important;
 padding: 4px 8px !important;
 overflow: hidden;
 }
 .dark .kr-item-detail .border-2.border-feSecondary-200.rounded-md {
 background: rgba(255,255,255,.04) !important;
 }
 /* Individual learn-more items */
 .kr-item-detail .flex.items-center.hover\:text-fePrimary-500.pl-4.pt-2.pb-3.cursor-pointer {
 padding: 10px 12px !important;
 border-radius: 10px;
 transition: background 0.15s;
 }
 .kr-item-detail .flex.items-center.hover\:text-fePrimary-500.pl-4.pt-2.pb-3.cursor-pointer:hover {
 background: #f0f0f0;
 }
 .dark .kr-item-detail .flex.items-center.hover\:text-fePrimary-500.pl-4.pt-2.pb-3.cursor-pointer:hover {
 background: rgba(255,255,255,.06);
 }

 /* --- Vendor Profile Card: modern compact --- */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 {
 border: 1px solid #eee !important;
 border-radius: 14px !important;
 box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
 padding: 14px !important;
 }
 .dark .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 {
 border-color: rgba(255,255,255,.08) !important;
 box-shadow: 0 1px 4px rgba(0,0,0,.2) !important;
 }
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .w-20.h-20 {
 width: 56px !important;
 height: 56px !important;
 }
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .w-20.h-20 img {
 width: 56px !important;
 height: 56px !important;
 }

 /* --- Location Card: cleaner --- */
 .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg {
 border-radius: 14px !important;
 border: 1px solid #f0f0f0 !important;
 padding: 14px !important;
 background: #f9f9f9 !important;
 }
 .dark .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg {
 background: rgba(255,255,255,.04) !important;
 border-color: rgba(255,255,255,.06) !important;
 }

 /* --- Statistics Card: cleaner border --- */
 .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.border.rounded-lg {
 border: 1px solid #eee !important;
 border-radius: 14px !important;
 padding: 14px !important;
 }
 .dark .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.border.rounded-lg {
 border-color: rgba(255,255,255,.08) !important;
 }

 /* --- Chat/Action buttons: modern --- */
 .kr-item-detail .mt-7 button,
 .kr-item-detail .mt-7 [class*="ps-button"] {
 border-radius: 12px !important;
 font-weight: 600 !important;
 padding: 10px 20px !important;
 }
 .kr-item-detail .mt-7 .flex.flex-grow {
 width: 100% !important;
 }

 /* --- Related Items heading: cleaner --- */
 .kr-item-detail .text-2xl.font-semibold.text-feSecondary-800 {
 font-size: 1.15rem !important;
 font-weight: 700 !important;
 color: #111 !important;
 text-transform: uppercase;
 letter-spacing: 0.04em;
 }
 .dark .kr-item-detail .text-2xl.font-semibold.text-feSecondary-800 {
 color: rgb(var(--color-feAchromatic-50)) !important;
 }

 /* View All button: minimal */
 .kr-item-detail .border.border-feSecondary-200.rounded.shadow-sm {
 border-radius: 10px !important;
 box-shadow: none !important;
 border: 1px solid #ddd !important;
 padding: 6px 14px !important;
 }
 .dark .kr-item-detail .border.border-feSecondary-200.rounded.shadow-sm {
 border-color: rgba(255,255,255,.12) !important;
 }

 /* --- Warning banner: cleaner --- */
 .kr-item-detail .bg-feWarning-100.rounded-lg {
 border-radius: 12px !important;
 }

 /* --- Qty stepper: modern --- */
 .kr-item-detail .flex.border.rounded.overflow-hidden {
 border-radius: 10px !important;
 border: 1px solid #ddd !important;
 }
 .dark .kr-item-detail .flex.border.rounded.overflow-hidden {
 border-color: rgba(255,255,255,.12) !important;
 }
 .kr-item-detail .flex.border.rounded.overflow-hidden span {
 display: flex;
 align-items: center;
 justify-content: center;
 }

 /* --- Right sidebar (desktop) --- */
 @media (min-width: 640px) {
 .kr-item-detail .col-span-1.sm\:col-span-5 > .mt-6 {
 margin-top: 1rem !important;
 }
 .kr-item-detail .col-span-1.sm\:col-span-5 .border-2.border-feSecondary-200 {
 border: none !important;
 background: #f9f9f9 !important;
 border-radius: 14px !important;
 padding: 4px 8px !important;
 }
 .dark .kr-item-detail .col-span-1.sm\:col-span-5 .border-2.border-feSecondary-200 {
 background: rgba(255,255,255,.04) !important;
 }
 }

 .kr-item-detail .mt-6.mb-26.sm\:mb-0 .splide__slide {
 margin-right: 6px !important;
 }

 /* --- Mobile bottom margin for related items --- */
 @media (max-width: 639px) {
 .kr-item-detail .mt-6.mb-26 {
 margin-bottom: 2rem !important;
 }
 }

 /* --- Overall typography polish --- */
 .kr-item-detail .text-lg.font-semibold {
 color: #333 !important;
 }
 .dark .kr-item-detail .text-lg.font-semibold {
 color: #e5e7eb !important;
 }
 .kr-item-detail .text-feInfo-500 {
 color: #888 !important;
 font-size: 0.8rem !important;
 }
 .dark .kr-item-detail .text-feInfo-500 {
 color: #6b7280 !important;
 }
 .kr-item-detail .mt-32 .text-fePrimary-500.cursor-pointer {
 font-size: 0.8rem !important;
 }

 /* --- Smooth transitions (scoped: exclude nav) --- */
 .kr-item-detail .mt-32 .border,
 .kr-item-detail .mt-32 .shadow-sm,
 .kr-item-detail .mt-32 .rounded-lg {
 transition: box-shadow 0.2s, border-color 0.2s;
 }

 /* --- Mobile container tighter padding --- */
 @media (max-width: 639px) {
 .kr-item-detail .mt-32 .px-4 {
 padding-left: 12px !important;
 padding-right: 12px !important;
 }
 }
 
 /* === NAV PROTECTION: Undo any item-detail bleed into nav === */
 .kr-item-detail nav.z-40 .border.border-b-2,
 .kr-item-detail nav.z-40 > .border.border-b-2,
 .kr-item-detail nav.z-40 .border.border-b-2 > .flex.flex-col {
   transition: none !important;
 }
 .kr-item-detail nav.z-40 .border.border-b-2 .px-4.py-2 {
   padding-left: 1rem !important;
   padding-right: 1rem !important;
   padding-top: 0.5rem !important;
   padding-bottom: 0.5rem !important;
   font-size: 14px !important;
   font-weight: 500 !important;
   color: #1e293b !important;
   opacity: 1 !important;
   border-radius: 8px !important;
   background: transparent !important;
   border: none !important;
   box-shadow: none !important;
   transition: background-color 0.15s ease !important;
 }
 .dark .kr-item-detail nav.z-40 .border.border-b-2 .px-4.py-2 {
   color: #e5e7eb !important;
 }
 .kr-item-detail nav.z-40 .border.border-b-2 .px-4.py-2:hover {
   background: rgba(0,0,0,0.04) !important;
 }
 .dark .kr-item-detail nav.z-40 .border.border-b-2 .px-4.py-2:hover {
   background: rgba(255,255,255,0.06) !important;
 }
 /* Ensure the mobile menu panel itself renders correctly on item detail */
 @media (max-width: 767px) {
   .kr-item-detail nav.z-40 .border.border-b-2 {
     position: fixed !important;
     width: 200px !important;
     height: auto !important;
     max-height: 80vh !important;
     overflow-y: auto !important;
     background: #ffffff !important;
     border: 1px solid rgba(0,0,0,0.08) !important;
     border-radius: 12px !important;
     box-shadow: 0 4px 20px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06) !important;
     padding: 0 !important;
     z-index: 9999 !important;
     align-items: stretch !important;
     justify-content: flex-start !important;
     flex-shrink: 1 !important;
   }
   .dark .kr-item-detail nav.z-40 .border.border-b-2 {
     background: rgb(var(--color-feAchromatic-900)) !important;
     border-color: rgba(255,255,255,0.08) !important;
   }
   .kr-item-detail nav.z-40 .border.border-b-2 > .flex.flex-col {
     padding: 6px !important;
     gap: 0 !important;
   }
   .kr-item-detail nav.z-40 .border.border-b-2 > .flex.flex-col > .h-10 {
     display: none !important;
   }
   .kr-item-detail nav.z-40 .px-4 {
     padding-left: 1rem !important;
     padding-right: 1rem !important;
   }
 }
 /* Desktop nav links on item detail */
 @media (min-width: 768px) {
   .kr-item-detail nav.z-40 .md\:flex.gap-6 .px-4.py-2 {
     opacity: 1 !important;
     font-size: inherit !important;
     color: inherit !important;
   }
   .kr-item-detail nav.z-40 .flex.gap-6.items-center {
     opacity: 1 !important;
     gap: inherit !important;
   }
 }
 /* Profile dropdown on item detail */
 .kr-item-detail nav.z-40 .relative.inline-block > .absolute.z-20 {
   border-radius: 12px !important;
   overflow: hidden !important;
 }
 .kr-item-detail nav.z-40 .w-\[280px\] .w-full.flex.p-4 {
   padding: 10px 16px !important;
   opacity: 1 !important;
   font-size: inherit !important;
   color: inherit !important;
 }

 /* Catch-all: reset nav link/icon styles leaked by item-detail rules */
 .kr-item-detail nav.z-40 a,
 .kr-item-detail nav.z-40 span,
 .kr-item-detail nav.z-40 ps-route-link,
 .kr-item-detail nav.z-40 svg {
   font-size: revert !important;
   opacity: revert !important;
 }

/* ===== kr-detail-v2 (orig line 10570) ===== */
/* ===== 1. APPBAR THEME AWARENESS ===== */
 /* The Vue navbar already has dark: classes. This ensures the custom nav actions
    and any injected appbar elements respect dark mode properly. */
 .dark nav.z-40 {
   background: rgb(var(--color-feAchromatic-900)) !important;
   border-bottom: 1px solid rgba(255,255,255,.06);
 }
 .dark nav.z-40 .kr-nav-btn {
   color: #e5e7eb !important;
 }
 .dark nav.z-40 .kr-nav-btn:hover {
   color: #a5b4fc !important;
   background: rgba(99,102,241,.12) !important;
 }
 .dark nav.z-40 .kr-nav-btn svg {
   stroke: #e5e7eb !important;
 }
 .dark nav.z-40 .kr-nav-btn:hover svg {
   stroke: #a5b4fc !important;
 }
 /* Breadcrumb area in dark mode */
 .dark .kr-item-detail nav ol li span,
 .dark .kr-item-detail nav ol li a {
   color: #9ca3af !important;
 }

 /* ===== 2. MOBILE GALLERY: 1 IMAGE PER SLIDE (FIXED) ===== */
 /* Splide focus:'center' shows adjacent slides. Fix: overflow:hidden + forced widths */
 @media (max-width: 639px) {
   /* Container: fixed height, clip overflow */
   .kr-item-detail .wrapper > .h-\[400px\],
   .kr-item-detail .wrapper > .border.rounded-lg,
   .kr-item-detail .wrapper > div[class*="h-[400px]"] {
     height: 75vw !important;
     max-height: 400px;
     overflow: hidden !important;
   }
   /* Splide root: clip so adjacent slides are invisible */
   .kr-item-detail .wrapper .splide {
     height: 75vw !important;
     max-height: 400px;
     overflow: hidden !important;
   }
   .kr-item-detail .wrapper .splide__track {
     height: 100% !important;
     overflow: hidden !important;
   }
   .kr-item-detail .wrapper .splide__list {
     height: 100% !important;
   }
   /* Each slide: force full width so only 1 is visible */
   .kr-item-detail .wrapper .splide__slide {
     width: 100vw !important;
     min-width: 100vw !important;
     height: 75vw !important;
     max-height: 400px;
     flex-shrink: 0 !important;
   }
   /* Images: fill the slide, contain to show full image */
   .kr-item-detail .wrapper .splide__slide img,
   .kr-item-detail .wrapper .splide__slide .ps-lazy-image,
   .kr-item-detail .wrapper .splide__slide .ps-lazy-image img {
     width: 100% !important;
     height: 100% !important;
     object-fit: contain !important;
     background: #1a1a2e;
   }
   .dark .kr-item-detail .wrapper .splide__slide img,
   .dark .kr-item-detail .wrapper .splide__slide .ps-lazy-image,
   .dark .kr-item-detail .wrapper .splide__slide .ps-lazy-image img {
     background: #111827;
   }
   /* Pagination dots */
   .kr-item-detail .wrapper .splide__pagination {
     display: flex !important;
     position: absolute;
     bottom: 10px;
     left: 50%;
     transform: translateX(-50%);
     gap: 5px;
     z-index: 5;
   }
   .kr-item-detail .wrapper .splide__pagination__page {
     width: 8px !important; height: 8px !important;
     border-radius: 50% !important;
     background: rgba(255,255,255,0.4) !important;
     border: none !important;
     opacity: 1 !important;
   }
   .kr-item-detail .wrapper .splide__pagination__page.is-active {
     background: #4f46e5 !important;
     transform: scale(1.3);
   }
   /* Hide thumbnail strip on mobile */
   .kr-item-detail .wrapper > .absolute.bottom-4.left-4 {
     display: none !important;
   }
 }
 /* Desktop: normal cover images */
 @media (min-width: 640px) {
   .kr-item-detail .wrapper .splide__slide img,
   .kr-item-detail .wrapper .splide__slide .ps-lazy-image {
     object-fit: cover;
   }
 }

 /* ===== 3. SHARE ICON NEXT TO FAVOURITE ===== */
 /* Hide the original share & report text links at top */
 .kr-item-detail .flex.items-center.gap-7.self-end {
   display: none !important;
 }

 /* Share button injected next to favourite — styled as circle */
 .kr-share-btn {
   border-radius: 50% !important;
   width: 44px !important;
   height: 44px !important;
   display: flex !important;
   align-items: center !important;
   justify-content: center !important;
   border: 1px solid #eee !important;
   background: #fff !important;
   cursor: pointer;
   flex-shrink: 0;
   transition: background .15s, border-color .15s;
   padding: 0 !important;
 }
 .kr-share-btn:hover {
   background: #f5f3ff !important;
   border-color: #c4b5fd !important;
 }
 .kr-share-btn svg {
   width: 22px; height: 22px;
   stroke: #6366f1; fill: none; stroke-width: 2;
   stroke-linecap: round; stroke-linejoin: round;
 }
 .dark .kr-share-btn {
   background: rgb(var(--color-feAchromatic-900)) !important;
   border-color: rgba(255,255,255,.1) !important;
 }
 .dark .kr-share-btn:hover {
   background: rgba(99,102,241,.12) !important;
   border-color: rgba(99,102,241,.3) !important;
 }
 .dark .kr-share-btn svg {
   stroke: #a5b4fc;
 }

 /* Fav + Share container */
 .kr-fav-share-row {
   display: flex;
   align-items: center;
   gap: 8px;
 }

 /* ===== 4. CALL BUTTON NEXT TO CHAT ===== */
 .kr-call-btn {
   display: flex !important;
   align-items: center !important;
   justify-content: center !important;
   gap: 6px;
   padding: 10px 20px !important;
   border-radius: 12px !important;
   font-weight: 600 !important;
   font-size: 1rem;
   cursor: pointer;
   background: #16a34a !important;
   color: #fff !important;
   border: none !important;
   transition: background .15s, transform .1s;
   text-decoration: none;
   flex: 1;
   min-width: 0;
 }
 .kr-call-btn:hover {
   background: #15803d !important;
   transform: scale(1.01);
 }
 .kr-call-btn svg {
   width: 20px; height: 20px;
   stroke: #fff; fill: none; stroke-width: 2;
   stroke-linecap: round; stroke-linejoin: round;
   flex-shrink: 0;
 }
 .dark .kr-call-btn {
   background: #22c55e !important;
   color: #fff !important;
 }
 .dark .kr-call-btn:hover {
   background: #16a34a !important;
 }

 /* ── Call Modal ── */
 .kr-call-overlay {
   position: fixed; inset: 0; z-index: 9999;
   background: rgba(0,0,0,0.5);
   display: flex; align-items: center; justify-content: center;
   animation: kr-fade-in .2s ease;
   backdrop-filter: blur(2px);
 }
 @keyframes kr-fade-in { from { opacity: 0; } to { opacity: 1; } }
 @keyframes kr-slide-up { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

 .kr-call-modal {
   background: #fff;
   border-radius: 20px;
   padding: 28px 24px;
   width: 90%; max-width: 340px;
   text-align: center;
   box-shadow: 0 20px 60px rgba(0,0,0,0.2);
   animation: kr-slide-up .25s ease;
   position: relative;
 }
 .dark .kr-call-modal {
   background: #1f2937;
   box-shadow: 0 20px 60px rgba(0,0,0,0.5);
 }
 .kr-call-modal-close {
   position: absolute; top: 12px; right: 14px;
   width: 30px; height: 30px;
   border-radius: 50%; border: none;
   background: #f3f4f6; color: #6b7280;
   font-size: 18px; cursor: pointer;
   display: flex; align-items: center; justify-content: center;
   transition: background .15s;
 }
 .kr-call-modal-close:hover { background: #e5e7eb; }
 .dark .kr-call-modal-close { background: #374151; color: #9ca3af; }
 .dark .kr-call-modal-close:hover { background: #4b5563; }

 .kr-call-modal-icon {
   width: 56px; height: 56px;
   border-radius: 50%;
   background: #dcfce7;
   display: flex; align-items: center; justify-content: center;
   margin: 0 auto 16px;
 }
 .kr-call-modal-icon svg {
   width: 28px; height: 28px;
   stroke: #16a34a; fill: none; stroke-width: 2;
   stroke-linecap: round; stroke-linejoin: round;
 }
 .dark .kr-call-modal-icon { background: rgba(22,163,74,0.15); }

 .kr-call-modal-title {
   font-size: 1.15rem; font-weight: 700; margin-bottom: 6px;
   color: #111827;
 }
 .dark .kr-call-modal-title { color: #f3f4f6; }

 .kr-call-modal-subtitle {
   font-size: 0.85rem; color: #6b7280; margin-bottom: 18px;
 }
 .dark .kr-call-modal-subtitle { color: #9ca3af; }

 .kr-call-modal-phone {
   font-size: 1.5rem; font-weight: 700; letter-spacing: 1px;
   color: #111827; margin-bottom: 20px;
   padding: 12px 16px;
   background: #f9fafb; border-radius: 12px;
   border: 1px solid #e5e7eb;
   user-select: all;
 }
 .dark .kr-call-modal-phone {
   color: #f3f4f6; background: #111827; border-color: #374151;
 }

 .kr-call-modal-actions {
   display: flex; gap: 10px;
 }
 .kr-call-modal-actions a,
 .kr-call-modal-actions button {
   flex: 1; padding: 12px 16px;
   border-radius: 12px; border: none;
   font-size: 0.95rem; font-weight: 600;
   cursor: pointer; text-decoration: none;
   display: flex; align-items: center; justify-content: center; gap: 6px;
   transition: background .15s, transform .1s;
 }
 .kr-call-modal-call {
   background: #16a34a !important; color: #fff !important;
 }
 .kr-call-modal-call:hover { background: #15803d !important; transform: scale(1.02); }
 .kr-call-modal-copy {
   background: #f3f4f6 !important; color: #374151 !important;
 }
 .kr-call-modal-copy:hover { background: #e5e7eb !important; }
 .dark .kr-call-modal-copy { background: #374151 !important; color: #e5e7eb !important; }
 .dark .kr-call-modal-copy:hover { background: #4b5563 !important; }
 .kr-call-modal-copy.kr-copied {
   background: #dcfce7 !important; color: #16a34a !important;
 }
 .dark .kr-call-modal-copy.kr-copied {
   background: rgba(22,163,74,0.15) !important; color: #22c55e !important;
 }

 /* No phone state */
 .kr-call-modal-nophone {
   padding: 20px 0 8px; font-size: 0.9rem; color: #6b7280;
 }
 .dark .kr-call-modal-nophone { color: #9ca3af; }

 /* Make chat button same flex sizing */
 .kr-chat-call-row {
   display: flex !important;
   gap: 10px;
   width: 100%;
 }
 .kr-chat-call-row > * {
   flex: 1;
   min-width: 0;
 }
 /* Chat button inside the row: match call sizing */
 .kr-chat-call-row .kr-chat-styled {
   display: flex !important;
   align-items: center !important;
   justify-content: center !important;
   gap: 6px;
   padding: 10px 20px !important;
   border-radius: 12px !important;
   font-weight: 600 !important;
   font-size: 1rem;
   cursor: pointer;
   background: #4f46e5 !important;
   color: #fff !important;
   border: none !important;
   transition: background .15s, transform .1s;
   text-decoration: none;
   width: 100%;
 }
 .kr-chat-call-row .kr-chat-styled:hover {
   background: #4338ca !important;
   transform: scale(1.01);
 }
 .kr-chat-call-row .kr-chat-styled svg {
   width: 20px; height: 20px;
   stroke: #fff; fill: none; stroke-width: 2;
   stroke-linecap: round; stroke-linejoin: round;
   flex-shrink: 0;
 }
 .dark .kr-chat-call-row .kr-chat-styled {
   background: #6366f1 !important;
 }
 .dark .kr-chat-call-row .kr-chat-styled:hover {
   background: #818cf8 !important;
 }

 /* Kurom: Chat/Call as an app-style FIXED bottom bar on mobile.
    Bug fixed: the row was rendering in normal flow at the document bottom
    ("under" the page) instead of pinned to the viewport. We also hide the
    redundant Vue app-match bar (this row replaces it). */
 .kr-item-detail .kr-detail-app-match { display: none !important; }

 /* Kurom: "Similar Products You May Like" grid — unified card already applies
    via the shared enhancer; here we remove the spacing between cards to match
    the tight home grid. */
 .kr-item-detail .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5 {
   gap: 0 !important;
 }
 .kr-item-detail .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5 > .w-full > .cursor-pointer.w-full.h-full.pb-3,
 .kr-item-detail .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5 .cursor-pointer.w-full.h-full.pb-3 {
   padding-bottom: 0 !important;
 }
 /* Similar-products cards: reorder the raw card to the HOME order —
    price first, location (with pin) second, bold title last; compact text. */
 .kr-item-detail .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) {
   display: flex !important;
   flex-direction: column !important;
 }
 .kr-item-detail .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) > .kr-featured-fill-price-row {
   order: -1 !important;
   gap: 0 !important;
 }
 .kr-item-detail .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) > .pb-2.ps-1.flex.items-center {
   margin-top: 0 !important;
   padding-bottom: 2px !important;
 }
 .kr-item-detail .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) > .ps-1.pt-1 {
   order: 1 !important;
   padding-top: 2px !important;
 }
 .kr-item-detail .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5 .kr-featured-fill-original-price:empty { display: none !important; }
 .kr-item-detail .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5 .truncate-2-lines {
   font-size: 0.82rem !important;
   line-height: 1.2 !important;
   min-height: 0 !important;
 }
 @media (max-width: 1023px) {
   .kr-item-detail .kr-chat-call-row {
     position: fixed !important;
     left: 0 !important;
     right: 0 !important;
     bottom: 0 !important;
     z-index: 9997 !important;
     width: auto !important;
     margin: 0 !important;
     gap: 8px !important;
     padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px)) !important;
     background: #ffffff !important;
     border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
     box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12) !important;
   }
   html.dark .kr-item-detail .kr-chat-call-row {
     background: #1e293b !important;
     border-top-color: rgba(255, 255, 255, 0.1) !important;
   }
   .kr-item-detail .kr-chat-call-row .kr-chat-styled,
   .kr-item-detail .kr-chat-call-row .kr-call-btn {
     padding: 11px 16px !important;
     border-radius: 12px !important;
   }
   body.kr-item-detail { padding-bottom: 76px !important; }
 }

 /* ===== 5. PRODUCT OWNER TILE CLEANUP ===== */
 /* User owner card */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 {
   border: 1px solid #f0f0f0 !important;
   border-radius: 16px !important;
   padding: 16px !important;
   box-shadow: 0 1px 3px rgba(0,0,0,.04) !important;
   gap: 12px !important;
 }
 .dark .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 {
   border-color: rgba(255,255,255,.08) !important;
   box-shadow: none !important;
 }
 /* Owner avatar */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .w-20.h-20 {
   width: 52px !important;
   height: 52px !important;
 }
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .w-20.h-20 img {
   width: 52px !important;
   height: 52px !important;
 }
 /* Blue mark smaller */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .w-8.h-8.bg-feInfo-500 {
   width: 20px !important;
   height: 20px !important;
   padding: 2px !important;
 }
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .w-8.h-8.bg-feInfo-500 svg {
   width: 14px !important;
   height: 14px !important;
 }
 /* Owner name */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .text-lg.font-semibold {
   font-size: 0.95rem !important;
   font-weight: 700 !important;
   color: #111 !important;
 }
 .dark .kr-item-detail .shadow-sm.relative.border.rounded-lg .text-lg.font-semibold {
   color: #f3f4f6 !important;
 }
 /* Followers/Items row */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .flex.items-center.gap-1 {
   font-size: 0.8rem !important;
   opacity: 0.75;
 }
 /* Follow button */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .h-14 {
   height: auto !important;
   margin-top: 4px;
 }
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .h-14 button {
   position: relative !important;
   bottom: auto !important; left: auto !important; right: auto !important;
   border-radius: 10px !important;
   padding: 8px 16px !important;
   font-size: 0.85rem !important;
   font-weight: 600 !important;
 }
 /* Vendor profile card */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .flex.flex-row.space-x-4 {
   gap: 12px !important;
   align-items: center;
 }
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .w-20.h-20.flex-shrink-0 {
   width: 52px !important;
   height: 52px !important;
 }
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .w-20.h-20.flex-shrink-0 img {
   width: 52px !important;
   height: 52px !important;
 }
 /* Vendor "Visit Store" button */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg a button {
   border-radius: 10px !important;
   padding: 8px 16px !important;
   font-size: 0.85rem !important;
   font-weight: 600 !important;
 }
 /* Vendor indicator badge */
 .kr-item-detail .bg-feWarning-500.text-xxs {
   font-size: 0.65rem !important;
   padding: 2px 6px !important;
   border-radius: 999px !important;
 }
 /* Rating stars row */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg .flex.items-center.justify-start {
   gap: 4px;
 }

 
 /* ===== HIDE Safety Tips, T&C, FAQ sections ===== */
 /* Mobile: the sm:hidden block containing safety/t&c/faq */
 .kr-item-detail .sm\:hidden.block.border-2.border-feSecondary-200.rounded-md.mt-4,
 .kr-item-detail div.sm\:hidden.block.border-2 {
   display: none !important;
 }
 /* Desktop sidebar: the border-2 block containing safety/t&c/faq */
 .kr-item-detail .col-span-1.sm\:col-span-5 .border-2.border-feSecondary-200.rounded-md,
 .kr-item-detail .hidden.sm\:block .border-2.border-feSecondary-200.rounded-md {
   display: none !important;
 }

 /* ===== Mobile gallery: 1 image per slide, full width ===== */
 @media (max-width: 639px) {
   /* Main image container: auto height based on image */
   .kr-item-detail .wrapper > .border.rounded-lg,
   .kr-item-detail .wrapper > div.border {
     height: auto !important;
     min-height: 260px;
     max-height: 75vw;
   }
   .kr-item-detail .wrapper > .border.rounded-lg .splide,
   .kr-item-detail .wrapper > div.border .splide {
     height: auto !important;
   }
   .kr-item-detail .wrapper > .border.rounded-lg .splide__track,
   .kr-item-detail .wrapper > div.border .splide__track {
     height: auto !important;
   }
   .kr-item-detail .wrapper > .border.rounded-lg .splide__list,
   .kr-item-detail .wrapper > div.border .splide__list {
     height: auto !important;
   }
   .kr-item-detail .wrapper > .border.rounded-lg .splide__slide,
   .kr-item-detail .wrapper > div.border .splide__slide {
     height: auto !important;
     min-height: 260px;
     max-height: 75vw;
   }
   .kr-item-detail .wrapper .splide__slide img,
   .kr-item-detail .wrapper .splide__slide .ps-lazy-image {
     aspect-ratio: 1 / 1;
     object-fit: contain !important;
     background: #f3f4f6;
     width: 100% !important;
     height: auto !important;
     min-height: 260px;
     max-height: 75vw;
   }
   .dark .kr-item-detail .wrapper .splide__slide img,
   .dark .kr-item-detail .wrapper .splide__slide .ps-lazy-image {
     background: rgb(var(--color-feAchromatic-900));
   }

   /* Splide pagination dots: visible, clean */
   .kr-item-detail .wrapper .splide__pagination {
     display: flex !important;
     bottom: 8px !important;
     gap: 4px;
   }
   .kr-item-detail .wrapper .splide__pagination__page {
     width: 8px !important;
     height: 8px !important;
     border-radius: 50% !important;
     background: rgba(0,0,0,0.25) !important;
     opacity: 1 !important;
     border: none !important;
     transition: background 0.2s, transform 0.2s;
   }
   .kr-item-detail .wrapper .splide__pagination__page.is-active {
     background: #4f46e5 !important;
     transform: scale(1.3);
   }

   /* Hide thumbnails on mobile — pagination dots are enough */
   .kr-item-detail .wrapper > .absolute.bottom-4.left-4,
   .kr-item-detail .wrapper > div.absolute.bottom-4 {
     display: none !important;
   }

   /* Tighter spacing between gallery and price card */
   .kr-item-detail .col-span-1.sm\:col-span-7 > .mt-6.sm\:hidden:first-of-type {
     margin-top: 0.5rem !important;
   }
 }

 /* ===== Additional UI cleanup ===== */
 /* Price card on mobile: tighter top margin */
 @media (max-width: 639px) {
   .kr-item-detail .col-span-1.sm\:col-span-7 > .mt-6.sm\:hidden {
     margin-top: 0.5rem !important;
   }
   /* Breadcrumb area: less top spacing */
   .kr-item-detail .mt-32.mb-10 > .mb-4.flex {
     margin-top: 0 !important;
     margin-bottom: 0.5rem !important;
     gap: 8px !important;
   }
   /* Remove excess gap below share/report */
   .kr-item-detail .flex.items-center.gap-7.self-end {
     gap: 0.5rem !important;
   }
 }

 /* Desktop: also hide safety/t&c/faq border blocks */
 .kr-item-detail .col-span-1.sm\:col-span-5.md\:col-span-4 > .border-2.border-feSecondary-200 {
   display: none !important;
 }


 /* ===== 6. ITEM DETAIL LAYOUT + TILES — COMPREHENSIVE FIX ===== */

 /* --- CRITICAL: Force 2-column grid layout on desktop --- */
 @media (min-width: 640px) {
   .kr-item-detail .grid.grid-cols-1 {
     display: grid !important;
     grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
     gap: 1rem !important;
   }
 }

 /* --- LEFT COLUMN: force vertical stacking --- */
 .kr-item-detail .grid.grid-cols-1 > div:first-child {
   display: flex !important;
   flex-direction: column !important;
   min-width: 0;
 }
 @media (min-width: 640px) {
   .kr-item-detail .grid.grid-cols-1 > div:first-child {
     grid-column: span 8 / span 8 !important;
   }
 }
 /* All children inside left column must be full-width blocks */
 .kr-item-detail .grid.grid-cols-1 > div:first-child > * {
   width: 100% !important;
   flex-shrink: 0;
 }

 /* --- RIGHT COLUMN: force vertical stacking --- */
 .kr-item-detail .grid.grid-cols-1 > div:nth-child(2) {
   display: flex !important;
   flex-direction: column !important;
   min-width: 0;
 }
 @media (min-width: 640px) {
   .kr-item-detail .grid.grid-cols-1 > div:nth-child(2) {
     grid-column: span 4 / span 4 !important;
   }
 }
 .kr-item-detail .grid.grid-cols-1 > div:nth-child(2) > * {
   width: 100% !important;
   flex-shrink: 0;
 }

 /* --- Mobile: single column --- */
 @media (max-width: 639px) {
   .kr-item-detail .grid.grid-cols-1 {
     display: flex !important;
     flex-direction: column !important;
     gap: 0 !important;
   }
   .kr-item-detail .grid.grid-cols-1 > div:first-child,
   .kr-item-detail .grid.grid-cols-1 > div:nth-child(2) {
     width: 100% !important;
     grid-column: unset !important;
   }
 }

 /* --- Neutralize col-span-8 on Other Info wrapper inside info card --- */
 .kr-item-detail .col-span-8.mt-6 {
   grid-column: unset !important;
   width: 100% !important;
 }

 /* --- Gallery: ensure it takes full width of left column --- */
 .kr-item-detail .wrapper.relative.rounded-lg {
   width: 100% !important;
 }

 /* --- Single/Multi item indicator: subtle pill badge --- */
 .kr-item-detail .grid.grid-cols-1 > div:first-child > .flex.items-center.gap-3.mt-4 {
   margin-top: 1rem !important;
   padding: 6px 14px !important;
   background: #f0fdf4;
   border: 1px solid #bbf7d0;
   border-radius: 10px;
   display: inline-flex !important;
   width: auto !important;
   align-self: flex-start;
 }
 .dark .kr-item-detail .grid.grid-cols-1 > div:first-child > .flex.items-center.gap-3.mt-4 {
   background: rgba(22,163,74,.08);
   border-color: rgba(22,163,74,.18);
 }

 /* --- Section cards: unified card styling --- */
 /* Details section */
 .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4.mt-6,
 .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4.lg\:p-4.mt-6 {
   background: #fff !important;
   border: 1px solid #e5e7eb !important;
   border-radius: 16px !important;
   padding: 20px !important;
   margin-top: 1rem !important;
   box-shadow: 0 1px 3px rgba(0,0,0,.04);
 }
 .dark .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4.mt-6,
 .dark .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4.lg\:p-4.mt-6 {
   background: rgba(255,255,255,.03) !important;
   border-color: rgba(255,255,255,.08) !important;
   box-shadow: none;
 }

 /* Description section */
 .kr-item-detail .mt-6.px-2.py-4.lg\:p-4.rounded-lg.bg-feSecondary-50 {
   background: #fff !important;
   border: 1px solid #e5e7eb !important;
   border-radius: 16px !important;
   padding: 20px !important;
   margin-top: 1rem !important;
   box-shadow: 0 1px 3px rgba(0,0,0,.04);
 }
 .dark .kr-item-detail .mt-6.px-2.py-4.lg\:p-4.rounded-lg.bg-feSecondary-50 {
   background: rgba(255,255,255,.03) !important;
   border-color: rgba(255,255,255,.08) !important;
   box-shadow: none;
 }

 /* Other Info section card */
 .kr-item-detail .col-span-8.mt-6 > .bg-feSecondary-50.rounded-lg {
   background: #fff !important;
   border: 1px solid #e5e7eb !important;
   border-radius: 16px !important;
   padding: 20px !important;
   box-shadow: 0 1px 3px rgba(0,0,0,.04);
 }
 .dark .kr-item-detail .col-span-8.mt-6 > .bg-feSecondary-50.rounded-lg {
   background: rgba(255,255,255,.03) !important;
   border-color: rgba(255,255,255,.08) !important;
   box-shadow: none;
 }

 /* --- Detail tiles grid: mini-card style --- */
 .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 {
   gap: 12px !important;
   margin-top: 14px !important;
 }
 .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 > div {
   background: #f9fafb;
   border: 1px solid #f0f0f0;
   border-radius: 12px;
   padding: 12px 14px;
   display: flex;
   flex-direction: column;
   gap: 4px;
   transition: border-color .15s, box-shadow .15s;
 }
 .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 > div:hover {
   border-color: #d1d5db;
   box-shadow: 0 2px 6px rgba(0,0,0,.04);
 }
 .dark .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 > div {
   background: rgba(255,255,255,.04);
   border-color: rgba(255,255,255,.06);
 }
 .dark .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 > div:hover {
   border-color: rgba(255,255,255,.12);
 }

 /* Tile label (key name) */
 .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 > div > p:first-child {
   font-size: 0.7rem !important;
   font-weight: 600 !important;
   text-transform: uppercase;
   letter-spacing: 0.05em;
   color: #9ca3af !important;
   margin-bottom: 2px;
 }
 .dark .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 > div > p:first-child {
   color: #6b7280 !important;
 }

 /* Tile value */
 .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 > div > p:last-child {
   font-size: 0.9rem !important;
   font-weight: 600 !important;
   color: #1f2937 !important;
   line-height: 1.3;
 }
 .dark .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 > div > p:last-child {
   color: #f3f4f6 !important;
 }

 /* --- Section headings: uppercase, underline separator --- */
 .kr-item-detail .text-xl.font-semibold.text-feSecondary-800 {
   font-size: 0.85rem !important;
   font-weight: 700 !important;
   text-transform: uppercase;
   letter-spacing: 0.05em;
   color: #374151 !important;
   padding-bottom: 10px;
   border-bottom: 1px solid #f3f4f6;
   margin-bottom: 10px;
 }
 .dark .kr-item-detail .text-xl.font-semibold.text-feSecondary-800 {
   color: #d1d5db !important;
   border-bottom-color: rgba(255,255,255,.06);
 }

 /* Description inner margin fix */
 .kr-item-detail .mt-6.px-2.py-4.lg\:p-4.rounded-lg.bg-feSecondary-50 .mt-6 {
   margin-top: 0 !important;
 }

 /* --- Other Info: key-value rows with dividers --- */
 .kr-item-detail .col-span-8.mt-6 .bg-feSecondary-50.rounded-lg > div {
   padding: 10px 0;
   border-bottom: 1px solid #f3f4f6;
 }
 .kr-item-detail .col-span-8.mt-6 .bg-feSecondary-50.rounded-lg > div:last-child {
   border-bottom: none;
   padding-bottom: 0;
 }
 .dark .kr-item-detail .col-span-8.mt-6 .bg-feSecondary-50.rounded-lg > div {
   border-bottom-color: rgba(255,255,255,.05);
 }

 /* Other Info key label */
 .kr-item-detail .col-span-8.mt-6 .text-base.font-medium.text-feSecondary-800.mt-6 {
   margin-top: 0 !important;
   font-size: 0.78rem !important;
   font-weight: 600 !important;
   text-transform: uppercase;
   letter-spacing: 0.04em;
   color: #9ca3af !important;
 }
 .dark .kr-item-detail .col-span-8.mt-6 .text-base.font-medium.text-feSecondary-800.mt-6 {
   color: #6b7280 !important;
 }

 /* Other Info value */
 .kr-item-detail .col-span-8.mt-6 .text-sm.font-normal.text-feSecondary-600.mt-2 {
   margin-top: 2px !important;
   font-size: 0.9rem !important;
   font-weight: 500 !important;
   color: #1f2937 !important;
 }
 .dark .kr-item-detail .col-span-8.mt-6 .text-sm.font-normal.text-feSecondary-600.mt-2 {
   color: #e5e7eb !important;
 }

 /* --- Contact numbers: green pill-style --- */
 .kr-item-detail .col-span-8.mt-6 .grid.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3 {
   gap: 8px !important;
   margin-top: 8px;
 }
 .kr-item-detail .col-span-8.mt-6 .grid.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3 > div {
   background: #f0fdf4;
   border: 1px solid #bbf7d0;
   border-radius: 10px;
   padding: 8px 14px;
 }
 .kr-item-detail .col-span-8.mt-6 .grid.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3 > div p {
   color: #15803d !important;
   font-weight: 600 !important;
   font-size: 0.9rem !important;
   margin: 0 !important;
 }
 .dark .kr-item-detail .col-span-8.mt-6 .grid.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3 > div {
   background: rgba(22,163,74,.08);
   border-color: rgba(22,163,74,.18);
 }
 .dark .kr-item-detail .col-span-8.mt-6 .grid.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3 > div p {
   color: #4ade80 !important;
 }

 /* --- Price card: unified card styling --- */
 .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.rounded-lg.border {
   border-radius: 16px !important;
   border: 1px solid #e5e7eb !important;
   padding: 20px !important;
   background: #fff !important;
   box-shadow: 0 1px 3px rgba(0,0,0,.04);
 }
 .dark .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.rounded-lg.border {
   background: rgba(255,255,255,.03) !important;
   border-color: rgba(255,255,255,.08) !important;
   box-shadow: none;
 }

 /* --- Location card --- */
 .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg {
   background: #fff !important;
   border: 1px solid #e5e7eb !important;
   border-radius: 16px !important;
   padding: 20px !important;
   box-shadow: 0 1px 3px rgba(0,0,0,.04);
 }
 .dark .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg {
   background: rgba(255,255,255,.03) !important;
   border-color: rgba(255,255,255,.08) !important;
   box-shadow: none;
 }

 /* --- Statistics card --- */
 .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.border.rounded-lg {
   border-radius: 16px !important;
   border: 1px solid #e5e7eb !important;
   padding: 20px !important;
   box-shadow: 0 1px 3px rgba(0,0,0,.04);
 }
 .dark .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.border.rounded-lg {
   border-color: rgba(255,255,255,.08) !important;
   box-shadow: none;
 }

 /* --- Vendor/Owner card --- */
 .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 {
   border: 1px solid #e5e7eb !important;
   border-radius: 16px !important;
   box-shadow: 0 1px 3px rgba(0,0,0,.04) !important;
   padding: 18px !important;
 }
 .dark .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 {
   border-color: rgba(255,255,255,.08) !important;
   box-shadow: none !important;
 }

 /* --- PsCard wrapper transparent --- */
 .kr-item-detail .flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm {
   box-shadow: none !important;
   background: transparent !important;
 }
 .dark .kr-item-detail .flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm {
   background: transparent !important;
 }

 /* --- Desktop sidebar spacing --- */
 @media (min-width: 640px) {
   .kr-item-detail .grid.grid-cols-1 > div:nth-child(2) > * + * {
     margin-top: 14px !important;
   }
 }

 /* --- Mobile section spacing --- */
 @media (max-width: 639px) {
   .kr-item-detail .grid.grid-cols-1 > div:first-child > * + * {
     margin-top: 0.75rem !important;
   }
   .kr-item-detail .grid.grid-cols-2.sm\:grid-cols-4.gap-6 {
     grid-template-columns: repeat(2, 1fr) !important;
     gap: 8px !important;
   }
   /* Section cards tighter on mobile */
   .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4.mt-6,
   .kr-item-detail .mt-6.px-2.py-4.lg\:p-4.rounded-lg.bg-feSecondary-50,
   .kr-item-detail .col-span-8.mt-6 > .bg-feSecondary-50.rounded-lg {
     padding: 14px !important;
     border-radius: 14px !important;
   }
 }

  /* ===== Item Detail — Professional Polish Pass ===== */
  .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4.mt-6,
  .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4.lg\:p-4.mt-6,
  .kr-item-detail .mt-6.px-2.py-4.lg\:p-4.rounded-lg.bg-feSecondary-50,
  .kr-item-detail .col-span-8.mt-6 > .bg-feSecondary-50.rounded-lg,
  .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.rounded-lg.border,
  .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.border.rounded-lg,
  .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4,
  .kr-item-detail .border-2.border-feSecondary-200.rounded-md.mt-4,
  .kr-item-detail .col-span-1.sm\:col-span-5 .border-2.border-feSecondary-200.rounded-md,
  .kr-item-detail .hidden.sm\:block .border-2.border-feSecondary-200.rounded-md {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 20px 45px -34px rgba(15, 23, 42, 0.36) !important;
  }
  .dark .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4.mt-6,
  .dark .kr-item-detail .bg-feSecondary-50.rounded-lg.px-2.py-4.lg\:p-4.mt-6,
  .dark .kr-item-detail .mt-6.px-2.py-4.lg\:p-4.rounded-lg.bg-feSecondary-50,
  .dark .kr-item-detail .col-span-8.mt-6 > .bg-feSecondary-50.rounded-lg,
  .dark .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.rounded-lg.border,
  .dark .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.border.rounded-lg,
  .dark .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4,
  .dark .kr-item-detail .border-2.border-feSecondary-200.rounded-md.mt-4,
  .dark .kr-item-detail .col-span-1.sm\:col-span-5 .border-2.border-feSecondary-200.rounded-md,
  .dark .kr-item-detail .hidden.sm\:block .border-2.border-feSecondary-200.rounded-md {
    background: linear-gradient(180deg, rgba(30,41,59,0.98) 0%, rgba(15,23,42,0.96) 100%) !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    box-shadow: 0 22px 44px -34px rgba(2, 6, 23, 0.85) !important;
  }

  .kr-item-detail .inline-flex.flex-col.px-4.py-2\.5.rounded-xl.border.border-feSecondary-200.dark\:border-feSecondary-600.bg-white.dark\:bg-feSecondary-700 {
    min-height: 78px;
    justify-content: center;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    border-color: rgba(203, 213, 225, 0.72) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 14px 28px -26px rgba(15, 23, 42, 0.42);
  }
  .dark .kr-item-detail .inline-flex.flex-col.px-4.py-2\.5.rounded-xl.border.border-feSecondary-200.dark\:border-feSecondary-600.bg-white.dark\:bg-feSecondary-700 {
    background: linear-gradient(180deg, rgba(30,41,59,0.96) 0%, rgba(15,23,42,0.94) 100%) !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    box-shadow: none;
  }

  .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .h-14 button,
  .kr-item-detail .mt-7 button,
  .kr-item-detail .mt-7 [class*="ps-button"] {
    border-radius: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 18px 28px -24px rgba(15, 23, 42, 0.42);
  }

  .kr-item-detail .overflow-hidden.lg\:rounded-2xl.rounded-lg.dark\:bg-feSecondary-800.dark\:border-black.hover\:shadow-md.flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm {
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 16px 38px -30px rgba(15, 23, 42, 0.28) !important;
  }
  .dark .kr-item-detail .overflow-hidden.lg\:rounded-2xl.rounded-lg.dark\:bg-feSecondary-800.dark\:border-black.hover\:shadow-md.flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm {
    border-color: rgba(148, 163, 184, 0.14) !important;
    background: linear-gradient(180deg, rgba(30,41,59,0.95) 0%, rgba(15,23,42,0.94) 100%) !important;
    box-shadow: none !important;
  }

  .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg {
    padding: 12px !important;
    border-radius: 18px !important;
  }
  .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg > .flex.flex-col.gap-2.mb-6 {
    gap: 3px !important;
    margin-bottom: 8px !important;
  }
  .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg > .flex.flex-col.gap-2.mb-6 p {
    font-size: 0.95rem !important;
    letter-spacing: 0.06em !important;
  }
  .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .mapContainer,
  .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .leaflet-container {
    height: 168px !important;
    min-height: 168px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
    background: #dbe7f0 !important;
  }
  .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .leaflet-control-geocoder,
  .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .leaflet-top.leaflet-right,
  .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .leaflet-control-attribution {
    display: none !important;
  }
  @media (max-width: 639px) {
    .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg {
      padding: 12px !important;
    }
    .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .mapContainer,
    .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .leaflet-container {
      height: 148px !important;
      min-height: 148px !important;
      border-radius: 14px !important;
    }
  }
  .dark .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .mapContainer,
  .dark .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .leaflet-container {
    border-color: rgba(148, 163, 184, 0.16) !important;
    background: #1e293b !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  }

  .kr-item-detail .leaflet-control-zoom,
  .kr-item-detail .leaflet-touch .leaflet-control-zoom {
    display: none !important;
  }

  .kr-item-detail .leaflet-container {
    touch-action: pan-x pan-y !important;
  }

  @media (max-width: 639px) {
    .kr-item-detail .inline-flex.flex-col.px-4.py-2\.5.rounded-xl.border.border-feSecondary-200.dark\:border-feSecondary-600.bg-white.dark\:bg-feSecondary-700 {
      min-height: 72px;
      padding: 12px 14px !important;
    }
    .kr-item-detail .overflow-hidden.lg\:rounded-2xl.rounded-lg.dark\:bg-feSecondary-800.dark\:border-black.hover\:shadow-md.flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm {
      border-radius: 16px !important;
    }
  }

  .kr-item-detail .text-xs.font-medium.text-feSecondary-500 {
    color: #64748b !important;
    opacity: 1 !important;
  }

  .dark .kr-item-detail .text-xs.font-medium.text-feSecondary-500 {
    color: #94a3b8 !important;
  }

  .kr-item-detail .text-sm.font-medium.text-feSecondary-500,
  .kr-item-detail .text-sm.text-feSecondary-500 {
    color: #6b7280 !important;
    opacity: 1 !important;
  }

  .dark .kr-item-detail .text-sm.font-medium.text-feSecondary-500,
  .dark .kr-item-detail .text-sm.text-feSecondary-500 {
    color: #94a3b8 !important;
  }

  .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .flex.items-center.justify-start.w-full.mx-auto,
  .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .flex.items-center.gap-1 {
    color: #475569 !important;
    opacity: 1 !important;
  }

  .dark .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .flex.items-center.justify-start.w-full.mx-auto,
  .dark .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .flex.items-center.gap-1 {
    color: #94a3b8 !important;
  }

  .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .flex.items-center.justify-start.w-full.mx-auto p,
  .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .flex.items-center.gap-1 p {
    color: #475569 !important;
    opacity: 1 !important;
  }

  .dark .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .flex.items-center.justify-start.w-full.mx-auto p,
  .dark .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .flex.items-center.gap-1 p {
    color: #94a3b8 !important;
  }

  .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .flex.items-center.justify-start.w-full.mx-auto p:nth-child(3) {
    color: #94a3b8 !important;
  }

  .kr-item-detail .mt-6.px-2.py-6.lg\:p-4.rounded-lg .text-xs.font-medium.text-feSecondary-500,
  .kr-item-detail .flex.flex-col.px-2.py-4.lg\:p-4.rounded-lg.border .text-xs.font-medium.text-feSecondary-500,
  .kr-item-detail .col-span-8.mt-6 .text-xs.font-medium.text-feSecondary-500 {
    color: #64748b !important;
  }

/* ===== kr-item-detail-light-contrast-fix (orig line 11722) ===== */
.kr-item-detail .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
 .kr-item-detail .text-feSecondary-500.dark\:text-feAchromatic-50.text-base.cursor-pointer,
 .kr-item-detail .text-feSecondary-500.dark\:text-feAchromatic-50.text-base.flex.flex-grow {
   color: #334155 !important;
 }

 .kr-item-detail .ps-1.pt-1,
 .kr-item-detail .pb-2.ps-1.flex.items-center,
 .kr-item-detail .pb-2.ps-1.flex.items-center *,
 .kr-item-detail .overflow-hidden.lg\:rounded-2xl.rounded-lg.dark\:bg-feSecondary-800.dark\:border-black.hover\:shadow-md.flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm div:not([class*="bg-fe"]):not([class*="kr-"]):not([class*="splide"]),
 .kr-item-detail .overflow-hidden.lg\:rounded-2xl.rounded-lg.dark\:bg-feSecondary-800.dark\:border-black.hover\:shadow-md.flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm p:not(.text-feAchromatic-50) {
   color: #334155;
 }

 .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
 .kr-item-detail .shadow-sm.relative.border.rounded-lg.flex.flex-col.gap-4.p-4 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base.cursor-pointer {
   color: #475569 !important;
 }

 .kr-item-detail .overflow-hidden.lg\:rounded-2xl.rounded-lg.dark\:bg-feSecondary-800.dark\:border-black.hover\:shadow-md.flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm .ps-1.pt-1,
 .kr-item-detail .overflow-hidden.lg\:rounded-2xl.rounded-lg.dark\:bg-feSecondary-800.dark\:border-black.hover\:shadow-md.flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm .pb-2.ps-1.flex.items-center {
   color: #475569 !important;
 }

 .dark .kr-item-detail .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
 .dark .kr-item-detail .text-feSecondary-500.dark\:text-feAchromatic-50.text-base.cursor-pointer,
 .dark .kr-item-detail .text-feSecondary-500.dark\:text-feAchromatic-50.text-base.flex.flex-grow,
 .dark .kr-item-detail .ps-1.pt-1,
 .dark .kr-item-detail .pb-2.ps-1.flex.items-center,
 .dark .kr-item-detail .pb-2.ps-1.flex.items-center *,
 .dark .kr-item-detail .overflow-hidden.lg\:rounded-2xl.rounded-lg.dark\:bg-feSecondary-800.dark\:border-black.hover\:shadow-md.flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm div,
 .dark .kr-item-detail .overflow-hidden.lg\:rounded-2xl.rounded-lg.dark\:bg-feSecondary-800.dark\:border-black.hover\:shadow-md.flex.w-full.bg-feAchromatic-50.flex-col.lg\:rounded-lg.shadow-sm p {
   color: inherit;
 }

/* ===== kr-item-detail-share-fab-style (orig line 12456) ===== */
#kr-item-detail-share-fab {
    display: none;
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 140;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.94);
    color: #f8fafc;
    box-shadow: 0 18px 38px -24px rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
  }
  .kr-item-detail #kr-item-detail-share-fab {
    display: inline-flex;
  }
  #kr-item-detail-share-fab svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  html:not(.dark) #kr-item-detail-share-fab {
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 38px -24px rgba(15, 23, 42, 0.24);
  }
  #kr-item-detail-share-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 141;
    transform: translate(-50%, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    color: #f8fafc;
    box-shadow: 0 18px 38px -24px rgba(15, 23, 42, 0.8);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  #kr-item-detail-share-toast.kr-visible {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  html:not(.dark) #kr-item-detail-share-toast {
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
  }
  @media (max-width: 639px) {
    #kr-item-detail-share-fab {
      right: 14px;
      bottom: 18px;
      min-height: 46px;
      padding: 0 14px;
    }
    #kr-item-detail-share-toast {
      left: 14px;
      right: 14px;
      bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
      transform: translateY(18px);
      justify-content: flex-start;
      min-height: 48px;
      width: auto;
      max-width: none;
      padding: 0 16px;
      border-radius: 18px;
    }
    #kr-item-detail-share-toast.kr-visible {
      transform: translateY(0);
    }
  }

/* ===== kr-hide-widgets (orig line 12562) ===== */
/* Hide Special Promotions (packages) by background class */
 .bg-feSecondary-800.mt-5.mb-10 { display: none !important; }

/* ===== anon-style-85 (orig line 12613) ===== */
.bg-feAchromatic-800.py-9.mt-5.mb-10{display:none!important}

/* ===== anon-style-87 (orig line 12635) ===== */
/* ===== COMPACT PRODUCT CARDS ===== */

/* Card image area: shorter height */
[data-v-191af2ee] .h-44,
[data-v-84a079b8] .h-44 {
 height: 140px !important;
}

/* Image itself */
[data-v-191af2ee] .h-44.w-full,
[data-v-84a079b8] .h-44.w-full,
[data-v-191af2ee] img.h-44,
[data-v-84a079b8] img.h-44 {
 height: 140px !important;
}

/* Reduce the spacer that pushes content down */
[data-v-191af2ee] .pt-28,
[data-v-84a079b8] .pt-28 {
 padding-top: 4rem !important;
}
[data-v-191af2ee] .pt-48,
[data-v-84a079b8] .pt-48 {
 padding-top: 5rem !important;
}

/* Card wrapper: remove excess bottom padding */
[data-v-191af2ee] .pb-3,
[data-v-84a079b8] .pb-3 {
 padding-bottom: 4px !important;
}

/* Title: tighter line height */
.truncate-2-lines {
 height: 2.4em !important;
 line-height: 1.2em !important;
 font-size: 13px !important;
}

/* Price: slightly smaller */
[data-v-191af2ee] .text-base.font-semibold,
[data-v-84a079b8] .text-base.font-semibold {
 font-size: 14px !important;
}

/* Location row: tighter */
[data-v-191af2ee] .items-center.ps-1,
[data-v-84a079b8] .items-center.ps-1 {
 padding-top: 0 !important;
 padding-bottom: 2px !important;
}

/* Location text smaller */
[data-v-191af2ee] .truncate.text-sm,
[data-v-84a079b8] .truncate.text-sm {
 font-size: 11px !important;
}

/* Vendor row: tighter */
[data-v-191af2ee] .pt-1.pb-2,
[data-v-84a079b8] .pt-1.pb-2 {
 padding-top: 2px !important;
 padding-bottom: 4px !important;
}

/* ===== CARD STYLING: CLEAN & MODERN ===== */

/* Clean card borders and shadow */
.splide__slide .shadow-sm,
.splide__slide [class*="bg-feAchromatic-50"][class*="flex-col"] {
 border-radius: 12px !important;
 box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
 border: 1px solid rgba(0,0,0,.05) !important;
 overflow: hidden !important;
}

/* Image rounded top */
.splide__slide img[class*="rounded-t"] {
 border-radius: 12px 12px 0 0 !important;
}

/* Favourite button: cleaner */
.splide__slide .w-10.h-10.rounded {
 border-radius: 8px !important;
 width: 32px !important;
 height: 32px !important;
 box-shadow: 0 1px 4px rgba(0,0,0,.1) !important;
}

/* ===== MOBILE RESPONSIVE: SHOW 2 ITEMS ===== */
@media(max-width:640px){
 /* Force Splide to show 2 per page on mobile */
 .splide__list {
 gap: 1px !important;
 }
 .splide__slide {
 width: calc(50% - 1px) !important;
 min-width: calc(50% - 1px) !important;
 }
 .kr-item-detail .mt-6.mb-26.sm\:mb-0 .splide__slide {
 margin-right: 6px !important;
 width: calc(50% - 6px) !important;
 min-width: calc(50% - 6px) !important;
 }
 .kr-item-detail .mt-6.mb-26.sm\:mb-0 .splide__list {
 gap: 0 !important;
 }

 /* Even more compact on mobile */
 [data-v-191af2ee] .h-44,
 [data-v-84a079b8] .h-44,
 [data-v-191af2ee] .h-44.w-full,
 [data-v-84a079b8] .h-44.w-full,
 [data-v-191af2ee] img.h-44,
 [data-v-84a079b8] img.h-44 {
 height: 120px !important;
 }

 [data-v-191af2ee] .pt-28,
 [data-v-84a079b8] .pt-28 {
 padding-top: 3rem !important;
 }
 [data-v-191af2ee] .pt-48,
 [data-v-84a079b8] .pt-48 {
 padding-top: 3.5rem !important;
 }

 .truncate-2-lines {
 height: 2.2em !important;
 font-size: 12px !important;
 -webkit-line-clamp: 2 !important;
 line-clamp: 2 !important;
 }

 /* Price smaller on mobile */
 [data-v-191af2ee] .text-base.font-semibold,
 [data-v-84a079b8] .text-base.font-semibold,
 .splide__slide .font-semibold[class*="text-fePrimary"] {
 font-size: 13px !important;
 }

 /* Card shadow on mobile */
 .splide__slide .shadow-sm,
 .splide__slide [class*="bg-feAchromatic-50"][class*="flex-col"] {
 border-radius: 10px !important;
 box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
 }

 .splide__slide img[class*="rounded-t"] {
 border-radius: 10px 10px 0 0 !important;
 }

 /* Hide vendor/profile row on mobile to save space */
 .splide__slide .rounded-b-xl.items-center.justify-between,
 .splide__slide .lg\\:rounded-b-2xl {
 display: none !important;
 }

 /* Favourite button smaller on mobile */
 .splide__slide .w-10.h-10.rounded {
 width: 28px !important;
 height: 28px !important;
 border-radius: 6px !important;
 }
 .splide__slide .w-10.h-10.rounded svg {
 width: 14px !important;
 height: 14px !important;
 }

 /* Splide arrows: hidden (see UI patch) */

 /* Section margins smaller on mobile */
 .mt-5.mb-10 {
 margin-top: 12px !important;
 margin-bottom: 16px !important;
 }
}

/* ===== TABLET: 3 items ===== */
@media(min-width:641px) and (max-width:1023px){
 .splide__slide {
 width: calc(33.33% - 12px) !important;
 min-width: calc(33.33% - 12px) !important;
 }
 [data-v-191af2ee] .h-44,
 [data-v-84a079b8] .h-44,
 [data-v-191af2ee] img.h-44,
 [data-v-84a079b8] img.h-44 {
 height: 130px !important;
 }
}

/* ===== SMOOTH SCROLLING FOR ALL SPLIDE CAROUSELS ===== */
.splide__track {
 overflow: visible !important;
 overflow-x: auto !important;
 -webkit-overflow-scrolling: touch !important;
 scroll-snap-type: x mandatory !important;
 scrollbar-width: none !important;
}
.splide__track::-webkit-scrollbar {
 display: none !important;
}
.splide__slide {
 scroll-snap-align: start !important;
}

/* ===== FEATURED SECTION CLEANUP ===== */
@media(max-width:640px){
 /* Featured section: stack vertically, remove side panel */
 .bg-feSecondary-50.dark\\:bg-feAchromatic-900 {
 flex-direction: column !important;
 padding: 16px !important;
 gap: 12px !important;
 }
 .bg-feSecondary-50 .md\\:w-64 {
 width: 100% !important;
 text-align: center !important;
 }
 .bg-feSecondary-50 .sm\\:max-w-sm,
 .bg-feSecondary-50 .md\\:max-w-md,
 .bg-feSecondary-50 .lg\\:max-w-xl,
 .bg-feSecondary-50 .xl\\:max-w-3xl {
 max-width: 100% !important;
 width: 100% !important;
 }
}

/* ===== DARK MODE ADJUSTMENTS ===== */
/* dark splide removed - light only */

/* ===== anon-style-89 (orig line 12930) ===== */
/* ===== BANNER: REDUCE HEIGHT ===== */

/* Banner image container */
.mt-24.w-full .h-\[530px\],
.mt-24.w-full .sm\:h-\[485px\] {
 height: 376px !important;
}

/* The lazy image itself */
.mt-24.w-full img.h-\[530px\],
.mt-24.w-full img.sm\:h-\[485px\],
.mt-24.w-full .h-\[530px\].object-cover,
.mt-24.w-full .sm\:h-\[485px\].object-cover {
 height: 376px !important;
}

/* Pull banner down slightly so title fully visible below navbar */
.mt-24.w-full {
 margin-top: 0 !important;
 padding-top: 56px !important;
}

/* ===== BANNER CONTENT OVERLAY: TIGHTER ===== */

/* Content overlay: centered with enough top padding for navbar clearance */
.mt-24.w-full .absolute.top-0.w-full.h-full {
 gap: 10px !important;
 padding: 16px 20px 16px !important;
 justify-content: center !important;
}

/* ===== TITLE: SMALLER ===== */
.mt-24.w-full .text-center .text-xl.font-semibold,
.mt-24.w-full .text-center [class*="xl:text-5xl"],
.mt-24.w-full .text-center [class*="sm:text-4xl"] {
 font-size: 24px !important;
 margin-bottom: 4px !important;
 line-height: 1.2 !important;
}

/* Description: smaller */
.mt-24.w-full .text-center .text-base.font-normal {
 font-size: 14px !important;
 padding-left: 16px !important;
 padding-right: 16px !important;
 opacity: 0.85;
 line-height: 1.3 !important;
}

/* ===== SEARCH BAR: COMPACT ===== */

/* Search bar container — narrower so banner visible */
.mt-24.w-full .bg-feAchromatic-50.rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
 padding: 8px 12px !important;
 border-radius: 12px !important;
 max-width: 520px !important;
 box-shadow: 0 4px 20px rgba(0,0,0,.15) !important;
}

/* Search inner flex: always row on larger screens */
.mt-24.w-full .bg-feAchromatic-50 .flex.gap-x-5 {
 gap: 8px !important;
}

/* Search input height */
.mt-24.w-full .bg-feAchromatic-50 .h-10 {
 height: 38px !important;
}

/* Search button */
.mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"] {
 border-radius: 8px !important;
 padding: 8px 20px !important;
 font-size: 13px !important;
}

/* Category & location dropdowns: slightly smaller */
.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] {
 min-width: 140px !important;
}

/* ===== SEARCH BAR: RESTORE TOP BAR ===== */

.mt-24.w-full {
 margin-top: 78px !important;
 height: auto !important;
 min-height: 0 !important;
 padding: 0 14px 18px !important;
 position: relative !important;
 z-index: 20 !important;
}

.mt-24.w-full > .bg-feAchromatic-900.relative {
 display: block !important;
 background: transparent !important;
 min-height: 0 !important;
}

.mt-24.w-full > .bg-feAchromatic-900.relative > div:first-child {
 display: none !important;
}

.mt-24.w-full > .bg-feAchromatic-900.relative > .absolute.top-0.w-full.h-full {
 position: static !important;
 inset: auto !important;
 width: 100% !important;
 height: auto !important;
 display: block !important;
 padding: 0 !important;
}

.mt-24.w-full > .bg-feAchromatic-900.relative > .absolute.top-0.w-full.h-full > .text-center {
 display: none !important;
}

/* Bulletproof fallbacks: the rules above key off the hero's COLOR class
   (bg-feAchromatic-900). Themes/app updates can swap that class and the whole
   chain silently breaks, resurrecting the old "Kurom Marketplace / Find what
   you're looking for..." headline. These parallel rules use only layout
   utilities, which themes never change. */
.mt-24.w-full > .relative {
 display: block !important;
 background: transparent !important;
 min-height: 0 !important;
}
.mt-24.w-full > .relative > div:first-child {
 display: none !important;
}
.mt-24.w-full > .relative > .absolute.top-0.w-full.h-full {
 position: static !important;
 inset: auto !important;
 width: 100% !important;
 height: auto !important;
 display: block !important;
 padding: 0 !important;
}
.mt-24.w-full > .relative > .absolute.top-0.w-full.h-full > .text-center {
 display: none !important;
}

.mt-24.w-full .bg-feAchromatic-50.rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
 display: block !important;
 width: min(100%, 920px) !important;
 max-width: 920px !important;
 margin: 0 auto !important;
 padding: 10px 12px !important;
 border-radius: 16px !important;
 box-shadow: 0 18px 40px rgba(15,23,42,.16) !important;
 backdrop-filter: blur(10px);
}

.mt-24.w-full .bg-feAchromatic-50 .w-full.lg\:rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800 .w-full.lg\:rounded-lg {
 margin-top: 0 !important;
 gap: 0 !important;
}

.mt-24.w-full .bg-feAchromatic-50 .flex.gap-x-5,
.mt-24.w-full .dark\:bg-feSecondary-800 .flex.gap-x-5 {
 display: flex !important;
 flex-direction: row !important;
 align-items: center !important;
 flex-wrap: wrap !important;
 gap: 8px !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"],
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] {
 width: auto !important;
 min-width: 150px !important;
 flex: 0 1 160px !important;
}

.mt-24.w-full input[placeholder="Search"] {
 min-width: 220px !important;
 flex: 1 1 260px !important;
}

.mt-24.w-full .flex.justify-center {
 margin-left: auto !important;
}

.mt-24.w-full button[title="Search"],
.mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"],
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="bg-fePrimary-500"] {
 min-width: 108px !important;
 height: 40px !important;
 border-radius: 10px !important;
 padding: 8px 18px !important;
}

/* ===== SEARCH BAR: UI POLISH ===== */

.mt-24.w-full .bg-feAchromatic-50.rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
 background: linear-gradient(180deg, rgba(52,52,50,.94) 0%, rgba(35,35,33,.98) 100%) !important;
 border: 1px solid rgba(138, 225, 156, 0.22) !important;
 box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"],
.mt-24.w-full input[placeholder="Search"],
.mt-24.w-full button[title="Search"],
.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button {
 height: 44px !important;
 border-radius: 14px !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"],
.mt-24.w-full input[placeholder="Search"] {
 background: rgba(255,255,255,0.02) !important;
 border: 1px solid rgba(255,255,255,0.14) !important;
 color: #f3f5f4 !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"]::placeholder,
.mt-24.w-full input[placeholder="Search"]::placeholder {
 color: rgba(231,236,233,0.72) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button {
 background: rgba(255,255,255,0.03) !important;
 border: 1px solid rgba(255,255,255,0.14) !important;
 color: #f3f5f4 !important;
 padding-left: 14px !important;
 padding-right: 14px !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button:hover,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button:hover,
.mt-24.w-full input[placeholder="Enter Keyword"]:hover,
.mt-24.w-full input[placeholder="Search"]:hover {
 border-color: rgba(138, 225, 156, 0.42) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button:focus,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button:focus,
.mt-24.w-full input[placeholder="Enter Keyword"]:focus,
.mt-24.w-full input[placeholder="Search"]:focus {
 border-color: rgba(34,197,94,.72) !important;
 box-shadow: 0 0 0 3px rgba(34,197,94,.18) !important;
}

.mt-24.w-full button[title="Search"],
.mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"],
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="bg-fePrimary-500"] {
 background: linear-gradient(135deg, #1cc653 0%, #17a746 100%) !important;
 border: 0 !important;
 color: #fff !important;
 font-weight: 700 !important;
 letter-spacing: .01em !important;
 box-shadow: 0 14px 28px rgba(23,167,70,.26) !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20.bg-feAchromatic-50,
.mt-24.w-full .text-sm.overflow-hidden.z-20.dark\:bg-feAchromatic-900 {
 width: min(100%, 320px) !important;
 min-width: 260px !important;
 margin-top: 10px !important;
 border-radius: 18px !important;
 border: 1px solid rgba(138, 225, 156, 0.22) !important;
 background: linear-gradient(180deg, rgba(34,34,32,.98) 0%, rgba(15,15,14,.98) 100%) !important;
 box-shadow: 0 28px 48px rgba(0,0,0,.36) !important;
 backdrop-filter: blur(12px);
 z-index: 60 !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"],
.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"] {
 height: 46px !important;
 border: 0 !important;
 border-bottom: 1px solid rgba(255,255,255,0.08) !important;
 background: rgba(255,255,255,0.02) !important;
 color: #f4f6f5 !important;
 padding-left: 44px !important;
 padding-right: 40px !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"]::placeholder,
.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"]::placeholder {
 color: rgba(231,236,233,0.68) !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto {
 height: min(290px, 48vh) !important;
 padding: 8px !important;
 scrollbar-width: thin;
 scrollbar-color: rgba(138,225,156,.45) rgba(255,255,255,.06);
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar {
 width: 8px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar-track {
 background: rgba(255,255,255,0.06);
 border-radius: 999px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar-thumb {
 background: rgba(138,225,156,.45);
 border-radius: 999px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p {
 margin: 0 !important;
 padding: 10px 12px !important;
 border-radius: 12px !important;
 color: #edf2ef !important;
 line-height: 1.35 !important;
 transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p:hover {
 background: rgba(34,197,94,.12) !important;
 color: #ffffff !important;
 transform: translateX(1px);
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 hr,
.mt-24.w-full .text-sm.overflow-hidden.z-20 [role="separator"] {
 border-color: rgba(255,255,255,0.08) !important;
}

@media (max-width: 640px) {
 .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
 .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
  border-radius: 18px !important;
 }

 .mt-24.w-full .text-sm.overflow-hidden.z-20.bg-feAchromatic-50,
 .mt-24.w-full .text-sm.overflow-hidden.z-20.dark\:bg-feAchromatic-900 {
  width: 100% !important;
  min-width: 0 !important;
 }
}

/* ===== SEARCH BAR: UI POLISH ===== */

.mt-24.w-full .bg-feAchromatic-50.rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
 background: linear-gradient(180deg, rgba(52,52,50,.94) 0%, rgba(35,35,33,.98) 100%) !important;
 border: 1px solid rgba(138, 225, 156, 0.22) !important;
 box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"],
.mt-24.w-full input[placeholder="Search"],
.mt-24.w-full button[title="Search"],
.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button {
 height: 44px !important;
 border-radius: 14px !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"],
.mt-24.w-full input[placeholder="Search"] {
 background: rgba(255,255,255,0.02) !important;
 border: 1px solid rgba(255,255,255,0.14) !important;
 color: #f3f5f4 !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"]::placeholder,
.mt-24.w-full input[placeholder="Search"]::placeholder {
 color: rgba(231,236,233,0.72) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button {
 background: rgba(255,255,255,0.03) !important;
 border: 1px solid rgba(255,255,255,0.14) !important;
 color: #f3f5f4 !important;
 padding-left: 14px !important;
 padding-right: 14px !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button:hover,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button:hover,
.mt-24.w-full input[placeholder="Enter Keyword"]:hover,
.mt-24.w-full input[placeholder="Search"]:hover {
 border-color: rgba(138, 225, 156, 0.42) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button:focus,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button:focus,
.mt-24.w-full input[placeholder="Enter Keyword"]:focus,
.mt-24.w-full input[placeholder="Search"]:focus {
 border-color: rgba(34,197,94,.72) !important;
 box-shadow: 0 0 0 3px rgba(34,197,94,.18) !important;
}

.mt-24.w-full button[title="Search"],
.mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"],
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="bg-fePrimary-500"] {
 background: linear-gradient(135deg, #1cc653 0%, #17a746 100%) !important;
 border: 0 !important;
 color: #fff !important;
 font-weight: 700 !important;
 letter-spacing: .01em !important;
 box-shadow: 0 14px 28px rgba(23,167,70,.26) !important;
}

.mt-24.w-full .bg-feAchromatic-50 .w-full.lg\:rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800 .w-full.lg\:rounded-lg,
.mt-24.w-full .bg-feAchromatic-50 .flex.gap-x-5.flex-col.md\:flex-row.gap-y-2,
.mt-24.w-full .dark\:bg-feSecondary-800 .flex.gap-x-5.flex-col.md\:flex-row.gap-y-2 {
 position: relative !important;
 z-index: 90 !important;
 overflow: visible !important;
}

.mt-24.w-full .text-fePrimary-50.text-center.text-sm.font-normal.mb-4,
.mt-24.w-full .flex.justify-center.flex-wrap.gap-x-2.sm\:gap-x-4.gap-y-4 {
 position: relative !important;
 z-index: 1 !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20.bg-feAchromatic-50,
.mt-24.w-full .text-sm.overflow-hidden.z-20.dark\:bg-feAchromatic-900 {
 width: min(100%, 320px) !important;
 min-width: 260px !important;
 margin-top: 10px !important;
 border-radius: 18px !important;
 border: 1px solid rgba(138, 225, 156, 0.22) !important;
 background: linear-gradient(180deg, rgba(34,34,32,.98) 0%, rgba(15,15,14,.98) 100%) !important;
 box-shadow: 0 28px 48px rgba(0,0,0,.36) !important;
 backdrop-filter: blur(12px);
 z-index: 120 !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"],
.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"] {
 height: 46px !important;
 border: 0 !important;
 border-bottom: 1px solid rgba(255,255,255,0.08) !important;
 background: rgba(255,255,255,0.02) !important;
 color: #f4f6f5 !important;
 padding-left: 44px !important;
 padding-right: 40px !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"]::placeholder,
.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"]::placeholder {
 color: rgba(231,236,233,0.68) !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto {
 height: min(290px, 48vh) !important;
 padding: 8px !important;
 scrollbar-width: thin;
 scrollbar-color: rgba(138,225,156,.45) rgba(255,255,255,.06);
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar {
 width: 8px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar-track {
 background: rgba(255,255,255,0.06);
 border-radius: 999px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar-thumb {
 background: rgba(138,225,156,.45);
 border-radius: 999px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p {
 margin: 0 !important;
 padding: 10px 12px !important;
 border-radius: 12px !important;
 color: #edf2ef !important;
 line-height: 1.35 !important;
 transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p:hover {
 background: rgba(34,197,94,.12) !important;
 color: #ffffff !important;
 transform: translateX(1px);
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 hr,
.mt-24.w-full .text-sm.overflow-hidden.z-20 [role="separator"] {
 border-color: rgba(255,255,255,0.08) !important;
}

@media (max-width: 640px) {
 .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
 .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
  border-radius: 18px !important;
 }

 .mt-24.w-full .text-sm.overflow-hidden.z-20.bg-feAchromatic-50,
 .mt-24.w-full .text-sm.overflow-hidden.z-20.dark\:bg-feAchromatic-900 {
  width: 100% !important;
  min-width: 0 !important;
 }
}

/* ===== SEARCH BAR: UI POLISH ===== */

.mt-24.w-full .bg-feAchromatic-50.rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
 background: linear-gradient(180deg, rgba(52,52,50,.94) 0%, rgba(35,35,33,.98) 100%) !important;
 border: 1px solid rgba(138, 225, 156, 0.22) !important;
 box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"],
.mt-24.w-full input[placeholder="Search"],
.mt-24.w-full button[title="Search"],
.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button {
 height: 44px !important;
 border-radius: 14px !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"],
.mt-24.w-full input[placeholder="Search"] {
 background: rgba(255,255,255,0.02) !important;
 border: 1px solid rgba(255,255,255,0.14) !important;
 color: #f3f5f4 !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"]::placeholder,
.mt-24.w-full input[placeholder="Search"]::placeholder {
 color: rgba(231,236,233,0.72) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button {
 background: rgba(255,255,255,0.03) !important;
 border: 1px solid rgba(255,255,255,0.14) !important;
 color: #f3f5f4 !important;
 padding-left: 14px !important;
 padding-right: 14px !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button:hover,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button:hover,
.mt-24.w-full input[placeholder="Enter Keyword"]:hover,
.mt-24.w-full input[placeholder="Search"]:hover {
 border-color: rgba(138, 225, 156, 0.42) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button:focus,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button:focus,
.mt-24.w-full input[placeholder="Enter Keyword"]:focus,
.mt-24.w-full input[placeholder="Search"]:focus {
 border-color: rgba(34,197,94,.72) !important;
 box-shadow: 0 0 0 3px rgba(34,197,94,.18) !important;
}

.mt-24.w-full button[title="Search"],
.mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"],
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="bg-fePrimary-500"] {
 background: linear-gradient(135deg, #1cc653 0%, #17a746 100%) !important;
 border: 0 !important;
 color: #fff !important;
 font-weight: 700 !important;
 letter-spacing: .01em !important;
 box-shadow: 0 14px 28px rgba(23,167,70,.26) !important;
}

.mt-24.w-full .bg-feAchromatic-50 .w-full.lg\:rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800 .w-full.lg\:rounded-lg,
.mt-24.w-full .bg-feAchromatic-50 .flex.gap-x-5.flex-col.md\:flex-row.gap-y-2,
.mt-24.w-full .dark\:bg-feSecondary-800 .flex.gap-x-5.flex-col.md\:flex-row.gap-y-2 {
 position: relative !important;
 z-index: 90 !important;
 overflow: visible !important;
}

.mt-24.w-full .text-fePrimary-50.text-center.text-sm.font-normal.mb-4,
.mt-24.w-full .flex.justify-center.flex-wrap.gap-x-2.sm\:gap-x-4.gap-y-4 {
 position: relative !important;
 z-index: 1 !important;
}

body.kr-home-search-page .mt-24.w-full.kr-home-search-open .h-20 {
 height: auto !important;
 min-height: 0 !important;
 margin-top: 228px !important;
}

body.kr-home-search-page .mt-24.w-full.kr-home-search-open .flex.justify-center.flex-wrap.gap-x-2.sm\:gap-x-4.gap-y-4 {
 margin-top: 12px !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20.bg-feAchromatic-50,
.mt-24.w-full .text-sm.overflow-hidden.z-20.dark\:bg-feAchromatic-900 {
 width: min(100%, 320px) !important;
 min-width: 260px !important;
 margin-top: 10px !important;
 border-radius: 18px !important;
 border: 1px solid rgba(138, 225, 156, 0.22) !important;
 background: linear-gradient(180deg, rgba(34,34,32,.98) 0%, rgba(15,15,14,.98) 100%) !important;
 box-shadow: 0 28px 48px rgba(0,0,0,.36) !important;
 backdrop-filter: blur(12px);
 z-index: 120 !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"],
.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"] {
 height: 46px !important;
 border: 0 !important;
 border-bottom: 1px solid rgba(255,255,255,0.08) !important;
 background: rgba(255,255,255,0.02) !important;
 color: #f4f6f5 !important;
 padding-left: 44px !important;
 padding-right: 40px !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"]::placeholder,
.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"]::placeholder {
 color: rgba(231,236,233,0.68) !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto {
 height: min(290px, 48vh) !important;
 padding: 8px !important;
 scrollbar-width: thin;
 scrollbar-color: rgba(138,225,156,.45) rgba(255,255,255,.06);
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar {
 width: 8px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar-track {
 background: rgba(255,255,255,0.06);
 border-radius: 999px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar-thumb {
 background: rgba(138,225,156,.45);
 border-radius: 999px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p {
 margin: 0 !important;
 padding: 10px 12px !important;
 border-radius: 12px !important;
 color: #edf2ef !important;
 line-height: 1.35 !important;
 transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p:hover {
 background: rgba(34,197,94,.12) !important;
 color: #ffffff !important;
 transform: translateX(1px);
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 hr,
.mt-24.w-full .text-sm.overflow-hidden.z-20 [role="separator"] {
 border-color: rgba(255,255,255,0.08) !important;
}

@media (max-width: 640px) {
 .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
 .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
  border-radius: 18px !important;
 }

 .mt-24.w-full .text-sm.overflow-hidden.z-20.bg-feAchromatic-50,
 .mt-24.w-full .text-sm.overflow-hidden.z-20.dark\:bg-feAchromatic-900 {
  width: 100% !important;
  min-width: 0 !important;
 }
}

/* ===== SEARCH BAR: UI POLISH ===== */

.mt-24.w-full .bg-feAchromatic-50.rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
 background: linear-gradient(180deg, rgba(52,52,50,.94) 0%, rgba(35,35,33,.98) 100%) !important;
 border: 1px solid rgba(138, 225, 156, 0.22) !important;
 box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"],
.mt-24.w-full input[placeholder="Search"],
.mt-24.w-full button[title="Search"],
.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button {
 height: 44px !important;
 border-radius: 14px !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"],
.mt-24.w-full input[placeholder="Search"] {
 background: rgba(255,255,255,0.02) !important;
 border: 1px solid rgba(255,255,255,0.14) !important;
 color: #f3f5f4 !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

.mt-24.w-full input[placeholder="Enter Keyword"]::placeholder,
.mt-24.w-full input[placeholder="Search"]::placeholder {
 color: rgba(231,236,233,0.72) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button {
 background: rgba(255,255,255,0.03) !important;
 border: 1px solid rgba(255,255,255,0.14) !important;
 color: #f3f5f4 !important;
 padding-left: 14px !important;
 padding-right: 14px !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button:hover,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button:hover,
.mt-24.w-full input[placeholder="Enter Keyword"]:hover,
.mt-24.w-full input[placeholder="Search"]:hover {
 border-color: rgba(138, 225, 156, 0.42) !important;
}

.mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button:focus,
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button:focus,
.mt-24.w-full input[placeholder="Enter Keyword"]:focus,
.mt-24.w-full input[placeholder="Search"]:focus {
 border-color: rgba(34,197,94,.72) !important;
 box-shadow: 0 0 0 3px rgba(34,197,94,.18) !important;
}

.mt-24.w-full button[title="Search"],
.mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"],
.mt-24.w-full .dark\:bg-feSecondary-800 [class*="bg-fePrimary-500"] {
 background: linear-gradient(135deg, #1cc653 0%, #17a746 100%) !important;
 border: 0 !important;
 color: #fff !important;
 font-weight: 700 !important;
 letter-spacing: .01em !important;
 box-shadow: 0 14px 28px rgba(23,167,70,.26) !important;
}

.mt-24.w-full .bg-feAchromatic-50 .w-full.lg\:rounded-lg,
.mt-24.w-full .dark\:bg-feSecondary-800 .w-full.lg\:rounded-lg,
.mt-24.w-full .bg-feAchromatic-50 .flex.gap-x-5.flex-col.md\:flex-row.gap-y-2,
.mt-24.w-full .dark\:bg-feSecondary-800 .flex.gap-x-5.flex-col.md\:flex-row.gap-y-2 {
 position: relative !important;
 z-index: 90 !important;
 overflow: visible !important;
}

.mt-24.w-full .text-fePrimary-50.text-center.text-sm.font-normal.mb-4,
.mt-24.w-full .flex.justify-center.flex-wrap.gap-x-2.sm\:gap-x-4.gap-y-4 {
 position: relative !important;
 z-index: 1 !important;
}

body.kr-home-search-page .mt-24.w-full.kr-home-search-open .h-20 {
 height: auto !important;
 min-height: 0 !important;
 margin-top: 256px !important;
}

body.kr-home-search-page .mt-24.w-full.kr-home-search-open .flex.justify-center.flex-wrap.gap-x-2.sm\:gap-x-4.gap-y-4 {
 margin-top: 12px !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20.bg-feAchromatic-50,
.mt-24.w-full .text-sm.overflow-hidden.z-20.dark\:bg-feAchromatic-900 {
 width: min(100%, 320px) !important;
 min-width: 260px !important;
 margin-top: 10px !important;
 border-radius: 18px !important;
 border: 1px solid rgba(138, 225, 156, 0.22) !important;
 background: linear-gradient(180deg, rgba(34,34,32,.98) 0%, rgba(15,15,14,.98) 100%) !important;
 box-shadow: 0 28px 48px rgba(0,0,0,.36) !important;
 backdrop-filter: blur(12px);
 z-index: 120 !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"],
.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"] {
 height: 46px !important;
 border: 0 !important;
 border-bottom: 1px solid rgba(255,255,255,0.08) !important;
 background: rgba(255,255,255,0.02) !important;
 color: #f4f6f5 !important;
 padding-left: 44px !important;
 padding-right: 40px !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"]::placeholder,
.mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"]::placeholder {
 color: rgba(231,236,233,0.68) !important;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto {
 height: min(290px, 48vh) !important;
 padding: 8px !important;
 scrollbar-width: thin;
 scrollbar-color: rgba(138,225,156,.45) rgba(255,255,255,.06);
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar {
 width: 8px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar-track {
 background: rgba(255,255,255,0.06);
 border-radius: 999px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto::-webkit-scrollbar-thumb {
 background: rgba(138,225,156,.45);
 border-radius: 999px;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p {
 margin: 0 !important;
 padding: 10px 12px !important;
 border-radius: 12px !important;
 color: #edf2ef !important;
 line-height: 1.35 !important;
 transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p:hover {
 background: rgba(34,197,94,.12) !important;
 color: #ffffff !important;
 transform: translateX(1px);
}

.mt-24.w-full .text-sm.overflow-hidden.z-20 hr,
.mt-24.w-full .text-sm.overflow-hidden.z-20 [role="separator"] {
 border-color: rgba(255,255,255,0.08) !important;
}

@media (max-width: 640px) {
 .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
 .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
  border-radius: 18px !important;
 }

 .mt-24.w-full .text-sm.overflow-hidden.z-20.bg-feAchromatic-50,
 .mt-24.w-full .text-sm.overflow-hidden.z-20.dark\:bg-feAchromatic-900 {
  width: 100% !important;
  min-width: 0 !important;
 }
}

.vue-neat-modal-wrapper {
 z-index: 10060 !important;
}

.vue-neat-modal-wrapper .vue-neat-modal {
 position: relative;
 z-index: 10061 !important;
}

@media(max-width:640px){
 .mt-24.w-full {
  margin-top: 72px !important;
  padding: 0 12px 14px !important;
 }

 .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
 .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
  width: 100% !important;
  max-width: none !important;
  padding: 10px !important;
  border-radius: 14px !important;
 }

 .mt-24.w-full .bg-feAchromatic-50 .flex.gap-x-5,
 .mt-24.w-full .dark\:bg-feSecondary-800 .flex.gap-x-5 {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
 }

 .mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"],
 .mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"],
 .mt-24.w-full input[placeholder="Search"] {
  width: 100% !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
 }

 .mt-24.w-full .flex.justify-center {
  margin-left: 0 !important;
 }

 .mt-24.w-full button[title="Search"],
 .mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"],
 .mt-24.w-full .dark\:bg-feSecondary-800 [class*="bg-fePrimary-500"] {
  width: 100% !important;
 }
}

/* ===== POPULAR CATEGORIES: HORIZONTAL SCROLL ===== */

/* Remove fixed height */
.mt-24.w-full .h-20 {
 height: auto !important;
 padding: 0 16px !important;
}

/* "Popular Categories" label */
.mt-24.w-full .h-20 .text-center.text-sm {
 font-size: 11px !important;
 text-transform: uppercase !important;
 letter-spacing: 1px !important;
 margin-bottom: 8px !important;
 opacity: 0.7;
}

/* Pills container: horizontal scroll, no wrap */
.mt-24.w-full .flex.justify-center.flex-wrap {
 flex-wrap: nowrap !important;
 overflow-x: auto !important;
 justify-content: flex-start !important;
 gap: 8px !important;
 padding: 2px 0 4px !important;
 -webkit-overflow-scrolling: touch;
 scrollbar-width: none;
 max-width: 720px;
 margin: 0 auto;
}
.mt-24.w-full .flex.justify-center.flex-wrap::-webkit-scrollbar {
 display: none;
}

/* Each pill: compact, no shrink */
.mt-24.w-full .flex.justify-center.flex-wrap > * {
 flex: 0 0 auto !important;
}
.mt-24.w-full .flex.justify-center.flex-wrap button,
.mt-24.w-full .flex.justify-center.flex-wrap [class*="bg-feAchromatic-50"] {
 padding: 5px 14px !important;
 font-size: 12px !important;
 border-radius: 999px !important;
 white-space: nowrap !important;
 border: 1px solid rgba(255,255,255,.2) !important;
 background: rgba(255,255,255,.12) !important;
 color: #fff !important;
 backdrop-filter: blur(4px) !important;
 transition: all .2s !important;
}
.mt-24.w-full .flex.justify-center.flex-wrap button:hover,
.mt-24.w-full .flex.justify-center.flex-wrap [class*="bg-feAchromatic-50"]:hover {
 background: rgba(255,255,255,.25) !important;
 border-color: rgba(255,255,255,.4) !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media(max-width:640px){
 /* Banner: show image on mobile with compact height */
 .mt-24.w-full .h-\[530px\],
 .mt-24.w-full .sm\:h-\[485px\],
 .mt-24.w-full img.h-\[530px\],
 .mt-24.w-full img.sm\:h-\[485px\],
 .mt-24.w-full .h-\[530px\].object-cover,
 .mt-24.w-full .sm\:h-\[485px\].object-cover,
 .mt-24.w-full .h-\[280px\],
 .mt-24.w-full .sm\:h-\[380px\],
 .mt-24.w-full img.h-\[280px\],
 .mt-24.w-full img.sm\:h-\[380px\] {
 height: 416px !important;
 min-height: 416px !important;
 overflow: hidden !important;
 }

 .mt-24.w-full {
 margin-top: 0 !important;
 padding-top: 56px !important;
 }

 /* Overlay stays absolute over the visible banner image */
 .mt-24.w-full .absolute.top-0.w-full.h-full {
 position: absolute !important;
 height: 100% !important;
 gap: 6px !important;
 padding: 10px 10px 10px !important;
 }

 /* Show the background image on mobile */
 .mt-24.w-full .bg-feAchromatic-900 > .w-full.object-cover.relative,
 .mt-24.w-full .bg-feAchromatic-900 > div:first-child:not(.absolute) {
 display: block !important;
 }

 /* Title: compact on mobile */
 .mt-24.w-full .text-center .text-xl.font-semibold,
 .mt-24.w-full .text-center [class*="xl:text-5xl"],
 .mt-24.w-full .text-center [class*="sm:text-4xl"] {
 font-size: 18px !important;
 margin-bottom: 2px !important;
 }

 .mt-24.w-full .text-center .text-base.font-normal {
 font-size: 12px !important;
 padding: 0 20px !important;
 display: block !important;
 line-height: 1.3 !important;
 opacity: 0.8;
 }

 /* Search bar: narrower on mobile so banner image visible on sides */
 .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
 .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
 width: 75% !important;
 max-width: 280px !important;
 padding: 8px !important;
 border-radius: 12px !important;
 margin: 0 auto !important;
 }

 /* Search inner: column on mobile, compact */
 .mt-24.w-full .bg-feAchromatic-50 .flex.gap-x-5 {
 flex-direction: column !important;
 gap: 4px !important;
 }
 .mt-24.w-full .bg-feAchromatic-50 .h-10 {
 height: 34px !important;
 font-size: 13px !important;
 }

 /* Dropdowns full width on mobile */
 .mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] {
 width: 100% !important;
 }

 /* Search button compact on mobile */
 .mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"] {
 width: 100% !important;
 text-align: center !important;
 justify-content: center !important;
 padding: 6px 16px !important;
 font-size: 12px !important;
 height: 34px !important;
 }

 /* Popular categories: edge to edge on mobile */
 .mt-24.w-full .h-20 {
 padding: 0 !important;
 height: auto !important;
 margin-top: 4px !important;
 }

 .mt-24.w-full .flex.justify-center.flex-wrap {
 justify-content: flex-start !important;
 flex-wrap: nowrap !important;
 overflow-x: auto !important;
 padding-left: 12px !important;
 padding-right: 12px !important;
 margin: 0 !important;
 max-width: 100% !important;
 width: 100% !important;
 -webkit-overflow-scrolling: touch;
 scrollbar-width: none;
 gap: 6px !important;
 }
 .mt-24.w-full .flex.justify-center.flex-wrap::-webkit-scrollbar { display: none; }

 .mt-24.w-full .flex.justify-center.flex-wrap button,
 .mt-24.w-full .flex.justify-center.flex-wrap [class*="bg-feAchromatic-50"] {
 padding: 4px 12px !important;
 font-size: 11px !important;
 flex: 0 0 auto !important;
 }

 /* Popular cats label: centered on mobile */
 .mt-24.w-full .h-20 .text-center.text-sm {
 text-align: center !important;
 padding-left: 0 !important;
 font-size: 10px !important;
 margin-bottom: 4px !important;
 }
}

/* ===== TABLET ===== */
@media(min-width:641px) and (max-width:1023px){
 .mt-24.w-full .h-\[530px\],
 .mt-24.w-full .sm\:h-\[485px\],
 .mt-24.w-full img.h-\[530px\],
 .mt-24.w-full img.sm\:h-\[485px\] {
 height: 300px !important;
 }

 .mt-24.w-full .text-center .text-xl.font-semibold,
 .mt-24.w-full .text-center [class*="xl:text-5xl"] {
 font-size: 22px !important;
 }
}

/* ===== anon-style-90 (orig line 14039) ===== */
/* 1. TIGHTER SPLIDE GAP - ALL BREAKPOINTS */
.splide__list {
 gap: 1px !important;
}
@media (max-width: 640px) {
 .splide__list { gap: 1px !important; }
 .splide__slide {
 width: calc(50% - 1px) !important;
 min-width: calc(50% - 1px) !important;
 }
}
@media (min-width: 641px) and (max-width: 1023px) {
 .splide__slide {
 width: calc(33.33% - 6px) !important;
 min-width: calc(33.33% - 6px) !important;
 }
}

/* 2. HIDE SPLIDE ARROWS in the main gallery (NOT in the modal) */
.kr-item-detail .wrapper .splide__arrows,
.kr-item-detail .wrapper .splide__arrow,
.kr-item-detail .wrapper .splide__arrow--prev,
.kr-item-detail .wrapper .splide__arrow--next,
.kr-item-detail .wrapper button.splide__arrow {
 display: none !important;
 visibility: hidden !important;
 opacity: 0 !important;
 pointer-events: none !important;
 width: 0 !important;
 height: 0 !important;
 overflow: hidden !important;
}
/* Also hide arrows on homepage sliders etc — but NOT in modals */
.kr-item-list-page .splide__arrows,
.kr-category-page .splide__arrows,
.kr-item-list-page .splide__arrow,
.kr-category-page .splide__arrow {
 display: none !important;
}

/* 4. BECOME A VENDOR CARD: REDESIGNED SELLER PROGRAM */
.kr-vendor-widget {
 position: relative !important;
 margin-top: 18px !important;
 margin-bottom: 22px !important;
}
.kr-vendor-widget-card {
 position: relative !important;
 overflow: hidden !important;
 border: 1px solid rgba(56, 189, 83, 0.22) !important;
 border-radius: 28px !important;
 background:
  radial-gradient(circle at top left, rgba(79, 236, 137, 0.18) 0%, rgba(79, 236, 137, 0) 38%),
  radial-gradient(circle at 88% 18%, rgba(110, 231, 183, 0.16) 0%, rgba(110, 231, 183, 0) 32%),
  linear-gradient(145deg, #0c1f13 0%, #102b19 40%, #0e2116 100%) !important;
 box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.04) !important;
 isolation: isolate;
}
.kr-vendor-widget-card::before,
.kr-vendor-widget-card::after {
 content: '';
 position: absolute;
 pointer-events: none;
 border-radius: 999px;
}
.kr-vendor-widget-card::before {
 top: -72px;
 right: -60px;
 width: 220px;
 height: 220px;
 background: rgba(34, 197, 94, 0.18);
}
.kr-vendor-widget-card::after {
 left: -48px;
 bottom: -88px;
 width: 188px;
 height: 188px;
 background: rgba(16, 185, 129, 0.14);
}
.kr-vendor-widget-content {
 position: relative !important;
 z-index: 1 !important;
 gap: 0 !important;
 padding: 22px 20px !important;
}
.kr-vendor-widget-eyebrow {
 display: inline-flex !important;
 align-items: center !important;
 width: fit-content !important;
 min-height: 34px !important;
 margin: 0 0 10px !important;
 padding: 0 12px !important;
 border: 1px solid rgba(134, 239, 172, 0.18) !important;
 border-radius: 999px !important;
 background: rgba(34, 197, 94, 0.12) !important;
 color: #9ff3b8 !important;
 font-size: 0.7rem !important;
 font-weight: 800 !important;
 letter-spacing: 0.04em !important;
 text-transform: none !important;
}
.kr-vendor-widget-title {
 margin: 0 !important;
 color: #f8fafc !important;
 font-size: clamp(1.55rem, 4.2vw, 2.35rem) !important;
 line-height: 1.04 !important;
 font-weight: 900 !important;
 letter-spacing: -0.04em !important;
 max-width: 12ch !important;
 text-wrap: balance;
}
.kr-vendor-widget-copy {
 max-width: 31rem !important;
 margin: 10px 0 0 !important;
 color: rgba(226, 232, 240, 0.82) !important;
 font-size: 0.92rem !important;
 line-height: 1.5 !important;
 font-weight: 500 !important;
}
.kr-vendor-widget-button {
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;
 gap: 10px !important;
 width: min(100%, 320px) !important;
 min-height: 50px !important;
 margin-top: 16px !important;
 padding: 0 20px !important;
 border: 1px solid rgba(255,255,255,0.06) !important;
 border-radius: 16px !important;
 background: linear-gradient(180deg, #2be15d 0%, #0fbe42 100%) !important;
 color: #052e16 !important;
 font-size: 0.95rem !important;
 font-weight: 900 !important;
 letter-spacing: -0.01em !important;
 box-shadow: 0 18px 34px rgba(24, 214, 88, 0.24) !important;
 transition: transform .18s ease, filter .18s ease !important;
}
.kr-vendor-widget-button:hover {
 transform: translateY(-1px);
 filter: brightness(1.04);
 box-shadow: 0 22px 38px rgba(24, 214, 88, 0.28) !important;
}
.kr-vendor-widget-button svg {
 width: 18px !important;
 height: 18px !important;
}
@media (min-width: 768px) {
 .kr-vendor-widget-content {
  padding: 28px 30px !important;
 }
 .kr-vendor-widget-title {
  max-width: 12ch !important;
 }
 .kr-vendor-widget-card::before {
  width: 260px;
  height: 260px;
 }
}
@media (max-width: 640px) {
 .kr-vendor-widget {
  margin-top: 12px !important;
  margin-bottom: 16px !important;
 }
 .kr-vendor-widget-card {
  border-radius: 24px !important;
 }
 .kr-vendor-widget-content {
  padding: 18px 16px !important;
 }
 .kr-vendor-widget-eyebrow {
  min-height: 30px !important;
  margin-bottom: 10px !important;
  padding: 0 10px !important;
  font-size: 0.68rem !important;
 }
 .kr-vendor-widget-title {
  font-size: 1.55rem !important;
 }
 .kr-vendor-widget-copy {
  font-size: 0.88rem !important;
  line-height: 1.42 !important;
 }
 .kr-vendor-widget-button {
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 16px !important;
 }
}

/* ===== anon-style-92 (orig line 14313) ===== */
<!-- Clean Modern Footer Overrides -->
 <style id="kr-footer-clean">
/* Hide the legacy CTA banner above the main footer. */
.z-0.relative.h-96.overflow-hidden,
.bg-feAchromatic-50.flex.flex-col.justify-center.items-center {
  display: none !important;
}

footer.bg-feSecondary-900 {
  padding: 0 !important;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 28%),
    linear-gradient(180deg, #0f172a 0%, #111827 56%, #0b1220 100%) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

footer.bg-feSecondary-900 > div:first-child {
  max-width: 1180px !important;
  padding: 42px 24px 16px !important;
  margin-top: 0 !important;
}

footer.bg-feSecondary-900 .max-w-7xl.mx-auto.px-6.pt-12.pb-8 {
  padding-top: 42px !important;
  padding-bottom: 20px !important;
}

footer.bg-feSecondary-900 .grid.grid-cols-2.md\:grid-cols-4 {
  gap: 2rem !important;
}

footer.bg-feSecondary-900 h3 {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(226, 232, 240, 0.68) !important;
  margin-bottom: 1rem !important;
}

footer.bg-feSecondary-900 ul,
footer.bg-feSecondary-900 .space-y-3,
footer.bg-feSecondary-900 .flex.flex-col.gap-2,
footer.bg-feSecondary-900 .flex.flex-col.gap-4,
footer.bg-feSecondary-900 .flex.flex-col.sm\:gap-4 {
  gap: 0.6rem !important;
}

footer.bg-feSecondary-900 li,
footer.bg-feSecondary-900 .font-normal.text-base,
footer.bg-feSecondary-900 .text-sm.font-normal,
footer.bg-feSecondary-900 .text-sm.cursor-pointer {
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: rgba(226, 232, 240, 0.82) !important;
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

footer.bg-feSecondary-900 a:hover,
footer.bg-feSecondary-900 .font-normal.text-base:hover,
footer.bg-feSecondary-900 .text-sm.cursor-pointer:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}

footer.bg-feSecondary-900 .grid.grid-cols-2.md\:grid-cols-4 > div {
  min-width: 0;
}

footer.bg-feSecondary-900 .flex.gap-3.mt-6 {
  margin-top: 1.4rem !important;
  gap: 0.75rem !important;
}

footer.bg-feSecondary-900 img.h-10.w-auto.cursor-pointer.object-contain {
  height: 2.65rem !important;
  width: auto !important;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.28));
}

footer.bg-feSecondary-900 .border-t.border-feAchromatic-50\/10 {
  border-top: 1px solid rgba(148, 163, 184, 0.16) !important;
}

footer.bg-feSecondary-900 .max-w-7xl.mx-auto.px-6.py-5.flex.items-center.justify-center,
footer.bg-feSecondary-900 > .mb-6.flex.justify-center,
footer.bg-feSecondary-900 .mb-6.flex.justify-center.items-center.mt-8.sm\:mt-6 {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 16px 24px 22px !important;
}

footer.bg-feSecondary-900 .text-xs.text-feAchromatic-50\/60,
footer.bg-feSecondary-900 .font-medium.text-sm {
  font-size: 0.78rem !important;
  letter-spacing: 0.04em !important;
  color: rgba(203, 213, 225, 0.55) !important;
}

@media (max-width: 767px) {
  footer.bg-feSecondary-900 > div:first-child,
  footer.bg-feSecondary-900 .max-w-7xl.mx-auto.px-6.pt-12.pb-8 {
    padding: 30px 18px 14px !important;
  }

  footer.bg-feSecondary-900 .grid.grid-cols-2.md\:grid-cols-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.4rem !important;
  }

  footer.bg-feSecondary-900 h3 {
    margin-bottom: 0.8rem !important;
  }

  footer.bg-feSecondary-900 .flex.gap-3.mt-6 {
    margin-top: 1rem !important;
    flex-wrap: wrap;
  }

  footer.bg-feSecondary-900 .max-w-7xl.mx-auto.px-6.py-5.flex.items-center.justify-center,
  footer.bg-feSecondary-900 > .mb-6.flex.justify-center,
  footer.bg-feSecondary-900 .mb-6.flex.justify-center.items-center.mt-8.sm\:mt-6 {
    padding: 14px 18px 18px !important;
  }
}

/* ===== kr-nav-clean (orig line 14446) ===== */
/* ═══════════ NAVIGATION MENU CLEANUP ═══════════ */

/* ─── Mobile: compact hamburger menu dropdown ─── */
@media (max-width: 767px) {
  /* Allow menu to overflow below the fixed nav */
  nav.z-40.fixed {
    overflow: visible !important;
    z-index: 51 !important;
  }

  /* Mobile menu panel → compact card dropdown, scoped tightly */
  nav.z-40 > .border.border-b-2,
  nav.z-40 .border.border-b-2,
  .kr-item-detail nav.z-40 .border.border-b-2 {
    position: fixed !important;
    top: 124px !important;
    left: 12px !important;
    right: auto !important;
    width: 200px !important;
    margin-top: 0 !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10),
                0 1px 4px rgba(0,0,0,0.06) !important;
    padding: 0 !important;
    animation: kr-menu-appear 0.15s ease-out !important;
    background: #ffffff !important;
    z-index: 9999 !important;
  }

  /* When scrolled (tab bar hidden), menu moves up */
  nav.z-40.mt-0 > .border.border-b-2 {
    top: 64px !important;
  }

  /* Compact inner layout */
  nav.z-40 > .border.border-b-2 > .flex.flex-col {
    padding: 6px !important;
    gap: 0 !important;
  }

  /* Hide redundant logo inside mobile menu */
  nav.z-40 > .border.border-b-2 > .flex.flex-col > .h-10 {
    display: none !important;
  }

  /* Menu link items — clean compact interactive style */
  nav.z-40 > .border.border-b-2 .px-4.py-2 {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    transition: background-color 0.15s ease !important;
    background: transparent !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    text-decoration: none !important;
  }
  nav.z-40 > .border.border-b-2 .px-4.py-2:hover,
  nav.z-40 > .border.border-b-2 .px-4.py-2:active {
    background: rgba(0,0,0,0.04) !important;
  }

  /* Profile dropdown: keep on-screen on mobile */
  nav.z-40 .relative.inline-block > .absolute {
    --tw-translate-x: 0 !important;
    right: -8px !important;
    left: auto !important;
    max-width: calc(100vw - 24px) !important;
  }

  /* Right-side icons — slightly tighter gap on mobile */
  nav.z-40 .flex.gap-6.items-center {
    gap: 16px !important;
  }
}

/* ─── Desktop: cleaner profile dropdown ─── */
@media (min-width: 768px) {
  nav.z-40 .relative.inline-block > .absolute.translate-x-16 {
    --tw-translate-x: 0 !important;
  }
}

/* ─── Profile dropdown (all sizes) ─── */
nav.z-40 .relative.inline-block > .absolute.z-20 {
  border-radius: 12px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10),
              0 1px 4px rgba(0,0,0,0.06) !important;
  overflow: hidden !important;
}
nav.z-40 .w-\[280px\] {
  box-shadow: none !important;
  border-radius: 0 !important;
}
nav.z-40 .w-\[280px\] .m-2.mt-4.flex.border {
  margin: 8px !important;
  border-radius: 10px !important;
  border-color: rgba(0,0,0,0.08) !important;
  padding: 10px 12px !important;
}
nav.z-40 .w-\[280px\] .w-full.flex.p-4 {
  padding: 10px 16px !important;
  transition: background-color 0.12s ease !important;
}
nav.z-40 .w-\[280px\] hr {
  border-color: rgba(0,0,0,0.06) !important;
  margin: 4px 12px !important;
}

/* ─── ITEM DETAIL PAGE: ensure nav stays clean ─── */
/* Reset ALL item-detail overrides for elements inside the nav */
.kr-item-detail nav.z-40,
.kr-item-detail nav.z-40 * {
  /* Undo any margin/padding/opacity/font-size overrides
     that .kr-item-detail might broadly apply */
}
/* Push main nav bar down to clear the 48px top bar */
nav.z-40.fixed.mt-10 {
  margin-top: 60px !important;
}

/* Make sure the nav bar itself is unaffected by detail page resets */
.kr-item-detail nav.z-40 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  background: #fff !important;
  overflow: visible !important;
}
/* The mobile menu inside nav on item detail pages — broad selectors */
.kr-item-detail nav.z-40 .border.border-b-2,
.kr-item-detail nav.z-40 > .border.border-b-2,
.kr-item-detail nav.z-40 div.border.border-b-2 {
  background: #fff !important;
  color: #1e293b !important;
  border-color: rgba(0,0,0,0.08) !important;
}
.kr-item-detail nav.z-40 .border.border-b-2 .px-4.py-2,
.kr-item-detail nav.z-40 > .border.border-b-2 .px-4.py-2 {
  color: #1e293b !important;
  opacity: 1 !important;
  font-size: 14px !important;
  background: transparent !important;
}
.kr-item-detail nav.z-40 .border.border-b-2 .px-4.py-2:hover {
  background: rgba(0,0,0,0.04) !important;
}
/* Ensure desktop nav links on detail page are also clean */
.kr-item-detail nav.z-40 .md\:flex.gap-6 .px-4.py-2 {
  opacity: 1 !important;
  font-size: inherit !important;
}
/* nav icons stay normal on detail page */
.kr-item-detail nav.z-40 .flex.gap-6.items-center {
  opacity: 1 !important;
}
/* Profile dropdown on detail page */
.kr-item-detail nav.z-40 .w-\[280px\] .w-full.flex.p-4,
.kr-item-detail nav.z-40 .w-\[280px\] .m-2.mt-4.flex.border {
  opacity: 1 !important;
  font-size: inherit !important;
  color: inherit !important;
}

/* ─── Slide-in animation ─── */
@keyframes kr-menu-appear {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== kr-topbar-clean (orig line 14659) ===== */
/* ═══════════ TOP LOCATION BAR REDESIGN ═══════════ */

/* Base bar — light, slim, clean */
nav.z-50.fixed {
  background: #f8f9fa !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  height: 56px !important;
}

/* Inner row */
nav.z-50 > div {
  align-items: center !important;
}

/* Location trigger — subtle dark text */
nav.z-50 .cursor-pointer.items-center svg {
  color: #64748b !important;
  width: 16px !important;
  height: 16px !important;
}
nav.z-50 .cursor-pointer.items-center span,
nav.z-50 .cursor-pointer.items-center .text-sm {
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
/* Language dropdown — clean minimal trigger */
nav.z-50 .flex.gap-4 > div:first-child button {
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: rgba(0,0,0,0.04) !important;
  border: none !important;
}
nav.z-50 .flex.gap-4 > div:first-child button svg {
  width: 14px !important;
  height: 14px !important;
  color: #94a3b8 !important;
}

/* Language dropdown panel — compact */
nav.z-50 .flex.gap-4 .absolute.z-20,
nav.z-50 .flex.gap-4 .relative.inline-block > .absolute {
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  margin-top: 6px !important;
  overflow: hidden !important;
}

/* Right-side control group */
nav.z-50 .flex.gap-4 {
  gap: 10px !important;
  align-items: center !important;
}

/* ─── App store badges in top bar ─── */
#kr-topbar-apps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}
#kr-topbar-app-label {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
#kr-topbar-apps a {
  display: flex;
  align-items: center;
  height: 22px;
  opacity: 1;
  transition: transform 0.15s ease;
}
#kr-topbar-apps a:hover {
  transform: scale(1.05);
}
#kr-topbar-apps a img {
  height: 22px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Mobile: hide app badges, keep bar compact */
@media (max-width: 639px) {
  #kr-topbar-apps {
    display: flex !important;
  }
  nav.z-50.fixed {
    height: 56px !important;
  }
  nav.z-50 .cursor-pointer.items-center span,
  nav.z-50 .cursor-pointer.items-center .text-sm {
    display: block !important;
    font-size: 11px !important;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Hide language on mobile to save space */
  nav.z-50 .flex.gap-4 > div:first-child {
    display: none !important;
  }
  /* Smaller badges on mobile */
  #kr-topbar-apps a img {
    height: 18px !important;
  }
  #kr-topbar-apps {
    gap: 4px !important;
  }
  #kr-topbar-app-label {
    display: none !important;
  }
  #kr-topbar-sep {
    display: inline-block !important;
    margin: 0 4px !important;
  }
}

/* Tablet: show badges smaller */
@media (min-width: 640px) and (max-width: 1023px) {
  #kr-topbar-apps a img {
    height: 20px;
  }
}

/* Separator dot between location and badges */
#kr-topbar-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
  margin: 0 8px;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  #kr-topbar-sep { display: none !important; }
}

/* ===== anon-style-97 (orig line 14884) ===== */
/* ===== GALLERY MODAL — Clean Fullscreen Viewer ===== */

/* Modal overlay: full-screen dark background */
.ps-modal-overlay .bg-transparent,
.ps-modal-overlay .rounded-lg.bg-transparent {
  background: rgba(0,0,0,0.95) !important;
  max-width: 100vw !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Close button — top-right, white on dark */
.ps-modal-overlay .bg-transparent .flex.justify-end {
  position: absolute !important;
  top: 12px; right: 12px;
  z-index: 100;
  padding: 0 !important;
}
.ps-modal-overlay .bg-transparent .h-8.w-8.rounded {
  background: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(6px);
  border-radius: 50% !important;
  width: 40px !important; height: 40px !important;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid rgba(255,255,255,0.15);
}
.ps-modal-overlay .bg-transparent .h-8.w-8.rounded:hover {
  background: rgba(255,255,255,0.3) !important;
}
.ps-modal-overlay .bg-transparent .h-8.w-8.rounded svg,
.ps-modal-overlay .bg-transparent .h-8.w-8.rounded .text-feSecondary-800 {
  color: #fff !important;
}

/* Content area — take full viewport */
.ps-modal-overlay .bg-transparent .w-full.mb-4 {
  margin: 0 !important;
  height: calc(100vh - 40px) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Splide inside modal — full size */
.ps-modal-overlay .bg-transparent .splide {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}
.ps-modal-overlay .bg-transparent .splide__track {
  height: calc(100vh - 80px) !important;
  max-height: calc(100vh - 80px) !important;
}
.ps-modal-overlay .bg-transparent .splide__slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: calc(100vh - 80px) !important;
}

/* Video in modal — responsive, centered */
.ps-modal-overlay .bg-transparent video {
  max-width: 92vw !important;
  max-height: calc(100vh - 100px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  background: #000;
  outline: none;
}

/* Images in modal — responsive, centered */
.ps-modal-overlay .bg-transparent .splide__slide img {
  max-width: 92vw !important;
  max-height: calc(100vh - 100px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px !important;
}

/* Navigation arrows — visible glassmorphic circles */
.ps-modal-overlay .bg-transparent .splide__arrows {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.ps-modal-overlay .bg-transparent .splide__arrow,
.ps-modal-overlay .bg-transparent button.splide__arrow,
.ps-modal-overlay .bg-transparent .splide__arrow--prev,
.ps-modal-overlay .bg-transparent .splide__arrow--next {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(6px);
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  cursor: pointer;
  z-index: 20;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s;
}
.ps-modal-overlay .bg-transparent .splide__arrow:hover {
  background: rgba(255,255,255,0.25) !important;
}
.ps-modal-overlay .bg-transparent .splide__arrow--prev {
  left: 8px !important;
}
.ps-modal-overlay .bg-transparent .splide__arrow--next {
  right: 8px !important;
}
.ps-modal-overlay .bg-transparent .splide__arrow svg {
  color: #fff !important;
  stroke: #fff !important;
  width: 20px !important;
  height: 20px !important;
}

/* Pagination dots */
.ps-modal-overlay .bg-transparent .splide__pagination {
  bottom: 16px !important;
  display: flex !important;
  gap: 6px;
}
.ps-modal-overlay .bg-transparent .splide__pagination__page {
  background: rgba(255,255,255,0.3) !important;
  width: 8px !important; height: 8px !important;
  border-radius: 50% !important;
  border: none !important;
}
.ps-modal-overlay .bg-transparent .splide__pagination__page.is-active {
  background: #fff !important;
  transform: scale(1.3);
}

/* ===== MOBILE ===== */
@media (max-width: 639px) {
  .ps-modal-overlay .bg-transparent {
    padding: 8px !important;
  }
  .ps-modal-overlay .bg-transparent video {
    max-width: 100vw !important;
    border-radius: 0 !important;
  }
  .ps-modal-overlay .bg-transparent .splide__slide img {
    max-width: 100vw !important;
  }
  .ps-modal-overlay .bg-transparent .splide__arrow {
    width: 36px !important; height: 36px !important;
  }
  .ps-modal-overlay .bg-transparent .splide__arrow--prev { left: 4px !important; }
  .ps-modal-overlay .bg-transparent .splide__arrow--next { right: 4px !important; }
  .ps-modal-overlay .bg-transparent .flex.justify-end {
    top: 8px; right: 8px;
  }
  .ps-modal-overlay .bg-transparent .h-8.w-8.rounded {
    width: 36px !important; height: 36px !important;
  }
}

/* ===== anon-style-98 (orig line 15066) ===== */
#kr-gallery-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#kr-gallery-modal.active { display: flex; }
#kr-gallery-modal .kr-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(6px);
  transition: background 0.2s;
}
#kr-gallery-modal .kr-close:hover { background: rgba(255,255,255,0.3); }
#kr-gallery-modal img {
  max-width: 94vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  min-width: 60vw;
  object-fit: contain;
  border-radius: 8px;
  background: #111;
}
#kr-gallery-modal video {
  max-width: 94vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  min-width: 60vw;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
  outline: none;
}
@media (max-width: 639px) {
  #kr-gallery-modal img { max-width: 100vw; min-width: 100vw; border-radius: 0; }
  #kr-gallery-modal video { max-width: 100vw; min-width: 100vw; border-radius: 0; }
  #kr-gallery-modal .kr-close { top: 10px; right: 10px; width: 38px; height: 38px; }
}

/* ===== anon-style-102 (orig line 15463) ===== */
/* ── Payment screen ── */
.kr-pay-section { margin-bottom: 20px; }
.kr-pay-section-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #374151; margin-bottom: 12px; }
.dark .kr-pay-section-title { color: #e2e8f0; }
.kr-pay-section-title svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Phone input */
.kr-pay-phone-wrap { display: flex; align-items: center; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 4px 16px; background: #fff; transition: border-color 0.2s; }
.dark .kr-pay-phone-wrap { background: #1e293b; border-color: #374151; }
.kr-pay-phone-wrap:focus-within { border-color: #10b981; }
.kr-pay-phone-wrap svg { width: 24px; height: 24px; flex-shrink: 0; margin-right: 12px; }
.kr-pay-phone { flex: 1; border: none; outline: none; font-size: 15px; padding: 12px 0; background: transparent; color: #111827; }
.dark .kr-pay-phone { color: #f1f5f9; }
.kr-pay-phone::placeholder { color: #9ca3af; }

/* Payment method cards */
.kr-pay-methods { display: flex; gap: 10px; }
.kr-pay-method { flex: 1; border: 2px solid #e5e7eb; border-radius: 14px; padding: 14px 8px; text-align: center; cursor: pointer; transition: all 0.2s; background: #fff; position: relative; }
.dark .kr-pay-method { background: #1e293b; border-color: #374151; }
.kr-pay-method:hover { border-color: #d1d5db; }
.kr-pay-method.active { border-color: #10b981; background: rgba(16,185,129,0.04); }
.kr-pay-method-icon { height: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.kr-pay-method-icon svg { width: 28px; height: 28px; }
.kr-pay-method-label { font-size: 11px; font-weight: 700; color: #374151; line-height: 1.3; }
.dark .kr-pay-method-label { color: #e2e8f0; }
.kr-pay-method-check { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #10b981; display: none; align-items: center; justify-content: center; }
.kr-pay-method.active .kr-pay-method-check { display: flex; }
.kr-pay-method-check svg { width: 12px; height: 12px; stroke: #fff; fill: none; }

/* Order summary */
.kr-pay-summary { background: linear-gradient(135deg, #FFC000 0%, #FF9800 100%); border-radius: 16px; overflow: hidden; }
.kr-pay-summary[data-net="TELECEL"] { background: linear-gradient(135deg, #E60000 0%, #B71C1C 100%); }
.kr-pay-summary[data-net="AT_PREMIUM"] { background: linear-gradient(135deg, #E65100 0%, #7B1FA2 50%, #283593 100%); }
.kr-pay-sum-header { padding: 14px 18px 10px; display: flex; align-items: center; gap: 8px; }
.kr-pay-sum-header svg { width: 20px; height: 20px; }
.kr-pay-sum-header span { font-size: 15px; font-weight: 700; color: #fff; }
.kr-pay-sum-body { background: #fff; margin: 0 2px 2px; border-radius: 0 0 14px 14px; padding: 16px 18px; }
.dark .kr-pay-sum-body { background: #1e293b; }
.kr-pay-sum-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.kr-pay-sum-row-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b7280; }
.dark .kr-pay-sum-row-label { color: #94a3b8; }
.kr-pay-sum-row-label svg { width: 28px; height: 28px; background: #f3f4f6; border-radius: 8px; padding: 4px; }
.dark .kr-pay-sum-row-label svg { background: #374151; }
.kr-pay-sum-row-val { font-size: 13px; font-weight: 700; color: #111827; }
.dark .kr-pay-sum-row-val { color: #f1f5f9; }
.kr-pay-sum-divider { height: 1px; background: #e5e7eb; margin: 4px 0; }
.dark .kr-pay-sum-divider { background: #374151; }
.kr-pay-sum-total { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 4px; }
.kr-pay-sum-total-label { font-size: 15px; font-weight: 800; color: #111827; }
.dark .kr-pay-sum-total-label { color: #f1f5f9; }
.kr-pay-sum-total-val { font-size: 15px; font-weight: 800; color: #10b981; padding: 6px 14px; background: rgba(16,185,129,0.08); border-radius: 10px; border: 1.5px solid rgba(16,185,129,0.2); }
.kr-pay-sum-fee { font-size: 11px; color: #9ca3af; display: flex; align-items: center; gap: 4px; margin-top: 2px; }

/* Pay button */
.kr-pay-btn { width: 100%; padding: 16px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; font-size: 16px; font-weight: 700; border: none; border-radius: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform 0.15s, box-shadow 0.15s; margin-top: 24px; }
.kr-pay-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,185,129,0.3); }
.kr-pay-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.kr-pay-btn svg { width: 22px; height: 22px; }

/* Success screen */
.kr-pay-success { text-align: center; padding: 48px 20px; }
.kr-pay-success-icon { width: 72px; height: 72px; background: rgba(16,185,129,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.kr-pay-success-icon svg { width: 36px; height: 36px; stroke: #10b981; fill: none; }
.kr-pay-success h3 { font-size: 20px; font-weight: 800; color: #111827; margin: 0 0 8px; }
.dark .kr-pay-success h3 { color: #f1f5f9; }
.kr-pay-success p { font-size: 14px; color: #6b7280; margin: 0 0 24px; }
.kr-pay-success-btn { display: inline-block; padding: 12px 32px; background: #10b981; color: #fff; font-size: 14px; font-weight: 700; border-radius: 12px; text-decoration: none; cursor: pointer; border: none; }

/* Error message */
.kr-pay-error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); border-radius: 10px; padding: 10px 14px; color: #dc2626; font-size: 13px; font-weight: 600; margin-top: 12px; display: none; }

/* ===== kr-home-search-fix-style (orig line 15538) ===== */
body.kr-home-search-page .mt-24.w-full {
  margin-top: 78px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 14px 18px !important;
  position: relative !important;
  z-index: 20 !important;
}
body.kr-home-search-page .mt-24.w-full > .bg-feAchromatic-900.relative {
  display: block !important;
  background: transparent !important;
  min-height: 0 !important;
}
body.kr-home-search-page .mt-24.w-full > .bg-feAchromatic-900.relative > div:first-child {
  display: none !important;
}
body.kr-home-search-page .mt-24.w-full > .bg-feAchromatic-900.relative > .absolute.top-0.w-full.h-full {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  padding: 0 !important;
}
body.kr-home-search-page .mt-24.w-full > .bg-feAchromatic-900.relative > .absolute.top-0.w-full.h-full > .text-center {
  display: none !important;
}
body.kr-home-search-page .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
body.kr-home-search-page .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
  display: block !important;
  width: min(100%, 920px) !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 10px 12px !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16) !important;
  backdrop-filter: blur(10px);
}
body.kr-home-search-page .mt-24.w-full .bg-feAchromatic-50 .w-full.lg\:rounded-lg,
body.kr-home-search-page .mt-24.w-full .dark\:bg-feSecondary-800 .w-full.lg\:rounded-lg {
  margin-top: 0 !important;
  gap: 0 !important;
}
body.kr-home-search-page .mt-24.w-full .bg-feAchromatic-50 .flex.gap-x-5,
body.kr-home-search-page .mt-24.w-full .dark\:bg-feSecondary-800 .flex.gap-x-5 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
body.kr-home-search-page .mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"],
body.kr-home-search-page .mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] {
  width: auto !important;
  min-width: 150px !important;
  flex: 0 1 160px !important;
}
body.kr-home-search-page .mt-24.w-full input[placeholder="Search"] {
  min-width: 220px !important;
  flex: 1 1 260px !important;
}
body.kr-home-search-page .mt-24.w-full .flex.justify-center {
  margin-left: auto !important;
}
body.kr-home-search-page .mt-24.w-full button[title="Search"],
body.kr-home-search-page .mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"],
body.kr-home-search-page .mt-24.w-full .dark\:bg-feSecondary-800 [class*="bg-fePrimary-500"] {
  min-width: 108px !important;
  height: 40px !important;
  border-radius: 10px !important;
  padding: 8px 18px !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper {
  z-index: 10060 !important;
  background: rgba(3, 8, 20, 0.44) !important;
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal {
  position: relative;
  z-index: 10061 !important;
  width: min(calc(100vw - 28px), 520px) !important;
  max-width: 520px !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal > .dark > .rounded-lg.px-8.py-6 {
  padding: 24px 24px 22px !important;
  border: 1px solid rgba(116, 132, 156, 0.22) !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, rgba(30, 36, 49, 0.98) 0%, rgba(18, 22, 32, 0.99) 100%) !important;
  box-shadow: 0 34px 70px rgba(2, 6, 23, 0.46), inset 0 1px 0 rgba(255,255,255,0.04) !important;
  color: #f8fafc !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .flex.justify-between.items-center {
  margin-bottom: 10px !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .text-lg.font-semibold {
  color: #f8fafc !important;
  font-size: 1.25rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .flex.justify-between.items-center svg.icon {
  width: 38px !important;
  height: 38px !important;
  padding: 8px !important;
  border-radius: 999px !important;
  color: rgba(248, 250, 252, 0.84) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .flex.justify-between.items-center svg.icon:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: rotate(90deg);
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] {
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px !important;
  margin-top: 0 !important;
  padding: 6px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div {
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 10px !important;
  border-radius: 14px !important;
  border-bottom-width: 0 !important;
  color: rgba(226, 232, 240, 0.78) !important;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div p,
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div svg {
  color: inherit !important;
  fill: currentColor !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f8fafc !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div.border-fePrimary-500 {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22) 0%, rgba(22, 163, 74, 0.14) 100%) !important;
  color: #f8fafc !important;
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.28) !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .relative.shadow-md {
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 12px 24px rgba(2, 6, 23, 0.16) !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal input[placeholder="Search"] {
  height: 52px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal input[placeholder="Search"]::placeholder {
  color: rgba(226, 232, 240, 0.58) !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal input[placeholder="Search"]:focus {
  border-color: rgba(74, 222, 128, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12) !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mt-6 {
  margin-top: 0 !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mt-6 .w-full.h-96.flex.items-center.justify-center {
  height: clamp(180px, 32vh, 240px) !important;
  border: 1px dashed rgba(148, 163, 184, 0.2) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%) !important;
  padding: 20px !important;
}
body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mt-6 .w-full.h-96.flex.items-center.justify-center p {
  max-width: 230px !important;
  color: rgba(226, 232, 240, 0.82) !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
  text-align: center !important;
}
@media (max-width: 640px) {
  body.kr-home-search-page .mt-24.w-full {
    margin-top: 72px !important;
    padding: 0 12px 14px !important;
  }
  body.kr-home-search-page .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
  body.kr-home-search-page .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
    width: 100% !important;
    max-width: none !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }
  body.kr-home-search-page .mt-24.w-full .bg-feAchromatic-50 .flex.gap-x-5,
  body.kr-home-search-page .mt-24.w-full .dark\:bg-feSecondary-800 .flex.gap-x-5 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
  body.kr-home-search-page .mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"],
  body.kr-home-search-page .mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"],
  body.kr-home-search-page .mt-24.w-full input[placeholder="Search"] {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  body.kr-home-search-page .mt-24.w-full .flex.justify-center {
    margin-left: 0 !important;
  }
  body.kr-home-search-page .mt-24.w-full button[title="Search"],
  body.kr-home-search-page .mt-24.w-full .bg-feAchromatic-50 [class*="bg-fePrimary-500"],
  body.kr-home-search-page .mt-24.w-full .dark\:bg-feSecondary-800 [class*="bg-fePrimary-500"] {
    width: 100% !important;
  }
  body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal {
    width: calc(100vw - 24px) !important;
    max-width: none !important;
  }
  body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal > .dark > .rounded-lg.px-8.py-6 {
    padding: 18px 16px 16px !important;
    border-radius: 22px !important;
  }
  body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative {
    gap: 14px !important;
  }
  body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 {
    gap: 6px !important;
    padding: 4px !important;
  }
  body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div {
    gap: 6px !important;
    min-height: 42px !important;
    padding: 0 6px !important;
  }
  body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div p {
    font-size: 0.92rem !important;
  }
  body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .relative.shadow-md {
    border-radius: 16px !important;
  }
  body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal input[placeholder="Search"] {
    height: 48px !important;
    border-radius: 16px !important;
  }
  body.kr-home-search-page .vue-neat-modal-wrapper .vue-neat-modal .mt-6 .w-full.h-96.flex.items-center.justify-center {
    height: clamp(168px, 28vh, 210px) !important;
    border-radius: 18px !important;
  }
}

/* ===== kr-search-fullpage-style (orig line 15803) ===== */
/* Full-page search screen (replaces the floating search modal). Theme-aware.
   Selectors intentionally qualify .vue-neat-modal-wrapper.kr-search-fullpage
   .vue-neat-modal so they outrank the older body.kr-home-search-page modal rules. */

body.kr-search-open { overflow: hidden !important; }

/* Backdrop wrapper -> opaque full-screen surface (the page itself) */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10060 !important;
  display: block !important;
  padding: 0 !important;
  background: #f6f8fb !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  animation: krSearchPageIn 0.18s ease-out both;
}
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage { background: #0b1220 !important; }
@keyframes krSearchPageIn { from { opacity: 0; } to { opacity: 1; } }

/* Modal -> the page canvas */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  transform: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal > div { min-height: 100dvh !important; }

/* Themed card -> flush transparent panel with a centered content column */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 100dvh !important;
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 0 20px 48px !important;
  color: #0f172a !important;
}
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 { color: #f8fafc !important; }

/* Sticky top bar */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  margin: 0 -20px 6px !important;
  padding: 16px 20px !important;
  background: #f6f8fb !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center { background: #0b1220 !important; border-bottom-color: rgba(255,255,255,0.08) !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center .text-lg.font-semibold {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
}
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center .text-lg.font-semibold { color: #f8fafc !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center svg.icon {
  width: 40px !important;
  height: 40px !important;
  padding: 9px !important;
  border-radius: 999px !important;
  color: #475569 !important;
  background: rgba(15, 23, 42, 0.06) !important;
  transition: background-color 0.16s ease, color 0.16s ease !important;
}
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center svg.icon:hover { background: rgba(15,23,42,0.12) !important; color: #0f172a !important; transform: none !important; }
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center svg.icon { color: #cbd5e1 !important; background: rgba(255,255,255,0.08) !important; }
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center svg.icon:hover { background: rgba(255,255,255,0.16) !important; color: #ffffff !important; }

/* Body wrapper + column layout */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] { height: auto !important; min-height: 0 !important; margin-bottom: 0 !important; margin-top: 18px !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative { display: flex !important; flex-direction: column !important; gap: 18px !important; }

/* Search input first, big & prominent */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-2 { order: -1 !important; margin-top: 0 !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .relative.shadow-md {
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.25) !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease !important;
}
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .relative.shadow-md { background: rgba(255,255,255,0.04) !important; border-color: rgba(255,255,255,0.1) !important; box-shadow: none !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .relative.shadow-md:focus-within { border-color: rgba(16,182,63,0.55) !important; box-shadow: 0 0 0 4px rgba(16,182,63,0.14) !important; }
/* Neutralize left/clear icon container bg (input theme adds dark:bg-feSecondary-600) */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .relative.shadow-md > .absolute.inset-y-0 { background: transparent !important; color: #64748b !important; }
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .relative.shadow-md > .absolute.inset-y-0 { color: #94a3b8 !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal input[placeholder="Search"] {
  height: 58px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: #0f172a !important;
  font-size: 16px !important;
  box-shadow: none !important;
}
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal input[placeholder="Search"] { color: #f8fafc !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal input[placeholder="Search"]::placeholder { color: #94a3b8 !important; }

/* Tabs -> pill row (scrollable) */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  background: transparent !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4::-webkit-scrollbar { display: none !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div {
  flex: 0 0 auto !important;
  justify-content: center !important;
  min-height: 0 !important;
  padding: 9px 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #475569 !important;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease !important;
}
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div { border-color: rgba(255,255,255,0.14) !important; color: #cbd5e1 !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div p, body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div svg { color: inherit !important; fill: currentColor !important; font-weight: 600 !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div:hover { background: rgba(15,23,42,0.05) !important; color: #0f172a !important; }
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div:hover { background: rgba(255,255,255,0.06) !important; color: #f8fafc !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div.border-fePrimary-500 {
  background: rgb(var(--color-fePrimary-500)) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px -10px rgba(16, 182, 63, 0.6) !important;
}
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div.border-fePrimary-500 p, body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mb-4.h-\[500px\] > .relative > .flex.gap-1.mt-4 > div.border-fePrimary-500 svg { color: #ffffff !important; }

/* Results / recent list */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-6 { margin-top: 4px !important; }

/* Empty state */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-6 .w-full.h-96.flex.items-center.justify-center {
  flex-direction: column !important;
  gap: 16px !important;
  height: auto !important;
  min-height: 44vh !important;
  text-align: center !important;
  border: 0 !important;
  background: transparent !important;
  padding: 20px !important;
}
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-6 .w-full.h-96.flex.items-center.justify-center::before {
  content: "" !important;
  width: 76px !important;
  height: 76px !important;
  border-radius: 999px !important;
  background: rgba(15,23,42,0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") center / 38px 38px no-repeat !important;
}
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-6 .w-full.h-96.flex.items-center.justify-center::before { background-color: rgba(255,255,255,0.06) !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-6 .w-full.h-96.flex.items-center.justify-center p { max-width: 260px !important; font-size: 1rem !important; font-weight: 500 !important; line-height: 1.5 !important; color: #94a3b8 !important; }

/* Recent-search rows / header */
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .flex.justify-between.border-b { padding-bottom: 10px !important; border-color: rgba(15,23,42,0.1) !important; }
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .flex.justify-between.border-b { border-color: rgba(255,255,255,0.1) !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-3.flex.flex-col.gap-4 { gap: 2px !important; margin-top: 10px !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-3.flex.flex-col.gap-4 > div p { padding: 11px 12px !important; border-radius: 12px !important; transition: background-color 0.12s ease !important; }
body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-3.flex.flex-col.gap-4 > div:hover p { background: rgba(15,23,42,0.05) !important; }
html.dark body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .mt-3.flex.flex-col.gap-4 > div:hover p { background: rgba(255,255,255,0.06) !important; }

@media (max-width: 640px) {
  body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 { padding: 0 16px 40px !important; }
  body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center { margin: 0 -16px 6px !important; padding: 14px 16px !important; }
  body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal .rounded-lg.px-8.py-6 > .flex.justify-between.items-center .text-lg.font-semibold { font-size: 1.25rem !important; }
  body.kr-search-open .vue-neat-modal-wrapper.kr-search-fullpage .vue-neat-modal input[placeholder="Search"] { height: 52px !important; }
}

/* ===== kr-auth-appmatch-style (orig line 16009) ===== */
/* App-match: no card — the form sits directly on the page background (like the app) */
.kr-auth-page .rounded-3xl.overflow-hidden {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
/* Field labels -> app style (normal case, medium weight) instead of tiny uppercase */
.kr-auth-page p.mb-2.text-xs.uppercase {
  display: block !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  color: #1f2937 !important;
}
html.dark .kr-auth-page p.mb-2.text-xs.uppercase { color: #e5e7eb !important; }

/* Flat solid-green primary button (app), overriding the old gradient polish */
.kr-auth-page form button {
  background: #10b63f !important;
  background-image: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.kr-auth-page form button:hover {
  background: #0ea337 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Social buttons -> app colors: Phone green (#38C141), Google red (#DD4B39) */
.kr-auth-page .flex.flex-col.gap-3 > button:first-child {
  background: #38c141 !important;
  background-image: none !important;
}
.kr-auth-page .flex.flex-col.gap-3 > button.bg-white {
  background: #dd4b39 !important;
  background-image: none !important;
  border: none !important;
}
.kr-auth-page .flex.flex-col.gap-3 > button.bg-white,
.kr-auth-page .flex.flex-col.gap-3 > button.bg-white span,
.kr-auth-page .flex.flex-col.gap-3 > button.bg-white p {
  color: #ffffff !important;
}

/* Hide the marketing subtitle on Login + Register (the app has none there);
   keep it on Forgot Password (the app shows an instruction line there). */
html.kr-auth-login .kr-auth-page .mb-8.flex.flex-col.items-center > p:last-child,
html.kr-auth-register .kr-auth-page .mb-8.flex.flex-col.items-center > p:last-child {
  display: none !important;
}

/* App order: header -> form -> OR -> social buttons -> sign-up/login link at the very bottom */
html.kr-auth-login .px-5.py-8 > .mx-auto.w-full.max-w-md {
  display: flex !important;
  flex-direction: column !important;
}
html.kr-auth-login .px-5.py-8 > .mx-auto.w-full.max-w-md > .mb-8 { order: 1 !important; }
html.kr-auth-login .px-5.py-8 > .mx-auto.w-full.max-w-md > form { order: 2 !important; }
html.kr-auth-login .px-5.py-8 > .mx-auto.w-full.max-w-md > .my-8 { order: 3 !important; }
html.kr-auth-login .px-5.py-8 > .mx-auto.w-full.max-w-md > .flex.flex-col.gap-3 { order: 4 !important; }
html.kr-auth-login .px-5.py-8 > .mx-auto.w-full.max-w-md > .mt-8 {
  order: 5 !important;
  border-top: 0 !important;
  padding-top: 0 !important;
  margin-top: 22px !important;
}

/* ===== kr-il-skeleton-style (orig line 16083) ===== */
.kr-il-skel-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 !important;
  margin-top: 6px;
}
.kr-il-skel-card { padding: 0 1px 12px 1px; }
.kr-il-skel-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #e6e8eb;
}
.kr-il-skel-line { height: 12px; border-radius: 6px; background: #e6e8eb; margin: 8px 6px 0 6px; }
.kr-il-skel-title { width: 82%; }
.kr-il-skel-price { width: 46%; height: 16px; margin-top: 10px; }
.kr-il-skel-loc { width: 60%; height: 10px; }
.kr-il-skel-img, .kr-il-skel-line { position: relative; overflow: hidden; }
.kr-il-skel-img::after, .kr-il-skel-line::after {
  content: "";
  position: absolute; inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0, rgba(255,255,255,0.65) 50%, transparent 100%);
  animation: krIlShimmer 1.25s infinite;
}
@keyframes krIlShimmer { 100% { transform: translateX(100%); } }
html.dark .kr-il-skel-img, html.dark .kr-il-skel-line { background: rgba(255,255,255,0.07); }
html.dark .kr-il-skel-img::after, html.dark .kr-il-skel-line::after {
  background: linear-gradient(90deg, transparent 0, rgba(255,255,255,0.13) 50%, transparent 100%);
}

/* ===== kr-appmenu-style (orig line 16163) ===== */
.kr-appmenu-list { padding: 6px 8px 18px !important; }
.kr-appmenu-section {
  padding: 14px 12px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
html.dark .kr-appmenu-section { color: #64748b; }
.kr-appmenu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  margin: 2px 2px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.kr-appmenu-item:hover { background: color-mix(in srgb, rgb(var(--color-fePrimary-500)) 9%, transparent); }
html.dark .kr-appmenu-item:hover { background: rgba(255,255,255,0.05); }
.kr-appmenu-ico {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: 0 0 auto;
  border-radius: 10px;
  background: rgb(var(--color-fePrimary-500) / 0.12);
}
.kr-appmenu-ico svg { width: 20px; height: 20px; color: rgb(var(--color-fePrimary-500)); }
.kr-appmenu-label { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 500; color: #1f2937; }
html.dark .kr-appmenu-label { color: #e5e7eb; }
.kr-appmenu-chev { width: 20px; height: 20px; flex: 0 0 auto; color: #cbd5e1; }
html.dark .kr-appmenu-chev { color: #475569; }
.kr-appmenu-item.kr-appmenu-active { background: rgb(var(--color-fePrimary-500) / 0.12); }
.kr-appmenu-item.kr-appmenu-active .kr-appmenu-label { color: rgb(var(--color-fePrimary-500)); font-weight: 600; }
.kr-appmenu-danger .kr-appmenu-ico { background: rgba(239,68,68,0.12); }
.kr-appmenu-danger .kr-appmenu-ico svg { color: #ef4444; }
.kr-appmenu-danger .kr-appmenu-label { color: #ef4444; }

/* ===== kr-home-scroll-arrow-cleanup-style (orig line 16378) ===== */
body.kr-home-scroll-arrow-cleanup main .splide__arrows,
body.kr-home-scroll-arrow-cleanup main button[aria-label="Previous slide"],
body.kr-home-scroll-arrow-cleanup main button[aria-label="Next slide"],
body.kr-home-scroll-arrow-cleanup main button[aria-label="Go to last slide"],
body.kr-home-scroll-arrow-cleanup main button[aria-label="Previous"],
body.kr-home-scroll-arrow-cleanup main button[aria-label="Next"],
body.kr-home-scroll-arrow-cleanup main .kr-blog-arrow {
 display: none !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-view-all-button {
 width: auto !important;
 min-width: 0 !important;
 height: 36px !important;
 padding: 0 12px !important;
 border-radius: 999px !important;
 gap: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-view-all-button svg,
body.kr-home-scroll-arrow-cleanup main .kr-home-view-all-button .icon {
 display: none !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-view-all-button p,
body.kr-home-scroll-arrow-cleanup main .kr-home-view-all-button span {
 display: inline !important;
 margin: 0 !important;
 color: inherit !important;
}

/* Strip non-composited transitions from View All buttons */
[data-kr-view-all-done] { transition-property: transform, opacity !important; }

body.kr-home-scroll-arrow-cleanup main .kr-home-view-all-button.kr-home-view-all-link {
 background: transparent !important;
 border: none !important;
 box-shadow: none !important;
 padding: 0 !important;
 height: auto !important;
 color: rgb(var(--color-fePrimary-500)) !important;
 font-weight: 700 !important;
}

.dark body.kr-home-scroll-arrow-cleanup main .kr-home-view-all-button.kr-home-view-all-link {
 color: rgb(var(--color-fePrimary-400)) !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-card-track {
 gap: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-card-track > *,
body.kr-home-scroll-arrow-cleanup main .kr-home-card-grid > * {
 margin: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-card-grid {
 gap: 0 !important;
}

/* Splide-carousel home rows (TopCategory: Electronics/Women/Men/Appliances)
   use .splide__list/.splide__slide, not .kr-home-card-track, so tighten them
   here too: kill the inter-slide gap/margins and the card bottom padding. */
body.kr-home-scroll-arrow-cleanup main .splide__list {
 gap: 0 !important;
}
body.kr-home-scroll-arrow-cleanup main .splide__slide {
 margin-right: 0 !important;
 margin-left: 0 !important;
}
body.kr-home-scroll-arrow-cleanup main .splide__slide .cursor-pointer.w-full.h-full.pb-3 {
 padding-bottom: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .mt-5.mb-10 > .grid.grid-cols-2.sm\:grid-cols-3.md\:grid-cols-4.lg\:grid-cols-5.xl\:grid-cols-6.gap-3.mt-4 {
 gap: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .mt-5.mb-10 > .grid.grid-cols-2.sm\:grid-cols-3.md\:grid-cols-4.lg\:grid-cols-5.xl\:grid-cols-6.gap-3.mt-4 > .cursor-pointer.w-full.h-full.pb-3 {
 padding-bottom: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-card-track .lg\:px-0.lg\:py-0.px-1.rounded-xl.lg\:rounded-2xl,
body.kr-home-scroll-arrow-cleanup main .kr-home-card-grid .lg\:px-0.lg\:py-0.px-1.rounded-xl.lg\:rounded-2xl {
 padding-left: 0 !important;
 padding-right: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .overflow-hidden.lg\:rounded-2xl.rounded-lg,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .overflow-hidden[class*="bg-feAchromatic-50"][class*="flex-col"] {
 display: flex !important;
 flex-direction: column !important;
 min-height: 100% !important;
 border: 1px solid rgba(148, 163, 184, 0.16) !important;
 border-radius: 18px !important;
 overflow: hidden !important;
 background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%) !important;
 box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08) !important;
}

html.dark body.kr-home-scroll-arrow-cleanup main .kr-home-market-card,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .overflow-hidden.lg\:rounded-2xl.rounded-lg,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .overflow-hidden[class*="bg-feAchromatic-50"][class*="flex-col"] {
 border-color: rgba(148, 163, 184, 0.12) !important;
 background: linear-gradient(180deg, rgba(38,39,38,0.98) 0%, rgba(27,28,27,0.98) 100%) !important;
 box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24) !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-inner,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .lg\:px-0.lg\:py-0.px-1.rounded-xl.lg\:rounded-2xl {
 display: flex !important;
 flex-direction: column !important;
 min-height: 100% !important;
 padding: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-media,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .h-44.relative.z-0,
body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-media .overflow-hidden,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .h-44.relative.z-0 .overflow-hidden,
body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-media img {
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .h-44.relative.z-0 img,
 height: 144px !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-media,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .h-44.relative.z-0 {
 position: relative !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-media img,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .h-44.relative.z-0 img {
 width: 100% !important;
 object-fit: cover !important;
 border-radius: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-body,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .overflow-hidden.lg\:rounded-2xl.rounded-lg > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) {
 display: flex !important;
 flex-direction: column !important;
 gap: 4px !important;
 flex: 1 1 auto !important;
 padding: 8px 8px 9px !important;
 color: #0f172a !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) > div,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) > p {
 margin: 0 !important;
 padding: 0 !important;
}

html.dark body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-body,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .overflow-hidden.lg\:rounded-2xl.rounded-lg > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) {
 color: #f8fafc !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-title,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .truncate-2-lines,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-600.dark\:text-feSecondary-200 {
 order: 1 !important;
 margin: 0 !important;
 min-height: 0 !important;
 color: #0f172a !important;
 font-size: 0.82rem !important;
 line-height: 1.25 !important;
 font-weight: 700 !important;
 -webkit-line-clamp: 2 !important;
 line-clamp: 2 !important;
}

html.dark body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-title,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .truncate-2-lines,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-600.dark\:text-feSecondary-200 {
 color: #f8fafc !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-price,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .font-semibold.text-base.text-fePrimary-500,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .font-semibold[class*="text-fePrimary"] {
 order: 2 !important;
 margin: 0 !important;
 color: #0b9e43 !important;
 font-size: 0.88rem !important;
 line-height: 1.2 !important;
 font-weight: 800 !important;
}

html.dark body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-price,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .font-semibold.text-base.text-fePrimary-500,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .font-semibold[class*="text-fePrimary"] {
 color: #4ade80 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-location,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .truncate.font-normal.text-sm {
 order: 3 !important;
 margin: auto 0 0 !important;
 color: #64748b !important;
 font-size: 0.72rem !important;
 line-height: 1.25 !important;
}

html.dark body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-location,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .truncate.font-normal.text-sm {
 color: #94a3b8 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-heart,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .absolute.z-10.bg-feAchromatic-50,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .absolute.z-10.dark\:bg-feSecondary-800 {
 width: 30px !important;
 height: 30px !important;
 border-radius: 999px !important;
 background: rgba(255,255,255,0.92) !important;
 box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16) !important;
}

html.dark body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-heart,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .absolute.z-10.bg-feAchromatic-50,
html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .absolute.z-10.dark\:bg-feSecondary-800 {
 background: rgba(24, 24, 24, 0.88) !important;
 box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28) !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-badge,
body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-discount,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .absolute.bg-feSuccess-500.rounded,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .absolute.bg-fePrimary-500.rounded {
 border-radius: 999px !important;
 padding: 4px 8px !important;
 box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14) !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-badge p,
body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-discount p,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .absolute.bg-feSuccess-500.rounded p,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .absolute.bg-fePrimary-500.rounded p {
 font-size: 0.68rem !important;
 line-height: 1.1 !important;
 font-weight: 700 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card--compact .kr-home-market-card-body {
 min-height: 72px !important;
 justify-content: flex-end !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-home-market-card--compact .kr-home-market-card-price {
 font-size: 0.92rem !important;
}

@media (max-width: 640px) {
 body.kr-home-scroll-arrow-cleanup main .kr-home-market-card {
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .overflow-hidden.lg\:rounded-2xl.rounded-lg,
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .overflow-hidden[class*="bg-feAchromatic-50"][class*="flex-col"] {
  border-radius: 16px !important;
 }
 body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-media,
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .h-44.relative.z-0,
 body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-media .overflow-hidden,
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .h-44.relative.z-0 .overflow-hidden,
 body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-media img {
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .h-44.relative.z-0 img {
  height: 124px !important;
 }
 body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-body {
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .overflow-hidden.lg\:rounded-2xl.rounded-lg > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) {
  gap: 4px !important;
  padding: 7px 7px 8px !important;
 }
 body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-title {
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .truncate-2-lines,
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-600.dark\:text-feSecondary-200 {
  font-size: 0.76rem !important;
  line-height: 1.22 !important;
 }
 body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-price {
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .font-semibold.text-base.text-fePrimary-500,
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .font-semibold[class*="text-fePrimary"] {
  font-size: 0.82rem !important;
 }
 body.kr-home-scroll-arrow-cleanup main .kr-home-market-card-location {
 body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .truncate.font-normal.text-sm {
  font-size: 0.68rem !important;
 }
}

/* ===== kr-search-redesign-style (orig line 17100) ===== */
/* Tag applied by kr-search-redesign-script to the search .vue-neat-modal */

/* Modal card */
.kr-search-modal .px-8.py-6 {
  border-radius: 20px !important;
  padding: 18px 20px 22px !important;
  box-shadow: 0 28px 64px -24px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(15,23,42,0.06) !important;
}
html.dark .kr-search-modal .px-8.py-6 {
  border-color: rgba(255,255,255,0.08) !important;
}

/* Title */
.kr-search-modal .flex.justify-between.items-center > p:first-child {
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
}
.kr-search-modal .flex.justify-between.items-center svg {
  border-radius: 8px !important;
  transition: background 0.15s !important;
}
.kr-search-modal .flex.justify-between.items-center svg:hover {
  background: rgba(15,23,42,0.06) !important;
}

/* Tabs -> segmented control */
.kr-search-modal .flex.gap-1.mt-4 {
  gap: 4px !important;
  margin-top: 18px !important;
  padding: 4px !important;
  background: rgba(15,23,42,0.05) !important;
  border-radius: 12px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
.kr-search-modal .flex.gap-1.mt-4::-webkit-scrollbar { display: none !important; }
html.dark .kr-search-modal .flex.gap-1.mt-4 { background: rgba(255,255,255,0.06) !important; }
.kr-search-modal .flex.gap-1.mt-4 > div.border-b-4 {
  border-bottom: 0 !important;
  border-radius: 9px !important;
  padding: 7px 12px !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  color: #6b7280 !important;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s !important;
}
html.dark .kr-search-modal .flex.gap-1.mt-4 > div.border-b-4 { color: #9ca3af !important; }
.kr-search-modal .flex.gap-1.mt-4 > div.border-b-4 p { font-weight: 600 !important; color: inherit !important; }
.kr-search-modal .flex.gap-1.mt-4 > div.border-b-4:hover { background: rgba(15,23,42,0.05) !important; }
html.dark .kr-search-modal .flex.gap-1.mt-4 > div.border-b-4:hover { background: rgba(255,255,255,0.05) !important; }
.kr-search-modal .flex.gap-1.mt-4 > div.border-fePrimary-500 {
  background: rgb(var(--color-fePrimary-500)) !important;
  box-shadow: 0 6px 16px -6px rgba(16,182,63,0.55) !important;
}
.kr-search-modal .flex.gap-1.mt-4 > div.border-fePrimary-500,
.kr-search-modal .flex.gap-1.mt-4 > div.border-fePrimary-500 p,
.kr-search-modal .flex.gap-1.mt-4 > div.border-fePrimary-500 svg { color: #ffffff !important; }
.kr-search-modal .flex.gap-1.mt-4 > div.border-fePrimary-500:hover { background: rgb(var(--color-fePrimary-500)) !important; }

/* Search input field */
.kr-search-modal .mt-2 { margin-top: 16px !important; }
.kr-search-modal .mt-2 .shadow-md {
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06) !important;
  border: 1px solid rgba(15,23,42,0.09) !important;
}
html.dark .kr-search-modal .mt-2 .shadow-md { border-color: rgba(255,255,255,0.1) !important; }
.kr-search-modal .mt-2 input {
  font-size: 15px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Recent-search header + list */
.kr-search-modal .flex.justify-between.border-b { padding-bottom: 10px !important; border-color: rgba(15,23,42,0.08) !important; }
html.dark .kr-search-modal .flex.justify-between.border-b { border-color: rgba(255,255,255,0.1) !important; }
.kr-search-modal .mt-3.flex.flex-col.gap-4 { gap: 2px !important; margin-top: 10px !important; }
.kr-search-modal .mt-3.flex.flex-col.gap-4 > div > p,
.kr-search-modal .mt-3.flex.flex-col.gap-4 > div > a p {
  padding: 9px 10px !important;
  border-radius: 9px !important;
  transition: background 0.12s !important;
}
.kr-search-modal .mt-3.flex.flex-col.gap-4 > div > p:hover,
.kr-search-modal .mt-3.flex.flex-col.gap-4 > div > a:hover p { background: rgba(15,23,42,0.05) !important; }
html.dark .kr-search-modal .mt-3.flex.flex-col.gap-4 > div > p:hover,
html.dark .kr-search-modal .mt-3.flex.flex-col.gap-4 > div > a:hover p { background: rgba(255,255,255,0.05) !important; }

/* Empty / message states (no recent, no suggestion, loading) */
.kr-search-modal .h-96.flex.items-center.justify-center {
  flex-direction: column !important;
  gap: 14px !important;
  height: 300px !important;
}
.kr-search-modal .h-96.flex.items-center.justify-center::before {
  content: "" !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 999px !important;
  background: rgba(15,23,42,0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") center / 30px 30px no-repeat !important;
}
html.dark .kr-search-modal .h-96.flex.items-center.justify-center::before { background-color: rgba(255,255,255,0.06) !important; }
.kr-search-modal .h-96.flex.items-center.justify-center p {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #9ca3af !important;
  text-align: center !important;
}

/* ===== kr-auth-theme-style (orig line 17247) ===== */
body.kr-auth-theme-page {
  background:
    radial-gradient(circle at top left, rgba(255, 192, 0, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #fffdf6 46%, #f8fafc 100%);
}
html.dark body.kr-auth-theme-page {
  background:
    radial-gradient(circle at top left, rgba(255, 192, 0, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.10), transparent 24%),
    linear-gradient(180deg, #0f172a 0%, #111827 46%, #0b1220 100%);
}
body.kr-auth-theme-page main.flex-grow,
body.kr-auth-theme-page .min-h-screen.bg-feAchromatic-100,
html.dark body.kr-auth-theme-page .min-h-screen.dark\:bg-feAchromatic-900 {
  background: transparent !important;
}
body.kr-auth-theme-page .kr-auth-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14), 0 10px 30px rgba(245, 158, 11, 0.08) !important;
  backdrop-filter: blur(10px);
}
body.kr-auth-theme-page .kr-auth-card .text-feSecondary-800,
body.kr-auth-theme-page .kr-auth-card .mb-8 p:nth-of-type(2) {
  color: #0f172a !important;
}
body.kr-auth-theme-page .kr-auth-card .text-feSecondary-700,
body.kr-auth-theme-page .kr-auth-card .mb-8 p:nth-of-type(3),
body.kr-auth-theme-page .kr-auth-card .text-feSecondary-600 {
  color: #475569 !important;
}
body.kr-auth-theme-page.kr-auth-login .kr-auth-card .mb-8 p:nth-of-type(3),
body.kr-auth-theme-page.kr-auth-register .kr-auth-card .mb-8 p:nth-of-type(3),
body.kr-auth-theme-page.kr-auth-phone .kr-auth-card .mb-8 p:nth-of-type(3) {
  display: none !important;
}
html.dark body.kr-auth-theme-page .kr-auth-card .text-feSecondary-800,
html.dark body.kr-auth-theme-page .kr-auth-card .dark\:text-feSecondary-50,
html.dark body.kr-auth-theme-page .kr-auth-card .mb-8 p:nth-of-type(2) {
  color: #f8fafc !important;
}
html.dark body.kr-auth-theme-page .kr-auth-card .text-feSecondary-700,
html.dark body.kr-auth-theme-page .kr-auth-card .dark\:text-feSecondary-200,
html.dark body.kr-auth-theme-page .kr-auth-card .text-feSecondary-600,
html.dark body.kr-auth-theme-page .kr-auth-card .mb-8 p:nth-of-type(3) {
  color: #cbd5e1 !important;
}
html.dark body.kr-auth-theme-page .kr-auth-card {
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.5), 0 10px 28px rgba(0, 0, 0, 0.25) !important;
}
body.kr-auth-theme-page .kr-auth-card {
  max-width: min(100%, 720px) !important;
}
body.kr-auth-theme-page.kr-auth-forgot .kr-auth-card {
  max-width: min(100%, 540px) !important;
}
body.kr-auth-theme-page.kr-auth-phone .kr-auth-card {
  max-width: min(100%, 860px) !important;
}
body.kr-auth-theme-page .kr-auth-card > div:first-child {
  padding: 20px !important;
}
body.kr-auth-theme-page .kr-auth-card .mx-auto.w-full.max-w-md {
  max-width: 29rem !important;
}
body.kr-auth-theme-page .kr-auth-card .mb-8 {
  margin-bottom: 16px !important;
}
body.kr-auth-theme-page .kr-auth-card .mb-8 p:nth-of-type(2) {
  margin-top: 10px !important;
  line-height: 1.15 !important;
}
body.kr-auth-theme-page .kr-auth-card .mb-8 p:nth-of-type(3) {
  margin-top: 6px !important;
  line-height: 1.45 !important;
}
body.kr-auth-theme-page .kr-auth-card .space-y-5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 14px !important;
}
body.kr-auth-theme-page .kr-auth-card .gap-4 {
  gap: 12px !important;
}
body.kr-auth-theme-page .kr-auth-card .mt-8 {
  margin-top: 16px !important;
}
body.kr-auth-theme-page .kr-auth-card .mt-6 {
  margin-top: 12px !important;
}
body.kr-auth-theme-page .kr-auth-card .py-6 {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
@media (min-width: 640px) {
  body.kr-auth-theme-page .kr-auth-card > div:first-child {
    padding: 24px !important;
  }
  body.kr-auth-theme-page .kr-auth-card .mb-8 {
    margin-bottom: 18px !important;
  }
}
@media (min-width: 1024px) {
  body.kr-auth-theme-page .kr-auth-card > div:first-child {
    padding: 28px !important;
  }
}
body.kr-auth-theme-page .kr-auth-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #ffc000 0%, #f59e0b 40%, #10b981 100%);
  z-index: 2;
}
body.kr-auth-theme-page .kr-auth-card::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 192, 0, 0.14) 0%, rgba(255, 192, 0, 0) 72%);
  pointer-events: none;
}
body.kr-auth-theme-page .kr-auth-shell-note {
  margin: 0 0 24px;
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  background: linear-gradient(135deg, rgba(255, 192, 0, 0.12), rgba(16, 185, 129, 0.10));
}
html.dark body.kr-auth-theme-page .kr-auth-shell-note {
  border-color: rgba(251, 191, 36, 0.14);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(16, 185, 129, 0.10));
}
body.kr-auth-theme-page .kr-auth-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
html.dark body.kr-auth-theme-page .kr-auth-link { color: #f8fafc; }
body.kr-auth-theme-page .kr-auth-link:hover { color: #059669; }
body.kr-auth-theme-page .kr-auth-note-copy {
  margin-top: 10px;
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
}
html.dark body.kr-auth-theme-page .kr-auth-note-copy { color: #cbd5e1; }
body.kr-auth-theme-page .kr-auth-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
body.kr-auth-theme-page .kr-auth-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #1f2937;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
html.dark body.kr-auth-theme-page .kr-auth-pill {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}
body.kr-auth-theme-page .kr-auth-card input,
body.kr-auth-theme-page .kr-auth-card textarea {
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
html.dark body.kr-auth-theme-page .kr-auth-card input,
html.dark body.kr-auth-theme-page .kr-auth-card textarea {
  background: rgba(15, 23, 42, 0.62) !important;
}
body.kr-auth-theme-page .kr-auth-card form button,
body.kr-auth-theme-page .kr-auth-card form .cursor-pointer.rounded-2xl,
body.kr-auth-theme-page .kr-auth-card form .rounded-2xl.border,
body.kr-auth-theme-page .kr-auth-card .mt-8 > button {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
body.kr-auth-theme-page .kr-auth-card form button:hover,
body.kr-auth-theme-page .kr-auth-card form .cursor-pointer.rounded-2xl:hover,
body.kr-auth-theme-page .kr-auth-card form .rounded-2xl.border:hover,
body.kr-auth-theme-page .kr-auth-card .mt-8 > button:hover {
  transform: translateY(-1px);
}
body.kr-auth-theme-page .kr-auth-card form .flex.flex-row.flex-wrap.justify-center.gap-4 > div,
body.kr-auth-theme-page .kr-auth-card form .cursor-pointer.rounded-2xl.w-12.h-12,
body.kr-auth-theme-page .kr-auth-card .flex.flex-row.flex-wrap.justify-center.gap-4 > div {
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}
html.dark body.kr-auth-theme-page .kr-auth-card form .flex.flex-row.flex-wrap.justify-center.gap-4 > div,
html.dark body.kr-auth-theme-page .kr-auth-card .flex.flex-row.flex-wrap.justify-center.gap-4 > div {
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.34);
}
body.kr-auth-theme-page.kr-auth-phone .kr-auth-split > div:first-child {
  background:
    radial-gradient(circle at top right, rgba(255, 192, 0, 0.24), transparent 34%),
    linear-gradient(180deg, #0f172a 0%, #132033 50%, #101828 100%) !important;
}
body.kr-auth-theme-page.kr-auth-phone .kr-auth-split > div:last-child {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 252, 242, 0.92));
}
html.dark body.kr-auth-theme-page.kr-auth-phone .kr-auth-split > div:last-child {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(17, 24, 39, 0.95));
}
body.kr-auth-theme-page.kr-auth-phone .kr-auth-card .mx-auto.w-full.max-w-md .mb-8 .text-feSecondary-50,
body.kr-auth-theme-page.kr-auth-phone .kr-auth-card .mx-auto.w-full.max-w-md .mb-8 .dark\:text-feSecondary-50 {
  color: #0f172a !important;
}
body.kr-auth-theme-page.kr-auth-phone .kr-auth-card .mx-auto.w-full.max-w-md .mb-8 .text-feSecondary-200,
body.kr-auth-theme-page.kr-auth-phone .kr-auth-card .mx-auto.w-full.max-w-md .mb-8 .dark\:text-feSecondary-200 {
  color: #475569 !important;
}
html.dark body.kr-auth-theme-page.kr-auth-phone .kr-auth-card .mx-auto.w-full.max-w-md .mb-8 .text-feSecondary-50,
html.dark body.kr-auth-theme-page.kr-auth-phone .kr-auth-card .mx-auto.w-full.max-w-md .mb-8 .dark\:text-feSecondary-50 {
  color: #f8fafc !important;
}
html.dark body.kr-auth-theme-page.kr-auth-phone .kr-auth-card .mx-auto.w-full.max-w-md .mb-8 .text-feSecondary-200,
html.dark body.kr-auth-theme-page.kr-auth-phone .kr-auth-card .mx-auto.w-full.max-w-md .mb-8 .dark\:text-feSecondary-200 {
  color: #cbd5e1 !important;
}
body.kr-auth-theme-page .kr-auth-backline {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
html.dark body.kr-auth-theme-page .kr-auth-backline { color: #5eead4; }
@media (max-width: 767px) {
  body.kr-auth-theme-page .kr-auth-shell-note {
    padding: 14px;
    border-radius: 18px;
  }
}

/* ===== kr-homepage-theme-aware-overrides (orig line 17698) ===== */
/* Homepage search, location, and popular-category widgets must follow the active theme. */
html:not(.dark) .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
html:not(.dark) .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,250,252,.98) 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.85) !important;
}

html:not(.dark) .mt-24.w-full input[placeholder="Enter Keyword"],
html:not(.dark) .mt-24.w-full input[placeholder="Search"],
html:not(.dark) .mt-24.w-full .bg-feAchromatic-50 [class*="md:w-52"] button,
html:not(.dark) .mt-24.w-full .dark\:bg-feSecondary-800 [class*="md:w-52"] button {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  color: #0f172a !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

html:not(.dark) .mt-24.w-full input[placeholder="Enter Keyword"]::placeholder,
html:not(.dark) .mt-24.w-full input[placeholder="Search"]::placeholder {
  color: rgba(71, 85, 105, 0.72) !important;
}

html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20.bg-feAchromatic-50,
html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20.dark\:bg-feAchromatic-900 {
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(248,250,252,.99) 100%) !important;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12) !important;
}

html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"],
html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"] {
  background: rgba(255,255,255,.92) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #0f172a !important;
}

html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Categories"]::placeholder,
html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20 input[placeholder="Search Location"]::placeholder {
  color: rgba(71, 85, 105, 0.68) !important;
}

html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p,
html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20 .pb-2.ps-1.flex.items-center,
html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20 .text-feSecondary-400.dark\:text-feSecondary-200.truncate.font-normal.text-sm {
  color: #334155 !important;
}

html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20 .overflow-y-auto p:hover,
html:not(.dark) .mt-24.w-full .text-sm.overflow-hidden.z-20 .pb-2.ps-1.flex.items-center:hover {
  background: rgba(34, 197, 94, 0.1) !important;
  color: #0f172a !important;
}

html:not(.dark) .mt-24.w-full .text-fePrimary-50.text-center.text-sm.font-normal.mb-4 {
  color: #0f172a !important;
}

html:not(.dark) .mt-24.w-full button.rounded.bg-feAchromatic-50.dark\:bg-feSecondary-800.text-feSecondary-800.dark\:text-feSecondary-100,
html:not(.dark) .mt-24.w-full button.rounded.bg-feAchromatic-50.dark\:bg-feSecondary-800.text-feSecondary-800.dark\:text-feSecondary-100 .text-feSecondary-500,
html:not(.dark) .mt-24.w-full button.rounded.bg-feAchromatic-50.dark\:bg-feSecondary-800.text-feSecondary-800.dark\:text-feSecondary-100 .dark\:text-feAchromatic-50,
html:not(.dark) .mt-24.w-full button.rounded.bg-feAchromatic-50.dark\:bg-feSecondary-800.text-feSecondary-800.dark\:text-feSecondary-100 .text-base {
  background: rgba(255,255,255,.92) !important;
  color: #0f172a !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06) !important;
}

html:not(.dark) .mt-24.w-full button.rounded.bg-feAchromatic-50.dark\:bg-feSecondary-800.text-feSecondary-800.dark\:text-feSecondary-100:hover {
  background: rgba(240, 253, 244, 0.98) !important;
  border-color: rgba(34, 197, 94, 0.42) !important;
  color: #166534 !important;
}

html.dark .mt-24.w-full .bg-feAchromatic-50.rounded-lg,
html.dark .mt-24.w-full .dark\:bg-feSecondary-800.rounded-lg {
  background: linear-gradient(180deg, rgba(52,52,50,.94) 0%, rgba(35,35,33,.98) 100%) !important;
  border: 1px solid rgba(138, 225, 156, 0.22) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

html.dark .mt-24.w-full .text-fePrimary-50.text-center.text-sm.font-normal.mb-4 {
  color: #e8fdee !important;
}

/* ===== kr-card-detail-cleanup-late-style (orig line 17787) ===== */
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-featured-fill-body,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-home-market-card-body,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .overflow-hidden.lg\:rounded-2xl.rounded-lg > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) {
  gap: 2px !important;
  padding: 5px 8px 6px !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-featured-fill-title,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-home-market-card-title,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .truncate-2-lines,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-600.dark\:text-feSecondary-200 {
  min-height: 0 !important;
  font-size: 0.82rem !important;
  line-height: 1.2 !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-featured-fill-price-row {
  gap: 0 !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-featured-fill-original-price {
  display: block !important;
  min-height: 0 !important;
  visibility: hidden !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-featured-fill-original-price:empty {
  display: none !important; /* kr-home-card-space-v2 */
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-featured-fill-original-price:not(:empty) {
  visibility: visible !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-home-market-card-body > div:nth-child(2),
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) > div:nth-child(2),
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .overflow-hidden.lg\:rounded-2xl.rounded-lg > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base > div:nth-child(2) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  min-height: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-meta-row {
  gap: 6px !important;
  margin-top: 2px !important;
  align-items: flex-start !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-location-wrap {
  align-items: flex-start !important;
  gap: 4px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-location-text {
  width: 100% !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-location-primary,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-location-secondary {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-location-wrap > .icon.fill-current.text-feSecondary-400,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-location-wrap > svg.icon.fill-current.text-feSecondary-400,
body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 svg.icon.fill-current.text-feSecondary-400.me-3 {
  display: none !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-location-icon {
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  margin-top: 1px !important;
  color: #64748b !important;
  flex: 0 0 auto !important;
}

html.dark body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-location-icon {
  color: #94a3b8 !important;
}

body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-listing-card-location-text {
  gap: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-item-detail .splide__arrows,
body.kr-home-scroll-arrow-cleanup main .kr-item-detail button[aria-label="Go to last slide"],
body.kr-home-scroll-arrow-cleanup main .kr-item-detail button[aria-label="Next slide"] {
  display: none !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-item-detail .flex.justify-between.items-center.mt-10 button svg,
body.kr-home-scroll-arrow-cleanup main .kr-item-detail .flex.justify-between.items-center.mt-10 button .icon {
  display: none !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-item-detail .flex.justify-between.items-center.mt-10 button {
  gap: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-item-detail .flex.justify-between.items-center.mt-10 button p {
  display: inline !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-featured-items-card .kr-home-market-card-body,
body.kr-home-scroll-arrow-cleanup main .kr-featured-items-card .kr-featured-fill-body {
  justify-content: flex-start !important;
  min-height: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-featured-items-card .kr-home-market-card,
body.kr-home-scroll-arrow-cleanup main .kr-featured-items-card .kr-home-market-card--compact {
  min-height: 0 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-featured-items-card .kr-featured-fill-price-row {
  order: 2 !important;
}

body.kr-home-scroll-arrow-cleanup main .kr-featured-items-card .kr-listing-card-meta-row {
  order: 3 !important;
}

@media (max-width: 640px) {
  body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-featured-fill-body,
  body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-home-market-card-body,
  body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
  body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .overflow-hidden.lg\:rounded-2xl.rounded-lg > .text-feSecondary-500.dark\:text-feAchromatic-50.text-base,
  body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-500.dark\:text-feAchromatic-50.text-base:not(.absolute) {
    gap: 2px !important;
    padding: 5px 7px 6px !important;
  }

  body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-featured-fill-title,
  body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .kr-home-market-card-title,
  body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .truncate-2-lines,
  body.kr-home-scroll-arrow-cleanup main .cursor-pointer.w-full.h-full.pb-3 .text-feSecondary-600.dark\:text-feSecondary-200 {
    font-size: 0.76rem !important;
    line-height: 1.22 !important;
  }
}

/* ===== kr-item-detail-redesign-late-style (orig line 18743) ===== */
@media (max-width: 639px) {
  .kr-item-detail .grid.grid-cols-1.sm\:grid-cols-12 {
    display: block !important;
  }

  .kr-item-detail .kr-item-mobile-stack {
    display: grid !important;
    gap: 14px !important;
  }
}

.kr-item-detail .kr-item-summary-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.kr-item-detail .kr-item-summary-title {
  margin: 0 0 12px !important;
  font-size: 2rem !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  color: #172036 !important;
  letter-spacing: -0.03em !important;
}

.dark .kr-item-detail .kr-item-summary-title {
  color: rgb(var(--color-feAchromatic-50)) !important;
}

.kr-item-detail .kr-item-summary-price-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 8px !important;
}

.kr-item-detail .kr-item-summary-price-row .text-4xl.font-semibold {
  font-size: 2.1rem !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

.kr-item-detail .kr-fav-share-row {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.kr-item-detail .kr-fav-share-row > button,
.kr-item-detail .kr-share-btn,
.kr-item-detail .kr-item-summary-price-row > button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(34, 197, 94, 0.2) !important;
  background: #fff !important;
  color: #13b64b !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06) !important;
}

.dark .kr-item-detail .kr-fav-share-row > button,
.dark .kr-item-detail .kr-share-btn,
.dark .kr-item-detail .kr-item-summary-price-row > button {
  background: rgb(var(--color-feSecondary-800)) !important;
}

.kr-item-detail .kr-item-summary-meta-wrap {
  display: grid !important;
  gap: 10px !important;
}

.kr-item-detail .kr-item-summary-meta-wrap > .flex.justify-between.items-center.mt-4 {
  margin-top: 0 !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.kr-item-detail .kr-item-summary-meta-wrap > .mt-7,
.kr-item-detail .kr-item-summary-meta-wrap .mt-7 {
  margin-top: 6px !important;
}

.kr-item-detail .kr-item-description-card,
.kr-item-detail .kr-item-detail-card,
.kr-item-detail .kr-item-other-info-card,
.kr-item-detail .kr-item-location-card,
.kr-item-detail .kr-item-stats-card,
.kr-item-detail .kr-item-seller-card {
  background: #fff !important;
  border: 1px solid #e9edf3 !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04) !important;
}

.dark .kr-item-detail .kr-item-description-card,
.dark .kr-item-detail .kr-item-detail-card,
.dark .kr-item-detail .kr-item-other-info-card,
.dark .kr-item-detail .kr-item-location-card,
.dark .kr-item-detail .kr-item-stats-card,
.dark .kr-item-detail .kr-item-seller-card {
  border-color: rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
}

.kr-item-detail .kr-item-description-card,
.kr-item-detail .kr-item-detail-card,
.kr-item-detail .kr-item-other-info-card,
.kr-item-detail .kr-item-location-card {
  padding: 20px !important;
}

.kr-item-detail .kr-item-description-card p.text-xl.font-semibold.text-feSecondary-800,
.kr-item-detail .kr-item-detail-card p.text-xl.font-semibold.text-feSecondary-800,
.kr-item-detail .kr-item-other-info-card p.text-xl.font-semibold.text-feSecondary-800,
.kr-item-detail .kr-item-location-card p.text-xl.font-semibold.text-feSecondary-800,
.kr-item-detail .kr-item-related-row > p {
  font-size: 0.98rem !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  color: #1f2937 !important;
}

.dark .kr-item-detail .kr-item-description-card p.text-xl.font-semibold.text-feSecondary-800,
.dark .kr-item-detail .kr-item-detail-card p.text-xl.font-semibold.text-feSecondary-800,
.dark .kr-item-detail .kr-item-other-info-card p.text-xl.font-semibold.text-feSecondary-800,
.dark .kr-item-detail .kr-item-location-card p.text-xl.font-semibold.text-feSecondary-800,
.dark .kr-item-detail .kr-item-related-row > p {
  color: rgb(var(--color-feAchromatic-50)) !important;
}

.kr-item-detail .kr-item-detail-card > p.text-xl.font-semibold.text-feSecondary-800 {
  display: none !important;
}

.kr-item-detail .kr-item-detail-card .flex.flex-wrap.gap-3,
.kr-item-detail .kr-item-other-info-card .flex.flex-wrap.gap-3 {
  gap: 12px !important;
  margin-top: 0 !important;
}

.kr-item-detail .kr-item-detail-card .inline-flex.flex-col,
.kr-item-detail .kr-item-other-info-card .inline-flex.flex-col {
  min-width: calc(50% - 6px) !important;
  flex: 1 1 calc(50% - 6px) !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  border: 1px solid #e9edf3 !important;
  background: #fff !important;
}

.kr-item-detail .kr-item-description-card .mt-6,
.kr-item-detail .kr-item-location-card .mb-6 {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

.kr-item-detail .kr-item-location-card .h-68 {
  height: 260px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

.kr-item-detail .kr-item-location-card .leaflet-top,
.kr-item-detail .kr-item-location-card .leaflet-control-attribution {
  display: none !important;
}

.kr-item-detail .kr-item-seller-card {
  padding: 14px 42px 14px 14px !important;
  position: relative !important;
  min-height: 76px !important;
}

.kr-item-detail .kr-item-seller-card::after {
  content: '›';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: #9ca3af;
}

.kr-item-detail .kr-item-seller-card .flex.items-center.justify-start.w-full.mx-auto,
.kr-item-detail .kr-item-seller-card .text-base .flex.items-center.justify-start.w-full.mx-auto,
.kr-item-detail .kr-item-seller-card [class*="star"],
.kr-item-detail .kr-item-seller-card button,
.kr-item-detail .kr-item-seller-card p.text-sm.font-medium.text-feSecondary-500 {
  display: none !important;
}

.kr-item-detail .kr-item-seller-card .w-20.h-20,
.kr-item-detail .kr-item-seller-card .w-20.h-20 img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 999px !important;
}

.kr-item-detail .kr-item-seller-card .gap-4 {
  gap: 12px !important;
}

.kr-item-detail .kr-item-seller-card .grow.flex.flex-col.gap-2.justify-center.truncate {
  gap: 4px !important;
}

.kr-item-detail .kr-item-seller-card p.text-lg.font-semibold {
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  color: #111827 !important;
}

.kr-item-detail .kr-item-seller-card .flex.items-center.gap-1 p {
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: #6b7280 !important;
}

.kr-item-detail .kr-item-stats-card {
  padding: 0 !important;
  overflow: hidden !important;
}

.kr-item-detail .kr-item-stats-card > * {
  padding: 20px !important;
}

.kr-item-detail .kr-item-related-row {
  margin-top: 12px !important;
  align-items: center !important;
}

.kr-item-detail .kr-item-detail-view-all {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #10b44a !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
}

.kr-item-detail .kr-item-links-card {
  display: none !important;
}

.kr-item-detail .kr-item-type-pill {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  padding: 10px 14px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(34, 197, 94, 0.22) !important;
  background: rgba(34, 197, 94, 0.06) !important;
}

body.kr-item-detail #kr-item-detail-share-fab {
  display: none !important;
}

/* ===== kr-item-detail-light-card-finish-style (orig line 19016) ===== */
body.kr-item-detail main {
  background: #f6f7fb !important;
}

body.kr-item-detail .kr-item-summary-host,
body.kr-item-detail .kr-item-description-card,
body.kr-item-detail .kr-item-detail-card,
body.kr-item-detail .kr-item-other-info-card,
body.kr-item-detail .kr-item-location-card,
body.kr-item-detail .kr-item-stats-card,
body.kr-item-detail .kr-item-seller-card {
  background: #ffffff !important;
  border-color: #e7ebf2 !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
  color: #182033 !important;
}

body.kr-item-detail .kr-item-summary-card {
  background: transparent !important;
  box-shadow: none !important;
}

body.kr-item-detail .kr-item-summary-title {
  color: #1d2740 !important;
}

body.kr-item-detail .kr-item-summary-meta-wrap,
body.kr-item-detail .kr-item-summary-meta-wrap * {
  color: #6b7280 !important;
}

body.kr-item-detail .kr-item-seller-card {
  padding: 18px 22px !important;
  border-radius: 24px !important;
}

body.kr-item-detail .kr-item-seller-card::after {
  right: 20px !important;
  color: #c0c7d4 !important;
}

body.kr-item-detail .kr-item-seller-card .flex.gap-4,
body.kr-item-detail .kr-item-seller-card .flex[class*="gap-4"] {
  align-items: center !important;
  gap: 16px !important;
}

body.kr-item-detail .kr-item-seller-card .w-20.h-20,
body.kr-item-detail .kr-item-seller-card .w-20.h-20 img {
  width: 68px !important;
  height: 68px !important;
  border-radius: 999px !important;
}

body.kr-item-detail .kr-item-seller-card .w-20.h-20 {
  background: linear-gradient(180deg, #ff8b25 0%, #ff6c0a 100%) !important;
  box-shadow: 0 8px 18px rgba(255, 122, 25, 0.25) !important;
  padding: 3px !important;
}

body.kr-item-detail .kr-item-seller-card .w-20.h-20 img {
  object-fit: cover !important;
  background: #fff !important;
}

body.kr-item-detail .kr-item-seller-card .text-lg.font-semibold,
body.kr-item-detail .kr-item-seller-card p.text-lg {
  color: #1c253b !important;
  font-size: 1.05rem !important;
  line-height: 1.2 !important;
}

body.kr-item-detail .kr-item-seller-card p {
  color: #6b7280 !important;
}

body.kr-item-detail .kr-item-stats-card {
  border-radius: 24px !important;
  background: #f3f4f6 !important;
  border: 1px solid #ebeef3 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.kr-item-detail .kr-item-stats-content,
html.dark body.kr-item-detail .kr-item-stats-content {
  background: transparent !important;
  color: #1f2937 !important;
}

body.kr-item-detail .kr-item-stats-content p,
html.dark body.kr-item-detail .kr-item-stats-content p {
  color: #1f2937 !important;
}

body.kr-item-detail .kr-item-stats-content [class*="text-2xl"],
body.kr-item-detail .kr-item-stats-content [class*="text-3xl"],
body.kr-item-detail .kr-item-stats-content [class*="font-semibold"],
html.dark body.kr-item-detail .kr-item-stats-content [class*="text-2xl"],
html.dark body.kr-item-detail .kr-item-stats-content [class*="text-3xl"],
html.dark body.kr-item-detail .kr-item-stats-content [class*="font-semibold"] {
  color: #111827 !important;
  font-weight: 800 !important;
}

body.kr-item-detail .kr-item-stats-content svg,
html.dark body.kr-item-detail .kr-item-stats-content svg {
  color: #1f2937 !important;
}

body.kr-item-detail .kr-item-type-pill,
html.dark body.kr-item-detail .kr-item-type-pill {
  background: #effcf3 !important;
  border-color: rgba(34, 197, 94, 0.18) !important;
  color: #166534 !important;
}

body.kr-item-detail .kr-item-detail-view-all,
html.dark body.kr-item-detail .kr-item-detail-view-all {
  color: #13b94d !important;
  border-radius: 0 !important;
}

body.kr-item-detail .kr-item-links-card {
  display: none !important;
}

/* ===== kr-category-spacing-late-style (orig line 19145) ===== */
.kr-category-page .grid[class*="grid-cols-4"] {
  gap: 6px !important;
}

.kr-category-page .flex.flex-col.items-center.cursor-pointer.group {
  width: 100% !important;
  align-items: stretch !important;
}

.kr-category-page .flex.flex-col.items-center.cursor-pointer.group > div:first-child {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 14px !important;
}

.kr-category-page .flex.flex-col.items-center.cursor-pointer.group > div:first-child img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.kr-category-page .flex.flex-col.items-center.cursor-pointer.group > p {
  width: 100% !important;
  max-width: none !important;
  margin-top: 6px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

@media (max-width: 640px) {
  .kr-category-page .grid[class*="grid-cols-4"] {
    gap: 6px !important;
  }

  .kr-category-page .flex.flex-col.items-center.cursor-pointer.group > p {
    font-size: 11.5px !important;
    margin-top: 6px !important;
  }
}

/* ===== kr-item-detail-flutter-ui-finish-style (orig line 19191) ===== */
.kr-item-detail .kr-item-mobile-stack {
  gap: 16px !important;
}

.kr-item-detail .kr-item-summary-host,
.kr-item-detail .kr-item-summary-host > div,
.kr-item-detail .kr-item-summary-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.kr-item-detail .kr-item-summary-host {
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
}

.kr-item-detail .kr-item-summary-title {
  margin: 0 0 10px !important;
  font-size: clamp(1.55rem, 5.8vw, 1.95rem) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
}

.kr-item-detail .kr-item-summary-price-row {
  margin-bottom: 6px !important;
  gap: 12px !important;
}

.kr-item-detail .kr-item-summary-price-row .text-4xl.font-semibold {
  font-size: 1.3125rem !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #16a34a !important;
}

.kr-item-detail .kr-fav-share-row > button,
.kr-item-detail .kr-share-btn,
.kr-item-detail .kr-item-summary-price-row > button {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 999px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
  padding: 0 !important;
}

.kr-item-detail .kr-item-summary-meta-wrap {
  display: grid !important;
  gap: 6px !important;
}

.kr-item-detail .kr-item-summary-meta-wrap > .flex.justify-between.items-center.mt-4 {
  margin-top: 0 !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.kr-item-detail .kr-item-summary-meta-wrap .text-feSecondary-400,
.kr-item-detail .kr-item-summary-meta-wrap .text-feSecondary-500,
.kr-item-detail .kr-item-summary-meta-wrap .text-feSecondary-600,
.kr-item-detail .kr-item-summary-meta-wrap .text-feSecondary-700 {
  color: #64748b !important;
}

.kr-item-detail .kr-item-location-card,
.kr-item-detail .kr-item-detail-card,
.kr-item-detail .kr-item-other-info-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.kr-item-detail .kr-item-location-card .flex.flex-col.gap-2.mb-6 {
  margin-bottom: 8px !important;
}

.kr-item-detail .kr-item-location-card p.text-xl.font-semibold.text-feSecondary-800,
.kr-item-detail .kr-item-related-row > p {
  font-size: 0.875rem !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #111827 !important;
  text-transform: none !important;
}

.kr-item-detail .kr-item-static-map-preview {
  height: 180px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(148, 163, 184, 0.32) !important;
  box-shadow: none !important;
}

.kr-item-detail .kr-item-description-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 14px !important;
}

.kr-item-detail .kr-item-description-card p.text-xl.font-semibold.text-feSecondary-800 {
  font-size: 0.75rem !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.kr-item-detail .kr-item-description-card .mt-6,
.kr-item-detail .kr-item-description-card p.text-feSecondary-500,
.kr-item-detail .kr-item-description-card div.text-feSecondary-500 {
  margin-top: 8px !important;
  color: #111827 !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}

.kr-item-detail .kr-item-detail-card > p.text-xl.font-semibold.text-feSecondary-800,
.kr-item-detail .kr-item-other-info-card > p.text-xl.font-semibold.text-feSecondary-800 {
  display: none !important;
}

.kr-item-detail .kr-item-detail-card .flex.flex-wrap.gap-3,
.kr-item-detail .kr-item-other-info-card .flex.flex-wrap.gap-3 {
  gap: 8px !important;
  margin-top: 0 !important;
}

.kr-item-detail .kr-item-detail-card .inline-flex.flex-col,
.kr-item-detail .kr-item-other-info-card .inline-flex.flex-col {
  min-width: 0 !important;
  flex: 0 1 auto !important;
  max-width: 100% !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.kr-item-detail .kr-item-detail-card .inline-flex.flex-col > :first-child,
.kr-item-detail .kr-item-other-info-card .inline-flex.flex-col > :first-child {
  color: #6b7280 !important;
  font-size: 0.75rem !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
}

.kr-item-detail .kr-item-detail-card .inline-flex.flex-col > :last-child,
.kr-item-detail .kr-item-other-info-card .inline-flex.flex-col > :last-child {
  color: #111827 !important;
  font-size: 0.8125rem !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.kr-item-detail .kr-item-stats-card,
.kr-item-detail .kr-item-seller-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
}

.kr-item-detail .kr-item-stats-card {
  border-radius: 4px !important;
  padding: 14px 16px !important;
}

.kr-item-detail .kr-item-seller-card {
  border-radius: 12px !important;
  padding: 14px !important;
}

.kr-item-detail .kr-item-seller-card::after {
  right: 14px !important;
  font-size: 22px !important;
  color: #9ca3af !important;
}

.kr-item-detail .kr-item-seller-card img,
.kr-item-detail .kr-item-seller-card [class*="rounded-full"] img {
  width: 48px !important;
  height: 48px !important;
}

.kr-item-detail .kr-item-seller-card .pb-2.ps-1.flex.items-center,
.kr-item-detail .kr-item-seller-card .ps-1.pt-1 {
  color: #6b7280 !important;
}

.kr-item-detail .kr-item-seller-card button,
.kr-item-detail .kr-item-seller-card .bg-fePrimary-500 {
  display: none !important;
}

.kr-item-detail .kr-item-type-pill {
  margin-top: -2px !important;
  gap: 8px !important;
}

.kr-item-detail .kr-item-related-section,
.kr-item-detail .kr-item-related-row {
  margin-top: 4px !important;
}

.dark .kr-item-detail .kr-item-summary-title,
.dark .kr-item-detail .kr-item-location-card p.text-xl.font-semibold.text-feSecondary-800,
.dark .kr-item-detail .kr-item-description-card p.text-xl.font-semibold.text-feSecondary-800,
.dark .kr-item-detail .kr-item-detail-card .inline-flex.flex-col > :last-child,
.dark .kr-item-detail .kr-item-other-info-card .inline-flex.flex-col > :last-child {
  color: #f8fafc !important;
}

.dark .kr-item-detail .kr-item-description-card,
.dark .kr-item-detail .kr-item-detail-card .inline-flex.flex-col,
.dark .kr-item-detail .kr-item-other-info-card .inline-flex.flex-col,
.dark .kr-item-detail .kr-item-stats-card,
.dark .kr-item-detail .kr-item-seller-card,
.dark .kr-item-detail .kr-item-static-map-preview {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.12) !important;
}

html.dark body.kr-item-detail,
html.dark body.kr-item-detail main {
  background: #0b1120 !important;
  color: #e5e7eb !important;
}

html.dark body.kr-item-detail .kr-item-summary-host,
html.dark body.kr-item-detail .kr-item-description-card,
html.dark body.kr-item-detail .kr-item-location-card,
html.dark body.kr-item-detail .kr-item-stats-card,
html.dark body.kr-item-detail .kr-item-seller-card,
html.dark body.kr-item-detail .kr-item-static-map-preview {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: none !important;
  color: #e5e7eb !important;
}

html.dark body.kr-item-detail .kr-item-detail-card,
html.dark body.kr-item-detail .kr-item-other-info-card,
html.dark body.kr-item-detail .kr-item-location-card {
  color: #e5e7eb !important;
}

html.dark body.kr-item-detail .kr-item-summary-title,
html.dark body.kr-item-detail .kr-item-summary-price-row .text-4xl.font-semibold,
html.dark body.kr-item-detail .kr-item-description-card p.text-xl.font-semibold.text-feSecondary-800,
html.dark body.kr-item-detail .kr-item-location-card p.text-xl.font-semibold.text-feSecondary-800,
html.dark body.kr-item-detail .kr-item-detail-card .inline-flex.flex-col > :last-child,
html.dark body.kr-item-detail .kr-item-other-info-card .inline-flex.flex-col > :last-child,
html.dark body.kr-item-detail .kr-item-seller-card .text-lg.font-semibold,
html.dark body.kr-item-detail .kr-item-seller-card p.text-lg {
  color: #f8fafc !important;
}

html.dark body.kr-item-detail .kr-item-summary-meta-wrap,
html.dark body.kr-item-detail .kr-item-summary-meta-wrap *,
html.dark body.kr-item-detail .kr-item-description-card p.text-sm,
html.dark body.kr-item-detail .kr-item-description-card p.text-xs,
html.dark body.kr-item-detail .kr-item-detail-card .inline-flex.flex-col > :first-child,
html.dark body.kr-item-detail .kr-item-other-info-card .inline-flex.flex-col > :first-child,
html.dark body.kr-item-detail .kr-item-seller-card p,
html.dark body.kr-item-detail .kr-item-seller-card .pb-2.ps-1.flex.items-center,
html.dark body.kr-item-detail .kr-item-seller-card .ps-1.pt-1 {
  color: #94a3b8 !important;
}

html.dark body.kr-item-detail .kr-item-stats-card {
  background: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html.dark body.kr-item-detail .kr-item-seller-card .w-20.h-20 {
  box-shadow: none !important;
}

html.dark body.kr-item-detail .kr-item-seller-card .w-20.h-20 img {
  background: #0f172a !important;
}

html.dark body.kr-item-detail .kr-item-seller-card::after {
  color: #64748b !important;
}

/* ===== anon-style-133 (orig line 19688) ===== */
#kr-app-banner{display:none;position:fixed;left:0;right:0;bottom:0;z-index:99998;
  align-items:center;gap:12px;padding:10px 12px;background:#fff;
  box-shadow:0 -4px 20px rgba(0,0,0,.15);border-top:1px solid #eee;
  transform:translateY(110%);transition:transform .35s ease;
  padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
#kr-app-banner.kr-show{display:flex;transform:translateY(0)}
#kr-appb-icon{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:0 0 auto}
.kr-appb-txt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.kr-appb-txt strong{font-size:14px;color:#111;font-weight:700}
.kr-appb-txt span{font-size:12px;color:#666}
#kr-appb-cta{flex:0 0 auto;background:#1267dc;color:#fff;text-decoration:none;
  font-size:13px;font-weight:600;padding:9px 16px;border-radius:999px;white-space:nowrap}
@media (prefers-color-scheme:dark){
  #kr-app-banner{background:#1e293b;border-top-color:#334155}
  .kr-appb-txt strong{color:#f1f5f9}.kr-appb-txt span{color:#94a3b8}
}

/* ===== anon-style-134 (orig line 19706) ===== */
/* Home hero present -> the search widget no longer needs its clear-the-nav top margin */
body.kr-has-hero main .mt-24.w-full{margin-top:10px !important}

/* ===== kr-vencard-style (orig line 19760) ===== */
/* == Vendor cards (Latest Vendors widget + /vendor-filter) == */
/* Grid cells compute display:flex and the card has no width -> cards
   shrink-wrap their text (ragged layout). Make every card fill its cell. */
.kr-vencard { width: 100% !important; }
/* /vendor-filter grid: 2-up on mobile (stock = 1 ragged card per row) */
@media (max-width: 639px) {
  .grid[class*="sm:grid-cols-8"][class*="grid-cols-4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .grid[class*="sm:grid-cols-8"][class*="grid-cols-4"] > [class*="col-span-4"] {
    grid-column: span 1 / span 1 !important;
  }
}
/* Image-backed card: the vendor profile photo IS the card background */
.kr-vencard-img { min-height: 205px; background-size: cover; background-position: center; }
@media (min-width: 640px) { .kr-vencard-img { min-height: 225px; } }
.kr-vencard-img > div:first-child { display: none !important; }   /* gradient cover strip */
.kr-vencard-img > .flex.justify-center.z-10 { display: none !important; } /* floating avatar tile */
.kr-vencard-img > .flex-1 {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  background: linear-gradient(to top, rgba(8,12,18,.88) 0%, rgba(8,12,18,.55) 62%, rgba(8,12,18,0) 100%);
  padding: 26px 10px 10px !important;
}
html.dark .kr-vencard-img > .flex-1 {
  background: linear-gradient(to top, rgba(2,6,12,.92) 0%, rgba(2,6,12,.6) 62%, rgba(2,6,12,0) 100%);
}
.kr-vencard-img h3 { color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
/* "Visit Shop" becomes a green pill on every vendor card */
.kr-vencard > .flex-1 > span {
  margin-top: 7px !important;
  background: rgb(var(--color-fePrimary-500));
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.kr-vencard > .flex-1 > span svg { color: #fff !important; }
