/* Pikadepo – premium B2C tech accessories e-commerce */

:root {
  /* Spacing system: 4px, 8px, 12px, 16px, 24px, 32px – përdoret në header dhe UI */
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-6: 24px;
  --spacing-8: 32px;
  --tw-bg-page: #ffffff;
  --tw-bg-surface: #ffffff;
  --tw-bg-card: #ffffff;
  --tw-bg-card-hover: #fafafa;
  --tw-border: #e5e7eb;
  --tw-border-light: #d1d5db;
  --tw-orange: #c9952c;
  --tw-orange-dim: #a66f14;
  --tw-orange-badge: #f5c518;
  --tw-orange-hover: #8a5a0a;
  --tw-orange-glow: rgba(201, 149, 44, 0.34);
  --tw-accent-subtle: rgba(201, 149, 44, 0.12);
  --tw-accent-glow: rgba(201, 149, 44, 0.30);
  --tw-success: #0d9488;
  --tw-success-bg: rgba(13, 148, 136, 0.12);
  --tw-text-primary: #14110c;
  --tw-text-muted: #4b5563;
  --tw-text-subtle: #6b7280;
  --tw-radius: 14px;
  --tw-radius-lg: 18px;
  --tw-shadow-card: 0 2px 10px rgba(15, 23, 42, 0.06);
  --tw-shadow-card-hover: 0 10px 28px rgba(15, 23, 42, 0.10);
  --tw-shadow-soft: 0 8px 28px -8px rgba(15, 23, 42, 0.14);
  --tw-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --tw-duration-fast: 0.09s;
  --tw-duration-normal: 0.13s;
  /* Ndarje e butë (një vijë në vend të border + shadow të dyfishtë) */
  --tw-divider-hairline: color-mix(in srgb, var(--tw-border) 58%, transparent);
}

html.dark {
  color-scheme: dark;
  --tw-bg-page: #0f0e0b;
  --tw-bg-surface: #171511;
  --tw-bg-card: #201c15;
  --tw-bg-card-hover: #2b251b;
  --tw-border: #3a3327;
  --tw-border-light: #4a3f2f;
  --tw-accent-subtle: rgba(201, 149, 44, 0.18);
  --tw-accent-glow: rgba(201, 149, 44, 0.32);
  --tw-text-primary: #fff8e7;
  --tw-text-muted: #c9bda7;
  --tw-text-subtle: #a99b82;
  --tw-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.35);
  --tw-shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.42);
  --tw-shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.45);
  --tw-divider-hairline: color-mix(in srgb, var(--tw-border) 42%, var(--tw-bg-page));
}

/* Pamja e errët: kartela dhe inpute që përdorin bg-white nga Tailwind */
html.dark .bg-white {
  background-color: var(--tw-bg-surface) !important;
}

/* Orders: "Aktivizo dërgesën me postë" kartela duhet të jetë e lexueshme në dark mode. */
html.dark .post-enabled-toggle-card {
  background-color: color-mix(in srgb, var(--tw-bg-surface) 92%, transparent) !important;
  border-color: var(--tw-border) !important;
}

html.dark .page-load-overlay {
  background-color: color-mix(in srgb, var(--tw-bg-surface) 92%, transparent);
}

.header-theme-toggle[aria-checked="true"] {
  background-color: var(--tw-orange);
  border-color: transparent;
}

.header-theme-toggle[aria-checked="true"] .header-theme-toggle-knob {
  transform: translateX(1.25rem);
}

html.dark .header-theme-toggle[aria-checked="false"] .header-theme-toggle-knob {
  background-color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Header seller shortcut: gold on graphite for a premium B2C retail feel */
html.dark .header-sidebar-btn {
  background: linear-gradient(90deg, rgba(201, 149, 44, 0.22) 0%, rgba(26, 29, 36, 0.5) 50%, transparent 100%) !important;
  color: #f6d36c !important;
  box-shadow:
    inset 0 0 0 1px rgba(201, 149, 44, 0.4),
    0 2px 12px -2px rgba(0, 0, 0, 0.5) !important;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
html.dark .header-sidebar-btn:hover {
  background: linear-gradient(90deg, rgba(201, 149, 44, 0.32) 0%, rgba(34, 38, 46, 0.45) 48%, transparent 100%) !important;
  color: #fff8d6 !important;
  box-shadow:
    inset 0 0 0 1px rgba(245, 197, 24, 0.5),
    0 2px 16px -2px rgba(201, 149, 44, 0.12) !important;
}
@media (max-width: 767px) {
  html.dark .header-sidebar-btn::before {
    background: linear-gradient(
      to bottom,
      rgba(245, 197, 24, 0.22) 0%,
      rgba(201, 149, 44, 0.09) 40%,
      transparent 75%
    );
  }
}

/* Header: ikona “teaser” për vizitorë — zbehje + blur; klik hap modalin e kyçjes */
.header .guest-header-peek {
  opacity: 0.68;
  filter: blur(0.85px);
  -webkit-filter: blur(0.85px);
  transition: opacity 0.15s ease, filter 0.15s ease;
}
.header .guest-header-peek:hover {
  opacity: 0.9;
  filter: blur(0.4px);
  -webkit-filter: blur(0.4px);
}
.header .guest-header-peek--depot {
  opacity: 0.72;
  filter: blur(0.65px);
  -webkit-filter: blur(0.65px);
}
.header .guest-header-peek--depot:hover {
  opacity: 0.88;
  filter: blur(0.35px);
  -webkit-filter: blur(0.35px);
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

body {
  -webkit-tap-highlight-color: transparent;
  /* Clean white B2C retail background. Gold stays only as an accent. */
  background-color: var(--tw-bg-page);
  background-image: none;
  background-attachment: fixed;
}

html.dark body {
  background-image:
    radial-gradient(ellipse 120% 65% at 50% -30%, rgba(245, 197, 24, 0.16), transparent 55%),
    radial-gradient(ellipse 65% 40% at 100% 5%, rgba(15, 118, 110, 0.10), transparent 48%);
}

@media (prefers-reduced-motion: reduce) {
  body {
    background-attachment: scroll;
  }
}

/* ========== Bazë responsivitet (mobil / tablet / desktop / notch) ========== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Përmbajtje kryesore: mos lejo imazhe më të gjera se kolona */
.content img,
#main-content img {
  max-width: 100%;
}

/* Logo PIKADEPO – premium lean wordmark: gold PIKA + graphite/ivory DEPO */
.site-logo--brand {
  letter-spacing: -0.02em;
}

.pikadepo-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  user-select: none;
}

.pikadepo-logo__inner {
  display: inline-flex;
  align-items: baseline;
  transform: skewX(-14deg);
  font-family: 'DM Sans', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.pikadepo-logo__pika {
  color: #f5c518;
  text-shadow: 0 1px 0 rgba(20, 17, 12, 0.14), 0 8px 18px rgba(201, 149, 44, 0.14);
}

.pikadepo-logo__depo {
  color: var(--tw-text-primary);
}

html.dark .pikadepo-logo__depo {
  color: #ffffff;
}

.pikadepo-logo__dot {
  display: inline-block;
  flex-shrink: 0;
  align-self: center;
  margin-left: 0.12em;
  margin-bottom: 0.05em;
  width: 0.32em;
  height: 0.32em;
  background: linear-gradient(135deg, #f5c518, #c9952c);
  transform: skewX(14deg);
  border-radius: 1px;
}

.pikadepo-logo--sm .pikadepo-logo__inner {
  font-size: 1.35rem;
}

.pikadepo-logo--md .pikadepo-logo__inner {
  font-size: 1.65rem;
}

.pikadepo-logo--lg .pikadepo-logo__inner {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .pikadepo-logo--md .pikadepo-logo__inner {
    font-size: 1.85rem;
  }

  .pikadepo-logo--lg .pikadepo-logo__inner {
    font-size: 2.25rem;
  }
}

.site-logo--brand:hover .pikadepo-logo__pika {
  color: #ffd54a;
}

.site-logo--brand:hover .pikadepo-logo__dot {
  background: #f5c518;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible: keyboard users get a clear ring; avoid outline:none without replacement */
a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--tw-bg-page), 0 0 0 4px var(--tw-orange);
  border-radius: 6px;
}
/* Product modal close: no focus ring so transparent hit area stays invisible */
#product-modal-close:focus,
#product-modal-close:focus-visible {
  outline: none;
  box-shadow: none;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--tw-orange);
}

/* Header icon buttons: min touch target (a11y) */
.header-actions .btn-icon {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Porosi, mesazhe, shportë, menu, etj.: pak më të mëdha se w-10 (jo butoni me tekst “me postë”) */
.header-actions .btn-icon.w-10.h-10 {
  width: 2.875rem;
  height: 2.875rem;
  min-width: 2.875rem;
  min-height: 2.875rem;
}

.header-flag-img {
  display: block;
  object-fit: cover;
  border-radius: 2px;
}

/* Flamujt në shiritin portokalli / kaltër: kornizë e lehtë për kontrast */
.admin-bar .header-country-wrap--banner .header-flag-img,
.user-bar .header-country-wrap--banner .header-flag-img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* Shiriti i sipërm (admin portokalli / përdorues kaltër): i ulët; fsheh në scroll poshtë */
.top-banner-bar--scroll-reveal {
  transition: max-height 0.24s ease, opacity 0.2s ease, padding-top 0.2s ease, padding-bottom 0.2s ease;
  max-height: 3.25rem;
}
.top-banner-bar--scroll-reveal.top-banner-bar--scroll-hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
  overflow: hidden;
  pointer-events: none;
}

/* Njoftimi publik: mbyll me një klik X; jo scroll-reveal (pointer-events: none e bënte të vështirë klikimin) */
.site-notice-bar[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .top-banner-bar--scroll-reveal {
    transition: none;
  }
}

/* Header: Cart / mesazhe / porosi – stroke më i trashë + ikona pak më e madhe */
.header-actions .btn-icon > svg,
.header-mob-orders-fav .btn-icon > svg,
.header-desktop-orders-fav .btn-icon > svg,
.header-notifications-trigger > svg,
.header-cart-btn > svg,
.header .header-menu-btn > svg,
.header .header-menu-trigger > svg {
  stroke-width: 2.5;
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}

/* Kartë listimi: lokacion & datë (#717171, ~13px) */
.listing-card-meta {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #717171;
  font-weight: 400;
}
.listing-card-meta-icon {
  color: #717171;
  stroke: #717171;
}
.listing-card--unpublished .listing-card-meta,
.listing-card--unpublished .listing-card-meta-icon {
  color: var(--tw-text-muted);
  stroke: currentColor;
}
.listing-left .listing-img {
  border-radius: 0.375rem;
}

/* FAB Posto: nën dropdown të kartave (z-50), mbi përmbajtjen e zakonshme */
.fab.fab--post {
  z-index: 20;
}

/* Butoni Info në site-header – i shfaqur */
body.modal-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

/* ========== Page load (initial) ========== */
body.page-loading .page-load-content {
  opacity: 0;
}
body.page-loaded .page-load-content {
  opacity: 1;
}
.page-load-overlay {
  pointer-events: auto;
}
.page-load-overlay.opacity-0 {
  pointer-events: none;
}

/* ========== Soft navigation feedback (top bar + skeleton) ========== */
.nav-progress-host {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10002;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: color-mix(in srgb, var(--tw-border) 35%, transparent);
}
.nav-progress-host.nav-progress-host--active {
  opacity: 1;
}
.nav-progress-host .nav-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--tw-orange), #f5c518);
  box-shadow: 0 0 10px var(--tw-orange-glow);
  transition: width 11s cubic-bezier(0.06, 0.85, 0.15, 1);
}
html.dark .nav-progress-host {
  background: color-mix(in srgb, var(--tw-border) 25%, transparent);
}

#main-content.nav-route-main-pending {
  position: relative;
}
.nav-route-skeleton-layer {
  position: absolute;
  inset: 0;
  z-index: 25;
  padding: 0.75rem 1rem 1.5rem;
  pointer-events: none;
  background: color-mix(in srgb, var(--tw-bg-page) 82%, transparent);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
@media (prefers-reduced-motion: reduce) {
  .nav-progress-host .nav-progress-bar {
    transition-duration: 0.01ms;
  }
  .nav-route-skeleton-layer .shimmer-skeleton {
    animation: none;
    opacity: 0.45;
  }
}
.nav-route-skeleton-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 100%;
}
.nav-route-skeleton-card {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.75rem;
  background: var(--tw-bg-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius-lg);
  box-shadow: var(--tw-shadow-soft);
}
.nav-route-sk-thumb {
  width: 4.5rem;
  min-width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--tw-radius);
  margin: 0;
}
.nav-route-sk-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  min-width: 0;
}
.nav-route-sk-line {
  height: 0.75rem;
  border-radius: 6px;
  margin: 0;
}
.nav-route-sk-line.short {
  width: 55%;
}

/* ========== Offline Shimmer loading ========== */
.offline-shimmer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: var(--tw-bg-page);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem;
  overflow-y: auto;
  transition: opacity 0.16s ease-out;
}
.offline-shimmer-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.shimmer-skeleton {
  background: linear-gradient(
    90deg,
    var(--tw-bg-card) 0%,
    var(--tw-border-light) 20%,
    var(--tw-bg-card) 40%,
    var(--tw-bg-card) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--tw-radius);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.offline-shimmer-card {
  width: 100%;
  max-width: 20rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--tw-bg-surface);
  border-radius: var(--tw-radius-lg);
  border: 1px solid var(--tw-border);
  box-shadow: var(--tw-shadow-soft);
}
.offline-shimmer-card .shimmer-skeleton {
  height: 6rem;
  margin-bottom: 0.75rem;
}
.offline-shimmer-card .shimmer-skeleton:last-child {
  height: 1.25rem;
  width: 60%;
  margin-bottom: 0;
}
.offline-shimmer-message {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--tw-text-muted);
  text-align: center;
}

/* ========== Lazy-loaded images (fade-in when loaded) ========== */
.listing-img {
  opacity: 0;
  transition: opacity 0.14s ease-out;
}
.listing-img.loaded {
  opacity: 1;
}
.listing-left {
  background: #ffffff;
}

/* ========== Intro banner ========== */
.intro-banner {
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
}
.intro-banner-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.intro-banner-title::before {
  content: "📱";
  font-size: 1.25rem;
}
.intro-banner-list {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5f6368;
}
.intro-banner--collapsed .intro-banner-inner {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--tw-duration-normal) var(--tw-ease), padding var(--tw-duration-normal) var(--tw-ease), opacity var(--tw-duration-fast) ease;
}
.intro-banner--collapsed .intro-banner-toggle {
  position: static;
  width: 100%;
  height: auto;
  padding: 0.5rem 1rem;
  justify-content: center;
  gap: 0.35rem;
  background: transparent;
  border-radius: 0;
  border: none;
}
.intro-banner--collapsed .intro-banner-toggle:hover {
  background: var(--tw-bg-page);
}
.intro-banner--collapsed .intro-banner-toggle-label {
  display: inline;
  font-size: 0.875rem;
  font-weight: 500;
}
.intro-banner--collapsed .intro-banner-toggle-icon--down {
  display: none;
}
.intro-banner--collapsed .intro-banner-toggle-icon--up {
  display: block;
  font-size: 0.75rem;
}

/* ========== Header ========== */
.site-logo-img {
  max-height: 2.5rem;
  max-width: 160px;
  object-fit: contain;
}

/* Dërgo me post: ikona me ngjyra në dark (kamion PNG transparent); në light mbetet ikona e zakonshme */
.send-by-post-icon-wrap {
  position: relative;
}
.send-by-post-icon-wrap .send-by-post-icon--dark {
  display: none;
}
.send-by-post-icon-wrap .send-by-post-icon--light {
  display: block;
}
html.dark .send-by-post-icon-wrap .send-by-post-icon--light {
  display: none !important;
}
html.dark .send-by-post-icon-wrap .send-by-post-icon--dark {
  display: block !important;
}
/* ========== Header area – një vijë e butë, pa shadow të stapluar me border ========== */
.header,
.site-header {
  background:
    radial-gradient(circle at 8% 0%, rgba(245, 197, 24, 0.14), transparent 32%),
    linear-gradient(135deg, #14110c 0%, #211a12 52%, #2d2418 100%);
  border-bottom: 1px solid rgba(201, 149, 44, 0.46);
  box-shadow: 0 10px 30px -18px rgba(20, 17, 12, 0.55);
  color: #fff8e7;
  --tw-text-primary: #fff8e7;
  --tw-text-muted: #d8cab2;
  --tw-text-subtle: #b7a88f;
}
/* Ikona toolbar (zemër, shportë, menu, etj.) — të bardha mbi header të errët */
.header .header-actions .btn-icon,
.header .header-mob-orders-fav .btn-icon,
.header .header-desktop-orders-fav .btn-icon,
.header .header-notifications-trigger,
.header .header-favorites-trigger,
.header .header-messages-btn,
.header .header-cart-btn,
.header .header-menu-btn,
.header .header-menu-trigger,
.header .header-admin-theme-toggle,
.header .header-menu-wrap .btn-icon,
.header .header-menu-wrap-mob .btn-icon {
  color: rgba(255, 255, 255, 0.92);
}
.header .header-actions .btn-icon:hover,
.header .header-mob-orders-fav .btn-icon:hover,
.header .header-desktop-orders-fav .btn-icon:hover,
.header .header-notifications-trigger:hover,
.header .header-favorites-trigger:hover,
.header .header-messages-btn:hover,
.header .header-cart-btn:hover,
.header .header-menu-btn:hover,
.header .header-menu-trigger:hover,
.header .header-admin-theme-toggle:hover,
.header .header-menu-wrap .btn-icon:hover,
.header .header-menu-wrap-mob .btn-icon:hover {
  color: #f5c518;
  background: rgba(255, 255, 255, 0.1);
}
.header .header-actions .btn-icon:focus-visible,
.header .header-mob-orders-fav .btn-icon:focus-visible,
.header .header-desktop-orders-fav .btn-icon:focus-visible,
.header .header-notifications-trigger:focus-visible,
.header .header-favorites-trigger:focus-visible,
.header .header-messages-btn:focus-visible,
.header .header-cart-btn:focus-visible,
.header .header-menu-btn:focus-visible,
.header .header-menu-trigger:focus-visible,
.header .header-admin-theme-toggle:focus-visible,
.header .header-menu-wrap .btn-icon:focus-visible,
.header .header-menu-wrap-mob .btn-icon:focus-visible {
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.4);
}
/* Sticky: “glass” i lehtë që përmbajtja lëviz bukur poshtë */
header.header.sticky {
  background:
    radial-gradient(circle at 8% 0%, rgba(245, 197, 24, 0.14), transparent 32%),
    color-mix(in srgb, #14110c 92%, transparent);
  -webkit-backdrop-filter: saturate(1.35) blur(12px);
  backdrop-filter: saturate(1.35) blur(12px);
  border-bottom-color: rgba(201, 149, 44, 0.46);
  box-shadow: 0 12px 36px -18px rgba(20, 17, 12, 0.65);
}
html.dark header.header.sticky {
  background: color-mix(in srgb, var(--tw-bg-surface) 86%, transparent);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.45);
}
@media (min-width: 768px) {
  .header {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    /* Hije e lehtë poshtë header-it (vetëm desktop; mobile mbetet i sheshtë) */
    box-shadow: 0 14px 32px -20px rgba(20, 17, 12, 0.58);
  }
  header.header.sticky {
    box-shadow: 0 12px 36px -18px rgba(20, 17, 12, 0.65);
  }
  html.dark .header:not(.sticky) {
    box-shadow: 0 12px 28px -20px rgba(0, 0, 0, 0.35);
  }
}

/* Telefon: rreshti i kërkimit mban vetëm një ndarje poshtë (shmang border të dyfishtë me .header) */
@media (max-width: 1023px) {
  .header:has(.header-mob-search-row.search-wrap) {
    border-bottom: none;
  }
}

/* Rreshti i kërkimit: sfond pak më i errët se header-i (ndarje me ton, jo me dy vija) */
.header-mob-search-row.search-wrap,
.search-wrap.header-mob-search-row {
  padding: 0.625rem 1rem 0.75rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: none;
  --tw-text-primary: #14110c;
  --tw-text-muted: #4b5563;
  --tw-text-subtle: #6b7280;
}
@media (min-width: 1024px) {
  .header-mob-search-row.search-wrap,
  .search-wrap.header-mob-search-row {
    padding: 0.5rem 1.5rem;
  }
}

/* ---------- Mobile: logo, flamuj, butona (touch & hapësirë) ---------- */
@media (max-width: 1023px) {
  /* Rreshti kryesor i header-it: i njëjti densitet si më parë (py-0, gap) */
  .header .header-primary-row {
    gap: 0.5rem;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: 0;
  }
  .header-primary-row .site-logo {
    margin-right: 0.25rem;
  }
  .header-country-wrap {
    max-width: 7.5rem;
    min-width: 0;
  }
  .header-primary-row .send-by-post-trigger.header-send-by-post--icon-only {
    margin-left: 0;
    margin-right: 0;
  }
  .header .header-sidebar-btn {
    min-height: 44px;
  }
  /* Dritë dielli nga lart te butoni Depo */
  .header-sidebar-btn {
    position: relative;
    overflow: hidden;
  }
  .header-sidebar-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom, rgba(255, 251, 235, 0.55) 0%, rgba(254, 243, 199, 0.2) 40%, transparent 75%);
    pointer-events: none;
  }
  .header-sidebar-btn > * {
    position: relative;
    z-index: 1;
  }
  /* Mobile: butoni Kategori duhet të dallohet nga fusha e kërkimit. */
  .header-mob-search-row .btn-model-toggle {
    min-height: 0;
    border-color: rgba(201, 149, 44, 0.55) !important;
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 58%, #f7ecd0 100%) !important;
    color: #14110c !important;
    font-weight: 800;
    box-shadow: 0 3px 12px -8px rgba(20, 17, 12, 0.35), inset 0 0 0 1px rgba(245, 197, 24, 0.22);
  }
  .header-mob-search-row .btn-model-toggle::before {
    content: '';
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.45rem;
    border-radius: 999px;
    background: #c9952c;
    box-shadow: 0 0 0 3px rgba(201, 149, 44, 0.14);
    vertical-align: middle;
  }
  .header-mob-search-row .btn-model-toggle:hover,
  .header-mob-search-row .btn-model-toggle:focus-visible {
    border-color: #c9952c !important;
    background: linear-gradient(135deg, #fff3bf 0%, #fffdf7 58%, #f4dfad 100%) !important;
    box-shadow: 0 4px 16px -8px rgba(20, 17, 12, 0.42), 0 0 0 3px rgba(201, 149, 44, 0.13);
  }
  .model-filter-wrap-mob {
    overflow: visible;
  }
}

.header-title a {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.header-subtitle {
  font-size: 0.75rem;
  color: #5f6368;
  font-weight: 500;
  margin-top: 0.125rem;
}
.avatar {
  background: var(--tw-accent-subtle) !important;
  border-color: rgba(201, 149, 44, 0.2) !important;
}

/* ========== Tabs (kategoritë) ========== */
.tabs {
  padding-bottom: 0.5rem;
}
.tab {
  font-weight: 500;
  color: var(--tw-text-muted);
  background: var(--tw-bg-surface);
  border: 1px solid var(--tw-border);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  transition: color var(--tw-duration-fast) ease, background var(--tw-duration-fast) ease, border-color var(--tw-duration-fast) ease, box-shadow var(--tw-duration-fast) ease;
}
.tab:hover {
  color: var(--tw-text-primary);
  background: var(--tw-bg-card-hover);
  border-color: var(--tw-border-light);
}
.tab.active,
button.tab.active,
.tab.active.text-text-muted {
  color: #fff !important;
  background: var(--tw-orange) !important;
  border-color: var(--tw-orange) !important;
  box-shadow: 0 2px 12px var(--tw-orange-glow);
}
.tab.active *,
button.tab.active * {
  color: inherit !important;
}
.tab--featured .tab-featured-star {
  font-size: 1em;
  line-height: 1;
  opacity: 0.95;
}
.tab.tab--featured.active .tab-featured-star {
  opacity: 1;
}
.tab--home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.875rem;
}
.tab--home .tab-icon--home {
  display: block;
}
.tab.active .tab-icon--home {
  stroke: currentColor;
}
/* Telefon: home tab te search-wrap (midis search dhe model); desktop: home tab te tabs */
.tab--home-mobile {
  display: none !important;
}
.tab--home-desktop {
  display: inline-flex !important;
}
@media (max-width: 1023px) {
  .tabs {
    display: none !important;
  }
  .tab--home-mobile {
    display: inline-flex !important;
  }
  .tab--home-desktop {
    display: none !important;
  }
}
.tab-dropdown-menu--fixed {
  position: fixed;
  z-index: 1000;
  margin-top: 0.375rem;
}
.tab-dropdown-option.active {
  background: var(--tw-accent-subtle);
  color: var(--tw-orange);
  font-weight: 600;
}
/* Desktop/tablet: nenkategori me foto poshte tabs */
.desktop-model-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.desktop-model-strip-inner--single-row {
  flex-direction: row;
  align-items: stretch;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.desktop-model-group {
  background: var(--tw-bg-surface);
  border: 1px solid color-mix(in srgb, var(--tw-border) 82%, transparent);
  border-radius: 0.95rem;
  padding: 0.55rem;
}
.desktop-model-group--active {
  border-color: color-mix(in srgb, var(--tw-orange) 45%, var(--tw-border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tw-orange) 30%, transparent);
}
.desktop-model-group-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}
.desktop-model-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--tw-text-muted);
  text-decoration: none;
}
.desktop-model-group-title:hover {
  color: var(--tw-orange);
}
.desktop-model-group-row {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.desktop-model-tile {
  flex: 0 0 auto;
  width: 5.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  text-decoration: none;
}
.desktop-model-tile-visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.7rem;
  border: 1px solid color-mix(in srgb, var(--tw-border) 80%, transparent);
  background: var(--tw-bg-page);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.desktop-model-tile-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.model-filter-tile-img {
  object-fit: contain !important;
  object-position: center !important;
  display: block;
}
.desktop-model-tile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8ecf2 0%, #f8fafc 100%);
  color: var(--tw-text-muted);
}
.desktop-model-tile-placeholder svg {
  width: 1.4rem;
  height: 1.4rem;
  opacity: 0.55;
}
.desktop-model-tile-visual--all {
  background: linear-gradient(135deg, color-mix(in srgb, var(--tw-orange) 25%, #fff) 0%, color-mix(in srgb, var(--tw-orange) 7%, #fff) 100%);
  color: color-mix(in srgb, var(--tw-orange) 85%, #9a3412);
  border-color: color-mix(in srgb, var(--tw-orange) 26%, var(--tw-border));
}
.desktop-model-tile-visual--all svg {
  width: 1.35rem;
  height: 1.35rem;
}
.desktop-model-tile-label {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  font-size: 0.66rem;
  line-height: 1.2;
  color: var(--tw-text-primary);
}
.desktop-model-tile.active .desktop-model-tile-visual,
.desktop-model-tile:hover .desktop-model-tile-visual {
  border-color: color-mix(in srgb, var(--tw-orange) 45%, var(--tw-border));
  box-shadow: 0 2px 10px -8px color-mix(in srgb, var(--tw-orange) 55%, #000);
}
.desktop-model-tile.active .desktop-model-tile-label,
.desktop-model-tile:hover .desktop-model-tile-label {
  color: var(--tw-orange);
}
@media (min-width: 1024px) {
  .desktop-model-strip-inner--single-row {
    gap: 0.55rem;
  }
  .desktop-model-tile {
    width: 5.7rem;
  }
  .desktop-model-tile-label {
    font-size: 0.7rem;
  }
}
@media (max-width: 1023px) {
  .tab-dropdown-option {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .tab-dropdown-menu--fixed {
    max-height: min(70vh, 22rem);
    -webkit-overflow-scrolling: touch;
  }
  .model-filter-dropdown {
    max-height: min(72vh, 26rem);
    -webkit-overflow-scrolling: touch;
    min-width: 16rem;
    border-radius: 1rem;
  }
  .model-filter-category,
  .model-filter-option {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
  .model-filter-option {
    padding-left: 1.1rem;
    font-size: 0.875rem;
  }
  .model-filter-wrap-mob .model-filter-option:not(.model-filter-option--tile) {
    position: relative;
    padding-left: 2rem;
  }
  .model-filter-wrap-mob .model-filter-option:not(.model-filter-option--tile)::before {
    content: "·";
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tw-orange);
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.5;
  }
  .model-filter-wrap-mob .model-filter-option:not(.model-filter-option--tile)[data-model=""]::before {
    content: "";
  }
  .model-filter-category {
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: 48px;
  }
  /* Panel kategorish mobil: overlay + fletë nga e djathta */
  .model-filter-mob-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 94;
    background: rgba(15, 14, 11, 0.58);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
  }
  .model-filter-mob-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .model-filter-mob-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: auto;
    right: 0;
    height: 100%;
    height: 100dvh;
    width: min(100vw, 100%);
    max-width: 30rem;
    left: auto;
    margin-left: 0;
    margin-right: 0;
    z-index: 95;
    background: #ffffff;
    border: 1px solid rgba(201, 149, 44, 0.24);
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 1.25rem 0 0 1.25rem;
    box-shadow: -18px 0 54px -26px rgba(15, 14, 11, 0.55);
    overflow: hidden;
    transform: translateX(104%);
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
  }
  .model-filter-mob-sheet-header {
    position: relative;
    min-height: 3.6rem;
    padding-top: 0.75rem !important;
    background:
      radial-gradient(circle at 12% 0%, rgba(245, 197, 24, 0.14), transparent 34%),
      linear-gradient(135deg, #ffffff 0%, #fffdf8 100%) !important;
    border-bottom-color: #eee2ca !important;
  }
  .model-filter-mob-sheet-header::before {
    display: none;
  }
  .model-filter-mob-sheet-close {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #4b5563 !important;
  }
  .model-filter-mob-sheet-close:hover {
    background: #fff8e1 !important;
    color: #8a5a0a !important;
    border-color: rgba(201, 149, 44, 0.42) !important;
  }
  .model-filter-mob-body {
    background: #ffffff;
  }
  .model-filter-mob-cats {
    background: #f7f7f6 !important;
    border-left: 1px solid #e5e7eb;
  }
  .model-filter-mob-cat {
    margin: 0.18rem 0.3rem;
    width: calc(100% - 0.6rem) !important;
    min-height: 2.75rem;
    border-radius: 0.85rem !important;
    border-bottom: 0 !important;
    color: #4b5563 !important;
  }
  .model-filter-mob-cat:hover {
    background: #ffffff !important;
    color: #14110c !important;
  }
  .model-filter-mob-cat--active {
    background: #14110c !important;
    color: #f5c518 !important;
    box-shadow: 0 7px 18px -12px rgba(20, 17, 12, 0.55), inset 0 0 0 1px rgba(245, 197, 24, 0.28);
  }
  html.dark .model-filter-mob-cat--active {
    background: #f5c518 !important;
    color: #14110c !important;
  }
  .model-filter-mob-cat.model-filter-mob-cat--all.model-filter-mob-cat--active {
    box-shadow: 0 7px 18px -12px rgba(20, 17, 12, 0.55), inset 0 0 0 1px rgba(245, 197, 24, 0.28);
  }
  .model-filter-option--tile.active {
    border-color: var(--tw-orange);
    background: #fffdf8 !important;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--tw-orange) 45%, transparent), 0 10px 20px -16px rgba(20, 17, 12, 0.36);
  }
  .model-filter-mob-cat.model-filter-mob-cat--all.model-filter-option {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .model-filter-mob-cat.model-filter-mob-cat--all.model-filter-option::before {
    display: none !important;
  }
  .model-filter-mob-sheet.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }
  /* Portal në body: mbi header (transform) dhe përmbajtjen */
  body > .model-filter-mob-backdrop {
    z-index: 215;
  }
  body > .model-filter-mob-sheet {
    z-index: 216;
  }
  .model-filter-dropdown.model-filter-dropdown--mob-sheet {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin: 0 !important;
    max-height: none !important;
    min-width: 0 !important;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
  }
  .model-filter-mob-panels {
    background: #ffffff !important;
    border-right-color: #eee2ca !important;
    padding: 0.8rem !important;
  }
  .model-filter-mob-panel-title {
    margin-bottom: 0.8rem !important;
    padding: 0 0.15rem 0.7rem !important;
    color: #786a55 !important;
    border-bottom-color: #eee2ca !important;
    letter-spacing: 0.07em;
  }
  .model-filter-mob-grid {
    gap: 0.65rem !important;
  }
  .model-filter-option--tile {
    padding: 0.42rem !important;
    border-color: #e5e7eb !important;
    background: #ffffff !important;
    border-radius: 1rem !important;
    box-shadow: 0 8px 20px -18px rgba(15, 23, 42, 0.34);
  }
  .model-filter-option--tile:hover {
    border-color: rgba(201, 149, 44, 0.45) !important;
    background: #fffdf8 !important;
  }
  .model-filter-tile-visual {
    border-radius: 0.85rem !important;
    background-color: #f9fafb !important;
  }
  .model-filter-tile-label {
    color: #14110c !important;
    font-weight: 700 !important;
  }
  html.dark .model-filter-mob-sheet {
    background: #171511;
    border-color: rgba(245, 197, 24, 0.24);
    box-shadow: 0 -24px 58px -24px rgba(0, 0, 0, 0.78);
  }
  html.dark .model-filter-mob-sheet-header {
    background:
      radial-gradient(circle at 12% 0%, rgba(245, 197, 24, 0.14), transparent 34%),
      linear-gradient(135deg, #171511 0%, #201c15 100%) !important;
    border-bottom-color: #3a3327 !important;
  }
  html.dark .model-filter-mob-sheet-header::before {
    background: #5b4c36;
  }
  html.dark .model-filter-mob-sheet-close {
    background: #201c15 !important;
    border-color: #3a3327 !important;
    color: #c9bda7 !important;
  }
  html.dark .model-filter-mob-body,
  html.dark .model-filter-mob-panels {
    background: #171511 !important;
  }
  html.dark .model-filter-mob-cats {
    background: #0f0e0b !important;
    border-left-color: #3a3327;
  }
  html.dark .model-filter-mob-cat {
    color: #c9bda7 !important;
  }
  html.dark .model-filter-mob-cat:hover {
    background: #201c15 !important;
    color: #fff8e7 !important;
  }
  html.dark .model-filter-mob-panel-title {
    color: #a99b82 !important;
    border-bottom-color: #3a3327 !important;
  }
  html.dark .model-filter-option--tile {
    background: #201c15 !important;
    border-color: #3a3327 !important;
    box-shadow: 0 8px 22px -16px rgba(0, 0, 0, 0.7);
  }
  html.dark .model-filter-option--tile:hover,
  html.dark .model-filter-option--tile.active {
    background: #2b251b !important;
    border-color: rgba(245, 197, 24, 0.42) !important;
  }
  html.dark .model-filter-tile-visual {
    background-color: #0f0e0b !important;
  }
  html.dark .model-filter-tile-label {
    color: #fff8e7 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .model-filter-mob-backdrop,
  .model-filter-mob-sheet {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .model-filter-mob-backdrop,
  .model-filter-mob-sheet {
    display: none !important;
  }
  .model-filter-mob-backdrop.is-open,
  .model-filter-mob-sheet.is-open {
    display: none !important;
  }
}

/* Desktop: të gjitha kategoritë si taba; telefon: vetëm dy + dropdown */
.tab--desktop-only {
  display: none;
}
.tab-dropdown--mobile-only {
  display: flex;
}
@media (min-width: 1024px) {
  .tab--desktop-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .tab-dropdown--mobile-only {
    display: none;
  }
}

/* Desktop polish for categories row + smoother scrollbars */
@media (min-width: 1024px) {
  .tabs {
    padding-top: 0.35rem;
    padding-bottom: 0.75rem;
  }
  .tabs[data-first-tab] {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    flex-wrap: nowrap;
  }
  .tabs .tabs-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.35rem;
    border: 1px solid var(--tw-border);
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--tw-orange) 34%, #cfd4dc) #eef2f6;
  }
  .tabs .tabs-scroll::-webkit-scrollbar {
    height: 8px;
  }
  .tabs .tabs-scroll::-webkit-scrollbar-track {
    background: #eef2f6;
    border-radius: 999px;
  }
  .tabs .tabs-scroll::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--tw-orange) 34%, #cfd4dc);
    border-radius: 999px;
  }
  .tabs .tabs-scroll::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--tw-orange) 48%, #bec5cf);
  }
  .tabs .tab {
    border-radius: 0.75rem;
    padding: 0.55rem 0.95rem;
    box-shadow: none;
    border-color: transparent;
    background: transparent;
    white-space: nowrap;
  }
  .tabs .tab:hover {
    background: #fff;
    border-color: var(--tw-border-light);
  }
  .tabs .tab.active,
  .tabs button.tab.active {
    box-shadow: 0 4px 14px -8px var(--tw-orange-glow);
  }
  .tabs .model-filter-wrap {
    margin-left: 0;
  }
  .tabs .btn-model-toggle {
    min-height: 2.625rem;
    border-radius: 0.75rem;
    border-width: 1px;
    box-shadow: none;
  }
}

/* ========== Search & filter ========== */
.search-wrap {
  position: relative;
}
.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.search-input-wrap .search-input,
.search-input-wrap .input {
  padding-left: 2.5rem;
}
.search-input-wrap::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}
.search-wrap .search-input {
  padding-left: 2.75rem;
  border-radius: var(--tw-radius);
  background: var(--tw-bg-surface);
  border: 1px solid var(--tw-border);
  box-shadow: none;
  font-size: 0.9375rem;
  transition: box-shadow var(--tw-duration-fast) ease, border-color var(--tw-duration-fast) ease;
}
.search-wrap .search-input:focus {
  border-color: var(--tw-orange);
  box-shadow: 0 0 0 3px var(--tw-accent-subtle);
}

/* Dark: kërkim i lexueshëm me portokalli të përmbajtur; hija e header-it vetëm në desktop */
html.dark .header {
  background:
    radial-gradient(circle at 8% 0%, rgba(245, 197, 24, 0.14), transparent 32%),
    linear-gradient(135deg, #14110c 0%, #211a12 52%, #2d2418 100%);
}
@media (min-width: 768px) {
  html.dark .header {
    box-shadow: 0 14px 36px -18px rgba(0, 0, 0, 0.55);
  }
}
html.dark .header-mob-search-row.search-wrap,
html.dark .search-wrap.header-mob-search-row {
  background: #171511;
  border-bottom-color: #3a3327;
  box-shadow: none;
  --tw-text-primary: #fff8e7;
  --tw-text-muted: #c9bda7;
  --tw-text-subtle: #a99b82;
}
html.dark input.search-input[type="search"] {
  background: var(--tw-bg-card) !important;
  color: var(--tw-text-primary) !important;
  border: 1px solid color-mix(in srgb, var(--tw-orange) 32%, var(--tw-border)) !important;
  box-shadow: 0 0 0 1px rgba(201, 149, 44, 0.06), 0 2px 14px -6px rgba(201, 149, 44, 0.22);
}
html.dark input.search-input[type="search"]:focus,
html.dark input.search-input[type="search"]:focus-visible {
  border-color: #f5c518 !important;
  box-shadow:
    0 0 0 1px rgba(245, 197, 24, 0.22),
    0 0 0 3px rgba(201, 149, 44, 0.12),
    0 4px 20px -8px rgba(201, 149, 44, 0.35) !important;
  outline: none;
}
html.dark .search-input-wrap::before {
  opacity: 0.75;
  filter: brightness(1.5);
}
html.dark .header-mob-search-row .btn-model-toggle,
html.dark .search-wrap .btn-model-toggle {
  background: linear-gradient(135deg, #2b251b 0%, #201c15 60%, #171511 100%) !important;
  border: 1px solid color-mix(in srgb, var(--tw-orange) 28%, var(--tw-border)) !important;
  color: #fff8e7 !important;
  box-shadow: 0 2px 12px -6px rgba(201, 149, 44, 0.2);
}
html.dark .header-mob-search-row .btn-model-toggle:hover,
html.dark .search-wrap .btn-model-toggle:hover {
  border-color: rgba(245, 197, 24, 0.5) !important;
  color: #f6d36c !important;
  box-shadow: 0 4px 16px -6px rgba(201, 149, 44, 0.28);
}
/* I njëjti radius si fusha e kërkimit (Tailwind rounded-lg e mbishkruan .btn-model-toggle) */
.search-wrap .btn-model-toggle {
  border-radius: var(--tw-radius);
}
/* DEPOT në rreshtin e kërkimit: ngjitur majtas, pa radius në skajin e majtë */
.search-wrap .header-sidebar-btn {
  border-radius: 0 var(--tw-radius) var(--tw-radius) 0;
}
.search-wrap .header-sidebar-btn::before {
  border-radius: inherit;
}
.header-mob-search-row.search-wrap.header-mob-search-row--depot-flush {
  padding-left: 0;
}
.header-mob-search-row .header-sidebar-btn {
  min-height: 0;
}
.btn-model-toggle {
  border-radius: var(--tw-radius);
  border: 1px solid var(--tw-border);
  background: var(--tw-bg-surface);
  font-weight: 500;
  color: #5f6368;
  transition: color var(--tw-duration-fast) ease, border-color var(--tw-duration-fast) ease, background var(--tw-duration-fast) ease;
}
.btn-model-toggle:hover {
  color: var(--tw-orange);
  border-color: var(--tw-orange);
  background: var(--tw-accent-subtle);
}
.model-filter-dropdown {
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.13), 0 1.5px 6px rgba(0,0,0,.07);
  border: 1px solid var(--tw-border);
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--tw-orange) 30%, #cfd4dc) #eef2f6;
  background: var(--tw-bg-surface);
}
.model-filter-dropdown::-webkit-scrollbar {
  width: 5px;
}
.model-filter-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.model-filter-dropdown::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--tw-orange) 28%, #cfd4dc);
  border-radius: 999px;
}
.model-filter-dropdown::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--tw-orange) 42%, #bec5cf);
}
.model-filter-divider {
  margin: 0.2rem 0;
  border-color: var(--tw-border);
  opacity: 0.6;
}
/* Fsheh “Të gjitha” brenda çdo grupi (data-model cat:…); mbetet vetëm filtri kryesor «Të gjitha» (data-model bosh). */
.model-filter-dropdown .model-filter-option[data-model^="cat:"] {
  display: none !important;
}
.model-filter-group {
  padding-top: 0;
}
.model-filter-group + .model-filter-group {
  border-top: 1px solid var(--tw-border);
  margin-top: 0.1rem;
}
.model-filter-group.model-filter-group--collapsed .model-filter-option {
  display: none;
}
.model-filter-group:first-of-type {
  padding-top: 0;
}
.model-filter-category {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: color-mix(in srgb, var(--tw-bg-page) 80%, transparent);
  color: var(--tw-text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
}
.model-filter-category:hover {
  background: color-mix(in srgb, var(--tw-orange) 8%, var(--tw-bg-page));
  color: var(--tw-orange);
}
.model-filter-category::after {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  /* i mbledhur (collapsed) → shigjeta POSHTË */
  transform: rotate(45deg);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1);
  opacity: 0.7;
}
/* i hapur (expanded) → shigjeta LART */
.model-filter-group:not(.model-filter-group--collapsed) .model-filter-category::after {
  transform: rotate(-135deg);
  opacity: 1;
}

/* Desktop: lista e modeleve në kolonë majtas pranë grid-it të produkteve */
@media (min-width: 1024px) {
  .model-filter-wrap.model-filter-sidebar-mode {
    display: none !important;
  }
  .model-filter-dropdown.model-filter-dropdown--sidebar-desktop {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0;
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    z-index: auto !important;
    box-shadow: var(--tw-shadow-card);
    border: 1px solid var(--tw-border);
    border-radius: var(--tw-radius-lg);
    flex-shrink: 0;
  }
  #model-filter-sidebar-slot .model-filter-dropdown--sidebar-desktop {
    align-self: stretch;
  }
  /* Desktop sidebar: më pak hapësirë vertikale, përputhje më të mirë me grid-in e kartave */
  #model-filter-sidebar-slot .model-filter-dropdown--sidebar-desktop.py-1 {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
  }
  #model-filter-sidebar-slot .model-filter-dropdown--sidebar-desktop .model-filter-option {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
  }
  #model-filter-sidebar-slot .model-filter-dropdown--sidebar-desktop .model-filter-category {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
  }
  #model-filter-sidebar-slot .model-filter-dropdown--sidebar-desktop .model-filter-divider {
    margin-top: 0.125rem;
    margin-bottom: 0.125rem;
  }
  html.dark .model-filter-dropdown--sidebar-desktop {
    background: var(--tw-bg-surface);
    border-color: var(--tw-border);
  }
}
.model-filter-option {
  transition: background 0.12s, color 0.12s;
  border-radius: 0;
}
.model-filter-option:hover {
  background: color-mix(in srgb, var(--tw-orange) 7%, var(--tw-bg-surface));
}
.model-filter-option.active {
  background: color-mix(in srgb, var(--tw-orange) 10%, var(--tw-bg-surface));
  color: var(--tw-orange);
  font-weight: 700;
  position: relative;
}
.model-filter-option.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--tw-orange);
  border-radius: 0 3px 3px 0;
}

/* Opsioni «Të gjitha» (data-model bosh) nuk shfaqet në dropdown; filtri pastrohet me tab kategori / «Të gjitha në kategori». */
.model-filter-option[data-model=''] {
  display: none !important;
}
.model-filter-option[data-model=''] + .model-filter-divider {
  display: none;
}

/* ========== Section title ========== */
.section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--tw-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
html.dark .section-title {
  color: var(--tw-text-primary);
}
html.dark #main-content .text-slate-500 {
  color: var(--tw-text-muted) !important;
}

/* ========== Model group (accordion) ========== */
.model-group-header {
  border-radius: var(--tw-radius);
  background: var(--tw-bg-surface);
  border: 1px solid var(--tw-border);
  font-weight: 600;
  color: #1a1a1a;
  transition: background var(--tw-duration-fast) ease, border-color var(--tw-duration-fast) ease;
}
.model-group-header:hover {
  background: var(--tw-bg-card-hover);
  border-color: var(--tw-border-light);
}
.model-group-count {
  font-size: 0.75rem;
  color: #5f6368;
  font-weight: 500;
}
.model-group--open .model-group-chevron {
  transform: rotate(180deg);
}
.model-group-body.hidden {
  display: none !important;
}
.model-group--open .model-group-body {
  display: flex !important;
}
@media (min-width: 768px) {
  .model-group--open .model-group-body {
    display: grid !important;
  }
}

/* ========== Listing cards – teksti anash fotos (një rresht, foto majtas) ========== */
.listing-card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.5rem;
  animation: cardFadeIn 0.14s var(--tw-ease) backwards;
  transition: opacity 0.16s ease, transform var(--tw-duration-fast) var(--tw-ease), box-shadow var(--tw-duration-fast) var(--tw-ease), border-color var(--tw-duration-fast) ease;
  box-shadow: var(--tw-shadow-card);
  border-color: color-mix(in srgb, var(--tw-border) 85%, var(--tw-border-light)) !important;
  content-visibility: auto;
  contain-intrinsic-size: 140px;
}
.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tw-shadow-card-hover);
  border-color: color-mix(in srgb, var(--tw-orange) 18%, var(--tw-border-light)) !important;
}
.listing-card.listing-card--removing {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.listing-card:active {
  transform: translateY(0);
}
@media (max-width: 767px) {
  .listing-card {
    animation: none !important;
    transition: opacity 0.18s ease !important;
    transform: none !important;
  }
  .listing-card:hover,
  .listing-card:active {
    transform: none !important;
    box-shadow: var(--tw-shadow-card) !important;
  }
}
.listing-card .listing-left {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  min-width: 6rem;
  min-height: 6rem;
  background: #ffffff;
}
@media (max-width: 767px) {
  .listing-card .listing-left {
    width: 8.5rem;
    height: 8.5rem;
    min-width: 8.5rem;
    min-height: 8.5rem;
  }
}
.listing-card .listing-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Mos lejo titull shumë të gjatë (pa hapësira) të prishë kartën */
.listing-card .listing-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.listing-card .listing-price {
  font-size: 1.1875rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--tw-text-primary);
  font-weight: 700;
}
.listing-card .listing-price-old {
  font-size: 0.8125rem;
  line-height: 1.2;
}
.listing-card .listing-right {
  gap: 0.25rem;
}
.listing-card:nth-child(1) { animation-delay: 12ms; }
.listing-card:nth-child(2) { animation-delay: 28ms; }
.listing-card:nth-child(3) { animation-delay: 44ms; }
.listing-card:nth-child(n+4) { animation-delay: 56ms; }
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.listing-badge-new {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--tw-orange);
  color: #fff;
  border-radius: 6px;
  vertical-align: middle;
}
.listing-card--unpublished {
  opacity: 0.82;
  background: var(--tw-bg-card-hover);
}

/* Shop UI consistency: icon buttons + active filter chips */
.listing-fav-btn {
  border-radius: 9999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
/* Vetëm ikona zemre, pa rreth të zi — hije e lehtë që të lexohet mbi foto */
.listing-fav-btn .listing-fav-icon--outline {
  filter: drop-shadow(0 0 0.75px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.listing-fav-btn .listing-fav-icon--filled {
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.25));
}
/* TikTok-style: zemra lart, share poshtë — kolonë në të djathtë të fotos */
.product-modal-gallery-actions {
  bottom: 0.75rem;
}
@media (min-width: 640px) {
  .product-modal-gallery-actions {
    bottom: 0.625rem;
  }
}
.product-modal-share-btn,
.product-modal-fav-btn {
  border-radius: 9999px;
  backdrop-filter: blur(2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}
.product-modal-video-links {
  width: 100%;
  padding-top: 0.125rem;
}
.product-modal-video-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.625rem 0.5rem 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--tw-border);
  background: var(--tw-bg-page);
  text-decoration: none;
  color: var(--tw-text-primary);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
  box-sizing: border-box;
}
.product-modal-video-row:hover {
  border-color: color-mix(in srgb, var(--tw-border-light) 70%, var(--tw-text-muted));
  background: var(--tw-bg-card-hover);
  box-shadow: var(--tw-shadow-card);
}
.product-modal-video-row:active {
  transform: scale(0.99);
}
.product-modal-video-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.product-modal-video-icon-svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}
.product-modal-video-row--tiktok .product-modal-video-icon {
  background: #000;
  color: #fff;
}
.product-modal-video-row--tiktok:hover .product-modal-video-icon {
  background: #111;
  box-shadow: 0 0 0 2px rgba(37, 244, 238, 0.35);
}
.product-modal-video-row--youtube .product-modal-video-icon {
  background: #ff0000;
  color: #fff;
}
.product-modal-video-row--youtube:hover .product-modal-video-icon {
  background: #e60000;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.25);
}
.product-modal-video-text {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.product-modal-video-row--tiktok:hover .product-modal-video-text {
  color: #0f766e;
}
html.dark .product-modal-video-row--tiktok:hover .product-modal-video-text {
  color: #2dd4bf;
}
.product-modal-video-row--youtube:hover .product-modal-video-text {
  color: #b91c1c;
}
html.dark .product-modal-video-row--youtube:hover .product-modal-video-text {
  color: #f87171;
}
.product-modal-admin-video-share-bar {
  width: 100%;
  min-height: 1.75rem;
  line-height: 0;
  justify-content: flex-end;
  margin-left: auto;
}
.product-modal-admin-share-icon {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.product-modal-admin-share-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  display: block;
}
.product-modal-admin-share-icon--tiktok {
  background: #000;
}
.product-modal-admin-share-icon--youtube {
  background: #ff0000;
}
.product-modal-admin-share-icon--facebook {
  background: #1877f2;
}
.product-modal-admin-share-icon--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.product-modal-admin-share-icon:focus-visible {
  outline: 2px solid var(--tw-orange);
  outline-offset: 2px;
}
.admin-video-share-open-upload--tiktok {
  background: #000;
  color: #fff;
}
.admin-video-share-open-upload--tiktok:hover {
  filter: brightness(1.08);
}
.admin-video-share-open-upload--youtube {
  background: #ff0000;
  color: #fff;
}
.admin-video-share-open-upload--youtube:hover {
  filter: brightness(1.06);
}
.admin-video-share-open-upload--facebook {
  background: #1877f2;
  color: #fff;
}
.admin-video-share-open-upload--facebook:hover {
  filter: brightness(1.06);
}
.admin-video-share-open-upload--instagram {
  background: #bc1888;
  color: #fff;
}
.admin-video-share-open-upload--instagram:hover {
  filter: brightness(1.08);
}
/* Admin share modal — telefon: i gjatë (sheet-style), desktop: i gjerë */
@media (max-width: 639px) {
  #admin-video-share-modal.admin-video-share-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  #admin-video-share-modal .admin-video-share-modal-panel {
    width: 100%;
    max-width: none;
    min-height: 92dvh;
    max-height: 94dvh;
    height: 92dvh;
    border-radius: 1.25rem 1.25rem 0 0;
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  #admin-video-share-modal .admin-video-share-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  #admin-video-share-modal .admin-video-share-caption-wrap {
    min-height: 0;
    flex: 1 1 auto;
  }
  #admin-video-share-modal .admin-video-share-caption-input {
    min-height: 52vh;
    max-height: none;
    flex: 1 1 auto;
  }
}
@media (min-width: 640px) {
  #admin-video-share-modal .admin-video-share-modal-panel {
    width: min(56rem, calc(100vw - 2rem));
    min-height: min(520px, 88vh);
    max-height: 92vh;
  }
  #admin-video-share-modal .admin-video-share-caption-input {
    min-height: 14rem;
    max-height: min(42vh, 22rem);
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #admin-video-share-modal .admin-video-share-modal-panel {
    width: min(48rem, calc(100vw - 2rem));
  }
}
.product-modal-video-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--tw-text-muted);
  opacity: 0.65;
  transition: opacity 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.product-modal-video-arrow svg {
  width: 0.875rem;
  height: 0.875rem;
  display: block;
}
.product-modal-video-row:hover .product-modal-video-arrow {
  opacity: 1;
  color: var(--tw-text-primary);
  transform: translate(1px, -1px);
}
.listing-fav-btn .listing-fav-icon,
.product-modal-share-btn svg,
.product-modal-fav-btn .product-modal-fav-icon {
  width: 0.9rem;
  height: 0.9rem;
}
.product-modal-contact-actions .btn-product-modal-contact,
.product-modal-contact-actions .product-modal-cart-btn {
  min-height: 44px;
}

/* Variant chips (product modal) */
.product-modal-variant-options {
  width: 100%;
}
.product-modal-variant-chip {
  min-height: 2.5rem;
  min-width: 2.75rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0.625rem;
  border: 1.5px solid var(--tw-border);
  background: var(--tw-bg-page);
  color: var(--tw-text-primary);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}
.product-modal-variant-chip:hover {
  border-color: rgba(201, 149, 44, 0.45);
  background: var(--tw-bg-card-hover);
}
.product-modal-variant-chip:active {
  transform: scale(0.97);
}
.product-modal-variant-chip--selected {
  border-color: var(--tw-orange);
  background: var(--tw-accent-subtle);
  box-shadow: 0 0 0 2px var(--tw-orange-glow);
}
.product-modal-variant-chip:focus-visible {
  outline: 2px solid var(--tw-orange);
  outline-offset: 2px;
}
.product-modal-variant-swatch {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 9999px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.product-modal-variant-swatch--transparent {
  background:
    linear-gradient(45deg, #d1d5db 25%, transparent 25%),
    linear-gradient(-45deg, #d1d5db 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d1d5db 75%),
    linear-gradient(-45deg, transparent 75%, #d1d5db 75%);
  background-size: 6px 6px;
  background-position: 0 0, 0 3px, 3px -3px, -3px 0;
  background-color: #fff;
}
html.dark .product-modal-variant-swatch {
  border-color: rgba(255, 255, 255, 0.2);
}
.listings-active-chip {
  line-height: 1;
}
.listings-active-chip--clear {
  font-weight: 600;
}

/* Listings async refresh: lightweight skeleton state */
#listings-list.is-loading .listings-panel {
  position: relative;
}
#listings-list.is-loading .listing-card {
  opacity: 0.28;
  filter: grayscale(0.14);
}
#listings-list.is-loading .listings-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent) 0 0 / 40% 100% no-repeat;
  animation: listingsShimmer 1s ease-in-out infinite;
}
html.dark #listings-list.is-loading .listings-panel::after {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent) 0 0 / 40% 100% no-repeat;
}
@keyframes listingsShimmer {
  from { background-position: -60% 0; }
  to { background-position: 160% 0; }
}
.listing-card--unpublished .listing-title,
.listing-card--unpublished .listing-meta,
.listing-price-row--editable {
  cursor: pointer;
  border-radius: 0.375rem;
}
.listing-price-row--editable:hover .listing-price,
.listing-price-row--editable:hover .listing-price-old {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.listing-card--unpublished .listing-price,
.listing-card--unpublished .listing-city,
.listing-card--unpublished .listing-user {
  color: var(--tw-text-muted);
}
.listing-card--unpublished .listing-img {
  filter: grayscale(0.4);
}
/* Dropdown i opsioneve mbi karta – kartë mbi të tjerat që butonat të shihen */
.listing-card--dropdown-open {
  position: relative;
  z-index: 100;
  overflow: visible;
  /* content-visibility te kartat mund të krijojë paint containment dhe të presë dropdown-in */
  content-visibility: visible;
  contain-intrinsic-size: auto;
}
.listing-card--dropdown-open .listing-card-dropdown {
  z-index: 100;
}
.listing-badge-sold {
  display: inline-flex;
  align-items: center;
  background: var(--tw-success);
  color: #fff;
}

/* Badge Shitur mbi foto – skaj poshtë majtas */
.listing-badge-sold-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #374151;
  background: #e5e7eb;
  border-radius: 0 6px 0 0;
  line-height: 1.25;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.1);
}

/* Badge Ska Stok mbi foto (stok aktiv + sasi 0) */
.listing-badge-outofstock-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  background: #9a3412;
  border-radius: 0 6px 0 0;
  line-height: 1.25;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.15);
}

#product-modal-sold-overlay.product-modal-status-overlay--oos {
  background: rgba(154, 52, 18, 0.92);
}

.upload-photo-zone .listing-badge-outofstock-overlay,
#edit-listing-current-photos-wrap .listing-badge-outofstock-overlay {
  z-index: 12;
}

/* Badge Reklamë mbi foto – skaj sipër majtas */
.listing-badge-promo {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  padding: 3px 7px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #f5c518, #c9952c);
  border-radius: 0 0 8px 0;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Badge «Zbritje» brenda fotos, sipër majtas (nën badge reklamë kur ka të dyja) */
.listing-discount-badge {
  position: absolute;
  left: 3px;
  top: 3px;
  z-index: 5;
  padding: 4px 9px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  background: linear-gradient(145deg, #f43f5e 0%, #dc2626 45%, #b91c1c 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 5px;
  line-height: 1.2;
  text-shadow: 0 1px 1px rgba(127, 29, 29, 0.55);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(185, 28, 28, 0.45),
    0 4px 14px rgba(220, 38, 38, 0.55);
  max-width: calc(100% - 1.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-discount-badge--below-promo {
  top: 1.65rem;
}
/* Zbritje e vogël (−1% … −4%) — pak më e butë, pa glow të fortë */
.listing-discount-badge--subtle {
  background: linear-gradient(145deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(220, 38, 38, 0.32);
}
html.dark .listing-discount-badge--subtle {
  background: linear-gradient(145deg, #fca5a5 0%, #f87171 45%, #ef4444 100%);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(248, 113, 113, 0.28);
}
html.dark .listing-discount-badge {
  background: linear-gradient(145deg, #fb7185 0%, #ef4444 40%, #dc2626 100%);
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(248, 113, 113, 0.35),
    0 4px 16px rgba(239, 68, 68, 0.65);
}

.product-modal-condition-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 6px;
  margin-bottom: 0.25rem;
}
.product-modal-condition-badge--new {
  color: #fff;
  background: var(--tw-orange, #c9952c);
}
.product-modal-condition-badge--used {
  color: #374151;
  background: #e5e7eb;
}
.mark-sold-btn {
  color: var(--tw-success);
}
.mark-sold-btn:hover {
  background: var(--tw-success-bg);
}
.listing-badge-unpublished {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--tw-text-muted);
  color: #fff;
  border-radius: 6px;
  vertical-align: middle;
}
.listing-delete:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.15);
}
.btn-contact-listing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--tw-orange);
  background: var(--tw-accent-subtle);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  transition: background var(--tw-duration-fast) ease, color var(--tw-duration-fast) ease, border-color var(--tw-duration-fast) ease;
}
.btn-contact-listing:hover {
  background: var(--tw-orange);
  color: #fff;
  border-color: var(--tw-orange);
}

/* ========== Storefront Button System (primary / secondary / ghost) ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--tw-orange) 72%, #c9952c);
  background: linear-gradient(135deg, color-mix(in srgb, var(--tw-orange) 94%, #f5c518), #c9952c);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary:hover {
  filter: saturate(1.04) brightness(1.02);
}
.btn-primary--wa {
  border-color: #22c55e;
  background: linear-gradient(135deg, #25d366, #16a34a);
}
.btn-primary--wa:hover {
  filter: saturate(1.02) brightness(1.02);
}
.btn-primary--viber {
  border-color: #5b4fcf;
  background: linear-gradient(135deg, #7360f2, #5b4fcf);
}
.btn-primary--viber:hover {
  filter: saturate(1.02) brightness(1.04);
}
.btn-secondary,
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid var(--tw-border);
  background: var(--tw-bg-surface);
  color: var(--tw-text-primary);
  font-weight: 600;
  text-decoration: none;
}
.btn-secondary:hover,
.pagination-btn:hover {
  border-color: color-mix(in srgb, var(--tw-orange) 42%, var(--tw-border));
  background: color-mix(in srgb, var(--tw-orange) 8%, var(--tw-bg-surface));
  color: var(--tw-orange);
}
.btn-ghost,
#listings-reset-bar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 0.625rem;
  border: 1px solid transparent;
  color: var(--tw-orange);
  text-decoration: none;
}
.btn-ghost:hover,
#listings-reset-bar-link:hover {
  background: color-mix(in srgb, var(--tw-orange) 10%, transparent);
  border-color: color-mix(in srgb, var(--tw-orange) 34%, transparent);
  text-decoration: none;
}
.btn-reset-filters {
  font-weight: 600;
}
.contact-choice-btn {
  min-height: 44px;
}

/**
 * Modali i produktit: «Kontakto» – jeshile si WhatsApp (ndryshe nga shporta portokalli).
 */
.btn-product-modal-contact {
  background: #25d366;
  color: #fff;
  border: 0;
  transition: background var(--tw-duration-fast) ease, transform var(--tw-duration-fast) ease;
}
.btn-product-modal-contact:hover {
  background: #20bd5a;
  color: #fff;
}
.btn-product-modal-contact:active {
  transform: scale(0.98);
}
.btn-product-modal-contact:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(37, 211, 102, 0.55);
}

/* ========== Listings sort – dropdown i personalizuar ========== */
.listings-sort-toolbar {
  position: relative;
  z-index: 32;
}
.listings-sort-dropdown--open .listings-sort-chevron {
  transform: rotate(180deg);
}
.listings-sort-menu {
  list-style: none;
  margin: 0;
  padding: 0.3rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13), 0 1.5px 6px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--tw-border);
  background: var(--tw-bg-surface);
  animation: listings-sort-menu-in 0.14s var(--tw-ease);
}
@keyframes listings-sort-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.listings-sort-option {
  cursor: pointer;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--tw-text-primary);
  transition: background var(--tw-duration-fast) ease, color var(--tw-duration-fast) ease;
}
.listings-sort-option:hover,
.listings-sort-option:focus {
  outline: none;
  background: color-mix(in srgb, var(--tw-orange) 10%, var(--tw-bg-surface));
  color: var(--tw-orange);
}
.listings-sort-option--active {
  font-weight: 600;
  background: color-mix(in srgb, var(--tw-orange) 7%, var(--tw-bg-surface));
  color: var(--tw-orange);
}
html.dark .listings-sort-menu {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
}
html.dark .listings-sort-option--active {
  background: color-mix(in srgb, var(--tw-orange) 16%, var(--tw-bg-card));
}

/* ========== Empty state ========== */
.listings-empty {
  text-align: center;
  padding: 2.5rem 1rem !important;
  font-size: 0.9375rem;
  color: #5f6368;
  background: var(--tw-bg-surface);
  border-radius: var(--tw-radius-lg);
  border: 1px dashed var(--tw-border);
  grid-column: 1 / -1;
}
.listings-search-no-results {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9375rem;
  color: #5f6368;
}

/* ========== FAB – Publiko ========== */
.fab {
  width: auto;
  height: auto;
  min-height: 48px;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  gap: 0.5rem;
  background: var(--tw-orange);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px var(--tw-orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--tw-duration-fast) var(--tw-ease), box-shadow var(--tw-duration-fast) var(--tw-ease);
}
.fab:active {
  transform: scale(0.97);
}
.fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px var(--tw-orange-glow);
}
.fab-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.fab-text {
  display: inline;
  font-weight: 600;
  font-size: 0.9375rem;
}
@media (max-width: 767px) {
  .fab-icon {
    display: none;
  }
}
@media (min-width: 768px) {
  .fab {
    padding: 0.75rem 1.25rem;
  }
  .fab-icon {
    display: block;
  }
}

/* Shirit fiks në fund (mobile): Chat + Posto; në md+ vetëm Chat në cep */
@media (max-width: 767px) {
  body:has(.home-fab-cluster) #main-content {
    /* FAB cluster është bottom-6 (~1.5rem) mbi fundin; pak më pak padding se kur ishte bottom-0 */
    padding-bottom: calc(3.35rem + env(safe-area-inset-bottom, 0px));
  }
}
.home-fab-cluster {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  border: none;
}

.scroll-to-top-btn {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.scroll-to-top-btn.scroll-to-top-btn--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ========== Titulli tooltip (create listing) ========== */
.title-tooltip-box {
  white-space: pre-line;
}

/* ========== Upload photo (thumbnail) ========== */
.upload-photo-wrap {
  position: relative;
}
.upload-photo-input {
  position: absolute;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.upload-photo-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 1rem;
  background: var(--tw-bg-page);
  border: 2px dashed var(--tw-border);
  border-radius: var(--tw-radius);
  cursor: pointer;
  transition: border-color var(--tw-duration-fast) ease, background var(--tw-duration-fast) ease;
  position: relative;
}
.upload-photo-zone:hover {
  border-color: var(--tw-orange);
  background: var(--tw-accent-subtle);
}
.upload-photo-zone:focus {
  outline: none;
  border-color: var(--tw-orange);
  box-shadow: 0 0 0 3px var(--tw-accent-subtle);
}
.upload-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--tw-text-muted);
  font-size: 0.875rem;
}
.upload-photo-icon {
  font-size: 2rem;
  opacity: 0.8;
}
.upload-photo-zone.has-file .upload-photo-placeholder {
  display: none;
}
.upload-photo-thumbnail {
  max-width: 100%;
  max-height: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
.upload-photo-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 140px;
}
.upload-photo-zone.has-file .upload-photo-thumbnail {
  display: block !important;
}
.upload-photo-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--tw-duration-fast) ease;
}
.upload-photo-remove:hover {
  background: rgba(0,0,0,0.8);
}

/* ========== Modals ========== */
.modal-overlay {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.modal-overlay[hidden] {
  display: none;
}
.modal-overlay:not([hidden]) {
  animation: overlayFadeIn var(--tw-duration-fast) ease-out;
}
.modal-overlay {
  /* Handle iPhone notch + display zoom safely */
  padding-top: max(0.75rem, env(safe-area-inset-top));
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}
.modal-overlay:not([hidden]) .modal {
  animation: modalScaleIn var(--tw-duration-normal) var(--tw-ease);
}
@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 0.8s linear infinite;
}
.btn-publish-loading {
  pointer-events: none;
  opacity: 0.9;
}
.modal {
  position: relative;
  border-radius: var(--tw-radius-lg);
  border: 1px solid var(--tw-border);
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
  /* Avoid clipped modals on mobile browser UI bars */
  max-height: min(90dvh, 90vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-header {
  border-bottom: 1px solid var(--tw-border);
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--tw-bg-surface);
}
/* Keep close button visible on long modal scroll bodies */
.modal > .flex.items-center.justify-between {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--tw-bg-surface);
}
#depot-settings-modal {
  align-items: flex-start;
  overflow-y: auto;
}
#depot-settings-modal .modal {
  margin: auto;
}
.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--tw-text-primary) !important;
}
.modal .label {
  color: var(--tw-text-muted) !important;
}
.btn-icon.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #5f6368;
  font-size: 1.5rem;
  line-height: 1;
  transition: background var(--tw-duration-fast) ease, color var(--tw-duration-fast) ease;
}
.btn-icon.modal-close:hover {
  background: var(--tw-bg-page);
  color: #1a1a1a;
}
/* Form inputs in modals */
.modal .input {
  border-radius: 10px;
  border: 1px solid var(--tw-border);
  font-size: 0.9375rem;
  transition: border-color var(--tw-duration-fast) ease, box-shadow var(--tw-duration-fast) ease;
}
.modal .input:focus {
  border-color: var(--tw-orange);
  box-shadow: 0 0 0 3px var(--tw-accent-subtle);
  outline: none;
}
.modal .label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5f6368;
  margin-bottom: 0.25rem;
}
.modal .btn-primary {
  background: var(--tw-orange);
  color: #fff;
  border: none;
  border-radius: var(--tw-radius);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  transition: background var(--tw-duration-fast) ease, transform 0.1s ease;
}
.modal .btn-primary:hover {
  background: var(--tw-orange-hover);
}
.modal .btn-primary:active {
  transform: scale(0.98);
}
.create-listing-processing-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--tw-bg-surface) 78%, transparent);
  backdrop-filter: blur(1px);
}
.create-listing-processing-box {
  min-width: 210px;
  max-width: 88%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid var(--tw-border);
  background: var(--tw-bg-surface);
  box-shadow: var(--tw-shadow-soft);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.create-listing-processing-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--tw-orange) 35%, var(--tw-border));
  border-top-color: var(--tw-orange);
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
#create-listing-modal .modal.create-listing-modal--ai-wide {
  max-width: min(760px, 96vw);
}
.create-ai-product-list .create-listing-extra {
  margin: 0;
}
.create-ai-preview-grid:not(.hidden) {
  display: flex;
}
.create-ai-preview-thumb {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--tw-border);
  flex-shrink: 0;
}
.create-ai-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.create-ai-preview-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 1.1rem;
  height: 1.1rem;
  line-height: 1;
  font-size: 0.75rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--tw-border);
  color: var(--tw-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.create-ai-preview-thumb-remove:hover {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}
.create-listing-processing-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--tw-text-primary);
}
.modal-processing-overlay {
  position: absolute;
  inset: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--tw-bg-surface) 72%, transparent);
  backdrop-filter: blur(1px);
}
.modal-processing-box {
  min-width: 200px;
  max-width: 88%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid var(--tw-border);
  background: var(--tw-bg-surface);
  box-shadow: var(--tw-shadow-soft);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.modal-processing-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--tw-orange) 35%, var(--tw-border));
  border-top-color: var(--tw-orange);
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
.modal-processing-text {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--tw-text-primary);
}

/* Cart modal – compact */
.modal--cart {
  max-height: min(92dvh, 92vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal--cart::-webkit-scrollbar {
  width: 5px;
}
.modal--cart::-webkit-scrollbar-track {
  background: var(--tw-bg-page);
  border-radius: 3px;
}
.modal--cart::-webkit-scrollbar-thumb {
  background: var(--tw-border);
  border-radius: 3px;
}
.modal--cart::-webkit-scrollbar-thumb:hover {
  background: var(--tw-text-subtle);
}
/* Cart modal – compact, advanced */
.modal--cart .cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem 0.5rem 0.875rem;
  border-bottom: 1px solid var(--tw-border);
  gap: 0.5rem;
  flex-shrink: 0;
}
.modal--cart .cart-modal-title-wrap { min-width: 0; }
.modal--cart .cart-modal-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tw-text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}
.modal--cart .cart-modal-subtitle {
  margin: 0.125rem 0 0 0;
  font-size: 0.6875rem;
  color: var(--tw-text-muted);
}
.modal--cart .cart-modal-close-btn {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--tw-text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.modal--cart .cart-modal-close-btn:hover {
  color: var(--tw-text-primary);
  background: rgba(0, 0, 0, 0.05);
}
.modal--cart .cart-modal-body {
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.modal--cart .cart-scroll-area {
  padding: 0.5rem 0.75rem 0.75rem 0.875rem;
  -webkit-overflow-scrolling: touch;
}
.modal--cart .cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.modal--cart .cart-item {
  background: var(--tw-bg-page);
  border: 1px solid var(--tw-border);
  border-radius: 0.625rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
  overflow: hidden;
  cursor: pointer;
}
.modal--cart .cart-item:hover {
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.06);
}
.modal--cart .cart-item--removing {
  opacity: 0;
  transform: translateX(10px) scale(0.985);
  filter: saturate(0.85);
}
.modal--cart .cart-item .cart-item-remove { cursor: pointer; }
.modal--cart .cart-item-inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.75rem 0.5rem 0.5rem;
  min-height: 4.25rem;
  position: relative;
}
/* Preflight Tailwind (img height:auto / max-width) mund të zbehë width/height — !important + wrap fiks */
.modal--cart .cart-item-img-wrap {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f3f4f6;
}
.modal--cart .cart-item-img,
.modal--cart .cart-item-img-placeholder {
  width: 3.5rem !important;
  height: 3.5rem !important;
  min-width: 3.5rem;
  min-height: 3.5rem;
  max-width: none !important;
  flex-shrink: 0;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #f3f4f6;
  display: block;
}
.modal--cart .cart-item-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}
.modal--cart .cart-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  justify-content: center;
}
.modal--cart .cart-item-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tw-text-primary);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}
.modal--cart .cart-item-meta,
.modal--cart .cart-item-city {
  font-size: 0.625rem;
  color: var(--tw-text-muted);
  display: block;
  line-height: 1.2;
}
.modal--cart .cart-item-line-total {
  display: block;
  margin-top: 0.0625rem;
  font-size: 0.8125rem;
  color: var(--tw-orange);
  font-weight: 700;
  line-height: 1.2;
}
.modal--cart .cart-item-qty-row {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.25rem;
}
.modal--cart .cart-item-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.modal--cart .cart-item-qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  min-height: 1.75rem;
  padding: 0;
  border: 1px solid var(--tw-border);
  border-radius: 0.5rem;
  background: var(--tw-bg-page);
  color: var(--tw-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.modal--cart .cart-item-qty-btn:hover { background: var(--tw-bg-card-hover); }
.modal--cart .cart-item-qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.modal--cart .cart-item-qty-num {
  min-width: 1.75rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tw-text-primary);
}
.modal--cart .cart-item-qty-btn:focus {
  outline: none;
  border-color: var(--tw-orange);
  box-shadow: 0 0 0 2px var(--tw-accent-subtle);
}
.modal--cart .cart-item-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--tw-text-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.modal--cart .cart-item-remove:hover {
  color: #dc2626;
  background: rgba(239, 68, 68, 0.08);
  box-shadow: none;
}
.modal--cart .cart-item-remove-icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* Cart summary card */
.modal--cart .cart-summary {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, rgba(249, 115, 22, 0.02) 100%);
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: 0.5rem;
  padding: 0.375rem 0.5rem;
  margin-bottom: 0.5rem;
}
.modal--cart .cart-summary.hidden { display: none !important; }
.modal--cart .cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  color: var(--tw-text-muted);
  padding: 0.0625rem 0;
}
.modal--cart .cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(249, 115, 22, 0.15);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tw-text-primary);
}
.modal--cart .cart-summary-total span:last-child { color: var(--tw-orange); font-size: 0.9375rem; }

.cart-empty-state {
  text-align: center;
  padding: 1rem 0.5rem;
  margin-bottom: 0.5rem;
}
.cart-empty-state.hidden { display: none !important; }
.cart-empty-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  opacity: 0.5;
}
.cart-empty-text { margin: 0; font-size: 0.8125rem; color: var(--tw-text-muted); }

/* Cart order form – compact grid */
.modal--cart .cart-order-form {
  margin-top: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--tw-border);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.modal--cart .cart-order-form.hidden { display: none !important; }
.modal--cart .cart-sellers-summary {
  margin: 0 0 0.25rem 0 !important;
  font-size: 0.625rem;
  color: var(--tw-text-muted);
  line-height: 1.3;
}
.modal--cart .cart-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem 0.5rem;
}
.modal--cart .cart-confirm-address-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 240ms ease, opacity 180ms ease, transform 220ms ease;
  will-change: max-height, opacity, transform;
}
.modal--cart .cart-confirm-address-wrap.is-open {
  opacity: 1;
  transform: translateY(0);
}
.modal--cart .cart-form-field:first-child { grid-column: span 2; }
.modal--cart .cart-form-field--phone { grid-column: span 2; }
.modal--cart .cart-form-field { min-width: 0; }
.modal--cart .cart-order-form .label {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--tw-text-muted);
  margin-bottom: 0.125rem;
  display: block;
}
.modal--cart .cart-order-form .input {
  width: 100%;
  padding: 0.375rem 0.5rem;
  font-size: 0.8125rem;
  border: 1px solid var(--tw-border);
  border-radius: 0.375rem;
  background: var(--tw-bg-page);
  color: var(--tw-text-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.modal--cart .cart-order-form .input:focus {
  outline: none;
  border-color: var(--tw-orange);
  box-shadow: 0 0 0 2px var(--tw-accent-subtle);
}
.modal--cart .cart-order-form textarea.input { min-height: 2.25rem; }
.modal--cart .cart-submit-btn {
  margin-top: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

/* Legacy cart-item (outside modal) fallback */
.cart-item {
  background: var(--tw-bg-page);
  border: 1px solid var(--tw-border);
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
}
.cart-item-inner { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.5rem; }
.cart-item-img, .cart-item-img-placeholder { width: 4rem; height: 4rem; flex-shrink: 0; border-radius: 0.5rem; object-fit: cover; background: #f3f4f6; }
.cart-item-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.0625rem; }
.cart-item-title { font-size: 0.8125rem; font-weight: 600; color: var(--tw-text-primary); }
.cart-item-category { font-size: 0.6875rem; color: var(--tw-text-muted); margin-top: 0.0625rem; }
.cart-item-meta, .cart-item-city { font-size: 0.625rem; color: var(--tw-text-muted); }
.cart-item-line-total { display: block; margin-top: 0.125rem; }
.cart-item-remove { flex-shrink: 0; width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; border: none; background: transparent; color: var(--tw-text-muted); cursor: pointer; border-radius: 0.375rem; }
.cart-item-remove:hover { color: #dc2626; background: rgba(239, 68, 68, 0.08); }
.cart-item-remove-icon { width: 1rem; height: 1rem; }

/* Mesazhet – fusha e shkrimit më e dukshme */
.messages-compose-form .messages-compose-input {
  min-height: 3rem;
  border-color: var(--tw-border, #e8eaed);
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.messages-compose-form .messages-compose-input::placeholder {
  color: var(--tw-text-muted, #6b7280);
}
.messages-compose-form .messages-compose-input:focus {
  border-color: var(--tw-orange, #e85d04);
  box-shadow: 0 0 0 2px rgba(201, 149, 44, 0.2);
}
@media (min-width: 768px) {
  .messages-compose-form .messages-compose-input {
    min-height: 3.25rem;
  }
}
.cart-item-qty-row { width: 100%; }
.cart-item-qty-wrap { display: inline-flex; }
.cart-item-qty-btn { font-size: 1.125rem; line-height: 1; }
.cart-item-qty-btn:focus { outline: none; border-color: var(--tw-orange); box-shadow: 0 0 0 2px var(--tw-accent-subtle); }

/* Header menu (hamburger) dropdown */
.header-menu-wrap {
  position: relative;
}
/* Gjerësi e kufizuar: CDN Tailwind ngarkohet pas këtij file dhe mund të mbishkruajë pa !important */
.header-menu-dropdown {
  display: block;
  box-sizing: border-box;
  width: min(10.25rem, calc(100vw - 1rem)) !important;
  max-width: min(10.25rem, calc(100vw - 1rem)) !important;
  min-width: 0 !important;
  opacity: 0;
  transform: translateY(-0.35rem) scale(0.985);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
}
.header-menu-dropdown.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}
.header-menu-item {
  transition: background 0.15s ease, color 0.15s ease;
}
.header-menu-item svg {
  transition: color 0.15s ease;
}
.header-menu-item:hover svg {
  color: #e85d04;
}

/* Mobile: njësoj e ngushtë (ish 12rem ishte ende e gjerë) */
.header-menu-dropdown.header-menu-dropdown-mob {
  width: min(10.25rem, calc(100vw - 1rem)) !important;
  max-width: min(10.25rem, calc(100vw - 1rem)) !important;
  min-width: 0 !important;
}
/* Mbi overlay/sheet të filtrit të kategorive (z 94–95) */
.header-menu-dropdown.header-menu-dropdown-mob.is-open {
  z-index: 120;
}

@media (max-width: 767px) {
  .header-menu-dropdown {
    width: min(10.25rem, calc(100vw - 1rem)) !important;
    max-width: min(10.25rem, calc(100vw - 1rem)) !important;
  }
}

.header-menu-dropdown .header-menu-item,
.header-menu-dropdown .header-menu-item span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.header-menu-dropdown select {
  max-width: 100%;
  min-width: 0;
}

.header-menu-dropdown .header-menu-user {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Contrast guard: dropdown/menu surfaces inside the dark header must not inherit header text colors. */
.header .header-menu-dropdown,
.site-header .header-menu-dropdown,
.header .model-filter-dropdown,
.site-header .model-filter-dropdown {
  --tw-bg-surface: #ffffff;
  --tw-bg-card: #ffffff;
  --tw-bg-card-hover: #f9fafb;
  --tw-bg-page: #ffffff;
  --tw-border: #e5e7eb;
  --tw-text-primary: #14110c;
  --tw-text-muted: #4b5563;
  --tw-text-subtle: #6b7280;
  background: #ffffff !important;
  color: #14110c !important;
  border-color: #e5e7eb !important;
}

.header .header-menu-dropdown .header-menu-item,
.site-header .header-menu-dropdown .header-menu-item,
.header .model-filter-dropdown .model-filter-option,
.header .model-filter-dropdown .model-filter-category {
  color: #14110c;
}

.header .header-menu-dropdown .text-text-muted,
.site-header .header-menu-dropdown .text-text-muted,
.header .model-filter-dropdown .text-text-muted {
  color: #4b5563 !important;
}

.header .header-menu-dropdown select,
.site-header .header-menu-dropdown select,
.header .header-menu-dropdown input,
.site-header .header-menu-dropdown input {
  background: #ffffff;
  color: #14110c;
  border-color: #d1d5db;
}

html.dark .header .header-menu-dropdown,
html.dark .site-header .header-menu-dropdown,
html.dark .header .model-filter-dropdown,
html.dark .site-header .model-filter-dropdown {
  --tw-bg-surface: #171511;
  --tw-bg-card: #201c15;
  --tw-bg-card-hover: #2b251b;
  --tw-bg-page: #0f0e0b;
  --tw-border: #3a3327;
  --tw-text-primary: #fff8e7;
  --tw-text-muted: #c9bda7;
  --tw-text-subtle: #a99b82;
  background: #171511 !important;
  color: #fff8e7 !important;
  border-color: #3a3327 !important;
}

html.dark .header .header-menu-dropdown .header-menu-item,
html.dark .site-header .header-menu-dropdown .header-menu-item,
html.dark .header .model-filter-dropdown .model-filter-option,
html.dark .header .model-filter-dropdown .model-filter-category {
  color: #fff8e7;
}

html.dark .header .header-menu-dropdown .text-text-muted,
html.dark .site-header .header-menu-dropdown .text-text-muted,
html.dark .header .model-filter-dropdown .text-text-muted {
  color: #c9bda7 !important;
}

html.dark .header .header-menu-dropdown select,
html.dark .site-header .header-menu-dropdown select,
html.dark .header .header-menu-dropdown input,
html.dark .site-header .header-menu-dropdown input {
  background: #201c15;
  color: #fff8e7;
  border-color: #4a3f2f;
}

.header-menu-dropdown .header-theme-row {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

.header-menu-dropdown .header-theme-toggle {
  flex-shrink: 0;
}

.header-menu-dropdown div:has(> select#header-lang-select),
.header-menu-dropdown div:has(> select#header-lang-select-mob),
.header-menu-dropdown div:has(> select#header-lang-select-menu) {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header-menu-dropdown div:has(> a[href*="logout.php"]) {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Auth tabs – teksti i dukshëm gjithmonë */
.modal-tabs {
  background: var(--tw-bg-surface);
}
#auth-modal .auth-tab {
  color: #374151 !important;
  font-weight: 500;
  transition: color var(--tw-duration-fast) ease, background var(--tw-duration-fast) ease;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
#auth-modal .auth-tab:hover {
  color: #111827 !important;
}
#auth-modal .auth-tab.active {
  color: #ffffff !important;
  font-weight: 600;
  background: var(--tw-orange) !important;
  border-bottom: 2px solid var(--tw-orange);
}
.auth-form[hidden] {
  display: none !important;
}

/* Phone prefix dropdown */
.phone-prefix-select-hidden {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.phone-prefix-trigger {
  cursor: pointer;
  user-select: none;
}
.phone-prefix-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 4px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--tw-bg-surface);
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  z-index: 200;
  box-shadow: var(--tw-shadow-soft);
  display: none;
}
.phone-prefix-dropdown.is-open {
  display: block;
}
.phone-prefix-option {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--tw-text-primary);
  cursor: pointer;
  border-bottom: 1px solid var(--tw-border);
  transition: background 0.15s;
}
.phone-prefix-option:last-child {
  border-bottom: none;
}
.phone-prefix-option:hover {
  background: var(--tw-bg-card-hover);
}

/* ========== Product modal ========== */
.product-modal-overlay {
  transition: opacity 0.28s ease-out;
}
.product-modal-overlay.product-modal-closing {
  opacity: 0;
  pointer-events: none;
}
.product-modal-overlay .product-modal-content {
  transition: transform 0.28s ease-in-out, opacity 0.28s ease-out;
  max-height: min(95dvh, 95vh);
  touch-action: pan-y;
}
.product-modal-overlay.product-modal-closing .product-modal-content {
  transform: translateY(80%);
  opacity: 0;
}
.product-modal-scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
.product-modal-overlay .product-modal-gallery {
  touch-action: pan-x pinch-zoom;
}
.product-modal-overlay:not([hidden]):not(.product-modal-closing) .product-modal-content {
  animation: productModalSlideUp 0.15s ease-out;
}
@keyframes productModalSlideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 640px) {
  .product-modal-overlay:not([hidden]):not(.product-modal-closing) .product-modal-content {
    animation: productModalSlideUpCenter 0.15s ease-out;
  }
}
@keyframes productModalSlideUpCenter {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.product-modal-gallery {
  cursor: pointer;
}
/* Rrethi i shigjetave kompakt; glyph ‹ › mbetet text-2xl */
.product-modal-gallery-prev,
.product-modal-gallery-next {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  min-height: 1.75rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
}
.product-modal-image {
  background: #fff;
  border-radius: var(--tw-radius);
  overflow: hidden;
}
.product-modal-image img {
  object-fit: cover;
  pointer-events: none;
}
.product-modal-image .product-modal-gallery-poster {
  pointer-events: none;
}
.product-modal-image .product-modal-gallery-video {
  pointer-events: auto;
  background: #000;
}
.product-modal-gallery-play {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.product-modal-gallery-play-icon--replay svg {
  display: block;
}
.product-modal-gallery-play--replay {
  width: 4.25rem;
  height: 4.25rem;
}
.product-modal-gallery-play:focus-visible {
  outline: 2px solid var(--tw-orange);
  outline-offset: 3px;
}
.product-modal-head {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.product-modal-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  width: 100%;
  min-width: 0;
}
.product-modal-google-search {
  flex-shrink: 0;
  text-decoration: none;
}
.product-modal-google-search:focus-visible {
  outline: 2px solid var(--tw-orange);
  outline-offset: 2px;
}
.product-modal-google-search.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}
.product-modal-title {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  /* !important: Safari (iOS) ndonjëherë e rivendos orientimin horizontal nga reset / utility — prishet lartësia e klampit. */
  -webkit-box-orient: vertical !important;
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: 0;
  min-height: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}
.product-modal-price-old {
  margin: 0;
  line-height: 1.2;
}
.product-modal-price {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
@media (max-width: 639px) {
  /* Në mobile mbaje modalin brenda viewport pa scrollbar të dukshëm. */
  .product-modal-overlay {
    padding-top: max(0.25rem, env(safe-area-inset-top));
    padding-bottom: 0;
  }
  .product-modal-overlay .product-modal-content {
    height: auto;
    max-height: min(96dvh, 96vh);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .product-modal-overlay .product-modal-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0;
  }
  .product-modal-overlay .product-modal-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    min-height: 0;
  }
  .product-modal-overlay .product-modal-gallery {
    max-height: min(66dvh, 66vh, 520px);
  }
  .product-modal-overlay .product-modal-description {
    overflow: visible;
    display: block;
  }
  .product-modal-overlay .product-modal-title {
    line-clamp: 3;
    -webkit-line-clamp: 3;
    line-height: 1.25;
    -webkit-box-orient: vertical !important;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    z-index: 2;
    min-height: 0;
  }
  .product-modal-overlay .product-modal-head {
    gap: 0.125rem;
  }
  .product-modal-overlay .product-modal-price {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1;
  }
}
/* ========== Flash toast ========== */
.flash-toast {
  border-radius: var(--tw-radius);
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  background: var(--tw-orange);
  color: #fff;
  box-shadow: var(--tw-shadow-soft), 0 4px 20px var(--tw-orange-glow);
  transition: opacity var(--tw-duration-normal) ease, transform var(--tw-duration-normal) ease, visibility var(--tw-duration-normal) ease;
}
.flash-toast.flash-toast--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  cursor: pointer;
}

/* Global interaction layer - consistent feedback across app/admin */
:where(
  button,
  [role="button"],
  .btn-primary,
  .btn-icon,
  .admin-btn,
  .admin-section-toggle,
  .pagination-btn,
  .tab,
  .auth-tab,
  .orders-filter-tab,
  .header-menu-item,
  .fab
) {
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.12s ease,
    opacity 0.16s ease;
}

:where(
  button,
  [role="button"],
  .btn-primary,
  .btn-icon,
  .admin-btn,
  .pagination-btn,
  .tab,
  .auth-tab,
  .orders-filter-tab,
  .header-menu-item,
  .fab
):active {
  transform: translateY(1px) scale(0.985);
}

.ui-click-pop {
  transform: translateY(1px) scale(0.985) !important;
}

/* Listings: panel filtrash (gjithmonë i dukshëm; pa buton hap/mbyll) */
.listings-filters-panel {
  display: block;
}
.listings-filters-panel-inner {
  min-height: 0;
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  :where(
    button,
    [role="button"],
    a[href],
    .btn-primary,
    .btn-icon,
    .admin-btn,
    .pagination-btn,
    .tab,
    .auth-tab,
    .orders-filter-tab,
    .header-menu-item,
    .fab,
    .cart-item,
    .listing-card
  ) {
    transition: none !important;
    animation: none !important;
  }
  .ui-click-pop {
    transform: none !important;
  }
}

:where(
  button,
  [role="button"],
  .btn-primary,
  .btn-icon,
  .admin-btn,
  .pagination-btn,
  .tab,
  .auth-tab,
  .orders-filter-tab,
  .header-menu-item,
  .fab
):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--tw-orange, #f5c518) 88%, #fff);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tw-orange, #f5c518) 22%, transparent);
}

/* Unified loading and disabled affordance */
:where(button, .btn-primary, .btn-icon, .admin-btn, .pagination-btn)[aria-busy="true"],
:where(button, .btn-primary, .btn-icon, .admin-btn, .pagination-btn).is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.82;
}

:where(button, .btn-primary, .btn-icon, .admin-btn, .pagination-btn)[aria-busy="true"]::after,
:where(button, .btn-primary, .btn-icon, .admin-btn, .pagination-btn).is-loading::after {
  content: "";
  width: 0.9em;
  height: 0.9em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  display: inline-block;
  vertical-align: -0.125em;
  margin-left: 0.45em;
  animation: ui-spin 0.7s linear infinite;
}

:where(button, .btn-primary, .btn-icon, .admin-btn, .pagination-btn):disabled,
:where(input, select, textarea):disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

@keyframes ui-spin {
  to { transform: rotate(360deg); }
}

/* ========== Footer ========== */
.site-footer {
  background: var(--tw-bg-surface);
  border-top: 1px solid var(--tw-border);
}
.site-footer-copy {
  color: #5f6368;
  font-size: 0.8125rem;
}
.site-footer-nav a {
  color: #5f6368;
  font-size: 0.8125rem;
  transition: color var(--tw-duration-fast) ease;
}
.site-footer-nav a:hover {
  color: var(--tw-orange);
}

/* ========== Listings grid responsive: telefon 2, tablet 3, laptop/desktop 4 kolona ========== */
#listings-list .listings-panel:not([hidden]) {
  display: flex !important;
  flex-direction: column;
  gap: 0.5rem;
  align-content: start;
}
@media (min-width: 768px) {
  #listings-list .listings-panel:not([hidden]) {
    gap: 0.75rem;
  }
}
/* Rrjetë e njëjtë për kartat (prepend + grupe modelesh) */
#listings-list .listings-realtime-prepend,
#listings-list .model-group-body:not(.hidden) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: start;
}
#listings-list .model-group-body.hidden {
  display: none !important;
}
@media (min-width: 768px) {
  #listings-list .listings-realtime-prepend,
  #listings-list .model-group-body:not(.hidden) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  #listings-list .listings-realtime-prepend,
  #listings-list .model-group-body:not(.hidden) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
/* Link mbi kartë — klik normal modal; Ctrl+klik / klik mesi → tab i ri */
.listing-card-permalink {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.listing-card-permalink:focus-visible {
  outline: 2px solid var(--tw-orange);
  outline-offset: 2px;
  z-index: 2;
}
/* Kartat: kolonë, foto katrore */
#listings-list .listing-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  max-width: 100%;
}
#listings-list .listing-left {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  flex-shrink: 0;
  min-height: 0;
}
#listings-list .listing-right {
  min-width: 0;
}
@media (max-width: 767px) {
  #main-content.content {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  #main-content.content .listings-count {
    padding-left: 0.5rem;
    font-size: 0.9375rem;
  }
  #listings-list .listing-card {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  #listings-list .listing-title {
    font-size: 0.75rem;
  }
  #listings-list .listing-meta {
    font-size: 0.75rem;
  }
  #listings-list .listing-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--tw-text-primary);
  }
  #listings-list .listing-price-old {
    font-size: 0.75rem;
  }
  #listings-list .listing-city,
  #listings-list .listing-user {
    font-size: 0.625rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #listings-list .listing-card {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  #listings-list .listing-title {
    font-size: 0.8125rem;
  }
  #listings-list .listing-meta {
    font-size: 0.8125rem;
  }
  #listings-list .listing-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tw-text-primary);
  }
  #listings-list .listing-price-old {
    font-size: 0.8125rem;
  }
  #listings-list .listing-city,
  #listings-list .listing-user {
    font-size: 0.6875rem;
  }
}
@media (min-width: 1024px) {
  #listings-list .listing-card {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  #listings-list .listing-title {
    font-size: 0.8125rem;
  }
  #listings-list .listing-meta,
  #listings-list .listing-city,
  #listings-list .listing-user {
    font-size: 0.6875rem;
  }
  #listings-list .listing-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tw-text-primary);
    margin: 0;
  }
  #listings-list .listing-price-old {
    font-size: 0.875rem;
  }
}
#listings-list .listings-seller-pagination { width: 100%; }

/* ========== Utility ========== */
.listings-panel[hidden] {
  display: none !important;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar {
  display: none;
}

/* Tailwind orange override për konsistencë */
.text-orange {
  color: var(--tw-orange) !important;
}
.bg-orange {
  background-color: var(--tw-orange) !important;
}
.border-orange {
  border-color: var(--tw-orange) !important;
}
.hover\:text-orange:hover {
  color: var(--tw-orange) !important;
}
.hover\:bg-orange:hover {
  background-color: var(--tw-orange) !important;
}
.focus\:ring-orange:focus {
  --tw-ring-color: var(--tw-orange);
}
.shadow-orange-glow {
  box-shadow: 0 0 20px -4px var(--tw-orange-glow);
}

/* Faqja e depove (shitës me shumicë) – background kafe i lehtë + theks portokalli */
.bg-depot-page {
  background-color: #f3ece4;
  background-image: linear-gradient(180deg, rgba(201, 149, 44, 0.06) 0%, transparent 42%);
}
main.seller-depot {
  background: linear-gradient(180deg, #f2ebe3 0%, #f6f1eb 14%, var(--tw-bg-page, #f0f2f5) 32%);
}
main.seller-depot .listings-list {
  background: #f3ece4;
  border-radius: var(--tw-radius-lg, 18px);
  padding: 0;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--tw-border) 55%, transparent);
}
html.dark .bg-depot-page {
  background-color: #171b24;
  background-image: linear-gradient(180deg, rgba(201, 149, 44, 0.09) 0%, rgba(23, 27, 36, 0.92) 45%);
}
html.dark main.seller-depot {
  background: linear-gradient(180deg, #171b24 0%, #151922 16%, var(--tw-bg-page, #121722) 38%);
}
html.dark main.seller-depot .listings-list {
  background: #1b202a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}
/* Kartat e depo të njëjtën gjerësi si te produktet individuale – pa padding që i ngushton */
@media (min-width: 768px) {
  main.seller-depot .listings-list {
    padding: 0;
  }
}

/* Publikime të mia: kartë kompakte, teksti afër fotos njësoj si faqja kryesore list view */
.myitems-card {
  gap: 0.75rem;
}
.myitems-card .listing-left {
  width: 3.5rem !important;
  height: 3.5rem !important;
  min-width: 3.5rem !important;
  min-height: 3.5rem !important;
}
.myitems-card .listing-right {
  padding-left: 0;
  min-width: 0;
}
@media (max-width: 767px) {
  .myitems-card {
    flex-direction: row !important;
    padding: 0.5rem 0.75rem !important;
    gap: 0.75rem !important;
  }
  .myitems-card .listing-left {
    width: 3.5rem !important;
    height: 3.5rem !important;
    min-width: 3.5rem !important;
    min-height: 3.5rem !important;
  }
  .myitems-card .listing-right {
    padding-left: 0;
  }
}

/* Publikime të mia: theks i shkurtër për produktin e sapo shtuar */
.myitems-card--new {
  animation: myitems-new-pulse 1.5s ease-out 2;
}
@keyframes myitems-new-pulse {
  0%, 100% { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.08); }
  50% { box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.4); }
}

/* Home Group Chat widget – slide-up si modali i produktit (override .modal-overlay .modal → modalScaleIn) */
@keyframes groupChatWidgetSlideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes groupChatWidgetSlideUpDesk {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.group-chat-widget-overlay.modal-overlay:not([hidden]) .group-chat-widget-sheet.modal {
  animation: groupChatWidgetSlideUp 0.22s ease-out both;
}
@media (min-width: 640px) {
  .group-chat-widget-overlay.modal-overlay:not([hidden]) .group-chat-widget-sheet.modal {
    animation: groupChatWidgetSlideUpDesk 0.22s ease-out both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .group-chat-widget-overlay.modal-overlay:not([hidden]) .group-chat-widget-sheet.modal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 639px) {
  .group-chat-widget-overlay {
    padding-top: max(0.25rem, env(safe-area-inset-top));
    padding-bottom: 0;
  }
  .group-chat-widget-sheet {
    width: 100%;
    max-width: none;
  }
}
.group-chat-widget-sheet {
  margin-left: auto;
  margin-right: 0;
}
/* Sfond bisede në stilin WhatsApp (krem / portokalli shumë i lehtë) + flluska të bardha */
.group-chat-widget-thread {
  background-color: #e8ddd2;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 200, 160, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 90% 80%, rgba(255, 180, 130, 0.1) 0%, transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25) 0%, transparent 55%);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.group-chat-widget-thread::-webkit-scrollbar {
  width: 6px;
}
.group-chat-widget-thread::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}
@keyframes group-chat-widget-msg-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.group-chat-widget-msg--enter {
  animation: group-chat-widget-msg-enter 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .group-chat-widget-msg--enter {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.group-chat-widget-msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
}
.group-chat-widget-msg-head .group-chat-widget-msg-name {
  flex: 1;
  min-width: 0;
}
.group-chat-widget-reply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.15rem;
  margin: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: #667781;
  cursor: pointer;
  opacity: 0.75;
}
.group-chat-widget-reply-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}
.group-chat-widget-msg-reply {
  width: 100%;
  margin: 0 0 0.4rem;
  padding: 0.35rem 0 0.35rem 0.5rem;
  border-left: 3px solid rgba(0, 0, 0, 0.12);
  font-size: 0.72rem;
  line-height: 1.3;
  color: #667781;
}
.group-chat-widget-msg--mine .group-chat-widget-msg-reply {
  border-left-color: rgba(18, 140, 126, 0.45);
}
.group-chat-widget-msg-reply-name {
  font-weight: 700;
  color: #000000;
  display: block;
}
.group-chat-widget-msg-reply-snippet {
  margin-top: 0.12rem;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.group-chat-widget-msg {
  position: relative;
  border: none;
  background: #ffffff;
  border-radius: 0.5rem 0.5rem 0.5rem 0.35rem;
  padding: 0.45rem 0.65rem 0.5rem;
  max-width: 88%;
  text-align: left;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13), 0 1px 3px rgba(11, 20, 26, 0.06);
}
.group-chat-widget-msg--mine {
  margin-left: 0;
  background: #ffffff;
  border-radius: 0.5rem 0.5rem 0.35rem 0.5rem;
  border-left: 3px solid #25d366;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13), 0 1px 3px rgba(11, 20, 26, 0.06);
}
.group-chat-widget-msg--mine .group-chat-widget-msg-name {
  color: #000000;
  text-align: left;
}
.group-chat-widget-msg--mine .group-chat-widget-msg-body,
.group-chat-widget-msg--mine .group-chat-widget-msg-time {
  color: #111b21;
  text-align: left;
}
.group-chat-widget-msg-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #000000;
}
.group-chat-widget-msg-body {
  font-size: 0.85rem;
  color: #111b21;
  margin-top: 0.12rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}
.group-chat-widget-msg-time {
  margin-top: 0.25rem;
  font-size: 0.68rem;
  color: #667781;
}
.group-chat-widget-compose {
  background: #f0f2f5;
  border-top-color: rgba(0, 0, 0, 0.06) !important;
}
.group-chat-widget-badge {
  position: absolute;
  top: -0.3rem;
  right: -0.25rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ========== Mobile performance mode (low-end friendly) ========== */
@media (max-width: 767px) {
  /* Backdrop blur is expensive on older phones */
  .modal-overlay,
  .header,
  .header-menu-dropdown {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Lighter card rendering during scroll */
  .listing-card,
  .listing-card:hover,
  .listing-card:active {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
    border-color: var(--tw-border) !important;
    transform: none !important;
  }
  .listing-card .listing-img {
    filter: none !important;
  }

  /* Avoid expensive "all" transitions on dense UI */
  .listing-card,
  .listing-card *,
  .header-menu-item,
  .btn-icon,
  .tab,
  .fab,
  .flash-toast {
    transition-property: opacity, background-color, color, border-color !important;
    transition-duration: 0.14s !important;
    animation-duration: 0.14s !important;
  }

  /* Turn off continuous shimmer animation on mobile */
  .shimmer-skeleton {
    animation: none !important;
    background-image: none !important;
    background-color: color-mix(in srgb, var(--tw-bg-page) 88%, #d1d5db) !important;
  }

  /* Limit expensive effects during scrolling interactions */
  .header,
  .header-mob-search-row,
  .nav-route-skeleton-layer,
  .flash-toast {
    box-shadow: none !important;
  }
}

/* ========== Admin panel – pamje e errët (html.dark) ========== */
html.dark body.admin-panel-body {
  color: #e2e8f0;
}
html.dark .admin-layout {
  background: #121318 !important;
}
html.dark .admin-main {
  color: #e2e8f0;
}
html.dark .admin-section {
  background: #1a1f2a !important;
  border-color: #2d3748 !important;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.25) !important;
}
html.dark .admin-section:hover {
  box-shadow: 0 4px 12px -2px rgb(0 0 0 / 0.35) !important;
}
html.dark .admin-section-header {
  border-bottom-color: #2d3748 !important;
}
html.dark .admin-section-header h2,
html.dark .admin-section-title {
  color: #f1f5f9 !important;
}
html.dark .admin-section-desc {
  color: #94a3b8 !important;
}
html.dark .admin-section-collapsible .admin-section-header:hover {
  background: #252d3d !important;
}
html.dark .admin-section-toggle {
  color: #94a3b8 !important;
}
html.dark .admin-section-collapsible .admin-section-header:hover .admin-section-toggle {
  color: #e2e8f0 !important;
}
html.dark .admin-input,
html.dark .admin-select {
  background: #1e2430 !important;
  border-color: #3d4a5c !important;
  color: #e2e8f0 !important;
}
html.dark .admin-label {
  color: #94a3b8 !important;
}
html.dark .admin-btn-secondary {
  background: #252d3d !important;
  border-color: #3d4a5c !important;
  color: #e2e8f0 !important;
}
html.dark .admin-btn-secondary:hover {
  background: #2d3848 !important;
  border-color: #4b5563 !important;
}
html.dark .admin-card-item {
  border-bottom-color: #2d3748 !important;
}
html.dark .admin-card-item:hover {
  background: #252d3d !important;
}
html.dark .admin-table th {
  background: linear-gradient(180deg, #1e2430 0%, #252d3d 100%) !important;
  color: #94a3b8 !important;
  border-bottom-color: #3d4a5c !important;
}
html.dark .admin-table td {
  border-bottom-color: #2d3748 !important;
  color: #e2e8f0 !important;
}
html.dark .admin-table tbody tr:hover {
  background: #252d3d !important;
}
html.dark .admin-table tbody tr:nth-child(even) {
  background: #1e2430 !important;
}
html.dark .admin-table tbody tr:nth-child(even):hover {
  background: #2a3344 !important;
}
html.dark .admin-badge-gray {
  background: #334155 !important;
  color: #cbd5e1 !important;
}
html.dark .admin-badge-orange {
  background: rgba(234, 88, 12, 0.25) !important;
  color: #f6d36c !important;
}
html.dark .admin-badge-amber {
  background: rgba(180, 83, 9, 0.25) !important;
  color: #fcd34d !important;
}
html.dark .admin-edit-modal-box {
  background: #1a1f2a !important;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5) !important;
}
html.dark .admin-edit-modal-header {
  background: #252d3d !important;
  border-bottom-color: #2d3748 !important;
}
html.dark .admin-edit-modal-title {
  color: #f1f5f9 !important;
}
html.dark .admin-edit-modal-close {
  background: #3d4a5c !important;
  color: #cbd5e1 !important;
}
html.dark .admin-edit-modal-close:hover {
  background: #4b5563 !important;
  color: #f1f5f9 !important;
}
html.dark #admin-website .admin-setting-group-title {
  color: #94a3b8 !important;
  border-bottom-color: #2d3748 !important;
}
html.dark #admin-website .admin-setting-card {
  background: #252d3d !important;
  border-color: #3d4a5c !important;
}
html.dark #admin-website .admin-setting-card--hero {
  background: linear-gradient(135deg, #1e2430 0%, #1a2744 55%, #1e3050 100%) !important;
  border-color: #3d4a5c !important;
}
html.dark #admin-website .admin-insight-card {
  background: #1e2430 !important;
  border-color: #3d4a5c !important;
}
html.dark #admin-website .admin-feature-card .admin-section-desc {
  color: #94a3b8 !important;
}
/* Butoni temë në header kur menuja e përdoruesit është e fshehur (admin) */
.header-admin-theme-toggle {
  color: var(--tw-text-muted);
}
.header-admin-theme-toggle:hover {
  color: var(--tw-orange);
  background: var(--tw-accent-subtle);
}

/* Faqja admin/backup.php */
html.dark .backup-tools-page {
  color: #e2e8f0;
}
html.dark .backup-tools-page .text-slate-900 {
  color: #f1f5f9 !important;
}
html.dark .backup-tools-page .text-slate-800 {
  color: #e2e8f0 !important;
}
html.dark .backup-tools-page .text-slate-700 {
  color: #cbd5e1 !important;
}
html.dark .backup-tools-page .text-slate-600 {
  color: #94a3b8 !important;
}
html.dark .backup-tools-page .text-slate-500 {
  color: #94a3b8 !important;
}
html.dark .backup-tools-page .border-slate-200 {
  border-color: #2d3748 !important;
}
html.dark .backup-tools-page .border-slate-300 {
  border-color: #3d4a5c !important;
}
html.dark .backup-tools-page .bg-slate-50 {
  background: #252d3d !important;
}
html.dark .backup-tools-page .bg-slate-50\/50 {
  background: rgba(37, 45, 61, 0.85) !important;
}
html.dark .backup-tools-page .bg-blue-50\/30 {
  background: rgba(30, 58, 138, 0.2) !important;
}
html.dark .backup-tools-page .border-blue-200 {
  border-color: #1e40af !important;
}
html.dark .backup-tools-page .border-amber-200 {
  border-color: #92400e !important;
}
html.dark .backup-tools-page .bg-amber-50\/50 {
  background: rgba(120, 53, 15, 0.25) !important;
}
html.dark .backup-tools-page textarea,
html.dark .backup-tools-page select {
  background: #1e2430 !important;
  border-color: #3d4a5c !important;
  color: #e2e8f0 !important;
}
html.dark .backup-tools-page .divide-slate-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: #2d3748 !important;
}
