/* Payslashes UI/UX 2026 — final design layer (desktop + mobile) */
:root {
  --ps-primary: #0866ff;
  --ps-primary-dark: #064fc4;
  --ps-primary-soft: #eaf2ff;
  --ps-ink: #101828;
  --ps-muted: #667085;
  --ps-line: #e4e7ec;
  --ps-surface: #ffffff;
  --ps-canvas: #f6f8fb;
  --ps-success: #079455;
  --ps-danger: #d92d20;
  --ps-warning: #dc6803;
  --ps-radius-sm: 10px;
  --ps-radius: 16px;
  --ps-radius-lg: 22px;
  --ps-shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
  --ps-shadow: 0 12px 32px rgba(16, 24, 40, .10);
  --ps-shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);
  --ps-transition: 180ms ease;
}

html { scroll-behavior: smooth; }
body {
  color: var(--ps-ink);
  background: var(--ps-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.mobile-ux-shell { padding-bottom: env(safe-area-inset-bottom); }
::selection { background: rgba(8, 102, 255, .18); }

/* Consistent content rhythm */
main, .admin-main, .sp-main { min-width: 0; }
.container, .container-fluid { width: 100%; }
.section, section { scroll-margin-top: 90px; }
h1, h2, h3, h4, h5, h6 { color: var(--ps-ink); letter-spacing: -.018em; }
p { color: inherit; }
.text-muted, .text-gray-60, .text-gray-70 { color: var(--ps-muted) !important; }

/* Surfaces */
.card, .modal-content, .dropdown-menu, .list-group, .jumbotron,
.product-item, .product-card, .shop-card, .account-card,
.checkout-review-order, .order-card, .dashboard-card {
  border: 1px solid var(--ps-line) !important;
  border-radius: var(--ps-radius) !important;
  box-shadow: var(--ps-shadow-sm);
  background: var(--ps-surface);
}
.card { overflow: hidden; }
.card-header, .card-footer {
  background: var(--ps-surface);
  border-color: var(--ps-line);
}
.card-header { padding: 1rem 1.2rem; }
.card-body { padding: 1.2rem; }

/* Buttons */
.btn, button, [role="button"] { transition: transform var(--ps-transition), box-shadow var(--ps-transition), background-color var(--ps-transition), border-color var(--ps-transition); }
.btn {
  min-height: 42px;
  border-radius: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  line-height: 1.15;
}
.btn-sm { min-height: 36px; border-radius: 9px; }
.btn-lg { min-height: 50px; border-radius: 13px; }
.btn-primary, .bg-primary {
  background-color: var(--ps-primary) !important;
  border-color: var(--ps-primary) !important;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--ps-primary-dark) !important;
  border-color: var(--ps-primary-dark) !important;
  box-shadow: 0 8px 18px rgba(8, 102, 255, .24);
  transform: translateY(-1px);
}
.btn-outline-primary { color: var(--ps-primary); border-color: rgba(8,102,255,.42); }
.btn-outline-primary:hover { background: var(--ps-primary); border-color: var(--ps-primary); }
.btn:active { transform: translateY(0) scale(.99); }
.btn:focus, button:focus, a:focus-visible, input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(8,102,255,.16) !important;
  outline-offset: 2px;
}

/* Forms */
.form-control, .custom-select, select.form-control, textarea.form-control,
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], input[type="search"], input[type="url"] {
  min-height: 44px;
  border: 1px solid #d0d5dd;
  border-radius: 11px;
  background: #fff;
  color: var(--ps-ink);
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
}
textarea.form-control { min-height: 112px; }
.form-control:hover, .custom-select:hover { border-color: #98a2b3; }
.form-control:focus, .custom-select:focus {
  border-color: var(--ps-primary);
  box-shadow: 0 0 0 4px rgba(8,102,255,.10) !important;
}
label { font-weight: 650; color: #344054; margin-bottom: .45rem; }
.form-group { margin-bottom: 1.1rem; }
.input-group .form-control { min-width: 0; }
.input-group > .form-control:not(:last-child) { border-radius: 11px 0 0 11px; }
.input-group-append .btn { border-radius: 0 11px 11px 0; }

/* Alerts and messages */
.alert { border: 1px solid transparent; border-radius: 12px; box-shadow: var(--ps-shadow-sm); }
.alert-success { border-color: #abefc6; background: #ecfdf3; color: #05603a; }
.alert-danger, .alert-error { border-color: #fecdca; background: #fef3f2; color: #912018; }
.alert-warning { border-color: #fedf89; background: #fffaeb; color: #93370d; }
.alert-info { border-color: #b2ddff; background: #eff8ff; color: #175cd3; }

/* Storefront header */
header, .u-header { background: rgba(255,255,255,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.u-header__section, .navbar { border-bottom-color: var(--ps-line) !important; }
.navbar-brand img, .u-header__navbar-brand img { max-height: 46px; width: auto; object-fit: contain; }
.nav-link, .u-header__nav-link, .u-header-collapse__nav-link { font-weight: 650; }
.dropdown-menu { padding: .55rem; box-shadow: var(--ps-shadow-lg); }
.dropdown-item { border-radius: 9px; padding: .65rem .8rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--ps-primary-soft); color: var(--ps-primary-dark); }

/* Search */
#searchproduct-item, #searchProduct1, input[type="search"] { height: 44px !important; }
#searchproduct-item { border-color: #d0d5dd !important; background: #f9fafb; }
#searchproduct-item:focus { background: #fff; border-color: var(--ps-primary) !important; }

/* Products */
.product-item, .product-card, [class*="product-card"] { transition: transform var(--ps-transition), box-shadow var(--ps-transition), border-color var(--ps-transition); }
.product-item:hover, .product-card:hover, [class*="product-card"]:hover {
  transform: translateY(-4px);
  box-shadow: var(--ps-shadow);
  border-color: #cbd5e1 !important;
}
.product-item img, .product-card img, .product-image img {
  max-width: 100%;
  object-fit: contain;
}
.price, .product-price, ins, .text-primary { color: var(--ps-primary) !important; }
del { color: #98a2b3; }
.badge { border-radius: 999px; padding: .38em .68em; font-weight: 700; }

/* Tables */
.table-responsive, .ps-table-scroll { border: 1px solid var(--ps-line); border-radius: var(--ps-radius); background: #fff; box-shadow: var(--ps-shadow-sm); }
.table { margin-bottom: 0; color: #344054; }
.table thead th {
  border-top: 0;
  border-bottom: 1px solid var(--ps-line);
  background: #f9fafb;
  color: #475467;
  font-size: .78rem;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table td, .table th { vertical-align: middle; padding: .9rem .85rem; border-color: #eef2f6; }
.table tbody tr:hover { background: #f8fbff; }

/* Checkout/cart/order flows */
.checkout, .cart, .order-summary, .woocommerce-checkout, .woocommerce-cart-form { font-size: .96rem; }
.cart .quantity, .quantity { border-radius: 10px; overflow: hidden; }
.checkout-review-order, .order-summary { position: relative; }
.breadcrumb { background: transparent; padding-left: 0; padding-right: 0; }
.breadcrumb-item + .breadcrumb-item::before { color: #98a2b3; }

/* Footer */
footer { margin-top: 3rem; }
footer, footer p, footer a { line-height: 1.65; }
footer a { transition: color var(--ps-transition), opacity var(--ps-transition); }
footer a:hover { opacity: .84; text-decoration: none; }

/* Pagination */
.pagination { gap: .35rem; flex-wrap: wrap; }
.page-link { border-radius: 9px !important; border-color: var(--ps-line); color: #344054; min-width: 38px; text-align: center; }
.page-item.active .page-link { background: var(--ps-primary); border-color: var(--ps-primary); }

/* Staff panel refinements */
body.native-page { background: #f3f6fb; }
.sp-shell { min-height: 100vh; }
.sp-side { box-shadow: 10px 0 30px rgba(16,24,40,.08); }
.sp-brand-badge { letter-spacing: .04em; }
.sp-link { border-radius: 10px; transition: background var(--ps-transition), transform var(--ps-transition), color var(--ps-transition); }
.sp-link:hover { transform: translateX(2px); }
.sp-link.is-active, .sp-link[aria-current="page"] { background: rgba(255,255,255,.13); color: #fff; box-shadow: inset 3px 0 0 #7dd3fc; }
.sp-main { padding: 1.3rem 1.5rem 2.5rem; }
.topbar { position: sticky; top: 0; z-index: 60; border-radius: 0 0 16px 16px; backdrop-filter: blur(18px); }
.staff-inbox-drawer { max-width: min(520px, 94vw); }

/* Legacy admin redesign */
body.ps-admin-page { background: var(--ps-canvas); padding-top: 70px; }
body.ps-admin-page > .bs-example .navbar { min-height: 70px; background: #111827 !important; box-shadow: 0 8px 24px rgba(16,24,40,.18); }
body.ps-admin-page .navbar-brand { font-weight: 800; letter-spacing: -.02em; }
body.ps-admin-page .admin-sidebar { background: #fff; border-right: 1px solid var(--ps-line); padding: 1.25rem .8rem; min-height: calc(100vh - 70px); position: sticky; top: 70px; height: calc(100vh - 70px); overflow-y: auto; }
body.ps-admin-page .sidebar-link { padding: .7rem .8rem; margin: .18rem 0; border-radius: 9px; font-weight: 650; color: #475467; }
body.ps-admin-page .sidebar-link:hover, body.ps-admin-page .sidebar-link.is-active { background: var(--ps-primary-soft); color: var(--ps-primary-dark); }
body.ps-admin-page .admin-main { padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem; }
body.ps-admin-page footer { background: #111827; }
body.ps-admin-page footer .fa { width: auto; font-size: 1.1rem; margin: .3rem .65rem; }

/* Loading feedback */
.ps-is-submitting { opacity: .78; pointer-events: none; }
.ps-is-submitting::after { content: ""; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; margin-left: .5rem; animation: ps-spin .65s linear infinite; }
@keyframes ps-spin { to { transform: rotate(360deg); } }

/* Desktop scaling */
@media (min-width: 1200px) {
  .container { max-width: 1240px; }
  .card-body { padding: 1.35rem; }
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
  body { font-size: 15px; }
  .container, .container-fluid { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  h2 { font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .card-body { padding: 1rem; }
  .btn { min-height: 44px; }
  .sp-main { padding: .85rem .75rem 5rem; }
  .topbar { margin-left: -.75rem; margin-right: -.75rem; padding-left: .8rem; padding-right: .8rem; }
  .sp-toolbar .chip, .sp-refresh { display: none !important; }
  body.ps-admin-page .admin-main { padding: 1rem 12px 4.5rem; }
  body.ps-admin-page .navbar-collapse { background: #111827; margin: .7rem -1rem -1rem; padding: .75rem 1rem 1rem; max-height: 70vh; overflow-y: auto; }
  body.ps-admin-page .navbar-nav .nav-link { padding: .7rem .25rem; }
  .checkout-review-order, .order-summary { position: static !important; }
}

@media (max-width: 767.98px) {
  body.mobile-ux-shell { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .row { margin-left: -7px; margin-right: -7px; }
  .row > [class*="col-"] { padding-left: 7px; padding-right: 7px; }
  .card, .modal-content, .product-item, .product-card { border-radius: 14px !important; }
  .modal-dialog { margin: .6rem; }
  .modal-content { max-height: calc(100vh - 1.2rem); overflow-y: auto; }
  .btn-block-mobile, form .btn[type="submit"] { width: 100%; }
  .form-row > .col, .form-row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .table-responsive, .ps-table-scroll { margin-bottom: 1rem; border-radius: 12px; -webkit-overflow-scrolling: touch; }
  .table td, .table th { padding: .75rem .7rem; min-width: 112px; }
  .table td:first-child, .table th:first-child { position: sticky; left: 0; z-index: 1; background: inherit; }
  .pagination { justify-content: center; }
  footer { margin-top: 2rem; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .product-item:hover, .product-card:hover, [class*="product-card"]:hover { transform: none; }
  .product-item:active, .product-card:active { transform: scale(.992); }
}

@media (max-width: 420px) {
  .container, .container-fluid { padding-left: 10px; padding-right: 10px; }
  .card-body { padding: .9rem; }
  .btn { padding-left: .85rem; padding-right: .85rem; }
  .sp-title { font-size: 1rem; }
  .sp-subtitle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Payslashes General UI/UX Polish — 2026.07
   Shared storefront, customer account and staff refinements
   ========================================================= */
:root {
  --ps-navy: #0b1f3a;
  --ps-green: #087f5b;
  --ps-green-dark: #056447;
  --ps-green-soft: #ecfdf5;
  --ps-cyan: #0ea5e9;
  --ps-focus: 0 0 0 4px rgba(8, 102, 255, .12);
}

/* Better page composition */
.ps-ui-ready main { animation: ps-page-in .28s ease both; }
@keyframes ps-page-in { from { opacity: .01; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.page-title, .section-title, .admin-main h1, .admin-main h2, .sp-main h1, .sp-main h2 {
  text-wrap: balance;
}
.page-header, .content-header, .section-heading {
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}
.page-header p, .content-header p, .section-heading p {
  max-width: 72ch;
  color: var(--ps-muted);
}
hr { border-color: var(--ps-line); }

/* More intentional interactive cards */
a.card, button.card, .card[data-href], .clickable-card {
  cursor: pointer;
  transition: transform var(--ps-transition), box-shadow var(--ps-transition), border-color var(--ps-transition);
}
a.card:hover, button.card:hover, .card[data-href]:hover, .clickable-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ps-shadow);
  border-color: #cbd5e1 !important;
}

/* Improve headings inside cards and dashboards */
.card-title, .support-panel h5, .dashboard-card h5 {
  font-weight: 800;
  letter-spacing: -.015em;
}
.card-subtitle { color: var(--ps-muted); }

/* Modern button hierarchy */
.btn-success { background: var(--ps-green); border-color: var(--ps-green); }
.btn-success:hover, .btn-success:focus { background: var(--ps-green-dark); border-color: var(--ps-green-dark); box-shadow: 0 8px 18px rgba(8,127,91,.22); }
.btn-light { color: #344054; border-color: #e4e7ec; background: #fff; }
.btn-light:hover { background: #f8fafc; border-color: #cbd5e1; }
.btn-danger { box-shadow: 0 1px 2px rgba(180,35,24,.08); }
.btn[disabled], button[disabled], .disabled { cursor: not-allowed !important; opacity: .58; box-shadow: none !important; transform: none !important; }
.btn-group { gap: .35rem; flex-wrap: wrap; }
.btn-group > .btn { border-radius: 10px !important; }

/* Polished field states */
.form-control::placeholder, input::placeholder, textarea::placeholder { color: #98a2b3; opacity: 1; }
.form-control.is-invalid, .was-validated .form-control:invalid, input[aria-invalid="true"] {
  border-color: #f04438 !important;
  background-image: none;
}
.invalid-feedback, .errorlist, .form-errors { color: #b42318; font-size: .82rem; font-weight: 600; }
.helptext, .form-text { color: var(--ps-muted); font-size: .82rem; }
select { cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ps-primary); }

/* Search and toolbar consistency */
.ps-toolbar, .filter-bar, .search-toolbar, .admin-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .85rem;
  border: 1px solid var(--ps-line);
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  box-shadow: var(--ps-shadow-sm);
}
.ps-toolbar > *, .filter-bar > *, .search-toolbar > *, .admin-toolbar > * { min-width: 0; }

/* Product/catalog polish */
.product-item, .product-card, .shop-card {
  overflow: hidden;
  isolation: isolate;
}
.product-item .product-image, .product-card .product-image, .product-card__image {
  background: linear-gradient(180deg,#fff,#f8fafc);
  border-radius: 12px;
}
.product-item img, .product-card img { transition: transform .28s ease, opacity .22s ease; }
.product-item:hover img, .product-card:hover img { transform: scale(1.025); }
.product-item .btn, .product-card .btn { min-height: 40px; }
.product-title, .product-card h3, .product-card h4, .product-item h3, .product-item h4 {
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* Status pills and metadata */
.status-pill, .ps-pill, .chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 28px;
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
}

/* Empty states */
.empty-state, .ps-empty-state {
  padding: clamp(2rem, 6vw, 4.5rem) 1.25rem;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: var(--ps-radius-lg);
  background: linear-gradient(180deg,#fff,#f8fafc);
  color: var(--ps-muted);
}
.empty-state h3, .ps-empty-state h3 { color: var(--ps-ink); font-weight: 800; }

/* Modals, dropdowns and toast-like messages */
.modal-header { border-bottom: 1px solid var(--ps-line); padding: 1rem 1.2rem; }
.modal-footer { border-top: 1px solid var(--ps-line); padding: .9rem 1.2rem; gap: .5rem; }
.modal-title { font-weight: 800; }
.dropdown-menu { max-width: min(92vw, 380px); }
.messages .alert, .django-messages .alert { margin-bottom: .75rem; }

/* Staff dashboard — clearer information architecture */
.sp-main > .container-fluid, .admin-main > .container-fluid { max-width: 1480px; margin-inline: auto; }
.sp-side .sp-link, body.ps-admin-page .sidebar-link { min-height: 42px; display: flex; align-items: center; gap: .65rem; }
.sp-side .sp-link i, body.ps-admin-page .sidebar-link i { width: 1.2rem; text-align: center; flex: 0 0 auto; }
.sp-main .card, .admin-main .card { box-shadow: 0 8px 26px rgba(16,24,40,.06); }

/* Support Center management screen */
.support-admin-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.support-admin-hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -95px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  z-index: -1;
}
.support-panel { transition: box-shadow var(--ps-transition), border-color var(--ps-transition); }
.support-panel:focus-within { border-color: rgba(8,127,91,.38); box-shadow: 0 14px 38px rgba(20,45,38,.10), 0 0 0 4px rgba(8,127,91,.06); }
.support-check { cursor: pointer; transition: background var(--ps-transition), border-color var(--ps-transition), transform var(--ps-transition); }
.support-check:hover { background: #f3fbf7; border-color: #badbce; transform: translateY(-1px); }
.support-check:has(input:checked) { background: var(--ps-green-soft); border-color: #86d4b5; }
.support-check input { width: 18px; height: 18px; flex: 0 0 auto; }
.support-save { min-height: 48px; transition: transform var(--ps-transition), box-shadow var(--ps-transition), background var(--ps-transition); }
.support-save:hover:not(:disabled) { background: var(--ps-green-dark); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(8,127,91,.28); }
.support-preview-card { transition: background .2s ease, color .2s ease, transform .2s ease; }
.support-preview-card.ps-preview-updated { animation: ps-preview-pulse .28s ease; }
@keyframes ps-preview-pulse { 50% { transform: scale(.992); } }

/* Accessible back-to-top affordance */
.ps-back-to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 1040;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  background: rgba(11,31,58,.92);
  color: #fff;
  box-shadow: 0 12px 30px rgba(16,24,40,.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.ps-back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.ps-back-to-top:hover { background: var(--ps-primary); }

/* Loading images feel smoother */
img[data-ps-loading] { opacity: .25; }
img.ps-image-loaded { opacity: 1; transition: opacity .22s ease; }

@media (max-width: 767.98px) {
  .page-header, .content-header, .section-heading { margin-bottom: 1rem; }
  .ps-toolbar, .filter-bar, .search-toolbar, .admin-toolbar { align-items: stretch; padding: .7rem; }
  .ps-toolbar > *, .filter-bar > *, .search-toolbar > *, .admin-toolbar > * { flex: 1 1 100%; width: 100%; }
  .btn-group { width: 100%; }
  .btn-group > .btn { flex: 1 1 auto; }
  .support-save { width: 100%; position: sticky; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 20; }
  .ps-back-to-top { right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
  .product-item:hover img, .product-card:hover img { transform: none; }
}

@media (prefers-color-scheme: dark) {
  /* Keep public branding stable; only native browser controls receive a matching hint. */
  :root { color-scheme: light; }
}

/* =========================================================
   PAYSLASHES MARKETPLACE V3 — GLOBAL COMMERCE UI SYSTEM
   Compact product cards, clearer merchandising and consistent
   storefront/staff interaction patterns.
   ========================================================= */
:root {
  --ps-brand: #087f5b;
  --ps-brand-strong: #056247;
  --ps-brand-soft: #eaf8f2;
  --ps-ink: #102a43;
  --ps-muted: #667085;
  --ps-surface: #ffffff;
  --ps-surface-soft: #f7faf9;
  --ps-border: #e4ebe8;
  --ps-radius-card: 18px;
  --ps-radius-control: 12px;
  --ps-shadow-card: 0 10px 28px rgba(16,42,67,.08);
  --ps-shadow-card-hover: 0 20px 44px rgba(16,42,67,.14);
}

body { background: #f8faf9; color: var(--ps-ink); }
main, .site-main { min-height: 55vh; }
.container, .container-fluid { scroll-margin-top: 90px; }

/* Section rhythm */
.section-title, .section-heading h2, .section-heading h3 {
  color: var(--ps-ink);
  font-weight: 800;
  letter-spacing: -.02em;
}
.section-title::after { border-color: var(--ps-brand) !important; }
.products-group, .product-grid, .products-loop { align-items: stretch; }

/* Product card foundation */
.ol-product-card,
.product-item.product-item__card,
.product-card {
  height: 100%;
}
.ol-product-card .product-item__outer,
.product-item.product-item__card .product-item__outer,
.product-card {
  height: 100%;
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius-card);
  background: var(--ps-surface);
  overflow: hidden;
  box-shadow: var(--ps-shadow-card);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ol-product-card .product-item__inner,
.product-item.product-item__card .product-item__inner {
  height: 100%;
  min-height: 0 !important;
  padding: 12px !important;
  display: flex;
  flex-direction: column;
  background: #fff !important;
}
.ol-product-card .product-item__body,
.product-item.product-item__card .product-item__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  padding-bottom: 0 !important;
}
.ol-product-card .product-item__footer,
.product-item.product-item__card .product-item__footer {
  margin-top: auto;
}

/* Compact media area: the largest contributor to overly tall cards */
.ol-product-card .product-item__body > div:has(> a > img),
.ol-product-card a.d-block.text-center,
.product-card__media,
.product-image-wrap {
  min-height: 0 !important;
}
.ol-product-card .product-item__body img,
.product-item.product-item__card img,
.product-card img {
  width: 100%;
  height: 176px;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  transition: transform .28s ease, opacity .2s ease;
}

/* Product titles stay readable without stretching the card */
.ol-product-card .product-item__title,
.ol-product-card .product-item__title a,
.product-card__title,
.product-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.55em;
  max-height: 2.55em;
  color: var(--ps-ink) !important;
  font-size: .92rem;
  line-height: 1.275;
  font-weight: 750 !important;
  margin-bottom: 7px !important;
}
.ol-product-card .font-size-12.text-gray-5,
.product-card__category {
  display: block;
  margin-bottom: 4px;
  color: #7a8a96 !important;
  font-size: .72rem !important;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Price hierarchy */
.ol-product-card .prodcut-price,
.ol-product-card .product-price,
.product-card__price {
  color: var(--ps-ink);
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -.02em;
}
.ol-product-card del,
.product-card__old-price {
  color: #98a2b3 !important;
  font-size: .78rem;
  font-weight: 600;
}

/* Compact footer/actions */
.ol-product-card .product-item__footer .border-top,
.product-item.product-item__card .product-item__footer .border-top {
  margin-top: 8px;
  padding-top: 8px !important;
  border-color: #edf1ef !important;
}
.ol-product-card .product-item__footer a {
  font-size: .72rem !important;
  font-weight: 650;
}
.ol-product-card .btn-add-cart,
.product-card .btn-add-cart,
.product-card__action {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ps-brand) !important;
  border-color: var(--ps-brand) !important;
  box-shadow: 0 7px 16px rgba(8,127,91,.22);
}
.ol-product-card .btn-add-cart:hover,
.product-card .btn-add-cart:hover { background: var(--ps-brand-strong) !important; }

/* High-contrast merchandising chips */
.ps-product-badge,
.product-badge,
.badge-hot,
.badge-discount,
.badge-featured,
.badge-new,
.badge-best-seller,
.badge-top-rated,
.badge-limited-stock,
.badge-out-of-stock {
  min-height: 25px;
  padding: 5px 9px !important;
  border: 1px solid rgba(255,255,255,.38) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: .67rem !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: .02em;
  text-transform: none;
  box-shadow: 0 6px 15px rgba(16,24,40,.18);
  backdrop-filter: none !important;
  opacity: 1 !important;
}
.badge-hot, .ps-badge-hot { background: linear-gradient(135deg,#ff3d24,#d9155b) !important; }
.badge-discount, .ps-badge-discount { background: linear-gradient(135deg,#ff6a00,#e63b00) !important; }
.badge-featured, .ps-badge-featured { background: linear-gradient(135deg,#155eef,#0e7490) !important; }
.badge-new, .ps-badge-new { background: linear-gradient(135deg,#6941c6,#9333ea) !important; }
.badge-best-seller, .ps-badge-best-seller { background: linear-gradient(135deg,#b54708,#f59e0b) !important; }
.badge-top-rated, .ps-badge-top-rated { background: linear-gradient(135deg,#7a2e0e,#dc6803) !important; }
.badge-limited-stock, .ps-badge-limited-stock { background: linear-gradient(135deg,#b42318,#f04438) !important; }
.badge-out-of-stock, .ps-badge-out-of-stock { background: linear-gradient(135deg,#344054,#101828) !important; }

/* Delivery chips */
.delivery-badge,
.free-delivery-badge,
.ps-delivery-chip,
.product-delivery-chip {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
  min-height: 27px;
  align-items: center;
  gap: 5px;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  background: #e9f9f1 !important;
  border: 1px solid #a6e0c4 !important;
  color: #05603f !important;
  font-size: .7rem !important;
  line-height: 1.1;
  font-weight: 800 !important;
  box-shadow: none !important;
}

/* General commerce components */
.card, .modal-content, .dropdown-menu {
  border-color: var(--ps-border);
  border-radius: var(--ps-radius-card);
}
.form-control, .custom-select, select.form-control {
  min-height: 44px;
  border-radius: var(--ps-radius-control);
  border-color: #d8e2de;
}
.form-control:focus, .custom-select:focus {
  border-color: rgba(8,127,91,.62);
  box-shadow: 0 0 0 4px rgba(8,127,91,.10);
}
.btn { border-radius: 11px; font-weight: 750; }
.btn-primary { background: var(--ps-brand); border-color: var(--ps-brand); }
.btn-primary:hover, .btn-primary:focus { background: var(--ps-brand-strong); border-color: var(--ps-brand-strong); }
.table { background: #fff; }
.table thead th { background: #f2f7f5; color: #344054; font-size: .76rem; letter-spacing: .025em; text-transform: uppercase; }
.alert { border-radius: 14px; }
.pagination .page-link { border-radius: 10px !important; margin: 0 2px; }

@media (hover:hover) and (pointer:fine) {
  .ol-product-card .product-item__outer:hover,
  .product-item.product-item__card .product-item__outer:hover,
  .product-card:hover {
    transform: translateY(-5px);
    border-color: #c8d9d2;
    box-shadow: var(--ps-shadow-card-hover);
  }
  .ol-product-card:hover .product-item__body img,
  .product-item.product-item__card:hover img,
  .product-card:hover img { transform: scale(1.035); }
}

@media (min-width: 1200px) {
  .ol-product-card .product-item__inner,
  .product-item.product-item__card .product-item__inner { padding: 13px !important; }
  .ol-product-card .product-item__body img,
  .product-item.product-item__card img,
  .product-card img { height: 190px; }
}

@media (max-width: 767.98px) {
  .ol-product-card .product-item__outer,
  .product-item.product-item__card .product-item__outer,
  .product-card { border-radius: 15px; }
  .ol-product-card .product-item__inner,
  .product-item.product-item__card .product-item__inner { padding: 9px !important; }
  .ol-product-card .product-item__body img,
  .product-item.product-item__card img,
  .product-card img { height: 142px; padding: 2px; }
  .ol-product-card .product-item__title,
  .ol-product-card .product-item__title a,
  .product-card__title,
  .product-name { font-size: .82rem; min-height: 2.5em; max-height: 2.5em; }
  .ol-product-card .prodcut-price,
  .ol-product-card .product-price,
  .product-card__price { font-size: .94rem; }
  .ol-product-card .product-item__footer { display: none; }
  .delivery-badge, .free-delivery-badge, .ps-delivery-chip, .product-delivery-chip {
    min-height: 24px; padding: 4px 7px !important; font-size: .64rem !important;
  }
  .ps-product-badge, .product-badge, .badge-hot, .badge-discount, .badge-featured,
  .badge-new, .badge-best-seller, .badge-top-rated, .badge-limited-stock, .badge-out-of-stock {
    min-height: 23px; padding: 4px 7px !important; font-size: .61rem !important;
  }
}


/* === Enterprise Design System Wave 1 === */
:root{
 --pep-primary:#0b7a4b;
 --pep-primary-dark:#085c38;
 --pep-surface:#ffffff;
 --pep-bg:#f7f9fb;
 --pep-radius:16px;
 --pep-shadow:0 10px 28px rgba(0,0,0,.08);
 --pep-space:1rem;
}
.pep-card,.card{
 border-radius:var(--pep-radius)!important;
 box-shadow:var(--pep-shadow);
 transition:transform .2s ease,box-shadow .2s ease;
}
.pep-card:hover,.card:hover{
 transform:translateY(-3px);
 box-shadow:0 14px 36px rgba(0,0,0,.12);
}
.btn-enterprise{
 background:var(--pep-primary);
 color:#fff;
 border-radius:12px;
 padding:.75rem 1rem;
 border:none;
 font-weight:600;
}
.btn-enterprise:hover{background:var(--pep-primary-dark);color:#fff}
.pep-section{padding:2rem 0}
.pep-skeleton{
 background:linear-gradient(90deg,#eee,#f8f8f8,#eee);
 background-size:200% 100%;
 animation:pepPulse 1.4s infinite;
 min-height:18px;border-radius:8px;
}
@keyframes pepPulse{
0%{background-position:200% 0}
100%{background-position:-200% 0}
}

/* ==========================================================
   Payslashes Product Card V4 — Execution Wave 1.1
   Balanced imagery, dynamic metadata and conversion actions.
   ========================================================== */
:root{
  --ps-v4-brand:#087f5b;
  --ps-v4-brand-dark:#05603f;
  --ps-v4-ink:#17221e;
  --ps-v4-muted:#66756f;
  --ps-v4-border:#dce7e2;
  --ps-v4-soft:#f4f8f6;
}

.products-grid{align-items:stretch}
.products-grid > *{min-width:0}

.jumia-product-card.ebay-market-card{
  height:100%;
  min-height:0;
  padding:0!important;
  overflow:hidden;
  border:1px solid var(--ps-v4-border)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(16,40,31,.08)!important;
}
.jumia-product-card.ebay-market-card:hover{
  transform:translateY(-5px)!important;
  border-color:#bdd2c9!important;
  box-shadow:0 18px 42px rgba(16,40,31,.14)!important;
}

.jumia-product-card .jumia-product-image.ebay-market-image{
  position:relative;
  width:100%;
  min-height:0!important;
  height:auto!important;
  padding-top:88%!important;
  border-radius:0!important;
  background:linear-gradient(145deg,#fbfdfc,#eef5f2)!important;
  overflow:hidden;
}
.jumia-product-card .ebay-image-link{
  position:absolute;
  inset:0;
  display:block;
}
.jumia-product-card .jumia-product-image img,
.jumia-product-card .ebay-main-img,
.jumia-product-card .ebay-hover-img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  padding:10px!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:0!important;
  background:transparent!important;
}
.jumia-product-card .ebay-hover-img{opacity:0}
@media (hover:hover) and (pointer:fine){
  .jumia-product-card:hover .ebay-main-img{opacity:0}
  .jumia-product-card:hover .ebay-hover-img{opacity:1}
  .jumia-product-card:not(:has(.ebay-hover-img)):hover .ebay-main-img{opacity:1;transform:scale(1.035)!important}
}

.jumia-product-card .jumia-product-info.ebay-market-info{
  display:flex;
  flex:1;
  flex-direction:column;
  justify-content:flex-start;
  gap:7px!important;
  padding:13px 13px 14px!important;
}
.jumia-product-card .ebay-meta-top{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  color:var(--ps-v4-muted);
  font-size:.7rem;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.jumia-product-card .ebay-category,
.jumia-product-card .ebay-brand{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.jumia-product-card .ebay-brand{margin-left:auto;color:var(--ps-v4-brand)}

.jumia-product-card .jumia-product-title.ebay-title{
  min-height:2.6em!important;
  max-height:2.6em!important;
  margin:0!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  font-size:.94rem!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:-.015em;
}
.jumia-product-card .jumia-product-title a{color:var(--ps-v4-ink)!important}
.jumia-product-card .ebay-spec-line{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  overflow:hidden;
  min-height:1.25em;
  color:var(--ps-v4-muted);
  font-size:.74rem;
  line-height:1.25;
}

.jumia-product-card .ebay-price-block{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:5px 8px;
  margin:1px 0 0!important;
}
.jumia-product-card .jumia-current-price{
  color:var(--ps-v4-ink)!important;
  font-size:1.18rem!important;
  line-height:1.1;
  font-weight:900!important;
  letter-spacing:-.035em;
}
.jumia-product-card .jumia-original-price{
  margin:0!important;
  color:#98a49f!important;
  font-size:.76rem!important;
  font-weight:650;
  text-decoration:line-through;
}

.jumia-product-card .ps-delivery-price-badge{
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%;
  min-height:25px;
  align-items:center;
  gap:5px;
  padding:4px 8px!important;
  border-radius:999px!important;
  font-size:.67rem!important;
  line-height:1.1;
  font-weight:800!important;
}
.jumia-product-card .ps-delivery-price-badge.is-free{background:#eaf8f1!important;color:#05603f!important;border:1px solid #b8dfcc!important}
.jumia-product-card .ps-delivery-price-badge.is-paid{background:#fff7e8!important;color:#8a4b08!important;border:1px solid #f0d6a5!important}

.jumia-product-card .ebay-submeta,
.jumia-product-card .ebay-sellerline,
.jumia-product-card .ebay-stockline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  min-height:0!important;
  margin:0!important;
}
.jumia-product-card .ebay-submeta{color:var(--ps-v4-muted);font-size:.72rem;font-weight:700}
.jumia-product-card .ps-rating-summary{color:#8a5a00}
.jumia-product-card .ps-rating-summary .fa-star{color:#f5a623}
.jumia-product-card .ps-rating-count{color:var(--ps-v4-muted)}
.jumia-product-card .ps-meta-dot{color:#b0bbb6}
.jumia-product-card .ps-seller-badge,
.jumia-product-card .ps-condition-badge,
.jumia-product-card .ps-stock-pill,
.jumia-product-card .ebay-delivery{
  display:inline-flex;
  align-items:center;
  min-height:23px;
  max-width:100%;
  padding:4px 7px!important;
  border-radius:999px!important;
  font-size:.64rem!important;
  line-height:1.05;
  font-weight:800!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.jumia-product-card .ps-seller-badge{background:#eef4ff;color:#3157a4}
.jumia-product-card .ps-condition-badge{background:#f2f4f3;color:#52605a}
.jumia-product-card .ps-stock-pill{margin:0!important;background:#eaf8f1;color:#05603f}
.jumia-product-card .ps-stock-pill.out{background:#fff0f0;color:#a51d1d}
.jumia-product-card .ebay-delivery{background:#edf7ff;color:#17638d}

.jumia-product-card .jumia-product-actions.ebay-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:7px!important;
  width:100%;
  margin-top:auto!important;
  padding-top:5px!important;
}
.jumia-product-card .jumia-btn.compact-btn{
  min-width:0;
  min-height:39px!important;
  padding:8px 9px!important;
  gap:6px;
  border-radius:11px!important;
  font-size:.72rem!important;
  font-weight:850!important;
  line-height:1;
  text-decoration:none!important;
}
.jumia-product-card .compact-btn-view{
  background:#f3f7f5!important;
  border:1px solid #d7e3de!important;
  color:#34443d!important;
}
.jumia-product-card .compact-btn-cart{
  background:#e7f5ef!important;
  border:1px solid #bddfce!important;
  color:var(--ps-v4-brand-dark)!important;
  box-shadow:none!important;
}
.jumia-product-card .compact-btn-buy{
  grid-column:1/-1;
  background:linear-gradient(135deg,var(--ps-v4-brand),var(--ps-v4-brand-dark))!important;
  border:0!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(8,127,91,.22)!important;
}
.jumia-product-card .compact-btn-view:hover,
.jumia-product-card .compact-btn-cart:hover{transform:translateY(-1px);filter:brightness(.98)}
.jumia-product-card .compact-btn-buy:hover{transform:translateY(-1px);filter:brightness(1.06)}

.jumia-product-card .ps-product-badge-stack{
  position:absolute;
  z-index:4;
  top:8px;
  left:8px;
  right:48px;
  display:flex;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:5px;
  pointer-events:none;
}
.jumia-product-card .ebay-discount-badge{
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:23px;
  padding:4px 7px!important;
  border-radius:999px!important;
  color:#fff!important;
  font-size:.61rem!important;
  line-height:1!important;
  font-weight:850!important;
  box-shadow:0 5px 12px rgba(16,24,40,.16);
}
.jumia-product-card .ebay-watch-btn,
.jumia-product-card .ps-mobile-preview-trigger{
  position:absolute;
  z-index:5;
  display:inline-flex;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(18,46,36,.12)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.94)!important;
  color:#33443d!important;
  box-shadow:0 6px 15px rgba(16,40,31,.12);
}
.jumia-product-card .ebay-watch-btn{top:8px;right:8px}
.jumia-product-card .ps-mobile-preview-trigger{right:8px;bottom:8px}
.jumia-product-card .ebay-watch-btn.active{color:#d92d20!important;background:#fff4f2!important}

@media (min-width:1200px){
  .jumia-product-card .jumia-product-image.ebay-market-image{padding-top:92%!important}
}
@media (max-width:767.98px){
  .products-grid{gap:10px!important}
  .jumia-product-card.ebay-market-card{border-radius:16px!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{padding-top:94%!important}
  .jumia-product-card .jumia-product-image img,
  .jumia-product-card .ebay-main-img,
  .jumia-product-card .ebay-hover-img{padding:6px!important}
  .jumia-product-card .jumia-product-info.ebay-market-info{gap:5px!important;padding:9px 8px 10px!important}
  .jumia-product-card .ebay-meta-top{font-size:.58rem;gap:4px}
  .jumia-product-card .jumia-product-title.ebay-title{font-size:.78rem!important;min-height:2.55em!important;max-height:2.55em!important}
  .jumia-product-card .ebay-spec-line{display:none}
  .jumia-product-card .jumia-current-price{font-size:.94rem!important}
  .jumia-product-card .jumia-original-price{font-size:.65rem!important}
  .jumia-product-card .ps-delivery-price-badge{min-height:22px;padding:3px 6px!important;font-size:.57rem!important}
  .jumia-product-card .ebay-submeta{font-size:.61rem;gap:4px}
  .jumia-product-card .ebay-sellerline{display:none}
  .jumia-product-card .ps-stock-pill,
  .jumia-product-card .ebay-delivery{min-height:21px;padding:3px 6px!important;font-size:.55rem!important}
  .jumia-product-card .jumia-product-actions.ebay-actions{gap:5px!important;padding-top:3px!important}
  .jumia-product-card .jumia-btn.compact-btn{min-height:34px!important;padding:6px 5px!important;font-size:.62rem!important;border-radius:9px!important}
  .jumia-product-card .jumia-btn.compact-btn i{font-size:.66rem}
  .jumia-product-card .ps-product-badge-stack{top:6px;left:6px;right:42px;gap:3px}
  .jumia-product-card .ebay-discount-badge{min-height:20px;padding:3px 5px!important;font-size:.52rem!important}
  .jumia-product-card .ebay-watch-btn,
  .jumia-product-card .ps-mobile-preview-trigger{width:30px;height:30px;font-size:.72rem}
  .jumia-product-card .ebay-watch-btn{top:6px;right:6px}
  .jumia-product-card .ps-mobile-preview-trigger{right:6px;bottom:6px}
}
@media (max-width:380px){
  .jumia-product-card .jumia-btn.compact-btn{font-size:.58rem!important}
  .jumia-product-card .compact-btn-view i{display:none}
}

/* ==========================================================
   Payslashes Wave 2.0 — Dynamic Homepage Commerce Polish
   ========================================================== */
.ps-after-hero.ol-hero-glass{
  padding:28px!important;
  border-radius:28px!important;
  overflow:hidden;
}
.ps-featured-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:16px 24px!important;
  align-items:end!important;
  margin-bottom:22px!important;
}
.ps-featured-head__copy{max-width:650px}
.ps-featured-head__copy p{margin:7px 0 0!important;opacity:.82}
.ps-featured-head__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;flex-wrap:wrap}
.ps-featured-head .product-tabs{grid-column:1/-1!important;margin:0!important}
.ps-featured-head .nav-pills{display:inline-flex!important;width:auto!important;padding:5px!important;border-radius:999px!important}
.ps-featured-head .nav-link{min-width:116px!important;padding:10px 18px!important;border-radius:999px!important}
.ps-after-hero .tab-content{margin-top:0!important;padding-top:0!important}
.ps-after-hero .products-grid{margin-top:0!important;gap:16px!important}
.ps-featured-count,.ps-featured-view-all{white-space:nowrap}

.ps-home-collection{padding:42px 0!important}
.ps-home-collection + .ps-home-collection{padding-top:28px!important}
.ps-home-collection .products-grid{gap:16px!important}

.ps-vendor-spotlight-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.ps-vendor-spotlight-card{
  position:relative;
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  gap:15px;
  min-height:180px;
  padding:20px;
  border:1px solid #dce7e2;
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f5faf7);
  box-shadow:0 10px 28px rgba(16,40,31,.08);
  color:#17221e!important;
  text-decoration:none!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.ps-vendor-spotlight-card:hover{transform:translateY(-4px);border-color:#a9cfbd;box-shadow:0 18px 40px rgba(16,40,31,.13)}
.ps-vendor-spotlight-logo{
  display:flex;width:70px;height:70px;align-items:center;justify-content:center;
  overflow:hidden;border:1px solid #dce7e2;border-radius:18px;background:#fff;
  color:#087f5b;font-size:1.55rem;
}
.ps-vendor-spotlight-logo img{width:100%;height:100%;object-fit:cover}
.ps-vendor-spotlight-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:5px}
.ps-vendor-spotlight-title{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.05rem;font-weight:900}
.ps-vendor-verified{display:inline-flex;align-items:center;gap:5px;color:#087f5b;font-size:.76rem;font-weight:800}
.ps-vendor-location{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#66756f;font-size:.79rem}
.ps-vendor-products{margin-top:3px;padding:5px 9px;border-radius:999px;background:#e8f6ef;color:#05603f;font-size:.72rem;font-weight:800}
.ps-vendor-visit{position:absolute;right:18px;bottom:17px;display:inline-flex;align-items:center;gap:7px;color:#087f5b;font-size:.78rem;font-weight:900}
.ps-home-empty--vendor{display:flex!important;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:34px!important}
.ps-home-empty--vendor>i{font-size:1.6rem;color:#087f5b}.ps-home-empty--vendor strong{font-size:1rem}.ps-home-empty--vendor span{color:#66756f}.ps-home-empty--vendor a{margin-top:5px;font-weight:850}

@media (max-width:991.98px){
  .ps-vendor-spotlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ps-featured-head{grid-template-columns:1fr!important;align-items:start!important}
  .ps-featured-head__actions{justify-content:flex-start!important}
}
@media (max-width:767.98px){
  .ps-after-hero.ol-hero-glass{padding:18px 12px!important;border-radius:22px!important}
  .ps-featured-head{gap:12px!important;margin-bottom:15px!important}
  .ps-featured-head__copy p{font-size:.85rem}
  .ps-featured-head__actions{gap:8px!important;font-size:.75rem}
  .ps-featured-head .nav-pills{display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:100%!important}
  .ps-featured-head .nav-link{min-width:0!important;padding:9px 7px!important;font-size:.73rem!important}
  .ps-after-hero .products-grid,.ps-home-collection .products-grid{gap:10px!important}
  .ps-home-collection{padding:28px 0!important}
  .ps-vendor-spotlight-grid{grid-template-columns:1fr;gap:12px}
  .ps-vendor-spotlight-card{grid-template-columns:58px minmax(0,1fr);min-height:150px;padding:16px;border-radius:18px}
  .ps-vendor-spotlight-logo{width:58px;height:58px;border-radius:15px}
}


/* ==========================================================
   Payslashes Wave 2.1 — Homepage Completion & Footer Polish
   ========================================================== */
.ps-home-collection{
  position:relative;
}
.ps-home-collection .ps-home-section-header,
.ps-home-collection .section-header{
  margin-bottom:20px!important;
}
.ps-home-collection--soft{
  background:linear-gradient(180deg,#f7fbf9 0%,#ffffff 100%);
  border-top:1px solid rgba(8,127,91,.08);
  border-bottom:1px solid rgba(8,127,91,.08);
}
.ps-home-empty{
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  border:1px dashed #bfd6cc;
  border-radius:20px;
  background:#f8fcfa;
  color:#52645d;
  text-align:center;
}

.ps-home-newsletter{
  padding:12px 0 42px!important;
  background:linear-gradient(180deg,#fff 0%,#f4f8ff 100%);
}
.ps-home-newsletter__panel{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr) auto!important;
  grid-template-areas:
    "icon copy actions"
    "icon assurances actions";
  align-items:center!important;
  gap:12px 22px!important;
  padding:28px!important;
  border:1px solid #dce7f5!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 55%,#eef6ff 100%)!important;
  box-shadow:0 18px 48px rgba(25,55,95,.10)!important;
}
.ps-home-newsletter__icon{
  grid-area:icon;
  width:64px!important;
  height:64px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#087f5b,#0a66c2)!important;
  color:#fff!important;
  font-size:1.35rem!important;
  box-shadow:0 12px 24px rgba(10,102,194,.20)!important;
}
.ps-home-newsletter__copy{grid-area:copy;min-width:0}
.ps-home-newsletter__copy>span{
  display:block;
  margin-bottom:4px;
  color:#087f5b;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ps-home-newsletter__copy h2{
  margin:0!important;
  max-width:780px;
  color:#102a43!important;
  font-size:clamp(1.45rem,2.4vw,2.35rem)!important;
  line-height:1.12!important;
  letter-spacing:-.025em;
}
.ps-home-newsletter__copy p{
  margin:8px 0 0!important;
  color:#52657a!important;
  font-size:.94rem!important;
}
.ps-home-newsletter__assurances{
  grid-area:assurances;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.ps-home-newsletter__assurances span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:6px 10px;
  border:1px solid #d9e7f4;
  border-radius:999px;
  background:#fff;
  color:#43566c;
  font-size:.72rem;
  font-weight:800;
}
.ps-home-newsletter__assurances i{color:#087f5b}
.ps-home-newsletter__actions{
  grid-area:actions;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:9px!important;
  min-width:180px;
}
.ps-home-newsletter__actions .ps-home-btn{
  min-height:44px;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px 17px!important;
  border-radius:13px!important;
  font-weight:850!important;
  white-space:nowrap;
}

/* Keep floating help controls clear of product cards and footer content. */
body .ps-help-fab,
body .support-fab,
body [data-support-launcher],
body .floating-support-btn{
  right:22px!important;
  bottom:22px!important;
}

.premium-site-footer{
  margin-top:0!important;
}
.premium-footer-main{
  padding-top:28px!important;
  padding-bottom:24px!important;
}
.premium-footer-shell{
  padding:28px!important;
  border-radius:28px!important;
}
.premium-footer-contact-card,
.premium-footer-app-card,
.premium-footer-accordion-panel{
  box-shadow:none!important;
}
.premium-footer-copy{max-width:520px}
.premium-footer-bottom-inner{min-height:64px!important}

@media (max-width:991.98px){
  .ps-home-newsletter__panel{
    grid-template-columns:64px minmax(0,1fr)!important;
    grid-template-areas:
      "icon copy"
      "assurances assurances"
      "actions actions"!important;
  }
  .ps-home-newsletter__actions{
    flex-direction:row!important;
    min-width:0;
  }
  .ps-home-newsletter__actions .ps-home-btn{flex:1}
}
@media (max-width:767.98px){
  .ps-home-newsletter{padding:4px 0 26px!important}
  .ps-home-newsletter__panel{
    grid-template-columns:1fr!important;
    grid-template-areas:"icon" "copy" "assurances" "actions"!important;
    gap:13px!important;
    padding:20px 16px!important;
    border-radius:22px!important;
    text-align:left;
  }
  .ps-home-newsletter__icon{width:54px!important;height:54px!important;border-radius:16px!important}
  .ps-home-newsletter__copy h2{font-size:1.45rem!important}
  .ps-home-newsletter__copy p{font-size:.86rem!important}
  .ps-home-newsletter__assurances{gap:6px}
  .ps-home-newsletter__assurances span{font-size:.66rem;padding:5px 8px}
  .ps-home-newsletter__actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .ps-home-newsletter__actions .ps-home-btn{min-height:41px;font-size:.76rem!important;padding:8px!important}
  .premium-footer-main{padding-top:18px!important;padding-bottom:14px!important}
  .premium-footer-shell{padding:18px 14px!important;border-radius:22px!important}
  body .ps-help-fab,
  body .support-fab,
  body [data-support-launcher],
  body .floating-support-btn{right:14px!important;bottom:76px!important}
}


/* ==========================================================
   Payslashes Wave 2.8 — Product Card Density & Overlay Safety
   ========================================================== */
.products-section .products-grid{
  align-items:start!important;
}
.products-section .jumia-product-card.ebay-market-card{
  height:auto!important;
  align-self:start!important;
}
.products-section .jumia-product-card .jumia-product-info.ebay-market-info{
  flex:0 0 auto!important;
}
.products-section .jumia-product-card .jumia-product-actions.ebay-actions{
  margin-top:10px!important;
}
.products-section .jumia-product-card .ebay-stockline:empty,
.products-section .jumia-product-card .ebay-submeta:empty,
.products-section .jumia-product-card .ebay-sellerline:empty{
  display:none!important;
}
.products-section .jumia-product-card .ps-stock-pill:empty,
.products-section .jumia-product-card .ebay-delivery:empty{
  display:none!important;
}
@media (min-width:1200px){
  .products-section .jumia-product-card .jumia-product-image.ebay-market-image{
    padding-top:82%!important;
  }
  .products-section .jumia-product-card .jumia-product-info.ebay-market-info{
    padding:12px 13px 13px!important;
    gap:6px!important;
  }
}
/* Keep homepage controls outside shopping cards. */
.products-section .carousel-nav,
.products-section .products-nav,
.products-section .slider-arrow{
  pointer-events:auto;
}
#chatbot-floating-btn{
  right:18px!important;
  bottom:24px!important;
}
#chatbot-floating-btn #chatbot-btn{
  width:58px!important;
  height:58px!important;
  font-size:1.35rem!important;
}
@media (max-width:767.98px){
  #chatbot-floating-btn{
    right:12px!important;
    bottom:82px!important;
  }
  #chatbot-floating-btn #chatbot-btn{
    width:52px!important;
    height:52px!important;
  }
  .products-section .jumia-product-card .jumia-product-actions.ebay-actions{
    margin-top:7px!important;
  }
}

/* ==========================================================
   Payslashes Wave 2.9 — Compact Commerce Card V6
   Premium density, stronger merchandising and safe overlays.
   ========================================================== */
.products-section .products-grid,
.products-grid{
  align-items:start!important;
}
.products-grid > .jumia-product-card,
.products-grid > *:has(> .jumia-product-card){
  align-self:start!important;
  height:auto!important;
}
.jumia-product-card.ebay-market-card{
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
  contain:layout paint;
}
.jumia-product-card .jumia-product-info.ebay-market-info{
  flex:none!important;
  min-height:0!important;
  padding:11px 13px 13px!important;
  gap:6px!important;
}
.jumia-product-card .ebay-meta-top{
  align-items:center;
  min-height:24px;
}
.jumia-product-card .ebay-category{
  display:inline-flex;
  align-items:center;
  gap:4px;
  max-width:72%;
  min-height:23px;
  padding:4px 7px;
  border:1px solid #dce9e3;
  border-radius:999px;
  background:#f2f8f5;
  color:#496159;
  font-size:.61rem;
  font-weight:850;
  letter-spacing:.045em;
}
.jumia-product-card .ps-svg-icon--micro{width:12px;height:12px;stroke-width:1.9}
.jumia-product-card .ebay-brand{
  font-size:.68rem;
  font-weight:850;
  text-transform:none;
  letter-spacing:0;
}
.jumia-product-card .jumia-product-title.ebay-title{
  min-height:2.48em!important;
  max-height:2.48em!important;
}
.jumia-product-card .ebay-spec-line{
  min-height:1.15em!important;
  margin:0!important;
}
.jumia-product-card .ebay-price-block{
  min-height:28px;
  margin-top:1px!important;
}
.jumia-product-card .ps-price-saving{
  display:inline-flex;
  align-items:center;
  min-height:21px;
  padding:3px 6px;
  border-radius:999px;
  background:#fff0e8;
  color:#b54708;
  font-size:.59rem;
  font-weight:900;
  white-space:nowrap;
}
.jumia-product-card .ps-delivery-price-badge,
.jumia-product-card .ps-stock-pill{
  box-shadow:none!important;
}
.jumia-product-card .ebay-submeta{
  min-height:20px!important;
  padding:1px 0;
}
.jumia-product-card .ps-rating-summary,
.jumia-product-card .ps-sold-count{
  display:inline-flex;
  align-items:center;
  gap:3px;
}
.jumia-product-card .ebay-stockline{
  min-height:23px!important;
}
.jumia-product-card .jumia-product-actions.ebay-actions{
  margin-top:5px!important;
  padding-top:2px!important;
}
.jumia-product-card .jumia-btn.compact-btn{
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,border-color .18s ease!important;
}
.jumia-product-card .compact-btn-buy{
  min-height:42px!important;
}
.jumia-product-card .compact-btn.is-disabled{
  cursor:not-allowed!important;
  opacity:.58!important;
  filter:grayscale(.2);
  box-shadow:none!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image{
  border-bottom:1px solid #e8f0ec!important;
  background:
    linear-gradient(45deg,rgba(8,127,91,.025) 25%,transparent 25%) 0 0/18px 18px,
    linear-gradient(-45deg,rgba(8,127,91,.025) 25%,transparent 25%) 0 0/18px 18px,
    linear-gradient(145deg,#fbfdfc,#eef5f2)!important;
}
@media (hover:hover) and (pointer:fine){
  .jumia-product-card.ebay-market-card:hover{
    transform:translateY(-4px)!important;
  }
  .jumia-product-card .compact-btn-view:hover,
  .jumia-product-card .compact-btn-cart:hover,
  .jumia-product-card .compact-btn-buy:hover{
    transform:translateY(-2px)!important;
  }
}
/* Dock floating controls outside merchandise. */
#chatbot-floating-btn{
  right:10px!important;
  bottom:18px!important;
  z-index:1030!important;
}
#chatbot-floating-btn #chatbot-btn{
  width:50px!important;
  height:50px!important;
  font-size:1.15rem!important;
}
.products-section .carousel-nav,
.products-section .products-nav,
.products-section .slider-arrow{
  z-index:20!important;
}
@media (min-width:1200px){
  .products-section .jumia-product-card .jumia-product-image.ebay-market-image{
    padding-top:78%!important;
  }
}
@media (max-width:767.98px){
  .jumia-product-card .jumia-product-info.ebay-market-info{
    padding:9px 9px 10px!important;
    gap:5px!important;
  }
  .jumia-product-card .ebay-category{max-width:68%;font-size:.53rem;padding:3px 5px;min-height:20px}
  .jumia-product-card .ebay-brand{font-size:.58rem}
  .jumia-product-card .ps-price-saving{font-size:.52rem;padding:2px 5px;min-height:18px}
  .jumia-product-card .compact-btn-buy{min-height:36px!important}
  #chatbot-floating-btn{right:8px!important;bottom:78px!important}
  #chatbot-floating-btn #chatbot-btn{width:46px!important;height:46px!important}
}

/* ==========================================================
   Payslashes Wave 3.0 — Enterprise Marketplace Polish
   Product Card V7: unified merchandising, seller trust and
   promotion hierarchy without fabricating marketplace data.
   ========================================================== */
.jumia-product-card.ebay-market-card{
  border:1px solid #dfe9e4!important;
  box-shadow:0 12px 30px rgba(11,45,32,.08)!important;
  border-radius:22px!important;
  overflow:hidden!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image{
  background:#f6f8f7!important;
  padding-top:92%!important;
  border-bottom:1px solid #e3ece7!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image .ebay-main-img,
.jumia-product-card .jumia-product-image.ebay-market-image .ebay-hover-img{
  inset:14px!important;
  width:calc(100% - 28px)!important;
  height:calc(100% - 28px)!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:14px!important;
  background:#fff!important;
}
.jumia-product-card .ebay-meta-top{gap:8px!important}
.jumia-product-card .ebay-category{max-width:66%!important}
.jumia-product-card .ps-brand-official{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  background:#eaf8f1!important;
  border:1px solid #c9e8d8!important;
  color:#087f5b!important;
  max-width:38%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.jumia-product-card .ps-price-saving{
  gap:3px!important;
  background:#fff0e8!important;
  border:1px solid #ffd8c2!important;
  color:#b54708!important;
  box-shadow:none!important;
}
.jumia-product-card .ebay-submeta{
  min-height:22px!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#667085!important;
  font-size:.67rem!important;
}
.jumia-product-card .ps-new-listing{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#475467;
  font-weight:750;
}
.jumia-product-card .ebay-sellerline{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:24px!important;
  overflow:hidden!important;
}
.jumia-product-card .ps-seller-badge{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-width:0!important;
  max-width:68%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  background:#eef4ff!important;
  border:1px solid #d8e5ff!important;
  color:#214a8a!important;
  font-size:.62rem!important;
  font-weight:850!important;
}
.jumia-product-card .ps-condition-badge{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:.6rem!important;
}
.jumia-product-card .ebay-stockline{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:6px!important;
}
.jumia-product-card .jumia-btn.compact-btn{
  border-radius:11px!important;
  font-weight:850!important;
}
.jumia-product-card .compact-btn-buy{
  background:linear-gradient(135deg,#07925f,#05754d)!important;
  box-shadow:0 9px 18px rgba(5,117,77,.18)!important;
}
.jumia-product-card .compact-btn-cart{
  background:#eaf8f1!important;
  border-color:#bfe5d2!important;
  color:#066d49!important;
}
.jumia-product-card .compact-btn-view{
  background:#f8faf9!important;
  border-color:#dfe8e4!important;
  color:#344b42!important;
}
@media (hover:hover) and (pointer:fine){
  .jumia-product-card.ebay-market-card:hover{
    box-shadow:0 20px 42px rgba(11,45,32,.14)!important;
    border-color:#c8ddd3!important;
  }
  .jumia-product-card .compact-btn-buy:hover{filter:brightness(1.05)!important}
}
@media (max-width:767.98px){
  .jumia-product-card .jumia-product-image.ebay-market-image{padding-top:100%!important}
  .jumia-product-card .jumia-product-image.ebay-market-image .ebay-main-img,
  .jumia-product-card .jumia-product-image.ebay-market-image .ebay-hover-img{
    inset:9px!important;
    width:calc(100% - 18px)!important;
    height:calc(100% - 18px)!important;
  }
  .jumia-product-card .ps-condition-badge{display:none!important}
  .jumia-product-card .ps-seller-badge{max-width:100%!important}
}

/* Execution Wave 3.1 — discovery intelligence and richer quick preview */
.ps-home-collection--commerce{
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
  border-top:1px solid #e7eef7;
  border-bottom:1px solid #e7eef7;
}
.ps-home-collection--recent{
  background:linear-gradient(180deg,#fff 0%,#f7fcf9 100%);
}
.ps-commerce-discovery-grid{
  align-items:stretch;
}
.ps-mobile-quick-preview__trust{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:12px 0 16px;
}
.ps-mobile-quick-preview__trust span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:7px 9px;
  border:1px solid #dfe9e4;
  border-radius:12px;
  background:#f8fbf9;
  color:#315247;
  font-size:.72rem;
  font-weight:800;
  line-height:1.2;
  text-align:center;
}
.ps-mobile-quick-preview__trust span[data-preview-stock]{
  background:#eaf8f1;
  border-color:#bfe5d2;
  color:#06714b;
}
.ps-mobile-quick-preview__trust span[data-preview-stock].is-out{
  background:#fff1f1;
  border-color:#ffd1d1;
  color:#a52b2b;
}
@media (min-width:1200px){
  .jumia-product-card .jumia-product-image.ebay-market-image{padding-top:108%!important}
}
@media (max-width:575.98px){
  .ps-mobile-quick-preview__trust{grid-template-columns:1fr}
  .ps-mobile-quick-preview__trust span{justify-content:flex-start;text-align:left}
}

/* ==========================================================
   Payslashes Wave 3.2 — Commerce Trust & Card Cleanup
   Intentional data only: no placeholder activity or seller rows.
   ========================================================== */
.jumia-product-card .ebay-submeta:empty,
.jumia-product-card .ebay-sellerline:empty{display:none!important}
.jumia-product-card .ebay-submeta{min-height:0!important}
.jumia-product-card .ps-new-listing{display:none!important}
.jumia-product-card .ps-new-arrival{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  width:max-content!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  border:1px solid #cfe1ff!important;
  background:#eef5ff!important;
  color:#2459a8!important;
  font-size:.64rem!important;
  font-weight:850!important;
  line-height:1!important;
}
.jumia-product-card .ebay-category{
  background:#f3f6f4!important;
  border-color:#dce6e0!important;
  color:#4e6258!important;
  font-weight:800!important;
}
.jumia-product-card .ps-brand-official{
  background:transparent!important;
  border-color:transparent!important;
  color:#087f5b!important;
  padding:3px 2px!important;
  font-weight:800!important;
}
.jumia-product-card .ps-brand-official .ps-svg-icon{opacity:.72!important}
.jumia-product-card .ebay-spec-line{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  min-height:2.5em!important;
  line-height:1.25!important;
}
.jumia-product-card .ps-seller-badge{
  max-width:100%!important;
  background:#f2f7ff!important;
  border-color:#dce8f8!important;
  color:#31567f!important;
}
.jumia-product-card .ps-seller-badge span{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.jumia-product-card{
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
@media (hover:hover){
  .jumia-product-card:hover{
    transform:translateY(-4px)!important;
    border-color:#c9ded3!important;
    box-shadow:0 18px 42px rgba(11,45,32,.13)!important;
  }
  .jumia-product-card:hover .ebay-main-img{transform:scale(1.025)!important}
  .jumia-product-card .ebay-main-img{transition:transform .28s ease!important}
}
@media (prefers-reduced-motion:reduce){
  .jumia-product-card,.jumia-product-card .ebay-main-img{transition:none!important}
  .jumia-product-card:hover{transform:none!important}
}

/* Execution Wave 3.3 — frictionless commerce interactions */
.ps-commerce-toast-stack{position:fixed;right:22px;top:96px;z-index:2500;display:grid;gap:10px;width:min(380px,calc(100vw - 32px));pointer-events:none}
.ps-commerce-toast{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid rgba(16,185,129,.24);border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 18px 44px rgba(15,23,42,.18);color:#0f172a;font-weight:800;opacity:0;transform:translateY(-10px) scale(.98);transition:opacity .2s ease,transform .2s ease;backdrop-filter:blur(14px)}
.ps-commerce-toast.is-visible{opacity:1;transform:translateY(0) scale(1)}
.ps-commerce-toast.is-error{border-color:rgba(239,68,68,.28)}
.ps-commerce-toast__icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:999px;background:#dcfce7;color:#047857;font-size:.95rem}
.ps-commerce-toast.is-error .ps-commerce-toast__icon{background:#fee2e2;color:#b91c1c}
.ps-commerce-toast__text{font-size:.88rem;line-height:1.35}
.ps-commerce-spinner{width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:999px;animation:psCommerceSpin .65s linear infinite}
@keyframes psCommerceSpin{to{transform:rotate(360deg)}}
[data-cart-add].is-loading{pointer-events:none;opacity:.78}
[data-cart-add].is-added{box-shadow:0 0 0 4px rgba(16,185,129,.16),0 12px 30px rgba(5,150,105,.2)!important}
.compact-btn-buy{position:relative;overflow:hidden}
.compact-btn-buy:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.2) 50%,transparent 80%);transform:translateX(-130%);transition:transform .55s ease}
.compact-btn-buy:hover:after{transform:translateX(130%)}
@media(max-width:767.98px){.ps-commerce-toast-stack{top:auto;right:16px;bottom:92px}.ps-commerce-toast{padding:12px 13px}.ps-commerce-toast__text{font-size:.82rem}}
@media(prefers-reduced-motion:reduce){.ps-commerce-toast,.compact-btn-buy:after{transition:none!important}.ps-commerce-spinner{animation-duration:1.2s}}

/* ========================================================================== 
   Execution Wave 3.4 — Equal-height Product Card Layout Engine
   Keeps every commerce card and every action row aligned without fake content.
   ========================================================================== */
.products-grid,
.product-grid,
.products-row,
.ps-products-grid{
  align-items:stretch!important;
}

.products-grid > *,
.product-grid > *,
.products-row > *,
.ps-products-grid > *{
  align-self:stretch!important;
  height:auto!important;
}

.jumia-product-card.ebay-market-card{
  display:grid!important;
  grid-template-rows:auto 1fr!important;
  height:100%!important;
  min-height:0!important;
}

.jumia-product-card .jumia-product-image.ebay-market-image{
  width:100%!important;
  aspect-ratio:1 / 1!important;
  padding-top:0!important;
  min-height:0!important;
}

.jumia-product-card .jumia-product-image.ebay-market-image .ebay-image-link{
  position:absolute!important;
  inset:0!important;
}

.jumia-product-card .jumia-product-info.ebay-market-info{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:
    34px   /* category + brand */
    52px   /* title */
    38px   /* specifications */
    58px   /* price + discount */
    42px   /* delivery */
    32px   /* rating/new arrival/sold */
    32px   /* seller/condition */
    34px   /* stock */
    auto!important; /* actions */
  align-content:start!important;
  flex:initial!important;
  height:100%!important;
  min-height:0!important;
}

.jumia-product-card .ebay-meta-top{grid-row:1!important;min-width:0!important;align-self:center!important}
.jumia-product-card .jumia-product-title.ebay-title{grid-row:2!important;align-self:start!important;margin:0!important;min-height:0!important;max-height:none!important}
.jumia-product-card .ebay-spec-line{grid-row:3!important;align-self:start!important;margin:0!important;min-height:0!important}
.jumia-product-card .jumia-product-price.ebay-price-block{grid-row:4!important;align-self:center!important;margin:0!important;min-height:0!important}
.jumia-product-card .ps-delivery-price-badge{grid-row:5!important;align-self:center!important;margin:0!important;width:max-content!important;max-width:100%!important}
.jumia-product-card .ebay-submeta{grid-row:6!important;align-self:center!important;margin:0!important;min-height:0!important}
.jumia-product-card .ebay-sellerline{grid-row:7!important;align-self:center!important;margin:0!important;min-height:0!important}
.jumia-product-card .ebay-stockline{grid-row:8!important;align-self:center!important;margin:0!important;min-height:0!important}
.jumia-product-card .jumia-product-actions.ebay-actions{
  grid-row:9!important;
  align-self:end!important;
  margin-top:8px!important;
  padding-top:0!important;
}

/* Empty optional rows keep their reserved geometry but remain invisible. */
.jumia-product-card .ebay-submeta:empty,
.jumia-product-card .ebay-sellerline:empty{
  display:block!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Cards without optional template nodes still retain their explicit grid rows. */
.jumia-product-card .jumia-product-info.ebay-market-info > *{
  min-width:0!important;
}

@media (max-width:767.98px){
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:
      28px
      46px
      34px
      52px
      38px
      28px
      28px
      32px
      auto!important;
  }
  .jumia-product-card .jumia-product-actions.ebay-actions{margin-top:6px!important}
}

@media (max-width:420px){
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:
      26px
      44px
      32px
      48px
      36px
      26px
      26px
      30px
      auto!important;
  }
}

/* ========================================================================== 
   Execution Wave 3.5 — Stable Commerce Grid Layout Engine
   Every data region owns a predictable row; optional values never collapse it.
   ========================================================================== */
.jumia-product-card .jumia-product-info.ebay-market-info{
  grid-template-areas:
    "meta"
    "title"
    "spec"
    "price"
    "promo"
    "delivery"
    "trust"
    "seller"
    "stock"
    "actions"!important;
  grid-template-rows:
    34px
    58px
    42px
    48px
    30px
    42px
    34px
    32px
    34px
    auto!important;
  row-gap:0!important;
  min-height:426px!important;
}
.jumia-product-card .ebay-meta-top{grid-area:meta!important}
.jumia-product-card .jumia-product-title.ebay-title{grid-area:title!important}
.jumia-product-card .ebay-spec-line{grid-area:spec!important}
.jumia-product-card .jumia-product-price.ebay-price-block{grid-area:price!important}
.jumia-product-card .ebay-promotion-row{grid-area:promo!important}
.jumia-product-card .ps-delivery-price-badge{grid-area:delivery!important}
.jumia-product-card .ebay-submeta{grid-area:trust!important}
.jumia-product-card .ebay-sellerline{grid-area:seller!important}
.jumia-product-card .ebay-stockline{grid-area:stock!important}
.jumia-product-card .jumia-product-actions.ebay-actions{grid-area:actions!important}

.jumia-product-card .jumia-product-title.ebay-title{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  line-height:1.28!important;
  max-height:2.56em!important;
}
.jumia-product-card .ebay-spec-line{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  line-height:1.25!important;
  max-height:2.5em!important;
}
.jumia-product-card .jumia-product-price.ebay-price-block{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:4px 8px!important;
}
.jumia-product-card .jumia-original-price.is-placeholder{visibility:hidden!important}
.jumia-product-card .ebay-promotion-row{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}
.jumia-product-card .ebay-promotion-row.is-empty,
.jumia-product-card .ebay-spec-line.is-empty,
.jumia-product-card .ebay-submeta.is-empty,
.jumia-product-card .ebay-sellerline.is-empty{
  visibility:hidden!important;
  pointer-events:none!important;
}
.jumia-product-card .ps-delivery-price-badge,
.jumia-product-card .ebay-submeta,
.jumia-product-card .ebay-sellerline,
.jumia-product-card .ebay-stockline{
  align-self:center!important;
  margin:0!important;
}
.jumia-product-card .jumia-product-actions.ebay-actions{
  align-self:end!important;
  margin-top:8px!important;
}

@media (max-width:767.98px){
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:28px 50px 36px 44px 28px 38px 30px 28px 32px auto!important;
    min-height:380px!important;
  }
}
@media (max-width:420px){
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:26px 48px 34px 42px 26px 36px 28px 26px 30px auto!important;
    min-height:360px!important;
  }
}

/* Execution Wave 4.0 — Enterprise Vendor Marketplace */
.vendor-discovery-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px auto;gap:12px;padding:14px;border:1px solid #e7ebf3;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(17,31,55,.07)}
.vendor-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.vendor-market-card{overflow:hidden;border:1px solid #e5eaf2;border-radius:22px;background:#fff;box-shadow:0 14px 40px rgba(17,31,55,.08);transition:.22s ease}.vendor-market-card:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(17,31,55,.13)}
.vendor-market-banner{display:block;position:relative;height:138px;background:linear-gradient(135deg,#111d35,#2756a6);background-size:cover;background-position:center}.vendor-verified-badge{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;background:#e8fff3;color:#087443;font-size:12px;font-weight:800}.vendor-market-banner .vendor-verified-badge{position:absolute;top:14px;right:14px}
.vendor-market-body{padding:0 20px 20px}.vendor-market-identity{display:flex;align-items:center;gap:12px;margin-top:-30px;position:relative}.vendor-market-logo,.vendor-store-logo{width:66px;height:66px;border-radius:18px;object-fit:cover;border:4px solid #fff;background:#fff;box-shadow:0 8px 22px rgba(17,31,55,.16)}.vendor-market-logo-fallback{display:flex;align-items:center;justify-content:center;background:#1f4f9f;color:#fff;font-weight:900;font-size:24px}.vendor-market-identity h2{font-size:18px;margin:31px 0 2px}.vendor-market-identity h2 a{color:#15213a}.vendor-market-identity p{font-size:13px;color:#6b7485;margin:0}.vendor-market-description{min-height:54px;margin:18px 0;color:#5d6676;font-size:14px;line-height:1.6}.vendor-market-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}.vendor-market-stats span{padding:10px 6px;border-radius:12px;background:#f7f9fc;text-align:center;color:#697284;font-size:11px}.vendor-market-stats strong{display:block;color:#17233b;font-size:15px}
.vendor-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:34px}.vendor-pagination a,.vendor-pagination span{padding:10px 14px;border:1px solid #e2e7ef;border-radius:12px;background:#fff}
.vendor-store-hero{padding:64px 0;background:linear-gradient(110deg,#0e1b34,#234f97);background-size:cover;background-position:center;color:#fff}.vendor-store-hero-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.vendor-store-profile{display:flex;align-items:center;gap:18px}.vendor-store-logo{width:96px;height:96px;border-radius:24px}.vendor-store-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.vendor-store-title-row h1{color:#fff;margin:0;font-size:38px}.vendor-store-profile p{margin:7px 0;color:rgba(255,255,255,.8)}.vendor-store-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.86)}.vendor-store-actions{display:flex;gap:10px;flex-wrap:wrap}.vendor-store-actions form{margin:0}
.vendor-information-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.vendor-information-grid article{padding:20px;border:1px solid #e6eaf1;border-radius:18px;background:#fff}.vendor-information-grid article>span{display:block;margin-bottom:8px;font-weight:800;color:#15213a}.vendor-information-grid p{margin:0;color:#606a7b;line-height:1.6}.vendor-category-row{display:flex;gap:8px;flex-wrap:wrap}.vendor-category-row span{padding:8px 12px;border-radius:999px;background:#eef4ff;color:#2454a4;font-size:12px;font-weight:700}.vendor-products-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:22px}.vendor-products-heading h2{margin:5px 0 0}.vendor-empty-state{grid-column:1/-1;padding:42px;border:1px dashed #ccd4e2;border-radius:20px;text-align:center;background:#fafbfd}
@media(max-width:991px){.vendor-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vendor-information-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vendor-store-hero-inner{align-items:flex-start;flex-direction:column}.vendor-discovery-toolbar{grid-template-columns:1fr 190px auto}}
@media(max-width:640px){.vendor-directory-grid,.vendor-information-grid{grid-template-columns:1fr}.vendor-discovery-toolbar{grid-template-columns:1fr}.vendor-store-profile{align-items:flex-start}.vendor-store-logo{width:76px;height:76px}.vendor-store-title-row h1{font-size:27px}.vendor-store-meta{gap:9px}.vendor-products-heading{align-items:flex-start;flex-direction:column}.vendor-store-actions{width:100%}.vendor-store-actions .btn,.vendor-store-actions form{flex:1}.vendor-store-actions form .btn{width:100%}}


/* ========================================================================== 
   Execution Wave 4.1 — Catalogue Density & Control Polish
   Tighter commerce rhythm, clearer metadata, stronger pricing, safer controls.
   ========================================================================== */
.jumia-product-card .jumia-product-info.ebay-market-info{
  grid-template-rows:
    32px
    54px
    38px
    44px
    27px
    38px
    29px
    27px
    32px
    auto!important;
  min-height:392px!important;
}
.jumia-product-card .ebay-meta-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  overflow:visible!important;
}
.jumia-product-card .ebay-category{
  max-width:none!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.jumia-product-card .ebay-brand{
  max-width:88px!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.jumia-product-card .jumia-current-price{
  font-size:1.28rem!important;
  line-height:1.05!important;
  font-weight:950!important;
  letter-spacing:-.025em!important;
}
.jumia-product-card .jumia-original-price{
  font-size:.72rem!important;
  opacity:.62!important;
}
.jumia-product-card .ebay-price-block{
  align-content:center!important;
}
.jumia-product-card .ps-price-saving{
  margin:0!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image{
  padding:14px!important;
}
.jumia-product-card .ebay-main-img,
.jumia-product-card .ebay-hover-img{
  object-fit:contain!important;
  object-position:center!important;
  max-width:100%!important;
  max-height:100%!important;
}
.jumia-product-card.ebay-market-card{
  border-color:#e1e9e5!important;
  box-shadow:0 8px 24px rgba(20,50,42,.055)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
@media (hover:hover) and (pointer:fine){
  .jumia-product-card.ebay-market-card:hover{
    border-color:#b8dfcf!important;
    box-shadow:0 16px 38px rgba(11,91,66,.14)!important;
  }
}
/* Keep catalogue arrows attached to their section instead of floating over actions. */
.products-section,
.homepage-v2 .products-section{
  position:relative!important;
}
.products-section .carousel-nav,
.products-section .products-nav,
.products-section .slider-arrow,
.homepage-v2 .carousel-nav,
.homepage-v2 .featured-products-nav{
  position:absolute!important;
  top:42%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
  margin:0!important;
}
.products-section .carousel-nav.prev,
.products-section .products-nav.prev,
.products-section .slider-arrow.prev,
.homepage-v2 .carousel-nav.prev,
.homepage-v2 .featured-products-nav.prev{left:8px!important;right:auto!important}
.products-section .carousel-nav.next,
.products-section .products-nav.next,
.products-section .slider-arrow.next,
.homepage-v2 .carousel-nav.next,
.homepage-v2 .featured-products-nav.next{right:8px!important;left:auto!important}
@media (max-width:767.98px){
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:27px 46px 33px 40px 24px 34px 27px 24px 29px auto!important;
    min-height:342px!important;
  }
  .jumia-product-card .ebay-brand{max-width:64px!important}
  .jumia-product-card .jumia-current-price{font-size:1.02rem!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{padding:10px!important}
  .products-section .carousel-nav,
  .products-section .products-nav,
  .products-section .slider-arrow,
  .homepage-v2 .carousel-nav,
  .homepage-v2 .featured-products-nav{
    width:42px!important;
    height:42px!important;
    top:38%!important;
  }
}

/* ========================================================================== 
   Execution Wave 4.2 — Compact Catalogue Card Engine
   Reduces vertical card length while preserving equal-height alignment.
   ========================================================================== */
.jumia-product-card.ebay-market-card{
  grid-template-rows:178px 1fr!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image{
  height:178px!important;
  min-height:178px!important;
  aspect-ratio:auto!important;
  padding:10px!important;
}
.jumia-product-card .jumia-product-info.ebay-market-info{
  grid-template-rows:26px 44px 30px 38px 22px 32px 24px 22px 28px auto!important;
  min-height:326px!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
}
.jumia-product-card .jumia-product-title.ebay-title{font-size:1rem!important;line-height:1.22!important}
.jumia-product-card .ebay-spec-line{font-size:.76rem!important;line-height:1.2!important}
.jumia-product-card .jumia-current-price{font-size:1.16rem!important}
.jumia-product-card .ps-delivery-price-badge,
.jumia-product-card .ps-new-arrival,
.jumia-product-card .ps-stock-pill,
.jumia-product-card .ps-seller-badge,
.jumia-product-card .ps-condition-badge{min-height:22px!important;padding:3px 7px!important}
.jumia-product-card .jumia-product-actions.ebay-actions{gap:6px!important;margin-top:4px!important;padding-top:2px!important}
.jumia-product-card .jumia-btn.compact-btn{min-height:36px!important;padding:7px 8px!important}
.jumia-product-card .compact-btn-buy{min-height:40px!important}

@media (max-width:767.98px){
  .jumia-product-card.ebay-market-card{grid-template-rows:148px 1fr!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{height:148px!important;min-height:148px!important;padding:8px!important}
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:24px 40px 28px 36px 20px 30px 22px 20px 26px auto!important;
    min-height:298px!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }
  .jumia-product-card .jumia-product-title.ebay-title{font-size:.9rem!important}
  .jumia-product-card .ebay-spec-line{font-size:.7rem!important}
  .jumia-product-card .jumia-current-price{font-size:1rem!important}
  .jumia-product-card .jumia-btn.compact-btn{min-height:34px!important;padding:6px!important}
  .jumia-product-card .compact-btn-buy{min-height:38px!important}
}

@media (max-width:420px){
  .jumia-product-card.ebay-market-card{grid-template-rows:132px 1fr!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{height:132px!important;min-height:132px!important;padding:7px!important}
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:22px 38px 26px 34px 19px 28px 21px 19px 24px auto!important;
    min-height:278px!important;
  }
}

/* ========================================================================== 
   Execution Wave 4.3 — Compact Lower Commerce Stack
   Removes forced card stretching and collapses excess vertical whitespace.
   ========================================================================== */
.products-grid,
.product-grid,
.products-row,
.ps-products-grid,
.products-section .products-grid{
  align-items:start!important;
}
.products-grid > *,
.product-grid > *,
.products-row > *,
.ps-products-grid > *{
  align-self:start!important;
  height:auto!important;
}
.jumia-product-card.ebay-market-card{
  grid-template-rows:164px auto!important;
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image{
  height:164px!important;
  min-height:164px!important;
  padding:8px!important;
}
.jumia-product-card .jumia-product-info.ebay-market-info{
  grid-template-rows:24px 38px 24px 34px 18px 28px 23px 20px 25px auto!important;
  min-height:0!important;
  height:auto!important;
  gap:3px!important;
  padding:10px 12px 11px!important;
  align-content:start!important;
}
.jumia-product-card .jumia-product-title.ebay-title{
  -webkit-line-clamp:2!important;
  line-height:1.16!important;
  max-height:2.32em!important;
}
.jumia-product-card .ebay-spec-line{
  -webkit-line-clamp:1!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  line-height:1.15!important;
  max-height:1.15em!important;
}
.jumia-product-card .jumia-product-price.ebay-price-block{
  min-height:0!important;
  align-self:center!important;
}
.jumia-product-card .ebay-promotion-row,
.jumia-product-card .ps-delivery-price-badge,
.jumia-product-card .ebay-submeta,
.jumia-product-card .ebay-sellerline,
.jumia-product-card .ebay-stockline{
  min-height:0!important;
  height:auto!important;
  align-self:center!important;
}
.jumia-product-card .ps-delivery-price-badge,
.jumia-product-card .ps-new-arrival,
.jumia-product-card .ps-stock-pill,
.jumia-product-card .ps-seller-badge,
.jumia-product-card .ps-condition-badge{
  min-height:20px!important;
  padding:2px 7px!important;
  line-height:1.1!important;
}
.jumia-product-card .jumia-product-actions.ebay-actions{
  margin-top:3px!important;
  gap:5px!important;
  align-self:start!important;
}
.jumia-product-card .jumia-btn.compact-btn{
  min-height:34px!important;
  padding:6px 8px!important;
}
.jumia-product-card .compact-btn-buy{
  min-height:38px!important;
}

@media (max-width:767.98px){
  .jumia-product-card.ebay-market-card{grid-template-rows:142px auto!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{height:142px!important;min-height:142px!important;padding:7px!important}
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:22px 36px 22px 32px 17px 26px 21px 18px 23px auto!important;
    min-height:0!important;
    height:auto!important;
    gap:2px!important;
    padding:8px 9px 9px!important;
  }
  .jumia-product-card .jumia-btn.compact-btn{min-height:32px!important;padding:5px 6px!important}
  .jumia-product-card .compact-btn-buy{min-height:36px!important}
}
@media (max-width:420px){
  .jumia-product-card.ebay-market-card{grid-template-rows:126px auto!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{height:126px!important;min-height:126px!important;padding:6px!important}
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:21px 34px 21px 30px 16px 24px 20px 17px 22px auto!important;
    min-height:0!important;
    height:auto!important;
  }
}

/* ========================================================================== 
   Execution Wave 4.4 — Final Catalogue Polish
   Final compact refinements before freezing the marketplace card UI.
   ========================================================================== */
.jumia-product-card.ebay-market-card{
  grid-template-rows:152px auto!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image{
  height:152px!important;
  min-height:152px!important;
  padding:7px!important;
}
.jumia-product-card .jumia-product-info.ebay-market-info{
  grid-template-rows:24px 35px 22px 32px 18px 27px 22px 19px 24px auto!important;
  gap:2px!important;
  padding:9px 12px 10px!important;
}
.jumia-product-card .jumia-product-title.ebay-title{
  margin-bottom:0!important;
  line-height:1.12!important;
  max-height:2.24em!important;
}
.jumia-product-card .ebay-spec-line{
  margin-top:-1px!important;
  font-size:.74rem!important;
  color:#6f7e78!important;
}
.jumia-product-card .jumia-original-price{
  color:#aab4b0!important;
  font-size:.72rem!important;
  font-weight:650!important;
}
.jumia-product-card .ebay-price-block{
  display:flex!important;
  align-items:baseline!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
}
.jumia-product-card .ebay-promotion-row{
  display:flex!important;
  align-items:center!important;
}
.jumia-product-card .ebay-meta-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:7px!important;
  align-items:center!important;
}
.jumia-product-card .ebay-category{
  min-width:0!important;
  max-width:none!important;
  width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.jumia-product-card .ebay-brand{
  max-width:78px!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
/* Smaller, quieter floating controls so product actions remain dominant. */
.carousel-nav,
.products-nav,
.slider-arrow,
.featured-products-nav,
.ps-back-to-top{
  width:46px!important;
  height:46px!important;
  opacity:.82!important;
  transition:opacity .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
.carousel-nav:hover,
.products-nav:hover,
.slider-arrow:hover,
.featured-products-nav:hover,
.ps-back-to-top:hover{
  opacity:1!important;
  transform:translateY(-1px) scale(1.03)!important;
}
.products-section .carousel-nav,
.products-section .products-nav,
.products-section .slider-arrow,
.homepage-v2 .carousel-nav,
.homepage-v2 .featured-products-nav{
  top:40%!important;
}

@media (max-width:767.98px){
  .jumia-product-card.ebay-market-card{grid-template-rows:134px auto!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{
    height:134px!important;
    min-height:134px!important;
    padding:6px!important;
  }
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:21px 33px 20px 30px 16px 24px 20px 17px 22px auto!important;
    gap:2px!important;
    padding:8px 9px 9px!important;
  }
  .jumia-product-card .ebay-brand{max-width:58px!important}
  .carousel-nav,
  .products-nav,
  .slider-arrow,
  .featured-products-nav,
  .ps-back-to-top{
    width:39px!important;
    height:39px!important;
  }
}
@media (max-width:420px){
  .jumia-product-card.ebay-market-card{grid-template-rows:120px auto!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{
    height:120px!important;
    min-height:120px!important;
    padding:5px!important;
  }
  .jumia-product-card .jumia-product-info.ebay-market-info{
    grid-template-rows:20px 31px 19px 28px 15px 23px 19px 16px 21px auto!important;
  }
}

/* ========================================================================== 
   Execution Wave 4.5 — Balanced Compact Commerce Card
   Restores comfortable product imagery while compressing the content stack.
   ========================================================================== */
.jumia-product-card.ebay-market-card{
  grid-template-rows:175px auto!important;
  height:auto!important;
  overflow:hidden!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image{
  height:175px!important;
  min-height:175px!important;
  padding:11px!important;
  z-index:1!important;
}
.jumia-product-card .jumia-product-info.ebay-market-info{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  height:auto!important;
  min-height:326px!important;
  padding:12px 12px 11px!important;
  position:relative!important;
  z-index:2!important;
  background:#fff!important;
  overflow:visible!important;
}
.jumia-product-card .ebay-meta-top{
  flex:0 0 25px!important;
  min-height:25px!important;
  margin:0!important;
}
.jumia-product-card .jumia-product-title.ebay-title{
  flex:0 0 auto!important;
  min-height:36px!important;
  margin:0!important;
  line-height:1.12!important;
}
.jumia-product-card .ebay-spec-line{
  flex:0 0 20px!important;
  min-height:20px!important;
  margin:0!important;
  line-height:20px!important;
}
.jumia-product-card .jumia-product-price.ebay-price-block{
  flex:0 0 34px!important;
  min-height:34px!important;
  margin:2px 0 0!important;
}
.jumia-product-card .ebay-promotion-row,
.jumia-product-card .ebay-submeta,
.jumia-product-card .ebay-sellerline{
  flex:0 0 auto!important;
  min-height:0!important;
  margin:0!important;
}
.jumia-product-card .ebay-promotion-row.is-empty,
.jumia-product-card .ebay-submeta.is-empty,
.jumia-product-card .ebay-sellerline.is-empty{
  display:none!important;
  visibility:hidden!important;
}
.jumia-product-card .ps-delivery-price-badge{
  flex:0 0 auto!important;
  min-height:24px!important;
  margin:1px 0 0!important;
  padding:3px 8px!important;
}
.jumia-product-card .ebay-submeta{
  min-height:24px!important;
}
.jumia-product-card .ebay-stockline{
  flex:0 0 25px!important;
  min-height:25px!important;
  margin-top:auto!important;
}
.jumia-product-card .jumia-product-actions.ebay-actions{
  flex:0 0 auto!important;
  margin:2px 0 0!important;
  align-self:stretch!important;
}
.jumia-product-card .ebay-category,
.jumia-product-card .ebay-brand{
  position:relative!important;
  z-index:3!important;
}

@media (max-width:767.98px){
  .jumia-product-card.ebay-market-card{grid-template-rows:156px auto!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{height:156px!important;min-height:156px!important;padding:9px!important}
  .jumia-product-card .jumia-product-info.ebay-market-info{min-height:304px!important;padding:10px 10px 10px!important;gap:5px!important}
  .jumia-product-card .jumia-product-title.ebay-title{min-height:34px!important}
}
@media (max-width:420px){
  .jumia-product-card.ebay-market-card{grid-template-rows:138px auto!important}
  .jumia-product-card .jumia-product-image.ebay-market-image{height:138px!important;min-height:138px!important;padding:8px!important}
  .jumia-product-card .jumia-product-info.ebay-market-info{min-height:292px!important;padding:9px!important;gap:4px!important}
}

/* ========================================================================== 
   Execution Wave 4.6 — Locked Catalogue Micro Polish
   Final spacing, metadata balance, image normalization, and quieter controls.
   ========================================================================== */
.jumia-product-card .jumia-product-info.ebay-market-info{
  gap:3px!important;
  min-height:304px!important;
  padding:10px 12px 10px!important;
}
.jumia-product-card .ebay-meta-top{
  display:grid!important;
  grid-template-columns:minmax(0,70%) minmax(0,30%)!important;
  gap:6px!important;
  min-height:24px!important;
  flex-basis:24px!important;
}
.jumia-product-card .ebay-category,
.jumia-product-card .ebay-brand{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.jumia-product-card .ebay-brand{
  justify-self:end!important;
  text-align:right!important;
}
.jumia-product-card .jumia-product-title.ebay-title{
  min-height:34px!important;
}
.jumia-product-card .ebay-spec-line{
  min-height:18px!important;
  flex-basis:18px!important;
  line-height:18px!important;
}
.jumia-product-card .jumia-product-price.ebay-price-block{
  min-height:31px!important;
  flex-basis:31px!important;
  margin-top:0!important;
}
.jumia-product-card .ps-delivery-price-badge{
  min-height:22px!important;
  padding:2px 7px!important;
  margin-top:0!important;
}
.jumia-product-card .ebay-submeta{
  min-height:21px!important;
}
.jumia-product-card .ebay-stockline{
  min-height:23px!important;
  flex-basis:23px!important;
}
.jumia-product-card .jumia-product-actions.ebay-actions{
  margin-top:0!important;
}
/* Normalize differently cropped catalogue images inside one stable visual canvas. */
.jumia-product-card .jumia-product-image.ebay-market-image .ebay-image-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  padding:8px!important;
  overflow:hidden!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image img.ebay-main-img,
.jumia-product-card .jumia-product-image.ebay-market-image img.ebay-hover-img{
  width:100%!important;
  height:100%!important;
  max-width:92%!important;
  max-height:92%!important;
  object-fit:contain!important;
  object-position:center!important;
}
/* Quieter floating helpers: visible, accessible, but subordinate to commerce actions. */
.carousel-nav,
.products-nav,
.slider-arrow,
.featured-products-nav,
.ps-back-to-top{
  width:40px!important;
  height:40px!important;
  opacity:.68!important;
  box-shadow:0 8px 22px rgba(5,34,70,.18)!important;
}
.carousel-nav:hover,
.carousel-nav:focus-visible,
.products-nav:hover,
.products-nav:focus-visible,
.slider-arrow:hover,
.slider-arrow:focus-visible,
.featured-products-nav:hover,
.featured-products-nav:focus-visible,
.ps-back-to-top:hover,
.ps-back-to-top:focus-visible{
  opacity:1!important;
}

@media (max-width:767.98px){
  .jumia-product-card .jumia-product-info.ebay-market-info{
    min-height:286px!important;
    gap:3px!important;
    padding:9px!important;
  }
  .jumia-product-card .ebay-meta-top{
    grid-template-columns:minmax(0,72%) minmax(0,28%)!important;
    gap:4px!important;
  }
  .carousel-nav,
  .products-nav,
  .slider-arrow,
  .featured-products-nav,
  .ps-back-to-top{
    width:36px!important;
    height:36px!important;
  }
}
@media (max-width:420px){
  .jumia-product-card .jumia-product-info.ebay-market-info{
    min-height:274px!important;
    gap:2px!important;
    padding:8px!important;
  }
}

/* ========================================================================== 
   Execution Wave 5.1 — Stable Product Card Recovery
   Clean flex architecture rebuilt from Wave 4.6. No overlap, no disappearing controls.
   ========================================================================== */
.product-grid,
.products-grid,
.jumia-products-grid,
.ebay-products-grid,
.featured-products-grid{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}
.jumia-product-card.ebay-market-card{
  display:flex!important;
  flex-direction:column!important;
  height:560px!important;
  min-height:560px!important;
  max-height:560px!important;
  overflow:hidden!important;
}
.jumia-product-card .jumia-product-image.ebay-market-image{
  flex:0 0 175px!important;
  height:175px!important;
  min-height:175px!important;
  max-height:175px!important;
}
.jumia-product-card .jumia-product-info.ebay-market-info{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  height:auto!important;
  min-height:0!important;
  padding:10px 12px 12px!important;
  gap:0!important;
  overflow:hidden!important;
}
.jumia-product-card .ps-card-main{
  display:grid!important;
  grid-template-rows:26px 44px 22px 40px!important;
  gap:4px!important;
  flex:0 0 144px!important;
  min-height:144px!important;
  max-height:144px!important;
  overflow:hidden!important;
}
.jumia-product-card .ps-card-commerce{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-height:0!important;
  margin-top:auto!important;
  padding-top:4px!important;
  gap:4px!important;
  overflow:visible!important;
}
.jumia-product-card .ebay-meta-top,
.jumia-product-card .jumia-product-title.ebay-title,
.jumia-product-card .ebay-spec-line,
.jumia-product-card .jumia-product-price.ebay-price-block,
.jumia-product-card .ps-card-promo-slot,
.jumia-product-card .ps-delivery-price-badge,
.jumia-product-card .ps-card-activity-slot,
.jumia-product-card .ebay-stockline,
.jumia-product-card .jumia-product-actions.ebay-actions{
  margin:0!important;
  min-height:0!important;
}
.jumia-product-card .ps-card-promo-slot,
.jumia-product-card .ps-card-activity-slot{
  display:flex!important;
  align-items:center!important;
  flex:0 0 22px!important;
  height:22px!important;
  overflow:hidden!important;
}
.jumia-product-card .ps-card-promo-slot.is-empty,
.jumia-product-card .ps-card-activity-slot.is-empty{visibility:hidden!important;}
.jumia-product-card .ps-delivery-price-badge{
  display:flex!important;
  align-items:center!important;
  flex:0 0 30px!important;
  height:30px!important;
  width:100%!important;
  padding:3px 8px!important;
}
.jumia-product-card .ebay-stockline{
  display:flex!important;
  align-items:center!important;
  flex:0 0 28px!important;
  height:28px!important;
}
.jumia-product-card .jumia-product-actions.ebay-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  grid-template-rows:42px 44px!important;
  gap:5px!important;
  flex:0 0 91px!important;
  height:91px!important;
  margin-top:auto!important;
  overflow:visible!important;
}
.jumia-product-card .jumia-product-actions.ebay-actions .compact-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  height:42px!important;
  visibility:visible!important;
  opacity:1!important;
}
.jumia-product-card .jumia-product-actions.ebay-actions .compact-btn-buy{
  grid-column:1 / -1!important;
  min-height:44px!important;
  height:44px!important;
}
.jumia-product-card .ebay-spec-line{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:22px!important;
}
.jumia-product-card .jumia-product-title.ebay-title{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  line-height:1.2!important;
}
@media (max-width:767.98px){
  .jumia-product-card.ebay-market-card{height:520px!important;min-height:520px!important;max-height:520px!important;}
  .jumia-product-card .jumia-product-image.ebay-market-image{flex-basis:154px!important;height:154px!important;min-height:154px!important;max-height:154px!important;}
  .jumia-product-card .jumia-product-info.ebay-market-info{padding:8px 9px 9px!important;}
  .jumia-product-card .ps-card-main{grid-template-rows:23px 40px 20px 36px!important;gap:3px!important;flex-basis:128px!important;min-height:128px!important;max-height:128px!important;}
  .jumia-product-card .jumia-product-actions.ebay-actions{grid-template-rows:39px 41px!important;flex-basis:85px!important;height:85px!important;}
  .jumia-product-card .jumia-product-actions.ebay-actions .compact-btn{min-height:39px!important;height:39px!important;}
  .jumia-product-card .jumia-product-actions.ebay-actions .compact-btn-buy{min-height:41px!important;height:41px!important;}
}
@media (max-width:420px){
  .jumia-product-card.ebay-market-card{height:490px!important;min-height:490px!important;max-height:490px!important;}
  .jumia-product-card .jumia-product-image.ebay-market-image{flex-basis:138px!important;height:138px!important;min-height:138px!important;max-height:138px!important;}
  .jumia-product-card .ps-card-main{grid-template-rows:22px 36px 19px 34px!important;flex-basis:120px!important;min-height:120px!important;max-height:120px!important;}
}

/* ========================================================================== 
   Payslashes Product Card Final Recovery — 2026-07-25
   Definitive override after legacy Wave grid rules. Keeps content visible and
   locks every commerce action to a consistent position without overlap.
   ========================================================================== */
.product-grid,
.products-grid,
.jumia-products-grid,
.ebay-products-grid,
.featured-products-grid,
.products-row,
.ps-products-grid{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}

.jumia-product-card.ebay-market-card{
  display:flex!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
  height:558px!important;
  min-height:558px!important;
  max-height:558px!important;
  overflow:hidden!important;
}

.jumia-product-card .jumia-product-image.ebay-market-image{
  position:relative!important;
  display:block!important;
  flex:0 0 175px!important;
  width:100%!important;
  height:175px!important;
  min-height:175px!important;
  max-height:175px!important;
  padding:0!important;
  padding-top:0!important;
  overflow:hidden!important;
}

.jumia-product-card .jumia-product-image.ebay-market-image .ebay-image-link{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  height:auto!important;
  padding:12px!important;
  overflow:hidden!important;
}

.jumia-product-card .jumia-product-image.ebay-market-image img.ebay-main-img,
.jumia-product-card .jumia-product-image.ebay-market-image img.ebay-hover-img{
  position:absolute!important;
  inset:12px!important;
  width:calc(100% - 24px)!important;
  height:calc(100% - 24px)!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
}

.jumia-product-card .jumia-product-info.ebay-market-info{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:10px 12px 12px!important;
  gap:0!important;
  overflow:hidden!important;
  background:#fff!important;
}

/* Neutralize every legacy named-grid placement that previously moved content
   into implicit rows and created the large blank middle section. */
.jumia-product-card .ps-card-main,
.jumia-product-card .ps-card-commerce,
.jumia-product-card .ps-card-main > *,
.jumia-product-card .ps-card-commerce > *{
  grid-area:auto!important;
  grid-row:auto!important;
  grid-column:auto!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
}

.jumia-product-card .ps-card-main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-areas:none!important;
  grid-template-rows:24px 42px 20px 38px!important;
  align-content:start!important;
  flex:0 0 136px!important;
  width:100%!important;
  height:136px!important;
  min-height:136px!important;
  max-height:136px!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .ps-card-main > *{
  display:flex!important;
  min-width:0!important;
  margin:0!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .ebay-meta-top{
  display:grid!important;
  grid-template-columns:minmax(0,70%) minmax(0,30%)!important;
  align-items:center!important;
  width:100%!important;
  height:24px!important;
  min-height:24px!important;
  gap:6px!important;
  overflow:hidden!important;
}

.jumia-product-card .jumia-product-title.ebay-title{
  display:-webkit-box!important;
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  font-size:.96rem!important;
  line-height:1.28!important;
  font-weight:850!important;
}

.jumia-product-card .jumia-product-title.ebay-title a{
  display:block!important;
  color:var(--ps-v4-ink,#14221c)!important;
}

.jumia-product-card .ebay-spec-line{
  display:block!important;
  width:100%!important;
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:20px!important;
  color:#6f7e78!important;
  font-size:.74rem!important;
}

.jumia-product-card .jumia-product-price.ebay-price-block{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  gap:7px!important;
  overflow:hidden!important;
}

.jumia-product-card .ps-card-commerce{
  display:flex!important;
  flex:0 0 222px!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:222px!important;
  min-height:222px!important;
  max-height:222px!important;
  margin-top:auto!important;
  padding:4px 0 0!important;
  gap:4px!important;
  overflow:hidden!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .ps-card-promo-slot,
.jumia-product-card .ps-card-activity-slot{
  display:flex!important;
  align-items:center!important;
  flex:0 0 22px!important;
  width:100%!important;
  height:22px!important;
  min-height:22px!important;
  max-height:22px!important;
  margin:0!important;
  overflow:hidden!important;
}

.jumia-product-card .ps-card-promo-slot.is-empty,
.jumia-product-card .ps-card-activity-slot.is-empty{
  display:flex!important;
  visibility:hidden!important;
}

.jumia-product-card .ps-delivery-price-badge{
  display:flex!important;
  align-items:center!important;
  flex:0 0 30px!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:3px 8px!important;
}

.jumia-product-card .ebay-stockline{
  display:flex!important;
  align-items:center!important;
  flex:0 0 28px!important;
  width:100%!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  margin:0!important;
  overflow:hidden!important;
}

.jumia-product-card .jumia-product-actions.ebay-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:42px 44px!important;
  flex:0 0 91px!important;
  width:100%!important;
  height:91px!important;
  min-height:91px!important;
  max-height:91px!important;
  margin-top:auto!important;
  padding:0!important;
  gap:5px!important;
  overflow:visible!important;
}

.jumia-product-card .jumia-product-actions.ebay-actions .compact-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .jumia-product-actions.ebay-actions .compact-btn-buy{
  grid-column:1 / -1!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
}

@media (max-width:767.98px){
  .jumia-product-card.ebay-market-card{
    height:516px!important;
    min-height:516px!important;
    max-height:516px!important;
  }
  .jumia-product-card .jumia-product-image.ebay-market-image{
    flex-basis:152px!important;
    height:152px!important;
    min-height:152px!important;
    max-height:152px!important;
  }
  .jumia-product-card .ps-card-main{
    grid-template-rows:22px 38px 19px 34px!important;
    flex-basis:125px!important;
    height:125px!important;
    min-height:125px!important;
    max-height:125px!important;
    gap:4px!important;
  }
  .jumia-product-card .ps-card-commerce{
    flex-basis:214px!important;
    height:214px!important;
    min-height:214px!important;
    max-height:214px!important;
  }
  .jumia-product-card .jumia-product-actions.ebay-actions{
    grid-template-rows:39px 41px!important;
    flex-basis:85px!important;
    height:85px!important;
    min-height:85px!important;
    max-height:85px!important;
  }
  .jumia-product-card .jumia-product-actions.ebay-actions .compact-btn{
    height:39px!important;
    min-height:39px!important;
    max-height:39px!important;
  }
  .jumia-product-card .jumia-product-actions.ebay-actions .compact-btn-buy{
    height:41px!important;
    min-height:41px!important;
    max-height:41px!important;
  }
}

@media (max-width:420px){
  .jumia-product-card.ebay-market-card{
    height:488px!important;
    min-height:488px!important;
    max-height:488px!important;
  }
  .jumia-product-card .jumia-product-image.ebay-market-image{
    flex-basis:136px!important;
    height:136px!important;
    min-height:136px!important;
    max-height:136px!important;
  }
  .jumia-product-card .jumia-product-info.ebay-market-info{
    padding:8px 9px 9px!important;
  }
  .jumia-product-card .ps-card-main{
    grid-template-rows:21px 36px 18px 32px!important;
    flex-basis:119px!important;
    height:119px!important;
    min-height:119px!important;
    max-height:119px!important;
  }
  .jumia-product-card .ps-card-commerce{
    flex-basis:207px!important;
    height:207px!important;
    min-height:207px!important;
    max-height:207px!important;
  }
}

/* ========================================================================== 
   PAYSLASHES PRODUCT CARD STABILIZATION REFACTOR — 2026-07-25
   Single authoritative layout. This deliberately overrides all experimental
   card grids added in earlier waves and keeps product information visible.
   ========================================================================== */
.product-grid,
.products-grid,
.jumia-products-grid,
.ebay-products-grid,
.featured-products-grid,
.products-row,
.ps-products-grid{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}

.jumia-product-card.ebay-market-card{
  display:flex!important;
  flex-direction:column!important;
  height:548px!important;
  min-height:548px!important;
  max-height:548px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

.jumia-product-card .jumia-product-image.ebay-market-image{
  position:relative!important;
  flex:0 0 175px!important;
  height:175px!important;
  min-height:175px!important;
  max-height:175px!important;
  overflow:hidden!important;
}

.jumia-product-card .jumia-product-info.ebay-market-info{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-height:0!important;
  padding:10px 12px 12px!important;
  overflow:hidden!important;
  background:#fff!important;
}

.jumia-product-card .ps-card-main{
  display:flex!important;
  flex:0 0 142px!important;
  flex-direction:column!important;
  width:100%!important;
  height:142px!important;
  min-height:142px!important;
  max-height:142px!important;
  gap:4px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .ps-card-main > *{
  position:static!important;
  grid-area:auto!important;
  grid-row:auto!important;
  grid-column:auto!important;
  transform:none!important;
  visibility:visible!important;
  opacity:1!important;
  min-width:0!important;
}

.jumia-product-card .ebay-meta-top{
  display:grid!important;
  grid-template-columns:minmax(0,72%) minmax(0,28%)!important;
  align-items:center!important;
  flex:0 0 25px!important;
  width:100%!important;
  height:25px!important;
  min-height:25px!important;
  max-height:25px!important;
  gap:6px!important;
  overflow:hidden!important;
}

.jumia-product-card .ebay-category,
.jumia-product-card .ebay-brand{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.jumia-product-card .jumia-product-title.ebay-title{
  display:-webkit-box!important;
  flex:0 0 42px!important;
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  font-size:.96rem!important;
  line-height:1.28!important;
  font-weight:850!important;
}

.jumia-product-card .jumia-product-title.ebay-title a{
  display:block!important;
  color:var(--ps-v4-ink,#14221c)!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .ebay-spec-line{
  display:block!important;
  flex:0 0 20px!important;
  width:100%!important;
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  line-height:20px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:#6f7e78!important;
  font-size:.76rem!important;
}

.jumia-product-card .jumia-product-price.ebay-price-block{
  display:flex!important;
  align-items:center!important;
  flex:0 0 39px!important;
  width:100%!important;
  height:39px!important;
  min-height:39px!important;
  max-height:39px!important;
  margin:0!important;
  gap:7px!important;
  overflow:hidden!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .jumia-current-price{
  display:inline-block!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .ps-card-commerce{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  width:100%!important;
  min-height:0!important;
  margin-top:0!important;
  padding-top:3px!important;
  gap:4px!important;
  overflow:hidden!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .ps-card-commerce > *{
  position:static!important;
  grid-area:auto!important;
  grid-row:auto!important;
  grid-column:auto!important;
  transform:none!important;
}

.jumia-product-card .ps-card-promo-slot,
.jumia-product-card .ps-card-activity-slot{
  display:flex!important;
  align-items:center!important;
  flex:0 0 22px!important;
  height:22px!important;
  min-height:22px!important;
  max-height:22px!important;
  margin:0!important;
  overflow:hidden!important;
}

.jumia-product-card .ps-card-promo-slot.is-empty,
.jumia-product-card .ps-card-activity-slot.is-empty{
  display:flex!important;
  visibility:hidden!important;
}

.jumia-product-card .ps-delivery-price-badge{
  display:flex!important;
  align-items:center!important;
  flex:0 0 30px!important;
  width:100%!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:3px 8px!important;
  box-sizing:border-box!important;
}

.jumia-product-card .ebay-stockline{
  display:flex!important;
  align-items:center!important;
  flex:0 0 28px!important;
  width:100%!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  margin:0!important;
  overflow:hidden!important;
}

.jumia-product-card .jumia-product-actions.ebay-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:42px 44px!important;
  flex:0 0 91px!important;
  width:100%!important;
  height:91px!important;
  min-height:91px!important;
  max-height:91px!important;
  margin-top:auto!important;
  gap:5px!important;
  overflow:visible!important;
}

.jumia-product-card .jumia-product-actions.ebay-actions .compact-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  box-sizing:border-box!important;
  visibility:visible!important;
  opacity:1!important;
}

.jumia-product-card .jumia-product-actions.ebay-actions .compact-btn-buy{
  grid-column:1 / -1!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
}

@media (max-width:767.98px){
  .jumia-product-card.ebay-market-card{
    height:508px!important;
    min-height:508px!important;
    max-height:508px!important;
  }
  .jumia-product-card .jumia-product-image.ebay-market-image{
    flex-basis:150px!important;
    height:150px!important;
    min-height:150px!important;
    max-height:150px!important;
  }
  .jumia-product-card .ps-card-main{
    flex-basis:128px!important;
    height:128px!important;
    min-height:128px!important;
    max-height:128px!important;
  }
  .jumia-product-card .jumia-product-title.ebay-title{
    flex-basis:38px!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    font-size:.88rem!important;
  }
  .jumia-product-card .jumia-product-price.ebay-price-block{
    flex-basis:35px!important;
    height:35px!important;
    min-height:35px!important;
    max-height:35px!important;
  }
  .jumia-product-card .jumia-product-actions.ebay-actions{
    grid-template-rows:39px 41px!important;
    flex-basis:85px!important;
    height:85px!important;
    min-height:85px!important;
    max-height:85px!important;
  }
  .jumia-product-card .jumia-product-actions.ebay-actions .compact-btn{
    height:39px!important;
    min-height:39px!important;
    max-height:39px!important;
  }
  .jumia-product-card .jumia-product-actions.ebay-actions .compact-btn-buy{
    height:41px!important;
    min-height:41px!important;
    max-height:41px!important;
  }
}

@media (max-width:420px){
  .jumia-product-card.ebay-market-card{
    height:482px!important;
    min-height:482px!important;
    max-height:482px!important;
  }
  .jumia-product-card .jumia-product-image.ebay-market-image{
    flex-basis:134px!important;
    height:134px!important;
    min-height:134px!important;
    max-height:134px!important;
  }
  .jumia-product-card .jumia-product-info.ebay-market-info{
    padding:8px 9px 9px!important;
  }
  .jumia-product-card .ps-card-main{
    flex-basis:122px!important;
    height:122px!important;
    min-height:122px!important;
    max-height:122px!important;
  }
}
