/**
 * EasySale marketplace — dense product grid & storefront UI
 * Mobile: 4 cols | lg: 8 cols | xl: 10 cols
 */

/* EasySale — charte bleu & orange (contraste élevé, surfaces claires) */
.es-no-scrollbar::-webkit-scrollbar {
    display: none;
}
.es-no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.bg-black { background-color: #000 !important; }
.bg-orange { background-color: #fb7701 !important; }

.hover-orange:hover {
    color: #fb7701 !important;
}

/* Header & Promo Bar */
.es-promo-bar {
    z-index: 1050;
    position: relative;
}

.es-promo-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: es-ticker 15s linear infinite;
}

@keyframes es-ticker {
    0% { transform: translateX(20%); }
    100% { transform: translateX(-100%); }
}

.es-main-header {
    z-index: 1040;
    transition: all 0.3s ease;
}

.es-search-wrap-new .form-control:focus {
    background-color: #fff !important;
}

.es-search-wrap-new .input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(251, 119, 1, 0.1);
}

/* Circular Categories */
.es-cat-img-box:hover {
    transform: scale(1.05);
}

.es-cat-circle-item:hover .es-cat-img-box {
    border-color: #fb7701 !important;
}

.es-cat-circle-item:hover span {
    color: #fb7701 !important;
}

/* Filter Pills */
.es-filter-pills .btn {
    transition: all 0.2s;
    white-space: nowrap;
}

.es-filter-pills .btn:hover {
    border-color: #fb7701 !important;
    color: #fb7701 !important;
}

.es-filter-pills .btn.active {
    background-color: #222 !important;
    color: #fff !important;
    border-color: #222 !important;
}

/* Product Card Improvements */
.es-product-card {
    border: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.es-product-card__media {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.es-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.es-product-card:hover .es-product-card__media img {
    transform: scale(1.05);
}

.es-product-card__body {
    padding: 12px !important;
}

/* Sidebar Styling */
.es-sticky-sidebar-new .card {
    border-radius: 1.5rem !important;
}

.es-sticky-sidebar-new .btn-orange:hover {
    background-color: #e06a00 !important;
    transform: translateY(-2px);
}

@keyframes es-cm-mesh {
  0% {
    background-position: 0% 40%;
  }
  100% {
    background-position: 100% 60%;
  }
}

@keyframes es-cm-card-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.easysale-market,
.easysale-shop-shell {
  /* TEMU INSPIRED THEME */
  --es-accent: #fb7701; /* Temu Orange */
  --es-accent-hover: #e06a00;
  --es-text: #222222;
  --es-muted: #757575;
  --es-bg-gray: #f6f6f6;
  --es-border: #eeeeee;
  --es-radius: 8px;
  --es-radius-sm: 4px;
  --es-shadow: 0 2px 10px rgba(0,0,0,0.05);
  
  font-family: var(--ecm-font-body);
  color: var(--es-text);
  background: #ffffff;
  min-height: 100%;
  position: relative;
}

/* Override existing background animation for a cleaner Temu look */
.easysale-market {
    background: #f6f6f6 !important;
    animation: none !important;
}

.es-aurora, .es-shape-field {
    display: none !important;
}

/* Header Styling */
.es-topbar {
    background: #ffffff !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #eeeeee !important;
    padding: 12px 20px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.es-brand-mark {
    background: var(--es-accent) !important;
    box-shadow: none !important;
    border-radius: 6px !important;
}

.es-brand-title {
    color: var(--es-text);
    font-size: 1.5rem;
}

/* Search Bar Temu Style */
.es-filter-bar {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
}

.es-filter-search-pill {
    background: #f6f6f6 !important;
    border: 2px solid var(--es-accent) !important;
    border-radius: 25px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.es-filter-search-input {
    background: transparent !important;
    border: none !important;
    padding: 10px !important;
    font-size: 0.95rem !important;
}

.es-btn-primary {
    background: var(--es-accent) !important;
    border-radius: 20px !important;
    padding: 8px 24px !important;
    font-weight: 700 !important;
}

/* Product Card Temu Style */
.es-product-card {
    background: #ffffff !important;
    border-radius: var(--es-radius) !important;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    border: 1px solid #f0f0f0 !important;
}

.es-product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transform: none !important;
}

.es-product-card__body {
    padding: 10px !important;
}

.es-product-card__title {
    font-size: 0.85rem !important;
    color: #222 !important;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 5px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
}

.es-product-card__price {
    color: var(--es-accent) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.es-price-old {
    color: #999 !important;
    font-size: 0.85rem !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
}

/* Sold count & Ratings */
.es-product-card__sold {
    font-size: 0.75rem;
    color: #757575;
    margin-top: 4px;
}

.es-product-card__rating {
    font-size: 0.7rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 2px;
}

.es-product-card__rating i {
    color: #222;
}

/* Lightning Deals Banner */
.es-lightning-deal {
    background: #fff0e5;
    color: var(--es-accent);
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

/* Grid density */
.easysale-product-grid {
    gap: 12px !important;
    padding: 15px !important;
}

@media (min-width: 1200px) {
    .easysale-product-grid {
        grid-template-columns: repeat(6, 1fr) !important;
    }
}

/* Category icons horizontal scroll */
.es-quick-cats {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
}

.es-quick-cat-pill {
    background: transparent !important;
    border: none !important;
    font-size: 0.85rem !important;
    color: #222 !important;
    flex-direction: column;
    gap: 8px;
}

.es-quick-cat-pill.is-active {
    color: var(--es-accent) !important;
    font-weight: 700 !important;
}

.es-quick-cat-pill__icon {
    width: 50px;
    height: 50px;
    background: #f6f6f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.is-active .es-quick-cat-pill__icon {
    background: #fff0e5;
}

/* PDP Styles Temu */
.es-pdp-article {
    background: #ffffff;
    border-radius: 0 !important;
}

.es-pdp-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #222 !important;
}

.es-pd-price {
    color: var(--es-accent) !important;
    font-size: 2rem !important;
}

.es-pd-price-old {
    font-size: 1rem !important;
    color: #999 !important;
}

.es-pdp-meta-bar {
    background: #f6f6f6 !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    border: none !important;
}

.es-pdp-badge {
    background: transparent !important;
    color: #222 !important;
    font-weight: 600 !important;
}

.es-pdp-badge i {
    color: var(--es-accent) !important;
}

.es-btn-primary.es-pdp-cta-buy {
    background: var(--es-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 15px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

.es-sticky-cta {
    background: #ffffff !important;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05) !important;
    padding: 10px 20px !important;
    border-top: 1px solid #eeeeee !important;
}

.es-sticky-cta .es-btn-primary {
    border-radius: 25px !important;
    font-size: 1rem !important;
}

/* Trust list on PDP */
.es-pdp-trust-list {
    list-style: none;
    padding: 0;
}

.es-pdp-trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #222;
    margin-bottom: 8px;
}

.es-pdp-trust-list li i {
    color: #10b981;
}

@keyframes es-aurora-drift {
  0% {
    transform: translate(0, 0) scale(1);
    filter: hue-rotate(0deg);
  }
  100% {
    transform: translate(2%, 3%) scale(1.03);
    filter: hue-rotate(12deg);
  }
}

/* Formes décoratives flottantes (marketplace) */
.es-shape-field {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.es-shape-field span {
  position: absolute;
  opacity: 0.35;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.es-shape-field span:nth-child(1) {
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
  top: 8%;
  right: 4%;
  background: linear-gradient(135deg, var(--es-accent), transparent 65%);
  border-radius: 38% 62% 70% 30% / 40% 45% 55% 60%;
  animation-name: es-blob-morph-a;
  animation-duration: 14s;
}

.es-shape-field span:nth-child(2) {
  width: clamp(80px, 12vw, 140px);
  height: clamp(80px, 12vw, 140px);
  bottom: 18%;
  left: 2%;
  background: linear-gradient(205deg, var(--es-mint), transparent 70%);
  border-radius: 58% 42% 35% 65% / 52% 38% 62% 48%;
  animation-name: es-blob-morph-b;
  animation-duration: 18s;
}

.es-shape-field span:nth-child(3) {
  width: clamp(48px, 8vw, 90px);
  height: clamp(48px, 8vw, 90px);
  top: 42%;
  left: 12%;
  border: 2px solid rgba(255, 107, 53, 0.25);
  border-radius: 30% 70% 65% 35% / 45% 35% 65% 55%;
  animation-name: es-ring-spin;
  animation-duration: 22s;
}

@keyframes es-blob-morph-a {
  0% {
    border-radius: 38% 62% 70% 30% / 40% 45% 55% 60%;
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    border-radius: 62% 38% 32% 68% / 55% 48% 52% 45%;
    transform: translate(-12px, 16px) rotate(18deg);
  }
}

@keyframes es-blob-morph-b {
  0% {
    border-radius: 58% 42% 35% 65% / 52% 38% 62% 48%;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    border-radius: 42% 58% 68% 32% / 38% 58% 42% 62%;
    transform: translate(10px, -8px) rotate(-14deg) scale(1.08);
  }
}

@keyframes es-ring-spin {
  0% {
    transform: rotate(0deg) scale(1);
    border-radius: 30% 70% 65% 35% / 45% 35% 65% 55%;
  }
  100% {
    transform: rotate(180deg) scale(1.12);
    border-radius: 70% 30% 40% 60% / 60% 55% 45% 40%;
  }
}

.es-container {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
  padding-left: clamp(0.65rem, 2vw, 1.25rem);
  padding-right: clamp(0.65rem, 2vw, 1.25rem);
}

/* Entrée en cascade des cartes (pas l’état vide) */
.easysale-product-grid > li:not(.es-empty) {
  animation: es-card-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.easysale-product-grid > li:not(.es-empty):nth-child(1) {
  animation-delay: 0.02s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(2) {
  animation-delay: 0.04s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(3) {
  animation-delay: 0.06s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(4) {
  animation-delay: 0.08s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(5) {
  animation-delay: 0.1s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(6) {
  animation-delay: 0.12s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(7) {
  animation-delay: 0.14s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(8) {
  animation-delay: 0.16s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(9) {
  animation-delay: 0.18s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(10) {
  animation-delay: 0.2s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(n + 11) {
  animation-delay: 0.22s;
}

@keyframes es-card-enter {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.es-muted-text {
  color: var(--es-muted);
}

/* Bannière tri par couleur (recherche image) */
.es-hex-filter-alert {
  background: rgba(37, 99, 235, 0.08) !important;
  color: var(--es-text) !important;
  border: 1px solid rgba(249, 115, 22, 0.28) !important;
}

/* Top bar — verre clair, accents CM */
.es-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 1rem;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 246, 255, 0.92) 48%, rgba(255, 247, 237, 0.55) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--es-radius);
  box-shadow:
    0 8px 28px rgba(30, 64, 175, 0.08),
    0 0 0 1px rgba(251, 146, 60, 0.22) inset;
}

.es-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.es-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 42%, #f97316 100%);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #fff;
  box-shadow:
    0 4px 22px rgba(249, 115, 22, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 -2px 14px rgba(37, 99, 235, 0.35) inset;
}

.es-brand-title {
  font-family: var(--ecm-font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.es-brand-sub {
  font-size: 0.72rem;
  color: var(--es-muted);
  font-weight: 500;
}

.es-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 767.98px) {
  .es-topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.72rem 0.82rem;
    gap: 0.58rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(224, 242, 254, 0.92) 100%);
    box-shadow:
      0 6px 24px rgba(30, 64, 175, 0.1),
      0 0 0 1px rgba(249, 115, 22, 0.1) inset;
  }

  .es-brand-mark {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    border-radius: 11px;
  }

  .es-brand-title {
    font-size: 1.2rem;
  }

  .es-brand-sub {
    font-size: 0.66rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Actions : grille sur fond clair */
  .es-actions--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
    padding: 0.55rem 0.58rem;
    margin: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 255, 0.92) 45%, rgba(255, 247, 237, 0.88) 100%);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: var(--es-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 114, 206, 0.1);
  }

  @media (min-width: 400px) {
    .es-actions--grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  .es-actions--grid .es-btn {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.48rem 0.5rem;
    font-size: 0.72rem;
    justify-content: center;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }

  .es-actions--grid .es-btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 114, 206, 0.2);
    color: var(--es-text);
    box-shadow: 0 1px 0 rgba(251, 146, 60, 0.35) inset;
  }

  .es-actions--grid .es-btn-ghost:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.28);
  }

  .es-actions--grid .es-btn-primary {
    box-shadow: 0 3px 14px rgba(249, 115, 22, 0.3);
  }

  .es-actions--grid .es-btn-gas {
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
  }

  .es-actions--grid .es-btn-sale {
    box-shadow: 0 3px 14px rgba(37, 99, 235, 0.22);
  }
}

.es-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    background 0.2s ease,
    filter 0.2s ease;
  white-space: nowrap;
}

.es-btn:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.es-btn:active {
  transform: scale(0.97);
}

.es-btn-gas {
  background: linear-gradient(90deg, #1d4ed8, #ea580c);
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.28);
}

.es-btn-gas:hover {
  color: #fff;
  filter: brightness(1.08);
}

.es-btn-primary {
  background: linear-gradient(135deg, #fb923c 0%, var(--es-accent) 45%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.38);
}

.es-btn-sale {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.32);
}

.es-btn-sale:hover {
  color: #fff;
  filter: brightness(1.06);
}

.es-btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
}

.es-btn-ghost {
  background: var(--es-surface);
  color: var(--es-text);
  border: 1px solid var(--es-border);
}

.es-btn-ghost:hover {
  background: var(--es-surface-2);
  color: var(--es-text);
}

/* Barre EasySale : boutons secondaires moins « noirs » (desktop) */
@media (min-width: 768px) {
  .es-topbar .es-btn-ghost {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 114, 206, 0.22);
    color: var(--es-text);
  }

  .es-topbar .es-btn-ghost:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.28);
  }
}

/* Seller strip */
.es-seller-strip {
  border-radius: var(--es-radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  background: linear-gradient(125deg, rgba(219, 234, 254, 0.92) 0%, rgba(255, 255, 255, 0.94) 45%, rgba(255, 237, 213, 0.75) 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: var(--es-shadow);
}

.es-seller-strip--cta {
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.85) 0%, rgba(255, 255, 255, 0.95) 52%, rgba(224, 242, 254, 0.75) 100%);
  border-color: rgba(249, 115, 22, 0.2);
}

@media (max-width: 575.98px) {
  .es-seller-strip {
    padding: 0.78rem 0.88rem;
    margin-bottom: 0.85rem;
  }
}

/* Filters */
.es-filters {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(224, 242, 254, 0.55) 100%);
  border: 1px solid rgba(0, 114, 206, 0.18);
  border-radius: var(--es-radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--es-shadow-premium);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.es-filters:not(.es-filters--catalog) form {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .es-filters:not(.es-filters--catalog) form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .es-filters:not(.es-filters--catalog) form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.es-filters:not(.es-filters--catalog) .es-filter-search {
  grid-column: 1 / -1;
}

.es-filters .form-control {
  background: var(--es-bg-elevated);
  border-color: var(--es-border);
  color: var(--es-text);
  font-size: 0.8rem;
  border-radius: var(--es-radius-sm);
}

.es-filters .form-control:focus {
  border-color: var(--es-accent);
  box-shadow: 0 0 0 3px var(--es-accent-soft);
}

.es-shop-link {
  color: inherit;
}

.es-shop-link:hover {
  color: var(--es-accent);
}

/* Ratings & Reviews */
.es-pdp-rating {
  color: #ffc107;
  letter-spacing: 1px;
}

.es-rating-input input:checked ~ label {
  color: #ffc107 !important;
  opacity: 1 !important;
}

.es-rating-input label:hover ~ label {
  color: #ffc107 !important;
  opacity: 1 !important;
}

.cursor-pointer {
  cursor: pointer;
}

.x-small {
  font-size: 0.75rem;
}

.letter-spacing-tight {
  letter-spacing: -0.015em;
}

.es-filters .form-select,
.es-filters .form-control {
  background: var(--es-bg-elevated);
  border-color: var(--es-border);
  color: var(--es-text);
  font-size: 0.8rem;
  border-radius: var(--es-radius-sm);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.es-filters .form-select:focus,
.es-filters .form-control:focus {
  border-color: var(--es-accent);
  box-shadow: 0 0 0 3px var(--es-accent-soft);
}

/* Catalogue index : barre recherche compacte + filtres repliables */
.es-filters--catalog {
  padding: 0.5rem 0.6rem 0.6rem;
  margin-bottom: 0.8rem;
}

@media (min-width: 768px) {
  .es-filters--catalog {
    padding: 0.62rem 0.8rem 0.72rem;
  }
}

.es-filters-toolbar {
  display: flex;
  align-items: stretch;
  gap: 0.38rem;
}

.es-filter-main-form {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.es-filter-bar {
  display: flex;
  align-items: stretch;
  gap: 0.32rem;
  min-height: 40px;
}

.es-filter-search-pill {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0 0.62rem 0 0.75rem;
  min-height: 40px;
  background: var(--es-bg-elevated);
  border: 1px solid var(--es-border);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.es-filter-search-pill:focus-within {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow:
    0 0 0 3px var(--es-accent-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.es-filter-search-pill .fa-search {
  flex-shrink: 0;
  font-size: 0.76rem;
  color: var(--es-muted);
  opacity: 0.88;
}

.es-filter-search-input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  color: var(--es-text) !important;
  padding: 0.26rem 0 !important;
  font-size: 0.875rem !important;
  box-shadow: none !important;
}

.es-filter-search-input::placeholder {
  color: var(--es-muted);
  opacity: 0.72;
}

.es-filter-search-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.es-search-input.es-filter-search-input:focus {
  box-shadow: none !important;
}

.es-filter-search-pill .es-search-suggest {
  left: -1px;
  right: -1px;
  top: calc(100% + 6px);
  border-radius: 14px;
  box-shadow: var(--es-shadow-premium);
}

.es-select-compact {
  flex-shrink: 0;
  width: auto !important;
  min-width: 4.75rem;
  max-width: 6.4rem;
  padding: 0.3rem 1.55rem 0.3rem 0.52rem !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px !important;
  line-height: 1.25;
  align-self: stretch;
  background-color: var(--es-bg-elevated) !important;
}

@media (min-width: 576px) {
  .es-select-compact {
    min-width: 5.35rem;
    max-width: 7rem;
    font-size: 0.73rem !important;
  }
}

.es-filter-more-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.26rem;
  padding: 0 0.58rem !important;
  min-height: 40px;
  border-radius: 999px !important;
  font-size: 0.7rem;
  font-weight: 700;
}

.es-filter-more-toggle--active {
  border-color: rgba(59, 130, 246, 0.42) !important;
  background: rgba(59, 130, 246, 0.09) !important;
  color: var(--es-text) !important;
}

.es-filter-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--es-accent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.55);
  flex-shrink: 0;
  margin-left: 0.05rem;
}

.es-filter-more-label {
  max-width: 3.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .es-filter-more-toggle {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .easysale-market .es-filter-extra.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
  }

  .easysale-market .es-filter-extra.collapsing {
    transition: none !important;
    display: block !important;
    height: auto !important;
  }
}

@media (max-width: 767.98px) {
  .es-filter-extra.collapse.show {
    padding-top: 0.42rem;
    margin-top: 0.18rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
}

.es-filter-extra-head {
  margin-bottom: 0.32rem;
}

.es-filter-extra-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--es-muted);
}

.es-filter-extra-grid {
  display: grid;
  gap: 0.42rem 0.38rem;
  grid-template-columns: 1fr 1fr;
}

.es-filter-field--wide {
  grid-column: 1 / -1;
}

.es-filter-field-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 0.18rem;
}

.es-filters--catalog .es-filter-select {
  border-radius: 12px !important;
  font-size: 0.78rem !important;
  padding-top: 0.36rem !important;
  padding-bottom: 0.36rem !important;
}

.es-filters--catalog .es-filter-combobox {
  min-height: 2.05rem;
}

.es-filter-submit-cell {
  grid-column: 1 / -1;
}

.es-btn-filter-apply {
  min-height: 40px;
  border-radius: 12px !important;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .es-filter-extra-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 0.38rem 0.48rem;
  }

  .es-filter-field--wide {
    grid-column: span 2;
  }

  .es-filter-submit-cell {
    grid-column: span 1;
  }
}

.es-image-search-form {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
}

.es-camera-pill {
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-height: 40px;
  padding: 0 0.68rem !important;
  border-radius: 999px !important;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Product grid */
.easysale-product-grid {
  display: grid;
  gap: 0.75rem;
  /* UX: 2 colonnes mobile (lisible), puis montée progressive */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 576px) {
  .easysale-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .easysale-product-grid {
    gap: 0.9rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .easysale-product-grid {
    gap: 1rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Catalog head (résultats + actions) */
.es-catalog-head {
  margin: 1rem 0 0.75rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: var(--es-bg-elevated);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 14px 42px rgba(30, 64, 175, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
}

.es-catalog-head__kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30, 64, 175, 0.82);
}

.es-catalog-head__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  font-family: var(--ecm-font-display);
  margin-top: 0.2rem;
}

.es-catalog-head__count {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.es-catalog-head__label {
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.82);
}

.es-catalog-head__query {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(234, 88, 12, 0.9);
}

.es-catalog-head__meta {
  font-size: 0.82rem;
  color: var(--es-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.es-catalog-head__meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--es-mint), var(--es-accent));
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.es-catalog-head__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.es-btn-clear {
  border-color: rgba(15, 23, 42, 0.14) !important;
}

.es-btn-categories {
  white-space: nowrap;
}

/* Active filter chips */
.es-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0.85rem;
}

.es-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.86);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 10px 26px rgba(30, 64, 175, 0.06);
  text-decoration: none;
}

.es-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.3);
  color: rgba(15, 23, 42, 0.92);
}

.es-chip i {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Empty state */
.es-empty {
  grid-column: 1 / -1;
  padding: 1.25rem 0;
}

.es-empty__inner {
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
  padding: 1.25rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 46px rgba(30, 64, 175, 0.08);
}

.es-empty__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(249, 115, 22, 0.12));
  color: rgba(30, 64, 175, 0.9);
}

.es-empty__title {
  font-family: var(--ecm-font-display);
  font-weight: 900;
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.es-empty__text {
  margin: 0 0 0.95rem;
  color: var(--es-muted);
  font-size: 0.92rem;
}

.es-empty__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Carte produit — carte claire, bordure CM animée (style formulaire premium) */
.es-product-card {
  --es-card-r1: 14px;
  --es-card-r2: 12px;
  --es-card-r3: 16px;
  --es-card-r4: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-width: 0;
  border-radius: var(--es-card-r1) var(--es-card-r2) var(--es-card-r3) var(--es-card-r4);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 45%, rgba(239, 246, 255, 0.92) 100%);
  border: 1px solid rgba(0, 114, 206, 0.14);
  box-shadow:
    0 8px 28px rgba(0, 114, 206, 0.1),
    0 0 0 1px rgba(251, 146, 60, 0.35) inset,
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    border-radius 0.5s ease;
  animation: es-cm-card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.easysale-product-grid > li:not(.es-empty):nth-child(1) .es-product-card {
  animation-delay: 0.02s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(2) .es-product-card {
  animation-delay: 0.05s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(3) .es-product-card {
  animation-delay: 0.08s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(4) .es-product-card {
  animation-delay: 0.11s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(5) .es-product-card {
  animation-delay: 0.14s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(6) .es-product-card {
  animation-delay: 0.17s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(7) .es-product-card {
  animation-delay: 0.2s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(8) .es-product-card {
  animation-delay: 0.23s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(9) .es-product-card {
  animation-delay: 0.26s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(10) .es-product-card {
  animation-delay: 0.29s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(11) .es-product-card {
  animation-delay: 0.32s;
}
.easysale-product-grid > li:not(.es-empty):nth-child(12) .es-product-card {
  animation-delay: 0.35s;
}

.es-product-card:focus-within {
  outline: none;
  border-color: rgba(30, 64, 175, 0.45);
  box-shadow:
    0 10px 32px rgba(30, 64, 175, 0.15),
    0 0 0 2px rgba(0, 114, 206, 0.2),
    0 0 0 1px rgba(251, 146, 60, 0.3) inset;
}

.es-product-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    125deg,
    rgba(30, 64, 175, 0.85),
    rgba(234, 88, 12, 0.55),
    rgba(251, 146, 60, 0.65),
    rgba(0, 114, 206, 0.7),
    rgba(30, 64, 175, 0.75)
  );
  background-size: 260% 260%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  z-index: -1;
  animation: es-border-flow 5s linear infinite;
  pointer-events: none;
}

.es-product-card:hover {
  transform: translateY(-6px) scale(1.018);
  border-color: rgba(0, 114, 206, 0.35);
  box-shadow:
    0 20px 44px rgba(0, 114, 206, 0.16),
    0 0 0 1px rgba(30, 64, 175, 0.2),
    0 0 36px rgba(251, 146, 60, 0.2),
    0 0 48px rgba(234, 88, 12, 0.06);
  border-radius: 16px 10px 14px 18px;
  animation: es-card-morph 3.2s ease-in-out infinite alternate;
}

.es-product-card:hover::before {
  opacity: 1;
}

@keyframes es-border-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes es-card-morph {
  0% {
    border-radius: 16px 10px 14px 18px;
  }
  50% {
    border-radius: 10px 18px 16px 12px;
  }
  100% {
    border-radius: 14px 12px 10px 20px;
  }
}

.es-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse 80% 65% at 50% 38%, rgba(255, 255, 255, 0.95) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 85% 85%, rgba(30, 64, 175, 0.12) 0%, transparent 52%),
    radial-gradient(ellipse 45% 40% at 12% 78%, rgba(0, 114, 206, 0.1) 0%, transparent 48%),
    linear-gradient(
      152deg,
      #f8fafc 0%,
      #eff6ff 38%,
      #dbeafe 58%,
      #ffedd5 100%
    );
  overflow: hidden;
}

/* Carrousel carte produit : image entière visible + logo boutique en mini cercle */
.es-product-card__media .es-card-carousel {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.es-card-carousel__viewport {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Une colonne = 100 % du viewport → scroll JS (offsetWidth) aligné */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  align-items: stretch;
}

.es-card-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.es-card-carousel__track {
  display: contents;
}

.es-card-carousel__slide {
  height: 100%;
  min-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0.2rem;
}

/* Image entière sur les cartes catalogue uniquement (fiche produit garde .es-pd-gallery-main img en cover) */
.es-product-card__media .es-card-carousel__slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 0;
}

.es-product-card__media .es-card-carousel__sticker {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 8;
  text-decoration: none;
  line-height: 0;
}

.es-product-card__media .es-card-carousel__sticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 0 0 3px rgba(59, 130, 246, 0.22);
  background: linear-gradient(145deg, #fff 0%, #f1f5f9 100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.es-product-card:hover .es-card-carousel__sticker-inner {
  transform: scale(1.08);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 0 4px rgba(59, 130, 246, 0.35);
}

.es-product-card__media .es-card-carousel__sticker-inner img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  border-radius: 50%;
}

.es-card-carousel__chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: none;
}

/* Chrome carrousel sur cartes : barre vitrée */
.es-product-card__media .es-card-carousel__chrome {
  bottom: 6px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 1rem);
  max-width: 9.5rem;
  padding: 0.28rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 114, 206, 0.18);
  box-shadow:
    0 4px 18px rgba(0, 114, 206, 0.12),
    0 0 0 1px rgba(251, 146, 60, 0.25) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.es-card-carousel__chrome .es-card-carousel__nav {
  pointer-events: auto;
}

.es-card-carousel__dots {
  display: flex;
  gap: 4px;
  pointer-events: auto;
}

.es-card-carousel__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.2s ease, transform 0.2s ease;
}

.es-card-carousel__dot.is-active {
  width: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #f97316);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.45);
  transform: scale(1);
}

.es-card-carousel__nav {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(40, 48, 58, 0.9) 0%, rgba(12, 15, 20, 0.85) 100%);
  color: #fff;
  font-size: 0.65rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.es-card-carousel__nav:hover {
  background: linear-gradient(165deg, rgba(59, 130, 246, 0.25) 0%, rgba(12, 15, 20, 0.9) 100%);
  border-color: rgba(59, 130, 246, 0.35);
}

.es-card-carousel__nav:active {
  transform: scale(0.92);
}

/* Carrousel catalogue : pastilles claires sur fond média lumineux */
.es-product-card__media .es-card-carousel__nav {
  border: 1px solid rgba(0, 114, 206, 0.22);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.9) 100%);
  color: var(--es-cm-blue);
  box-shadow: 0 2px 10px rgba(0, 114, 206, 0.12);
}

.es-product-card__media .es-card-carousel__nav:hover {
  background: linear-gradient(165deg, rgba(209, 250, 229, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(30, 64, 175, 0.35);
  color: var(--es-cm-green);
}

.es-product-card__media .es-card-carousel__dot {
  background: rgba(15, 23, 42, 0.2);
}

.es-product-card__media .es-card-carousel__dot.is-active {
  background: linear-gradient(90deg, var(--es-cm-green), var(--es-mint));
  box-shadow: 0 0 10px rgba(30, 64, 175, 0.35);
}

/* Forme organique sous l’image + reflet */
.es-product-card__media::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 85%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(30, 64, 175, 0.14) 0%, transparent 68%),
    radial-gradient(ellipse 70% 50% at 70% 60%, rgba(0, 114, 206, 0.08) 0%, transparent 55%);
  border-radius: 55% 45% 62% 38% / 48% 52% 48% 52%;
  animation: es-media-blob 9s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

.es-product-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    var(--es-card-shine) 48%,
    transparent 54%,
    transparent 100%
  );
  transform: translateX(-130%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.es-product-card:hover .es-product-card__media::after {
  opacity: 1;
  animation: es-shine-sweep 0.85s ease forwards;
}

@keyframes es-media-blob {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 55% 45% 62% 38% / 48% 52% 48% 52%;
  }
  100% {
    transform: translate(8px, -6px) scale(1.08) rotate(8deg);
    border-radius: 42% 58% 38% 62% / 55% 45% 55% 45%;
  }
}

@keyframes es-shine-sweep {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

.es-product-card__media .es-card-carousel__slide img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.es-product-card:hover .es-card-carousel__slide img {
  transform: scale(1.04);
}

.es-product-card__shop-avatar {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 30px;
  height: 30px;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(255, 107, 53, 0.25);
  z-index: 3;
  transition: border-radius 0.6s ease, transform 0.45s ease, box-shadow 0.35s ease;
}

.es-product-card:hover .es-product-card__shop-avatar {
  border-radius: 50%;
  transform: scale(1.06) rotate(-4deg);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(59, 130, 246, 0.35);
}

.es-product-card__badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 10;
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(18, 22, 28, 0.92) 0%, rgba(26, 34, 45, 0.88) 100%);
  color: var(--es-mint);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(59, 130, 246, 0.12);
  animation: es-badge-pulse 2.8s ease-in-out infinite;
}

@keyframes es-badge-pulse {
  0%,
  100% {
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.4),
      0 0 0 0 rgba(59, 130, 246, 0.35);
  }
  50% {
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.45),
      0 0 16px 1px rgba(59, 130, 246, 0.28);
  }
}

.es-product-card__body {
  position: relative;
  z-index: 1;
  padding: 0.6rem 0.65rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 12px);
}

.es-product-card__shop {
  font-size: 0.58rem;
  color: var(--es-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.es-product-card__title {
  font-family: var(--ecm-font-display);
  font-weight: 700;
  font-size: 0.7rem;
  line-height: 1.28;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--es-text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.es-product-card__title:hover {
  color: var(--es-accent);
}

.es-product-card__price {
  font-family: var(--ecm-font-display);
  font-weight: 800;
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  color: var(--es-mint);
  letter-spacing: -0.02em;
  margin-top: auto;
  text-shadow:
    0 0 24px rgba(59, 130, 246, 0.25),
    0 1px 0 rgba(0, 0, 0, 0.35);
}

.es-product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.32rem;
  margin-top: 0.4rem;
}

.es-product-card__actions .es-mini-btn {
  font-size: 0.54rem;
  padding: 0.36rem 0.22rem;
  border-radius: 9px 5px 9px 5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  line-height: 1.1;
  transition: transform 0.25s ease, border-radius 0.4s ease, filter 0.25s ease;
}

.es-product-card__actions .es-mini-btn:hover {
  transform: translateY(-2px);
  border-radius: 5px 10px 5px 10px;
}

.es-product-card__actions .es-mini-btn:active {
  transform: scale(0.96);
}

.es-mini-btn-wa {
  background: linear-gradient(145deg, #2fe573, #1fa855);
  color: #fff;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
}

.es-mini-btn-wa:hover {
  color: #fff;
  filter: brightness(1.06);
}

.es-mini-btn-buy {
  background: linear-gradient(145deg, #ff8f5a 0%, #ff6b35 48%, #ea580c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 2px 12px rgba(234, 88, 12, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.08) inset;
  font-weight: 800;
}

.es-mini-btn-buy:hover {
  color: #fff;
  filter: brightness(1.08);
  box-shadow:
    0 4px 18px rgba(234, 88, 12, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

@media (min-width: 992px) {
  .es-product-card__title {
    font-size: 0.74rem;
  }
  .es-product-card__price {
    font-size: 0.8rem;
  }
  .es-product-card__actions .es-mini-btn {
    font-size: 0.6rem;
    padding: 0.4rem 0.28rem;
  }
}

/* Empty state */
.es-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--es-muted);
  font-size: 0.95rem;
}

/* Pagination */
.es-pagination {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  border-radius: var(--es-radius);
  background: rgba(26, 34, 45, 0.5);
  border: 1px solid var(--es-glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.es-pagination .pagination {
  --bs-pagination-bg: var(--es-surface);
  --bs-pagination-border-color: var(--es-border);
  --bs-pagination-color: var(--es-text);
  --bs-pagination-hover-bg: var(--es-surface-2);
  --bs-pagination-hover-color: var(--es-accent);
  --bs-pagination-focus-box-shadow: 0 0 0 3px var(--es-accent-soft);
  --bs-pagination-active-bg: var(--es-accent);
  --bs-pagination-active-border-color: var(--es-accent);
  --bs-pagination-active-color: #ffffff;
  --bs-pagination-disabled-bg: var(--es-bg-elevated);
  --bs-pagination-disabled-color: var(--es-muted);
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.es-pagination .page-link {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
}

/*
 * Modal commande — thème CLAIR (lisibilité : texte foncé sur fond clair).
 * Les utilitaires Bootstrap (text-muted, text-body-secondary, btn-light) héritent
 * parfois du thème page et deviennent illisibles sur l’ancien fond sombre.
 */
.es-order-modal {
  --esom-dialog-max: min(440px, calc(100vw - 1.25rem));
  --esom-radius: 16px;
  --esom-header-start: #60a5fa;
  --esom-header-mid: #2563eb;
  --esom-header-end: #1e40af;
  --esom-submit-start: #fb923c;
  --esom-submit-mid: #f97316;
  --esom-submit-end: #ea580c;
  --es-surface: #ffffff;
  --es-bg-elevated: #f8fafc;
  --es-surface-2: #f1f5f9;
  --es-accent: #ea580c;
  --es-accent-soft: rgba(234, 88, 12, 0.12);
  --es-mint: #3b82f6;
  --es-text: #0f172a;
  --es-muted: #64748b;
  --es-border: #e2e8f0;
  --es-radius: var(--esom-radius);
  z-index: 2105 !important;
}

body.es-sale-modal-open .modal-backdrop {
  z-index: 2090 !important;
}

body.es-sale-modal-open .es-sticky-cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.es-order-modal__dialog {
  max-width: var(--esom-dialog-max);
}

.es-order-modal .modal-content {
  background: var(--es-surface);
  border: 1px solid var(--es-border);
  color: var(--es-text);
  border-radius: var(--es-radius);
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}

.es-order-modal .modal-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 1rem;
  background: linear-gradient(118deg, var(--esom-header-start) 0%, var(--esom-header-mid) 38%, var(--esom-header-end) 100%);
  color: #f8fafc;
  border-bottom: none;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.22);
}

.es-order-modal .modal-header > div:first-of-type {
  flex: 1;
  min-width: 0;
}

.es-order-modal .modal-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  pointer-events: none;
  opacity: 0.85;
}

.es-order-modal .modal-header .modal-title,
.es-order-modal .modal-header .es-order-modal__subtitle {
  position: relative;
  z-index: 1;
  color: #f8fafc;
}

.es-order-modal__subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.es-order-modal .modal-header .btn-close {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  opacity: 0.9;
  filter: invert(1) brightness(1.15);
  margin: -0.15rem -0.25rem 0 0;
}

.es-order-modal .modal-header .btn-close:hover {
  opacity: 1;
}

.es-order-modal .modal-body {
  padding: 1.25rem 1.25rem 1rem;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.es-order-modal .modal-body .form-label {
  color: var(--es-text);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.es-order-modal .modal-body .form-control,
.es-order-modal .modal-body .form-select {
  background: #ffffff;
  border-color: var(--es-border);
  color: #0f172a;
  border-radius: 11px;
  padding: 0.55rem 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.es-order-modal .modal-body .form-control:focus,
.es-order-modal .modal-body .form-select:focus {
  border-color: rgba(234, 88, 12, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.es-order-modal .modal-body .input-group-text {
  background: var(--es-surface-2);
  border-color: var(--es-border);
  color: var(--es-muted);
  border-radius: 11px 0 0 11px;
}

.es-order-modal .modal-body .input-group .form-control {
  border-radius: 0 11px 11px 0;
}

.es-order-modal .modal-body textarea.form-control {
  border-radius: 11px;
}

.es-order-modal .modal-body .form-text {
  color: var(--es-muted);
  font-size: 0.75rem;
}

.es-order-modal .modal-body .form-control::placeholder {
  color: #94a3b8;
}

.es-order-modal__footer {
  padding: 1rem 1.25rem 1.2rem;
  background: #f8fafc;
  border-top: 1px solid var(--es-border) !important;
}

.es-order-modal__cancel {
  border-radius: 999px;
  border-color: #cbd5e1;
  color: #334155;
  font-weight: 600;
  background: #ffffff;
}

.es-order-modal__cancel:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.es-order-submit {
  border-radius: 999px !important;
  padding: 0.55rem 1.25rem !important;
  background: linear-gradient(135deg, var(--esom-submit-start) 0%, var(--esom-submit-mid) 40%, var(--esom-submit-end) 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow:
    0 4px 16px rgba(234, 88, 12, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.es-order-submit:hover {
  filter: brightness(1.05);
  box-shadow:
    0 8px 24px rgba(234, 88, 12, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  color: #ffffff !important;
}

.es-order-submit:active {
  transform: scale(0.98);
}

.es-order-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.es-order-modal__errors {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
}

.es-order-modal__client-errors {
  background: #fffbeb !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
}

.es-order-summary {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: var(--es-radius-sm);
  background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
  border: 1px solid #bfdbfe;
  color: var(--es-text);
}

.es-order-summary__media img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.es-order-summary__shop {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.es-order-summary__title {
  font-size: 0.92rem;
  line-height: 1.3;
}

.es-order-summary__price {
  font-size: 0.88rem;
  color: var(--es-sale, #c2410c);
}

.es-order-summary__shop,
.es-order-summary__title,
.es-order-summary__meta {
  color: var(--es-text);
}

.es-order-payment-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.es-order-payment-fieldset legend {
  float: none;
}

.es-order-payment-cards {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.es-pay-card {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid var(--es-border);
  background: var(--es-bg-elevated);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.es-pay-card:hover {
  border-color: rgba(234, 88, 12, 0.35);
  background: #ffffff;
}

.es-pay-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.es-pay-card input:focus-visible + .es-pay-card__inner {
  outline: 2px solid var(--es-mint);
  outline-offset: 2px;
  border-radius: 10px;
}

.es-pay-card input:checked + .es-pay-card__inner {
  border-color: #ea580c;
  background: #ffedd5;
  box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.22) inset;
}

.es-pay-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid transparent;
}

.es-pay-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--es-border);
  color: var(--es-accent);
  font-size: 0.95rem;
}

.es-pay-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.es-pay-card__title {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--es-text);
}

.es-pay-card__sub {
  font-size: 0.72rem;
  color: var(--es-muted);
  line-height: 1.35;
}

/* Lignes panier (JS) + utilitaires Bootstrap : couleurs explicites */
.es-order-modal .es-order-line-row {
  background: var(--es-bg-elevated) !important;
  border-color: var(--es-border) !important;
  color: var(--es-text) !important;
}

.es-order-modal .es-order-line-row .form-select,
.es-order-modal .es-order-line-row .form-control {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: var(--es-border) !important;
}

.es-order-modal .text-body-secondary,
.es-order-modal .text-muted {
  color: #64748b !important;
}

.es-order-modal .border {
  border-color: var(--es-border) !important;
}

.es-order-modal .btn-light {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid var(--es-border) !important;
}

.es-order-modal .btn-light:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.es-order-modal .collapse.border-top,
.es-order-modal #esOrderExtrasCollapse {
  background: #f8fafc !important;
  border-color: var(--es-border) !important;
  color: #0f172a !important;
}

.es-order-modal .collapse .form-label,
.es-order-modal .collapse .form-text {
  color: #334155 !important;
}

.es-order-modal .btn-outline-primary {
  color: #1d4ed8 !important;
  border-color: #3b82f6 !important;
}

.es-order-modal .btn-outline-primary:hover {
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

.es-order-modal .btn-outline-danger {
  color: #b91c1c !important;
  border-color: #f87171 !important;
}

.es-order-modal .invalid-feedback {
  color: #b91c1c;
}

.es-order-modal .text-success {
  color: #1d4ed8 !important;
}

.es-order-modal fieldset legend {
  color: var(--es-text);
}

/* Alerts on dark */
.easysale-market .alert {
  border-radius: var(--es-radius-sm);
  border: none;
}

/* --- Product detail page --- */
.es-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.78rem;
  padding: 0.45rem 0.95rem;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(224, 242, 254, 0.9) 100%);
  border: 1px solid rgba(0, 114, 206, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 6px 22px rgba(0, 114, 206, 0.1),
    0 0 0 1px rgba(251, 146, 60, 0.22) inset;
  color: var(--es-muted);
}

.es-breadcrumb__current {
  color: var(--es-text);
  font-weight: 700;
  max-width: min(100%, 52vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.es-breadcrumb a {
  color: var(--es-cm-blue);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 600;
}

.es-breadcrumb a:hover {
  color: var(--es-cm-green);
}

.es-pd-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .es-pd-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

.es-pd-gallery {
  position: relative;
  border-radius: 18px 12px 20px 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 114, 206, 0.16);
  background: linear-gradient(
    158deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(239, 246, 255, 0.93) 45%,
    rgba(254, 252, 232, 0.9) 100%
  );
  box-shadow:
    0 14px 40px rgba(0, 114, 206, 0.12),
    0 0 0 1px rgba(30, 64, 175, 0.1) inset,
    0 2px 0 rgba(255, 255, 255, 0.85) inset;
  animation: es-pd-frame 10s ease-in-out infinite alternate;
}

.es-pd-gallery.es-pd-gallery--live-morph {
  animation: none;
}

@keyframes es-pd-frame {
  0% {
    border-radius: 18px 12px 20px 14px;
  }
  100% {
    border-radius: 12px 20px 14px 18px;
  }
}

.es-pd-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(30, 64, 175, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 12% 78%, rgba(234, 88, 12, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 1;
  animation: es-pd-glow-move 12s ease-in-out infinite alternate;
}

@keyframes es-pd-glow-move {
  0% {
    opacity: 0.6;
    transform: translate(0, 0);
  }
  100% {
    opacity: 1;
    transform: translate(-6%, 4%);
  }
}

.es-pd-gallery-main {
  position: relative;
  z-index: 0;
  aspect-ratio: 1 / 1;
  max-height: min(520px, 70vh);
  background:
    radial-gradient(ellipse 78% 65% at 50% 40%, rgba(255, 255, 255, 0.78) 0%, transparent 58%),
    radial-gradient(ellipse 45% 40% at 88% 88%, rgba(0, 114, 206, 0.09) 0%, transparent 50%),
    linear-gradient(160deg, #f8fafc 0%, #eff6ff 45%, #ffedd5 100%);
}

/* Pastille boutique : même logique que les cartes accueil (petit cercle, coin haut-gauche) */
.es-pd-gallery-main .es-card-carousel__sticker {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  text-decoration: none;
  line-height: 0;
}

.es-pd-gallery-main .es-card-carousel__sticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 2px 14px rgba(0, 114, 206, 0.18),
    0 0 0 1px rgba(30, 64, 175, 0.22),
    0 0 0 3px rgba(251, 146, 60, 0.18);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-radius 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.es-pd-gallery-main .es-card-carousel__sticker:hover .es-card-carousel__sticker-inner,
.es-pd-gallery-main .es-card-carousel__sticker:focus-visible .es-card-carousel__sticker-inner {
  transform: scale(1.06);
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  box-shadow:
    0 6px 22px rgba(30, 64, 175, 0.22),
    0 0 0 1px rgba(0, 114, 206, 0.28),
    0 0 0 4px rgba(251, 146, 60, 0.28);
}

.es-pd-gallery-main .es-card-carousel__sticker-inner img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  border-radius: 50%;
}

.es-pd-gallery-main .es-card-carousel {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.es-pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carrousel fiche produit : chrome clair CM */
.es-pd-gallery-main .es-card-carousel__chrome {
  bottom: 12px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 14rem);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 114, 206, 0.2);
  box-shadow:
    0 6px 24px rgba(0, 114, 206, 0.12),
    0 0 0 1px rgba(251, 146, 60, 0.22) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.es-pd-gallery-main .es-card-carousel__nav {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
  border: 1px solid rgba(0, 114, 206, 0.22);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.92) 100%);
  color: var(--es-cm-blue);
  box-shadow: 0 2px 10px rgba(0, 114, 206, 0.1);
}

.es-pd-gallery-main .es-card-carousel__nav:hover {
  background: linear-gradient(165deg, rgba(209, 250, 229, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-color: rgba(30, 64, 175, 0.35);
  color: var(--es-cm-green);
}

.es-pd-gallery-main .es-card-carousel__dot {
  background: rgba(15, 23, 42, 0.22);
}

.es-pd-gallery-main .es-card-carousel__dot.is-active {
  width: 16px;
  background: linear-gradient(90deg, var(--es-cm-green), var(--es-mint));
  box-shadow: 0 0 10px rgba(30, 64, 175, 0.35);
}

.es-pdp-video-wrap {
  position: relative;
  z-index: 2;
  padding: 0 1rem 1rem;
}

.es-pdp-video {
  display: block;
  width: 100%;
  max-height: min(70vh, 520px);
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(0, 114, 206, 0.16);
  box-shadow: 0 10px 32px rgba(0, 114, 206, 0.12);
  background: #0f172a;
}

.es-pdp-video-label {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.65rem !important;
}

.es-pd-panel {
  position: relative;
  background: linear-gradient(
    158deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(248, 250, 252, 0.95) 40%,
    rgba(239, 246, 255, 0.93) 100%
  );
  border: 1px solid rgba(0, 114, 206, 0.14);
  border-radius: 16px 10px 18px 12px;
  padding: 1.35rem 1.4rem;
  box-shadow:
    0 12px 36px rgba(0, 114, 206, 0.1),
    0 0 0 1px rgba(251, 146, 60, 0.2) inset;
  transition: border-radius 0.5s ease, box-shadow 0.35s ease, border-color 0.3s ease;
  color: var(--es-text);
}

.es-pd-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30, 64, 175, 0.35),
    rgba(251, 146, 60, 0.45),
    rgba(0, 114, 206, 0.3),
    transparent
  );
  opacity: 0.75;
  pointer-events: none;
}

.es-pd-panel:hover {
  border-radius: 12px 18px 10px 16px;
  border-color: rgba(30, 64, 175, 0.28);
  box-shadow:
    0 16px 42px rgba(0, 114, 206, 0.12),
    0 0 0 1px rgba(234, 88, 12, 0.05);
}

.es-product-page .es-pd-panel--main h1 {
  color: var(--es-text);
  letter-spacing: -0.02em;
}

.es-pd-price {
  font-family: var(--ecm-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--es-cm-green);
  letter-spacing: -0.03em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 32px rgba(30, 64, 175, 0.18);
}

.es-product-page .es-pd-price .es-muted-text,
.es-product-page .es-pd-price-old {
  color: var(--es-muted) !important;
  text-shadow: none;
  font-weight: 600;
}

.es-product-page {
  padding-bottom: 5.75rem;
}

@media (min-width: 992px) {
  .es-product-page {
    padding-bottom: 2.5rem;
  }
}

.es-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.65) 28%,
    rgba(239, 246, 255, 0.97) 100%
  );
  border-top: 1px solid rgba(0, 114, 206, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -10px 36px rgba(0, 114, 206, 0.1);
  display: flex;
  gap: 0.55rem;
  justify-content: stretch;
}

.es-sticky-cta .es-btn {
  font-weight: 700;
}

@media (min-width: 992px) {
  .es-sticky-cta {
    display: none;
  }
}

/* --- Shop forms (create / edit) shared accents --- */
.easysale-shop-form {
  --es-shop-card-bg: rgba(26, 34, 45, 0.92);
}

.easysale-shop-form .card {
  background: var(--es-shop-card-bg);
  border: 1px solid var(--es-border);
  color: var(--es-text);
}

.easysale-shop-form .form-control,
.easysale-shop-form .form-select {
  background: var(--es-bg-elevated);
  border-color: var(--es-border);
  color: var(--es-text);
}

.easysale-shop-form .form-control:focus,
.easysale-shop-form .form-select:focus {
  border-color: var(--es-accent);
  box-shadow: 0 0 0 3px var(--es-accent-soft);
}

.easysale-shop-form .input-group-text {
  background: var(--es-surface-2);
  border-color: var(--es-border);
  color: var(--es-muted);
}

.easysale-shop-form .form-label,
.easysale-shop-form .form-check-label {
  color: var(--es-text);
}

.easysale-shop-form .text-muted {
  color: var(--es-muted) !important;
}

/* Focus clavier visible (sans toucher la souris) */
.easysale-market .es-btn:focus-visible,
.easysale-market .es-mini-btn:focus-visible,
.easysale-market .es-product-card__title:focus-visible,
.easysale-market .es-shop-link:focus-visible,
.easysale-market .es-brand:focus-visible {
  outline: 2px solid var(--es-mint);
  outline-offset: 3px;
  border-radius: 4px;
}

.easysale-market .es-mini-btn:focus-visible {
  outline-offset: 2px;
}

.es-order-modal .btn:focus-visible,
.es-order-modal .form-control:focus-visible,
.es-order-modal .form-select:focus-visible {
  outline: 2px solid var(--es-mint);
  outline-offset: 2px;
}

/* Accessibilité : moins d’animations si demandé par l’OS */
/* Filtres : ligne principale + recherche image */
.es-filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem;
}

.es-filters-row #es-filter-form {
  flex: 1 1 280px;
  min-width: 0;
}

.es-camera-label {
  cursor: pointer;
  white-space: nowrap;
}

.es-search-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.es-search-input:focus {
  box-shadow: 0 0 0 3px var(--es-accent-soft);
}

.es-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 50;
  background: var(--es-surface-2);
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius-sm);
  box-shadow: var(--es-shadow);
  max-height: 280px;
  overflow-y: auto;
}

.es-search-suggest__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  color: var(--es-text);
  text-decoration: none;
  border-bottom: 1px solid var(--es-border);
}

.es-search-suggest__item:last-child {
  border-bottom: 0;
}

.es-search-suggest__item:hover {
  background: rgba(249, 115, 22, 0.12);
}

.es-search-suggest__item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}

.es-search-suggest__item span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.es-search-suggest__item small {
  color: var(--es-muted);
  font-size: 0.72rem;
}

.es-price-old {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 0.85em;
  margin-right: 0.25rem;
}

.es-price-from {
  font-size: 0.78em;
  opacity: 0.75;
  font-weight: 500;
}

.es-mini-btn-ghost {
  background: var(--es-surface-2);
  color: var(--es-muted);
  border: 1px solid var(--es-border);
}

.es-mini-btn-ghost:hover {
  color: var(--es-text);
  border-color: var(--es-accent);
}

.es-mini-btn-ghost.is-fav {
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.4);
}

.es-mini-btn-ghost.is-compare {
  color: var(--es-gold);
  border-color: rgba(251, 191, 36, 0.35);
}

/* Fiche produit : formes décoratives pilotées en JS (ultra doux) — désactive les keyframes CSS */
.es-product-page .es-shape-field--js-drive span {
  animation: none !important;
}

.es-variant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.es-variant-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--es-border);
  background: linear-gradient(165deg, rgba(34, 43, 56, 0.9) 0%, var(--es-surface-2) 100%);
  color: var(--es-text);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.es-variant-chip img {
  border-radius: 8px;
  object-fit: cover;
}

.es-variant-chip:hover,
.es-variant-chip.is-active {
  border-color: rgba(59, 130, 246, 0.45);
  background: linear-gradient(165deg, rgba(59, 130, 246, 0.18) 0%, rgba(34, 43, 56, 0.95) 100%);
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.es-variant-chip.is-active {
  border-color: var(--es-accent);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2), 0 6px 20px rgba(59, 130, 246, 0.12);
}

.easysale-market .es-variant-chip,
.easysale-shop-shell .es-variant-chip {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.95) 100%);
  border-color: rgba(0, 114, 206, 0.16);
}

.easysale-market .es-variant-chip:hover,
.easysale-market .es-variant-chip.is-active,
.easysale-shop-shell .es-variant-chip:hover,
.easysale-shop-shell .es-variant-chip.is-active {
  border-color: rgba(30, 64, 175, 0.4);
  background: linear-gradient(165deg, rgba(209, 250, 229, 0.55) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 4px 18px rgba(30, 64, 175, 0.12);
}

.easysale-market .es-variant-chip.is-active,
.easysale-shop-shell .es-variant-chip.is-active {
  box-shadow:
    0 0 0 2px rgba(0, 114, 206, 0.18),
    0 6px 20px rgba(0, 114, 206, 0.08);
}

.es-pd-price-old {
  font-size: 0.95rem;
}

.es-compare-table-wrap {
  border-radius: var(--es-radius);
  border: 1px solid var(--es-border);
  overflow: hidden;
}

.es-compare-table {
  margin: 0;
  background: var(--es-surface);
}

.es-compare-thumb {
  width: 100%;
  max-width: 120px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .easysale-market .es-aurora,
  .easysale-market .es-shape-field span,
  .easysale-market .es-product-card,
  .easysale-market .es-product-card::before,
  .easysale-market .es-product-card__media::before,
  .easysale-market .es-product-card__media::after,
  .easysale-market .es-product-card__badge,
  .easysale-market .es-pd-gallery,
  .easysale-market .es-pd-gallery::before,
  .easysale-product-grid > li:not(.es-empty) {
    animation: none !important;
  }

  .easysale-market .es-product-card,
  .easysale-market .es-product-card__media .es-card-carousel__slide img,
  .easysale-market .es-product-card__shop-avatar,
  .easysale-market .es-product-card__actions .es-mini-btn {
    transition-duration: 0.15s !important;
  }

  .easysale-market .es-product-card:hover {
    transform: translateY(-2px);
  }

  .easysale-market .es-product-card:hover .es-card-carousel__sticker-inner {
    transform: none;
  }

  .easysale-market .es-variant-chip:hover,
  .easysale-market .es-variant-chip.is-active {
    transform: none;
  }

  .easysale-market .es-pd-gallery-main .es-card-carousel__sticker:hover .es-card-carousel__sticker-inner {
    transform: scale(1.03);
    border-radius: 50%;
  }
}

/* --- Page catégories EasySale --- */
.es-categories-search .es-filters-toolbar {
  width: 100%;
}

.es-categories-toolbar-inner {
  align-items: stretch;
}

.es-categories-hint {
  font-size: 0.65rem;
  color: var(--es-muted);
  line-height: 1.35;
}

.es-categories-check .form-check-label {
  color: rgba(255, 255, 255, 0.82);
}

.es-categories-check .form-check-input:checked {
  background-color: var(--es-accent);
  border-color: var(--es-accent);
}

.es-category-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .es-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (min-width: 1200px) {
  .es-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.es-category-empty {
  grid-column: 1 / -1;
}

.es-category-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.35rem 0.65rem;
  align-items: start;
  padding: 1rem 1.05rem 1rem 1rem;
  min-height: 108px;
  border-radius: var(--es-radius);
  text-decoration: none;
  color: inherit;
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 45%, rgba(239, 246, 255, 0.9) 100%);
  border: 1px solid rgba(0, 114, 206, 0.14);
  box-shadow:
    0 8px 26px rgba(0, 114, 206, 0.08),
    0 0 0 1px rgba(251, 146, 60, 0.22) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    box-shadow 0.22s ease;
}

.es-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 64, 175, 0.35);
  box-shadow: var(--es-shadow-premium);
}

.es-category-card__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.12) 0%, rgba(251, 146, 60, 0.18) 50%, rgba(0, 114, 206, 0.1) 100%);
  color: var(--es-cm-green);
  border: 1px solid rgba(0, 114, 206, 0.15);
}

.es-category-card__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.es-category-card__title {
  font-family: var(--ecm-font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.es-category-card__slug {
  font-size: 0.68rem;
  color: var(--es-muted);
  font-weight: 500;
  word-break: break-word;
}

.es-category-card__count {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--es-muted);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 114, 206, 0.06);
  border: 1px solid rgba(30, 64, 175, 0.12);
  width: fit-content;
}

.es-category-card__cta {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 0.85rem;
  color: var(--es-muted);
  opacity: 0.75;
  transition: transform 0.2s ease, color 0.2s ease;
}

.es-category-card:hover .es-category-card__cta {
  color: var(--es-accent);
  opacity: 1;
  transform: translateX(3px);
}

/* Accessibilité : réduire les animations de fond et d’entrée */
@media (prefers-reduced-motion: reduce) {
  .easysale-market,
  .easysale-shop-shell {
    animation: none;
  }

  .easysale-market .es-aurora {
    animation: none;
  }

  .easysale-market .es-shape-field span {
    animation: none;
  }

  .easysale-product-grid .es-product-card {
    animation: none;
  }

  .es-product-card:hover {
    animation: none;
  }

  .es-product-card::before {
    animation: none;
  }

  .es-product-card__media::before {
    animation: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Fiche produit (PDP) — mise en page & compléments UI                        */
/* -------------------------------------------------------------------------- */

.es-pdp-page .es-container {
  max-width: 1180px;
}

.es-pdp-breadcrumb {
  padding: 0.35rem 0 0.5rem;
  margin-bottom: 0.25rem;
}

.es-pdp-alert {
  border-radius: 12px;
  border: none;
}

.es-pdp-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.es-pdp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  line-height: 1.2;
}

.es-pdp-badge i {
  font-size: 0.68rem;
  opacity: 0.9;
}

.es-pdp-badge--stock {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(249, 115, 22, 0.12));
  border-color: rgba(37, 99, 235, 0.35);
  color: #1e40af;
}

.es-pdp-badge--neutral {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--es-muted);
}

.es-pdp-badge--video {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(79, 70, 229, 0.1));
  border-color: rgba(79, 70, 229, 0.28);
  color: #4338ca;
}

.es-pdp-badge--delivery {
  background: linear-gradient(135deg, rgba(0, 114, 206, 0.12), rgba(30, 64, 175, 0.1));
  border-color: rgba(0, 114, 206, 0.22);
  color: var(--es-cm-blue);
}

.es-pdp-badge--pay {
  background: rgba(251, 146, 60, 0.14);
  border-color: rgba(234, 179, 8, 0.35);
  color: #854d0e;
}

.es-pdp-main-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.es-pdp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  position: relative;
}

.es-pdp-toolbar__left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
}

.es-pdp-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 114, 206, 0.2);
  background: rgba(255, 255, 255, 0.85);
  color: var(--es-text);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 114, 206, 0.06);
}

.es-pdp-tool-btn:hover {
  border-color: rgba(30, 64, 175, 0.35);
  background: rgba(236, 253, 245, 0.95);
  color: var(--es-cm-green);
}

.es-pdp-tool-btn.is-active {
  border-color: rgba(234, 88, 12, 0.35);
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.5), rgba(255, 255, 255, 0.95));
  color: #b91c1c;
}

.es-pdp-tool-label {
  display: none;
}

@media (min-width: 400px) {
  .es-pdp-tool-label {
    display: inline;
  }
}

.es-pdp-share-toast {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.25rem;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  background: var(--es-cm-green);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
  z-index: 5;
}

.es-pdp-shop-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 4px 16px rgba(0, 114, 206, 0.15),
    0 0 0 1px rgba(30, 64, 175, 0.2);
}

.es-pdp-shop-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.es-pdp-verified {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #1d4ed8 !important;
  font-weight: 600;
  font-size: 0.7rem;
}

.es-pdp-cat-pill {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--es-accent-soft);
  color: var(--es-accent);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  align-self: flex-start;
}

.es-pdp-title {
  font-size: clamp(1.45rem, 3.2vw, 2.05rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.03em;
}

.es-pdp-notice {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(0, 114, 206, 0.18);
  font-size: 0.88rem;
}

.es-pdp-desc-wrap {
  margin-top: 0.25rem;
}

.es-pdp-inline-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--es-muted);
  margin-bottom: 0.5rem;
}

.es-pdp-desc {
  font-size: 0.95rem;
  line-height: 1.65;
}

.es-pdp-empty-desc {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px dashed rgba(15, 23, 42, 0.12);
}

.es-pdp-cta-wa,
.es-pdp-cta-buy {
  padding: 0.7rem 1.25rem !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
}

.es-pdp-catalog-link {
  font-size: 0.82rem;
}

.es-pdp-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--ecm-font-display);
  margin-bottom: 0.85rem;
  color: var(--es-text);
  letter-spacing: -0.02em;
}

.es-pdp-panel--specs,
.es-pdp-panel--hours,
.es-pdp-panel--social,
.es-pdp-trust-panel {
  position: relative;
}

.es-pdp-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem 1rem;
}

@media (min-width: 480px) {
  .es-pdp-spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.es-pdp-spec {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(0, 114, 206, 0.08);
}

.es-pdp-spec--full {
  grid-column: 1 / -1;
}

.es-pdp-spec dt {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--es-muted);
  margin-bottom: 0.2rem;
}

.es-pdp-spec dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.es-pdp-hours li:last-child {
  border-bottom: none !important;
}

.es-pdp-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.es-pdp-trust-list li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(0, 114, 206, 0.08);
}

.es-pdp-trust-list li:last-child {
  border-bottom: none;
}

.es-pdp-related-title {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: -0.02em;
}

.es-pdp-variant-head {
  margin-top: 0.5rem;
}

@media (min-width: 992px) {
  .es-pdp-meta-bar {
    margin-bottom: 1.25rem;
  }
}

/* ========== Catalogue UX premium (sticky, proximité, liste, skeleton) ========== */

.es-filters-sticky {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 3.5rem);
  z-index: 45;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.25s ease;
}

.es-filters-sticky.is-stuck .es-filters--catalog {
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.14);
}

.es-filters-sticky-sentinel {
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.es-quick-cats {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.5rem 0 0.75rem;
  min-width: 0;
}

.es-quick-cats__label {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--es-muted);
}

.es-quick-cats__track {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}

.es-quick-cats__track::-webkit-scrollbar {
  display: none;
}

.es-quick-cat-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--es-text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--es-border);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.es-quick-cat-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--es-text);
}

.es-quick-cat-pill.is-active {
  background: linear-gradient(135deg, var(--es-accent), #ea580c);
  border-color: transparent;
  color: #fff;
}

.es-quick-cat-pill__count {
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.85;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.es-quick-cat-pill.is-active .es-quick-cat-pill__count {
  background: rgba(255, 255, 255, 0.22);
}

.es-btn-near {
  flex-shrink: 0;
  white-space: nowrap;
  border-color: rgba(37, 99, 235, 0.25) !important;
  color: #1d4ed8 !important;
}

.es-btn-near:hover {
  background: rgba(37, 99, 235, 0.08) !important;
}

.es-view-toggle {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--es-border);
  gap: 0.15rem;
}

.es-view-btn {
  border: 0;
  background: transparent;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  color: var(--es-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.es-view-btn.is-active {
  background: var(--es-accent);
  color: #fff;
}

.es-product-card__distance {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #1d4ed8;
  white-space: nowrap;
}

/* Mode liste */
.easysale-product-grid--list {
  grid-template-columns: 1fr !important;
  gap: 0.65rem !important;
}

.easysale-product-grid--list .es-product-card {
  flex-direction: row;
  align-items: stretch;
  min-height: 118px;
}

.easysale-product-grid--list .es-product-card__media {
  width: clamp(108px, 28vw, 160px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.easysale-product-grid--list .es-product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.65rem 0.75rem;
  min-width: 0;
}

.easysale-product-grid--list .es-product-card__title {
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
}

/* EasySale storefront inspired by dense marketplace references */
.easysale-market {
  --es-accent: #fb7701;
  --es-accent-dark: #db5f00;
  --es-ink: #1f1f1f;
  --es-muted: #6d6d6d;
  --es-line: #ececec;
  --es-soft: #f7f7f7;
  background: #fff !important;
  overflow-x: hidden;
}

.easysale-market .es-promo-bar {
  background: #050505 !important;
  border-bottom: 1px solid rgba(255,255,255,.12);
  overflow: hidden !important;
}

.easysale-market .es-promo-bar .container {
  max-width: 1480px;
}

.easysale-market .es-main-header {
  top: 0;
  border-bottom: 1px solid var(--es-line);
  box-shadow: 0 1px 0 rgba(15,23,42,.04) !important;
}

.easysale-market .es-brand-new {
  min-width: max-content;
}

.easysale-market .es-logo-box {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
}

.easysale-market .es-brand-text {
  font-size: 1.35rem !important;
}

.easysale-market .es-nav-links a,
.easysale-market .es-header-actions a {
  color: var(--es-ink) !important;
}

.easysale-market .es-nav-links a:hover,
.easysale-market .es-header-actions a:hover {
  color: var(--es-accent) !important;
}

.easysale-market .es-search-wrap-new .input-group {
  min-height: 38px;
  border-color: #242424 !important;
  background: #f3f3f3;
}

.easysale-market .es-search-wrap-new .form-control {
  min-height: 38px;
  background: #f3f3f3 !important;
  font-size: .86rem;
}

.easysale-market .container-fluid.px-lg-5 {
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
}

.easysale-market .es-cats-circle-wrap {
  background: #fff;
  border-bottom: 1px solid var(--es-line);
  padding: .75rem .25rem .55rem;
}

.easysale-market .es-cat-circle-item {
  width: 92px !important;
  color: var(--es-ink);
}

.easysale-market .es-cat-img-box {
  width: 70px !important;
  height: 70px !important;
  border: 1px solid #fff !important;
  box-shadow: 0 3px 12px rgba(15,23,42,.08) !important;
}

.easysale-market .es-cat-circle-item span {
  white-space: normal;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.15;
  min-height: 2.25em;
}

.easysale-market .es-filter-pills {
  margin: .2rem 0 1rem !important;
  padding: .55rem .2rem .7rem !important;
  border-bottom: 1px solid var(--es-line);
}

.easysale-market .es-filter-pills .btn {
  min-height: 32px;
  border-color: #e5e7eb !important;
  background: #f8f8f8 !important;
  color: #383838 !important;
  font-size: .72rem;
  padding: .38rem .72rem !important;
}

.easysale-market .es-filter-pills .btn.active {
  background: #fff !important;
  color: var(--es-ink) !important;
  border-color: #dcdcdc !important;
}

.easysale-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  list-style: none;
  margin: 0;
  padding: 0 !important;
}

.easysale-product-grid > li {
  min-width: 0;
}

.easysale-market .es-product-card {
  border-radius: 3px !important;
  border: 1px solid #f0f0f0 !important;
  box-shadow: none !important;
  background: #fff !important;
  transition: box-shadow .18s ease, transform .18s ease;
}

.easysale-market .es-product-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.12) !important;
}

.easysale-market .es-product-card__media {
  aspect-ratio: 1 / 1;
  background: #f4f4f4;
}

.easysale-market .es-product-card__media .es-card-carousel {
  border-radius: 0 !important;
}

.easysale-market .es-product-card__media .es-card-carousel__slide img {
  object-fit: cover;
  background: #f4f4f4;
}

.easysale-market .es-card-carousel__sticker {
  top: 7px;
  left: 7px;
}

.easysale-market .es-card-carousel__sticker-inner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(15,23,42,.16);
}

.easysale-market .es-product-card__badge {
  top: 7px;
  right: 7px;
  background: #13a10e !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 2px !important;
  font-size: .58rem !important;
  font-weight: 800 !important;
  padding: .12rem .28rem !important;
  text-transform: uppercase;
}

.easysale-market .es-product-card__body {
  padding: .44rem .45rem .5rem !important;
}

.easysale-market .es-lightning-deal {
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  margin: 0 0 .28rem;
  padding: .13rem .3rem;
  border-radius: 2px;
  background: #fff0e6;
  color: var(--es-accent);
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.easysale-market .es-product-card__title {
  height: 34px;
  color: #252525 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .78rem !important;
  font-weight: 500 !important;
  line-height: 1.22 !important;
}

.easysale-market .es-product-card__rating {
  line-height: 1;
}

.easysale-market .es-product-card__rating i {
  font-size: .55rem !important;
}

.easysale-market .x-small {
  font-size: .66rem;
}

.easysale-market .es-product-card__price {
  color: var(--es-accent);
  line-height: 1.05;
}

.easysale-market .es-product-card__price > span:first-child {
  color: var(--es-accent) !important;
  font-size: 1.08rem !important;
  letter-spacing: 0;
}

.easysale-market .es-product-card__price small {
  font-size: .62rem !important;
}

.easysale-market .es-local-badge {
  display: inline-flex;
  align-items: center;
  margin-right: .28rem;
  padding: .04rem .22rem;
  border-radius: 2px;
  color: #16803a;
  background: #e9f9ef;
  border: 1px solid #bfe8cd;
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.easysale-market .es-product-card__actions .btn-dark {
  width: 28px !important;
  height: 28px !important;
  color: #222 !important;
  background: #fff !important;
  border: 1px solid #d8d8d8 !important;
  box-shadow: none !important;
}

.easysale-market .es-product-card__actions .btn-dark i {
  color: #222 !important;
}

.easysale-market .es-product-card__actions .btn-dark:hover {
  background: var(--es-accent) !important;
  border-color: var(--es-accent) !important;
}

.easysale-market .es-product-card__actions .btn-dark:hover i {
  color: #fff !important;
}

.es-see-more-wrap {
  display: flex;
  justify-content: center;
  padding: clamp(3rem, 12vw, 12rem) 1rem 2rem;
}

.es-see-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 162px;
  min-height: 42px;
  border-radius: 999px;
  background: var(--es-accent);
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(251,119,1,.24);
}

.es-see-more-btn:hover {
  color: #fff;
  background: var(--es-accent-dark);
  transform: translateY(-1px);
}

.es-market-footer {
  margin-top: 1.5rem;
  background: #1f1f1f;
  color: #fff;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1rem, 4vw, 3rem);
}

.es-market-footer__grid {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 3rem);
}

.es-market-footer h3 {
  margin: 0 0 .85rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}

.es-market-footer a,
.es-market-footer p {
  display: block;
  margin: 0 0 .5rem;
  color: rgba(255,255,255,.72);
  font-size: .74rem;
  line-height: 1.55;
  text-decoration: none;
}

.es-market-footer a:hover {
  color: #fff;
}

.es-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.es-pay-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: .22rem .45rem;
  border-radius: 3px;
  background: #fff;
  color: #1f1f1f;
  font-size: .66rem;
  font-weight: 900;
}

.es-market-footer .es-seller-cta {
  display: inline-flex;
  width: max-content;
  margin-top: .35rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: var(--es-accent);
  color: #fff;
  font-weight: 900;
}

@media (min-width: 576px) {
  .easysale-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .easysale-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .easysale-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1500px) {
  .easysale-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1199.98px) {
  .easysale-market .es-header-actions {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .easysale-market .es-promo-bar {
    display: block !important;
    font-size: .68rem;
  }

  .easysale-market .es-promo-bar .container {
    justify-content: center !important;
    min-width: 0;
    white-space: nowrap;
  }

  .easysale-market .es-promo-bar .container > div:last-child,
  .easysale-market .es-nav-links,
  .easysale-market .es-brand-text {
    display: none !important;
  }

  .easysale-market .es-main-header .container-fluid {
    gap: .6rem !important;
    padding-left: .75rem !important;
    padding-right: .75rem !important;
    min-width: 0;
  }

  .easysale-market .es-filter-pills {
    max-width: 100%;
    overflow-x: auto !important;
  }

  .easysale-market .es-search-wrap-new .form-control {
    font-size: .8rem;
    padding-left: .85rem !important;
  }

  .easysale-market .es-search-wrap-new .btn {
    padding-left: .9rem !important;
    padding-right: .9rem !important;
  }

  .easysale-market .container-fluid.px-lg-5 {
    padding-left: .65rem !important;
    padding-right: .65rem !important;
  }

  .easysale-market .es-cats-circle-wrap {
    margin-left: -.65rem;
    margin-right: -.65rem;
    padding-left: .65rem;
  }

  .easysale-market .es-cat-circle-item {
    width: 74px !important;
  }

  .easysale-market .es-cat-img-box {
    width: 56px !important;
    height: 56px !important;
  }

  .easysale-market .es-cat-circle-item span {
    font-size: .66rem;
  }

  .easysale-market .es-product-card__title {
    font-size: .72rem !important;
    height: 32px;
  }

  .easysale-market .es-product-card__price > span:first-child {
    font-size: .96rem !important;
  }

  .es-market-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .easysale-product-grid {
    gap: 7px !important;
  }

  .easysale-market .es-product-card__body {
    padding: .36rem !important;
  }

  .es-market-footer__grid {
    grid-template-columns: 1fr;
  }
}

.easysale-product-grid--list .es-product-card__actions {
  margin-top: auto;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .easysale-product-grid--list .es-product-card__media {
    width: 180px;
  }
}

/* Skeleton loading */
.es-skeleton-grid .es-skeleton-card {
  border-radius: var(--es-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--es-border);
}

.es-skeleton-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 50%, #e2e8f0 100%);
  background-size: 200% 100%;
  animation: es-skeleton-shimmer 1.2s ease-in-out infinite;
}

.es-skeleton-card__body {
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.es-skeleton-line {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 50%, #e2e8f0 100%);
  background-size: 200% 100%;
  animation: es-skeleton-shimmer 1.2s ease-in-out infinite;
}

.es-skeleton-line--sm { width: 45%; }
.es-skeleton-line--md { width: 75%; }
.es-skeleton-line--lg { width: 55%; height: 14px; }

@keyframes es-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.easysale-product-grid--list .es-skeleton-card {
  display: flex;
  flex-direction: row;
}

.easysale-product-grid--list .es-skeleton-card__media {
  width: 140px;
  aspect-ratio: 1;
  flex-shrink: 0;
}

/* Pagination enrichie */
.es-pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.es-pagination-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.88rem;
  color: var(--es-text);
}

.es-pagination-meta__label {
  color: var(--es-muted);
  font-weight: 600;
}

.es-pagination-meta__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--es-muted);
  opacity: 0.5;
}

.es-pagination-meta__range {
  color: var(--es-muted);
  font-size: 0.82rem;
}

.es-pagination-list .page-link {
  min-width: 2.35rem;
  text-align: center;
}

.es-pagination {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(37, 99, 235, 0.12) !important;
}

@media (prefers-reduced-motion: reduce) {
  .es-skeleton-card__media,
  .es-skeleton-line {
    animation: none;
  }
  .es-filters-sticky {
    transition: none;
  }
}

/* EasySale standalone layout fallback when Bootstrap CDN is unavailable */
.easysale-market .container,
.easysale-market .container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: .75rem;
  padding-left: .75rem;
}

.easysale-market .d-flex { display: flex !important; }
.easysale-market .align-items-center { align-items: center !important; }
.easysale-market .justify-content-between { justify-content: space-between !important; }
.easysale-market .justify-content-center { justify-content: center !important; }
.easysale-market .text-center { text-align: center !important; }
.easysale-market .text-decoration-none { text-decoration: none !important; }
.easysale-market .text-white { color: #fff !important; }
.easysale-market .text-dark { color: #222 !important; }
.easysale-market .text-muted { color: #757575 !important; }
.easysale-market .small { font-size: .82rem !important; }
.easysale-market .fw-bold { font-weight: 700 !important; }
.easysale-market .fw-bolder { font-weight: 900 !important; }
.easysale-market .flex-grow-1 {
  flex-grow: 1 !important;
  min-width: 0 !important;
}
.easysale-market .flex-shrink-0 { flex-shrink: 0 !important; }
.easysale-market .position-relative { position: relative !important; }
.easysale-market .overflow-hidden { overflow: hidden !important; }
.easysale-market .overflow-auto { overflow: auto !important; }
.easysale-market .bg-white { background: #fff !important; }
.easysale-market .bg-light { background: #f7f7f7 !important; }
.easysale-market .sticky-top { position: sticky !important; top: 0; }
.easysale-market .shadow-sm { box-shadow: 0 1px 3px rgba(15,23,42,.08) !important; }
.easysale-market .rounded-pill { border-radius: 999px !important; }
.easysale-market .rounded-circle { border-radius: 50% !important; }
.easysale-market .rounded-3 { border-radius: .5rem !important; }
.easysale-market .rounded-4 { border-radius: .75rem !important; }
.easysale-market .border { border: 1px solid #e5e7eb !important; }
.easysale-market .border-0 { border: 0 !important; }
.easysale-market .p-0 { padding: 0 !important; }
.easysale-market .p-2 { padding: .5rem !important; }
.easysale-market .p-3 { padding: 1rem !important; }
.easysale-market .py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.easysale-market .py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.easysale-market .px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.easysale-market .px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.easysale-market .mb-1 { margin-bottom: .25rem !important; }
.easysale-market .mb-2 { margin-bottom: .5rem !important; }
.easysale-market .mb-3 { margin-bottom: 1rem !important; }
.easysale-market .mb-4 { margin-bottom: 1.5rem !important; }
.easysale-market .mt-4 { margin-top: 1.5rem !important; }
.easysale-market .mt-5 { margin-top: 3rem !important; }
.easysale-market .mx-auto { margin-left: auto !important; margin-right: auto !important; }
.easysale-market .me-1 { margin-right: .25rem !important; }
.easysale-market .me-2 { margin-right: .5rem !important; }
.easysale-market .ms-1 { margin-left: .25rem !important; }
.easysale-market .gap-0 { gap: 0 !important; }
.easysale-market .gap-1 { gap: .25rem !important; }
.easysale-market .gap-2 { gap: .5rem !important; }
.easysale-market .gap-3 { gap: 1rem !important; }
.easysale-market .gap-4 { gap: 1.5rem !important; }
.easysale-market .w-100 { width: 100% !important; }
.easysale-market .h-100 { height: 100% !important; }
.easysale-market .d-block { display: block !important; }
.easysale-market .d-inline { display: inline !important; }
.easysale-market .d-grid { display: grid !important; }
.easysale-market .d-none { display: none !important; }
.easysale-market .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.easysale-market .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -.5rem;
  margin-left: -.5rem;
}

.easysale-market .col-xl-10,
.easysale-market .col-xl-2 {
  width: 100%;
  padding-right: .5rem;
  padding-left: .5rem;
}

.easysale-market .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.easysale-market .form-control {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  font: inherit;
}

.easysale-market .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.easysale-market .card {
  background: #fff;
  border: 1px solid #ececec;
}

.easysale-market .card-header,
.easysale-market .card-body,
.easysale-market .card-footer {
  padding: 1rem;
}

.easysale-market .alert {
  padding: .5rem .75rem;
  border-radius: .5rem;
}

@media (min-width: 768px) {
  .easysale-market .d-md-block { display: block !important; }
}

@media (min-width: 992px) {
  .easysale-market .d-lg-flex { display: flex !important; }
}

@media (min-width: 1200px) {
  .easysale-market .d-xl-flex { display: flex !important; }
  .easysale-market .d-xl-block { display: block !important; }
  .easysale-market .col-xl-10 { flex: 0 0 auto; width: 83.333333%; }
  .easysale-market .col-xl-2 { flex: 0 0 auto; width: 16.666667%; }
}

.dropdown-menu:not(.show),
.modal:not(.show) {
  display: none !important;
}

.easysale-market .dropdown-menu.show {
  display: block !important;
}

.modal.show {
  display: block !important;
}

@media (max-width: 1199.98px) {
  .easysale-market .es-header-actions {
    display: none !important;
  }
}

.easysale-market .es-logo-letters {
  color: #fff;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.easysale-market .es-cat-initial {
  color: var(--es-accent);
  font-size: 1.2rem;
  font-weight: 1000;
}

.easysale-market .es-cart-symbol {
  color: #222;
  font-size: 1.1rem;
  font-weight: 1000;
  line-height: 1;
}

.easysale-market .es-product-card__actions .btn-dark:hover .es-cart-symbol {
  color: #fff;
}

.easysale-market .easysale-product-grid > li,
.easysale-market .easysale-product-grid .es-product-card {
  animation: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Use the global EasyCM header/footer only on the EasySale catalog page. */
.es-promo-bar,
.easysale-market .es-main-header,
.easysale-market .es-market-footer {
  display: none !important;
}

/* EasySale PDP marketplace detail page */
.es-pdp-page {
  background: #fff !important;
  overflow-x: hidden;
}

.es-pdp-page .es-container {
  max-width: 1480px;
  padding: 0 clamp(.75rem, 2vw, 1.5rem);
}

.es-pdp-page .es-aurora,
.es-pdp-page .es-shape-field {
  display: none !important;
}

.es-pdp-commerce-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 58px;
  margin: 0 calc(clamp(.75rem, 2vw, 1.5rem) * -1) 1rem;
  padding: .55rem clamp(.75rem, 2vw, 1.5rem);
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
  overflow: hidden;
}

.es-pdp-commerce-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fb7701;
  text-decoration: none;
  font-weight: 900;
}

.es-pdp-commerce-brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fb7701;
  color: #fff;
  font-size: .72rem;
}

.es-pdp-commerce-search {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  border: 2px solid #242424;
  border-radius: 999px;
  overflow: hidden;
  background: #f7f7f7;
}

.es-pdp-commerce-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .65rem 1.05rem;
  font: inherit;
  outline: 0;
}

.es-pdp-commerce-search button {
  width: 44px;
  align-self: stretch;
  border: 0;
  background: #242424;
  color: #fff;
  font-weight: 900;
}

.es-pdp-commerce-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  font-weight: 900;
}

.es-pdp-commerce-links a {
  color: #222;
  text-decoration: none;
}

.es-pdp-commerce-links a:hover {
  color: #fb7701;
}

.es-pdp-page .es-pdp-article {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.es-pdp-page .es-pdp-breadcrumb {
  margin: .35rem 0 .8rem;
  font-size: .74rem;
}

.es-pdp-page .es-pdp-meta-bar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 !important;
  margin-bottom: 1rem !important;
  padding: 0 !important;
  border: 1px solid #101010 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: #050505 !important;
  color: #fff !important;
}

.es-pdp-page .es-pdp-badge {
  justify-content: center;
  min-height: 34px;
  padding: .35rem .75rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: .72rem;
  font-weight: 900;
}

.es-pdp-page .es-pdp-badge + .es-pdp-badge {
  border-left: 1px solid rgba(255,255,255,.18) !important;
}

.es-pdp-page .es-pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(330px, 420px);
  align-items: start;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.es-pdp-page .es-pd-gallery {
  position: relative;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}

.es-pdp-page .es-pd-gallery::before {
  display: none !important;
}

.es-pdp-gallery-stage {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
}

.es-pdp-thumb-rail {
  display: grid;
  gap: .45rem;
  position: sticky;
  top: 74px;
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.es-pdp-thumb {
  width: 58px;
  height: 58px;
  padding: 2px;
  border: 1px solid #dedede;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.es-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.es-pdp-thumb.is-active {
  border-color: #fb7701;
  box-shadow: 0 0 0 2px rgba(251,119,1,.18);
}

.es-pdp-page .es-pd-gallery-main {
  background: #f7f7f7 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.es-pdp-page .es-pd-gallery-main .es-card-carousel {
  border-radius: 0 !important;
  background: #f7f7f7 !important;
}

.es-pdp-page .es-pd-gallery-main img {
  object-fit: contain !important;
  background: #f7f7f7;
}

.es-pdp-flash-note,
.es-pdp-page .es-pd-gallery > .mt-4 {
  margin-top: 1rem !important;
  padding: .75rem .9rem !important;
  border: 1px solid #ffd0b0 !important;
  border-radius: 5px !important;
  background: #fff4ec !important;
  color: #222 !important;
  font-size: .8rem;
}

.es-pdp-page .es-pdp-main-column {
  position: sticky;
  top: 76px;
  min-width: 0;
}

.es-pdp-page .es-pd-panel {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.es-pdp-page .es-pd-panel::before {
  display: none !important;
}

.es-pdp-page .es-pdp-title {
  margin: 0 0 .6rem !important;
  color: #222 !important;
  font-size: clamp(1.15rem, 2vw, 1.65rem) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.es-pdp-page .es-pd-panel--main .es-pdp-title {
  color: #222 !important;
}

.es-pdp-page .es-pd-price {
  margin: .75rem 0 1rem !important;
  padding: .65rem .75rem;
  background: #fff7f0;
  color: #fb7701 !important;
  border-radius: 4px;
}

.es-pdp-page .es-pd-price #esPdpPriceMain {
  color: #fb7701 !important;
  font-size: clamp(1.8rem, 4vw, 2.7rem) !important;
  line-height: 1;
}

.es-pdp-page .es-pdp-choice-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .65rem;
  font-size: .86rem;
  font-weight: 900;
}

.es-pdp-page .es-pdp-choice-head small {
  color: #6d6d6d;
  font-weight: 700;
}

.es-pdp-page .es-pdp-variant-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem !important;
}

.es-pdp-page .es-pdp-variant-card {
  display: grid !important;
  grid-template-rows: 58px auto;
  gap: .25rem;
  min-height: 86px;
  padding: .25rem !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #222 !important;
  white-space: normal !important;
}

.es-pdp-page .es-pdp-variant-card img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  border-radius: 3px;
  background: #f5f5f5;
}

.es-pdp-page .es-pdp-variant-card span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: .62rem;
  line-height: 1.12;
  font-weight: 800;
}

.es-pdp-page .es-pdp-variant-card:hover,
.es-pdp-page .es-pdp-variant-card.is-active {
  border-color: #fb7701 !important;
  box-shadow: 0 0 0 2px rgba(251,119,1,.16);
}

.es-pdp-coupon-strip {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  padding: .55rem .7rem;
  border-radius: 4px;
  background: #fff0e6;
  color: #222;
  font-size: .78rem;
}

.es-pdp-coupon-strip strong {
  color: #fb7701;
  font-size: 1rem;
}

.es-pdp-page .es-pdp-cta-buy {
  width: 100%;
  min-height: 44px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fb7701 !important;
  color: #fff !important;
  font-size: .9rem !important;
  font-weight: 900 !important;
  text-transform: none !important;
}

.es-pdp-page .btn-outline-success {
  width: 100%;
  min-height: 42px;
  border: 1px solid #13a10e !important;
  border-radius: 999px !important;
  color: #128c2e !important;
  background: #fff !important;
}

.es-pdp-page .es-pdp-panel--specs,
.es-pdp-page .es-pdp-panel--hours,
.es-pdp-page .es-pdp-panel--social,
.es-pdp-page .es-pdp-trust-panel,
.es-pdp-page .es-pdp-reviews-panel {
  max-width: min(760px, 58%);
  margin-top: 1.25rem !important;
  padding: 1rem !important;
  border: 1px solid #ececec !important;
  border-radius: 4px !important;
}

@media (max-width: 991.98px) {
  .es-pdp-commerce-links {
    display: none;
  }

  .es-pdp-page .es-pd-grid {
    grid-template-columns: 1fr;
  }

  .es-pdp-page .es-pdp-main-column {
    position: static;
  }

  .es-pdp-page .es-pdp-panel--specs,
  .es-pdp-page .es-pdp-panel--hours,
  .es-pdp-page .es-pdp-panel--social,
  .es-pdp-page .es-pdp-trust-panel,
  .es-pdp-page .es-pdp-reviews-panel {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .es-pdp-commerce-header {
    gap: .55rem;
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .es-pdp-commerce-brand strong {
    display: none;
  }

  .es-pdp-commerce-brand {
    flex: 0 0 auto;
  }

  .es-pdp-commerce-search {
    flex: 1 1 auto;
    min-width: 0;
  }

  .es-pdp-commerce-search input {
    padding-left: .75rem;
    font-size: .85rem;
  }

  .es-pdp-commerce-search button {
    width: 38px;
  }

  .es-pdp-page .es-pd-price .d-flex {
    flex-wrap: wrap;
  }

  .es-pdp-page .es-pd-price #esPdpPriceMain {
    font-size: 2rem !important;
  }

  .es-pdp-page .es-pdp-meta-bar {
    grid-template-columns: 1fr;
  }

  .es-pdp-page .es-pdp-badge + .es-pdp-badge {
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.18) !important;
  }

  .es-pdp-gallery-stage {
    grid-template-columns: 1fr;
  }

  .es-pdp-thumb-rail {
    position: static;
    display: flex;
    order: 2;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .es-pdp-thumb {
    flex: 0 0 auto;
  }

  .es-pdp-page .es-pdp-variant-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* EasySale catalog card polish - final override */
.easysale-market .easysale-product-grid {
  gap: 16px !important;
  padding: 2px 0 0 !important;
}

.easysale-market .es-cat-img-box {
  position: relative;
  background: #eef2f7 !important;
  border: 3px solid #fff !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .12) !important;
}

.easysale-market .es-cat-img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -18px 22px rgba(15, 23, 42, .16);
  pointer-events: none;
}

.easysale-market .es-cat-img-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.easysale-market .es-cat-circle-item:hover .es-cat-img-box img {
  transform: scale(1.1);
}

.easysale-market .es-cat-initial {
  font-weight: 900;
  color: #fb7701;
  font-size: 1.35rem;
}

.easysale-market .easysale-product-grid > li {
  display: flex;
}

.easysale-market .easysale-product-grid .es-product-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .07) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.easysale-market .easysale-product-grid .es-product-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(251, 119, 1, .42) !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .14) !important;
}

.easysale-market .easysale-product-grid .es-product-card__media {
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

.easysale-market .easysale-product-grid .es-card-carousel,
.easysale-market .easysale-product-grid .es-card-carousel__viewport,
.easysale-market .easysale-product-grid .es-card-carousel__track,
.easysale-market .easysale-product-grid .es-card-carousel__slide {
  height: 100%;
}

.easysale-market .easysale-product-grid .es-card-carousel__slide img {
  object-fit: cover;
  transform-origin: center;
}

.easysale-market .easysale-product-grid .es-product-card:hover .es-card-carousel__slide img {
  transform: scale(1.045);
}

.easysale-market .easysale-product-grid .es-card-carousel__sticker {
  top: 10px;
  left: 10px;
}

.easysale-market .easysale-product-grid .es-card-carousel__sticker-inner {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 2px solid #fff;
  background: #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, .2);
}

.easysale-market .easysale-product-grid .es-product-card__badge {
  top: 10px;
  right: 10px;
  border-radius: 999px !important;
  background: rgba(7, 89, 51, .94) !important;
  color: #fff !important;
  padding: .24rem .48rem !important;
  font-size: .62rem !important;
  letter-spacing: 0;
  box-shadow: 0 8px 16px rgba(7, 89, 51, .18);
}

.easysale-market .easysale-product-grid .es-product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px !important;
  gap: 8px;
}

.easysale-market .es-product-card__meta-row,
.easysale-market .es-product-card__price-row,
.easysale-market .es-product-card__actions,
.easysale-market .es-product-card__signals,
.easysale-market .es-product-card__shop-line {
  display: flex;
  align-items: center;
}

.easysale-market .es-product-card__meta-row,
.easysale-market .es-product-card__price-row,
.easysale-market .es-product-card__actions {
  justify-content: space-between;
  gap: 8px;
}

.easysale-market .es-lightning-deal,
.easysale-market .es-local-badge,
.easysale-market .es-trust-badge,
.easysale-market .es-discount-badge,
.easysale-market .es-product-card__rating-pill {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: .2rem .5rem;
  font-size: .66rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.easysale-market .es-lightning-deal {
  margin: 0;
  background: #fff4ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.easysale-market .es-local-badge {
  margin: 0;
  background: #ecfdf3;
  color: #047857;
  border: 1px solid #bbf7d0;
}

.easysale-market .es-trust-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.easysale-market .es-product-card__rating-pill {
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
}

.easysale-market .es-product-card__rating-pill i {
  color: #fbbf24;
  font-size: .62rem;
}

.easysale-market .easysale-product-grid .es-product-card__title {
  height: 40px;
  margin: 0 !important;
  color: #111827 !important;
  font-size: .86rem !important;
  line-height: 1.28 !important;
  font-weight: 800 !important;
  letter-spacing: 0;
}

.easysale-market .es-product-card__title:hover {
  color: #fb7701 !important;
}

.easysale-market .es-product-card__shop-line {
  min-width: 0;
  gap: 6px;
  color: #64748b;
  font-size: .72rem;
  line-height: 1.2;
}

.easysale-market .es-product-card__shop-line i {
  color: #fb7701;
  font-size: .68rem;
}

.easysale-market .es-product-card__shop-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.easysale-market .es-product-card__city {
  margin-left: auto;
  flex: 0 0 auto;
  color: #0f766e;
  font-weight: 800;
}

.easysale-market .es-product-card__price-row {
  align-items: flex-end;
}

.easysale-market .es-product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  color: #fb7701 !important;
}

.easysale-market .es-product-card__price > span:first-child {
  font-size: 1.22rem !important;
  line-height: 1 !important;
  color: #fb7701 !important;
  font-weight: 950 !important;
}

.easysale-market .es-product-card__price small {
  font-size: .68rem !important;
  font-weight: 900;
}

.easysale-market .es-price-old {
  color: #94a3b8 !important;
  font-size: .7rem !important;
}

.easysale-market .es-discount-badge {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.easysale-market .es-product-card__signals {
  justify-content: space-between;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 6px;
  background: #f8fafc;
  color: #475569;
  font-size: .68rem;
  font-weight: 750;
}

.easysale-market .es-product-card__signals span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.easysale-market .es-product-card__signals i {
  color: #0f766e;
  font-size: .68rem;
}

.easysale-market .es-product-card__actions {
  margin-top: auto;
  padding-top: 2px;
}

.easysale-market .es-product-card__mini-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.easysale-market .es-icon-action {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.easysale-market .es-icon-action:hover,
.easysale-market .es-icon-action.is-active {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #fb7701;
  transform: translateY(-1px);
}

.easysale-market .es-icon-action.is-active .fa-heart {
  color: #dc2626;
}

.easysale-market .es-card-order-btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  padding: .45rem .78rem;
  background: linear-gradient(135deg, #111827, #0f172a);
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(15, 23, 42, .18);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space: nowrap;
}

.easysale-market .es-card-order-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #fb7701, #ea580c);
  box-shadow: 0 12px 24px rgba(251, 119, 1, .24);
}

@media (min-width: 1200px) {
  .easysale-market .easysale-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1500px) {
  .easysale-market .easysale-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575.98px) {
  .easysale-market .easysale-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .easysale-market .easysale-product-grid .es-product-card__body {
    padding: 9px !important;
    gap: 6px;
  }

  .easysale-market .es-product-card__shop-line,
  .easysale-market .es-product-card__signals {
    font-size: .62rem;
  }

  .easysale-market .es-product-card__signals {
    padding: 6px;
  }

  .easysale-market .es-product-card__signals span:first-child {
    display: none;
  }

  .easysale-market .es-product-card__signals {
    justify-content: flex-start;
  }

  .easysale-market .easysale-product-grid .es-product-card__title {
    height: 36px;
    font-size: .76rem !important;
  }

  .easysale-market .es-product-card__price > span:first-child {
    font-size: 1.02rem !important;
  }

  .easysale-market .es-card-order-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
  }

  .easysale-market .es-card-order-btn span {
    display: none;
  }

  .easysale-market .es-icon-action {
    width: 30px;
    height: 30px;
  }
}

/* EasySale product detail premium redesign - final layer */
.es-pdp-page {
  --pdp-ink: #101828;
  --pdp-muted: #667085;
  --pdp-line: #e5e7eb;
  --pdp-soft: #f8fafc;
  --pdp-orange: #fb7701;
  --pdp-teal: #0f766e;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 42%, #ffffff 100%) !important;
}

.es-pdp-page .es-container {
  max-width: 1540px;
}

.es-pdp-commerce-header {
  min-height: 66px;
  margin-bottom: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 12px 34px rgba(15,23,42,.06);
}

.es-pdp-commerce-brand span {
  border-radius: 8px;
  background: linear-gradient(135deg, #fb7701, #111827);
}

.es-pdp-commerce-search {
  min-height: 44px;
  border: 1px solid #111827 !important;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
}

.es-pdp-commerce-search button {
  background: #111827;
  font-size: 0;
  position: relative;
}

.es-pdp-commerce-search button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-58%, -58%);
}

.es-pdp-commerce-search button::after {
  content: "";
  position: absolute;
  left: calc(50% + 5px);
  top: calc(50% + 5px);
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: left center;
}

.es-pdp-page .es-pdp-article {
  background: transparent !important;
}

.es-pdp-page .es-pdp-breadcrumb {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
}

.es-pdp-page .es-pdp-meta-bar {
  overflow: hidden;
  margin-bottom: 18px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 8px !important;
  background: #111827 !important;
  box-shadow: 0 14px 32px rgba(15,23,42,.16);
}

.es-pdp-page .es-pdp-badge {
  min-height: 44px;
  gap: 8px;
  font-size: .78rem;
  letter-spacing: 0;
}

.es-pdp-page .es-pdp-badge i {
  color: #fbbf24 !important;
}

.es-pdp-page .es-pd-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 500px);
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.es-pdp-page .es-pd-gallery {
  position: sticky;
  top: 88px;
  align-self: start;
}

.es-pdp-gallery-stage {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
}

.es-pdp-thumb-rail {
  gap: 10px;
  top: 88px;
}

.es-pdp-thumb {
  width: 76px;
  height: 76px;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #d7dde8;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
}

.es-pdp-thumb img {
  border-radius: 6px;
}

.es-pdp-thumb.is-active {
  border-color: var(--pdp-orange);
  box-shadow: 0 0 0 3px rgba(251,119,1,.16), 0 10px 20px rgba(15,23,42,.1);
}

.es-pdp-page .es-pd-gallery-main {
  padding: 12px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 22px 60px rgba(15,23,42,.12) !important;
  overflow: hidden !important;
}

.es-pdp-page .es-pd-gallery-main .es-card-carousel {
  border-radius: 8px !important;
  background:
    linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%) !important;
}

.es-pdp-page .es-pd-gallery-main .es-card-carousel__viewport {
  border-radius: 8px;
}

.es-pdp-page .es-pd-gallery-main img {
  object-fit: contain !important;
  background: transparent;
}

.es-pdp-page .es-pd-gallery-main .es-card-carousel__sticker-inner {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.es-pdp-page .es-pd-gallery > .mt-4 {
  border-radius: 8px !important;
  background: #fff7ed !important;
  box-shadow: 0 12px 24px rgba(251,119,1,.08);
}

.es-pdp-page .es-pdp-main-column {
  top: 88px;
}

.es-pdp-page .es-pd-panel--main {
  padding: 22px !important;
  border: 1px solid rgba(15,23,42,.09) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 22px 56px rgba(15,23,42,.1) !important;
}

.es-pdp-product-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.es-pdp-product-kicker span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: .28rem .58rem;
  border-radius: 999px;
  background: #f0fdfa;
  color: var(--pdp-teal);
  border: 1px solid #ccfbf1;
  font-size: .72rem;
  font-weight: 900;
}

.es-pdp-product-kicker span + span {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.es-pdp-page .es-pdp-title {
  color: var(--pdp-ink) !important;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem) !important;
  line-height: 1.12 !important;
  font-weight: 950 !important;
  margin-bottom: 14px !important;
}

.es-pdp-social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--pdp-muted);
}

.es-pdp-social-proof .es-pdp-rating i {
  color: #f59e0b !important;
}

.es-pdp-page .es-pd-price {
  position: relative;
  margin: 0 0 16px !important;
  padding: 16px 18px;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7ed, #fff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.es-pdp-price-label {
  margin-bottom: 5px;
  color: #9a3412;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.es-pdp-page .es-pd-price #esPdpPriceMain {
  color: var(--pdp-orange) !important;
  font-size: clamp(2.25rem, 5vw, 3.45rem) !important;
  font-weight: 950 !important;
}

.es-pdp-page .es-pdp-choice-head {
  padding-top: 4px;
}

.es-pdp-page .es-pdp-variant-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
}

.es-pdp-page .es-pdp-variant-card {
  min-height: 112px;
  grid-template-rows: 70px auto;
  border-radius: 8px !important;
  border-color: #e5e7eb !important;
  padding: 6px !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.es-pdp-page .es-pdp-variant-card img {
  height: 70px;
  border-radius: 6px;
}

.es-pdp-page .es-pdp-variant-card:hover,
.es-pdp-page .es-pdp-variant-card.is-active {
  transform: translateY(-2px);
  border-color: var(--pdp-orange) !important;
  box-shadow: 0 12px 22px rgba(251,119,1,.14);
}

.es-pdp-coupon-strip {
  margin-top: 16px;
  border: 1px dashed #fb923c;
  border-radius: 8px;
  background: #fff7ed;
}

.es-pdp-desc-card {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.es-pdp-desc-card h2 {
  margin: 0 0 6px;
  color: var(--pdp-ink);
  font-size: .86rem;
  font-weight: 950;
}

.es-pdp-desc-card p {
  margin: 0;
  color: #475467;
  font-size: .88rem;
  line-height: 1.58;
}

.es-pdp-seller-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.es-pdp-seller-avatar {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}

.es-pdp-seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.es-pdp-seller-card strong,
.es-pdp-seller-card span {
  display: block;
}

.es-pdp-seller-card strong {
  color: var(--pdp-ink);
  font-size: .9rem;
  font-weight: 950;
}

.es-pdp-seller-card span {
  color: var(--pdp-muted);
  font-size: .76rem;
}

.es-pdp-seller-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: .35rem .72rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 900;
}

.es-pdp-page .es-pdp-cta-buy {
  min-height: 52px;
  background: linear-gradient(135deg, #fb7701, #ea580c) !important;
  box-shadow: 0 16px 28px rgba(251,119,1,.25);
}

.es-pdp-page .btn-outline-success {
  min-height: 50px;
  border-width: 1.5px !important;
  background: #f0fdf4 !important;
}

.es-pdp-page .es-pdp-panel--specs,
.es-pdp-page .es-pdp-panel--hours,
.es-pdp-page .es-pdp-panel--social,
.es-pdp-page .es-pdp-trust-panel,
.es-pdp-page .es-pdp-reviews-panel {
  max-width: 100%;
  padding: 18px !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}

.es-pdp-spec-grid {
  gap: 10px;
}

.es-pdp-spec {
  border-radius: 8px;
  background: #f8fafc;
}

@media (min-width: 992px) {
  .es-pdp-page .es-pdp-panel--specs,
  .es-pdp-page .es-pdp-panel--hours,
  .es-pdp-page .es-pdp-panel--social,
  .es-pdp-page .es-pdp-trust-panel,
  .es-pdp-page .es-pdp-reviews-panel,
  .es-pdp-related {
    width: calc(100% - 520px - clamp(1.2rem, 3vw, 2.4rem));
  }
}

@media (max-width: 991.98px) {
  .es-pdp-page .es-pd-gallery {
    position: static;
  }

  .es-pdp-page .es-pd-panel--main {
    padding: 18px !important;
  }

  .es-pdp-page .es-pdp-panel--specs,
  .es-pdp-page .es-pdp-panel--hours,
  .es-pdp-page .es-pdp-panel--social,
  .es-pdp-page .es-pdp-trust-panel,
  .es-pdp-page .es-pdp-reviews-panel,
  .es-pdp-related {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .es-pdp-page .es-pdp-meta-bar {
    grid-template-columns: 1fr;
  }

  .es-pdp-gallery-stage {
    grid-template-columns: 1fr;
  }

  .es-pdp-thumb-rail {
    order: 2;
    display: flex;
    overflow-x: auto;
  }

  .es-pdp-thumb {
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
  }

  .es-pdp-page .es-pdp-variant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .es-pdp-seller-card {
    grid-template-columns: 42px 1fr;
  }

  .es-pdp-seller-card a {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* EasySale PDP static gallery - no carousel */
.es-pdp-page .es-pdp-gallery-card {
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.es-pdp-page .es-pdp-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.es-pdp-page .es-pdp-gallery-head span,
.es-pdp-page .es-pdp-gallery-head strong {
  display: block;
}

.es-pdp-page .es-pdp-gallery-head span {
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.es-pdp-page .es-pdp-gallery-head strong {
  color: #0f172a;
  font-size: .92rem;
  font-weight: 950;
}

.es-pdp-page .es-pdp-gallery-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 190px;
  min-height: 40px;
  padding: 4px 10px 4px 4px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  font-size: .74rem;
  font-weight: 900;
}

.es-pdp-page .es-pdp-gallery-shop img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.es-pdp-page .es-pdp-gallery-main {
  position: relative;
  margin: 0;
  min-height: 520px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, .96), rgba(255, 255, 255, .98)),
    repeating-linear-gradient(45deg, rgba(15, 23, 42, .03) 0 8px, transparent 8px 16px);
  overflow: hidden;
}

.es-pdp-page .es-pdp-gallery-main img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  max-height: 660px;
  object-fit: contain;
  padding: 18px;
  display: block;
}

.es-pdp-page .es-pdp-gallery-main figcaption {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 24px);
  padding: 8px 13px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #475569;
  font-size: .74rem;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .1);
  white-space: nowrap;
}

.es-pdp-page .es-pdp-thumb-rail {
  max-height: 646px;
  padding: 2px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #fb7701 #f1f5f9;
}

.es-pdp-page .es-pdp-thumb {
  position: relative;
  background: #fff;
}

.es-pdp-page .es-pdp-thumb::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  border: 2px solid transparent;
  pointer-events: none;
}

.es-pdp-page .es-pdp-thumb.is-active::after {
  border-color: #fb7701;
}

.es-pdp-page .es-pdp-thumb:hover {
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .es-pdp-page .es-pdp-gallery-main {
    min-height: 420px;
  }

  .es-pdp-page .es-pdp-gallery-main img {
    min-height: 420px;
    max-height: 520px;
  }

  .es-pdp-page .es-pdp-thumb-rail {
    max-height: none;
  }
}

/* EasySale cart operations page */
.es-cart-page {
  min-height: 70vh;
}

.es-cart-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #fff7ed);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.es-cart-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .85rem;
  color: #475569;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 850;
}

.es-cart-back:hover {
  color: #fb7701;
}

.es-cart-kicker {
  margin: 0 0 .25rem;
  color: #fb7701;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.es-cart-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 950;
  letter-spacing: 0;
}

.es-cart-hero p:not(.es-cart-kicker) {
  max-width: 620px;
  margin: .45rem 0 0;
  color: #475569;
  font-size: .95rem;
  line-height: 1.6;
}

.es-cart-summary-card {
  padding: 1rem;
  border: 1px solid rgba(251, 119, 1, .18);
  border-radius: 10px;
  background: #fff;
}

.es-cart-summary-card span,
.es-cart-summary-card strong,
.es-cart-summary-card small {
  display: block;
}

.es-cart-summary-card span {
  color: #64748b;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.es-cart-summary-card strong {
  margin-top: .25rem;
  color: #fb7701;
  font-size: 1.55rem;
  font-weight: 950;
}

.es-cart-summary-card small {
  color: #64748b;
  font-size: .75rem;
}

.es-cart-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin-bottom: 1.2rem;
}

.es-cart-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 42px;
  padding: .55rem .7rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.es-cart-steps i {
  color: #fb7701;
}

.es-cart-empty {
  max-width: 680px;
  margin: 2rem auto;
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.es-cart-empty__icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #fff7ed;
  color: #fb7701;
  font-size: 1.6rem;
}

.es-cart-empty h2 {
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 950;
}

.es-cart-empty p {
  max-width: 460px;
  margin: .5rem auto 1.25rem;
  color: #64748b;
}

.es-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 1.1rem;
  align-items: start;
}

.es-cart-list {
  display: grid;
  gap: .95rem;
}

.es-cart-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  padding: .85rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.es-cart-item__media {
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.es-cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.es-cart-item__body {
  min-width: 0;
  display: grid;
  gap: .8rem;
}

.es-cart-item__top,
.es-cart-item__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
}

.es-cart-item__shop {
  display: block;
  color: #fb7701;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.es-cart-item h2 {
  margin: .2rem 0 0;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.25;
}

.es-cart-item h2 a {
  color: #0f172a;
  text-decoration: none;
}

.es-cart-item h2 a:hover {
  color: #fb7701;
}

.es-cart-remove {
  width: 36px;
  height: 36px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
}

.es-cart-remove:hover {
  background: #dc2626;
  color: #fff;
}

.es-cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.es-cart-item__meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .55rem;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: .75rem;
  font-weight: 800;
}

.es-cart-item__meta i {
  color: #fb7701;
}

.es-cart-price span,
.es-cart-price strong {
  display: block;
}

.es-cart-price span {
  color: #94a3b8;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: line-through;
}

.es-cart-price strong {
  color: #fb7701;
  font-size: 1.25rem;
  font-weight: 950;
}

.es-cart-actions {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.es-cart-ghost,
.es-cart-order,
.es-cart-aside__continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 40px;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.es-cart-ghost {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
}

.es-cart-order,
.es-cart-aside__continue {
  border: 0;
  background: linear-gradient(135deg, #fb7701, #ea580c);
  color: #fff;
  box-shadow: 0 12px 22px rgba(251, 119, 1, .22);
}

.es-cart-ghost:hover {
  background: #f8fafc;
  color: #0f172a;
}

.es-cart-order:hover,
.es-cart-aside__continue:hover {
  color: #fff;
  filter: brightness(1.03);
}

.es-cart-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: .9rem;
}

.es-cart-aside__card,
.es-cart-safe-card {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.es-cart-aside__card {
  padding: 1rem;
}

.es-cart-aside__card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 950;
}

.es-cart-aside__card p {
  margin: .4rem 0 1rem;
  color: #64748b;
  font-size: .84rem;
  line-height: 1.5;
}

.es-cart-aside__card dl {
  display: grid;
  gap: .55rem;
  margin: 0 0 1rem;
}

.es-cart-aside__card dl div {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding: .6rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.es-cart-aside__card dt {
  color: #64748b;
  font-size: .78rem;
}

.es-cart-aside__card dd {
  margin: 0;
  color: #0f172a;
  font-size: .8rem;
  font-weight: 900;
  text-align: right;
}

.es-cart-aside__continue {
  width: 100%;
}

.es-cart-safe-card {
  display: flex;
  gap: .8rem;
  padding: .9rem;
}

.es-cart-safe-card > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
}

.es-cart-safe-card strong {
  display: block;
  color: #0f172a;
  font-size: .88rem;
  font-weight: 950;
}

.es-cart-safe-card p {
  margin: .2rem 0 0;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .es-cart-hero,
  .es-cart-layout {
    grid-template-columns: 1fr;
  }

  .es-cart-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .es-cart-aside {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .es-cart-hero {
    padding: 1rem;
  }

  .es-cart-steps {
    grid-template-columns: 1fr;
  }

  .es-cart-item {
    grid-template-columns: 1fr;
  }

  .es-cart-item__media {
    max-height: 260px;
  }

  .es-cart-item__top,
  .es-cart-item__bottom,
  .es-cart-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .es-cart-ghost,
  .es-cart-order {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .es-pdp-page .es-pdp-gallery-card {
    padding: 10px;
  }

  .es-pdp-page .es-pdp-gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .es-pdp-page .es-pdp-gallery-shop {
    max-width: 100%;
  }

  .es-pdp-page .es-pdp-gallery-main {
    min-height: 330px;
  }

  .es-pdp-page .es-pdp-gallery-main img {
    min-height: 330px;
    max-height: 430px;
    padding: 12px;
  }

  .es-pdp-page .es-pdp-gallery-main figcaption {
    display: none;
  }
}

/* EasySale 2026 visual direction */
:root {
  --es-purple: #5718d6;
  --es-purple-2: #3b06a8;
  --es-yellow: #ffb400;
  --es-ink: #111a33;
  --es-muted: #61708c;
}

.easysale-market {
  background:
    radial-gradient(circle at 15% 0, rgba(87, 24, 214, .06), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(255, 180, 0, .08), transparent 22rem),
    #fff;
  color: var(--es-ink);
}

.es-main-header {
  border-bottom: 1px solid rgba(17, 26, 51, .07);
  box-shadow: 0 10px 30px rgba(17, 26, 51, .05) !important;
}

.es-logo-box,
.es-showcase__bag {
  background: linear-gradient(145deg, var(--es-purple), #7c3aed 52%, var(--es-yellow)) !important;
  color: #fff;
  box-shadow: 0 14px 26px rgba(87, 24, 214, .22);
}

.es-logo-letters {
  font-weight: 950;
  color: #fff;
}

.es-brand-text,
.es-showcase__brand strong {
  color: var(--es-purple) !important;
  font-weight: 950;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.es-showcase__brand strong span,
.es-brand-text::first-letter {
  color: var(--es-yellow);
}

.es-search-wrap-new .input-group {
  border: 1px solid rgba(17, 26, 51, .12) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(17, 26, 51, .07);
}

.es-search-wrap-new .btn,
.btn-dark {
  background: linear-gradient(135deg, var(--es-purple), var(--es-purple-2)) !important;
  border-color: transparent !important;
}

.es-showcase {
  margin-bottom: 26px;
}

.es-showcase__mobile-brand {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 6px 0 18px;
}

.es-showcase__hamb,
.es-showcase__cart {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--es-ink);
  font-size: 1.55rem;
  text-decoration: none;
}

.es-showcase__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.es-showcase__bag {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 1.45rem;
}

.es-showcase__brand strong {
  display: block;
  font-size: clamp(1.8rem, 9vw, 2.35rem);
  line-height: .9;
}

.es-showcase__brand small {
  display: block;
  margin-top: 3px;
  color: #36435c;
  font-size: .75rem;
  font-weight: 750;
}

.es-showcase__cart {
  position: relative;
}

.es-showcase__cart b {
  position: absolute;
  top: 3px;
  right: 2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--es-yellow);
  font-size: .72rem;
}

.es-showcase__search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  margin-bottom: 18px;
  padding: 0 10px 0 22px;
  border: 1px solid rgba(17, 26, 51, .08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(17, 26, 51, .08);
}

.es-showcase__search > i {
  color: #6b7280;
  font-size: 1.25rem;
}

.es-showcase__search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--es-ink);
  font-size: 1rem;
  font-weight: 650;
}

.es-showcase__search button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, var(--es-purple));
  font-size: 1.15rem;
}

.es-showcase__hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 73% 58%, var(--es-yellow) 0 18%, transparent 18.3%),
    linear-gradient(135deg, #2a087e, var(--es-purple) 58%, #731fea);
  box-shadow: 0 22px 44px rgba(87, 24, 214, .18);
}

.es-showcase__copy {
  position: relative;
  z-index: 2;
  max-width: 420px;
  padding: clamp(28px, 4vw, 56px);
  color: #fff;
}

.es-showcase__copy span {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 180, 0, .20);
  color: var(--es-yellow);
  font-size: .8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.es-showcase__copy h1 {
  margin: 20px 0 8px;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: .9;
  font-weight: 950;
  letter-spacing: -.06em;
}

.es-showcase__copy h1 strong {
  display: block;
  color: var(--es-yellow);
  font-size: 1.45em;
}

.es-showcase__copy p {
  max-width: 300px;
  margin: 0 0 24px;
  font-size: clamp(1.15rem, 2vw, 1.9rem);
  line-height: 1.18;
  font-weight: 900;
}

.es-showcase__copy a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  color: var(--es-ink);
  background: #fff;
  text-decoration: none;
  font-weight: 950;
}

.es-showcase__copy a i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--es-purple);
}

.es-showcase__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.es-showcase__visual > div {
  position: absolute;
  display: grid;
  place-items: center;
  color: #fff;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .22));
}

.es-showcase__phone {
  right: 32%;
  top: 18%;
  width: 105px;
  height: 175px;
  border-radius: 24px;
  background: linear-gradient(160deg, #4ea6ff, #25105e);
  border: 6px solid rgba(255, 255, 255, .72);
  font-size: 3.6rem;
  transform: rotate(-13deg);
}

.es-showcase__shoe {
  right: 20%;
  bottom: 18%;
  width: 210px;
  height: 80px;
  border-radius: 70% 30% 55% 35%;
  background: #fff;
  color: var(--es-purple) !important;
  font-size: 3.4rem;
  transform: rotate(-5deg);
}

.es-showcase__watch {
  right: 7%;
  bottom: 20%;
  width: 112px;
  height: 112px;
  border-radius: 30px;
  background: #101827;
  border: 8px solid #222b3b;
  color: var(--es-yellow) !important;
  font-size: 3rem;
}

.es-showcase__tag {
  right: 10%;
  top: 16%;
  width: 90px;
  height: 90px;
  border-radius: 20px 20px 20px 4px;
  background: var(--es-yellow);
  color: var(--es-purple) !important;
  font-size: 3.3rem;
  font-weight: 950;
  transform: rotate(-18deg);
}

.es-showcase__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.es-showcase__dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
}

.es-showcase__dots span:first-child {
  width: 30px;
  background: #fff;
}

.es-showcase__cats,
.es-showcase__trust {
  display: grid;
  margin-top: 22px;
  border: 1px solid rgba(17, 26, 51, .08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 26, 51, .06);
}

.es-showcase__cats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 18px;
}

.es-showcase__cat {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--es-ink);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.es-showcase__cat span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.45rem;
}

.es-showcase__cat b {
  font-size: .86rem;
  line-height: 1.16;
}

.es-showcase__cat.is-purple span { color: var(--es-purple); background: #efe7ff; }
.es-showcase__cat.is-yellow span { color: #111827; background: #fff0bf; }
.es-showcase__cat.is-red span { color: #ef4444; background: #ffe4e6; }
.es-showcase__cat.is-green span { color: #16a34a; background: #dcfce7; }
.es-showcase__cat.is-blue span { color: #0284c7; background: #e0f2fe; }
.es-showcase__cat.is-orange span { color: #f97316; background: #ffedd5; }

.es-showcase__trust {
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.es-showcase__trust span {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 24px 14px;
  text-align: center;
}

.es-showcase__trust span + span {
  border-left: 1px solid rgba(17, 26, 51, .08);
}

.es-showcase__trust i {
  color: var(--es-purple);
  font-size: 2rem;
}

.es-showcase__trust b {
  font-size: 1rem;
  font-weight: 950;
}

.es-showcase__trust small {
  color: var(--es-muted);
  font-weight: 650;
}

.easysale-product-grid {
  gap: 20px !important;
}

.es-product-card {
  border: 1px solid rgba(17, 26, 51, .08) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(17, 26, 51, .07) !important;
}

.es-product-card__title {
  color: var(--es-ink) !important;
  font-weight: 900;
}

.es-product-card__price span:first-child {
  color: var(--es-purple);
}

.es-card-order-btn,
.es-icon-action {
  background: linear-gradient(135deg, var(--es-purple), var(--es-purple-2)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.es-discount-badge,
.es-lightning-deal {
  background: #ff2d20 !important;
  color: #fff !important;
}

@media (max-width: 991.98px) {
  .es-promo-bar,
  .es-main-header {
    display: none !important;
  }

  .easysale-market {
    padding-top: 18px;
  }

  .es-showcase__mobile-brand {
    display: flex !important;
  }

  .container-fluid.px-lg-5 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .es-showcase__hero {
    min-height: 386px;
    border-radius: 22px;
  }

  .es-showcase__copy {
    max-width: 54%;
    padding: 28px 24px;
  }

  .es-showcase__copy h1 {
    font-size: 2.15rem;
  }

  .es-showcase__copy h1 strong {
    font-size: 2.3em;
  }

  .es-showcase__copy p {
    font-size: 1.35rem;
  }

  .es-showcase__phone {
    right: 31%;
    top: 22%;
    width: 75px;
    height: 125px;
  }

  .es-showcase__shoe {
    right: 13%;
    bottom: 23%;
    width: 150px;
    height: 60px;
  }

  .es-showcase__watch {
    right: 4%;
    bottom: 22%;
    width: 86px;
    height: 86px;
  }

  .es-showcase__tag {
    right: 10%;
    top: 10%;
    width: 72px;
    height: 72px;
    font-size: 2.5rem;
  }

  .es-showcase__cats {
    grid-template-columns: repeat(6, minmax(86px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding: 16px 14px;
    scrollbar-width: none;
  }

  .es-showcase__cats::-webkit-scrollbar {
    display: none;
  }

  .es-showcase__cat span {
    width: 62px;
    height: 62px;
  }

  .es-showcase__trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .es-showcase__trust span {
    padding: 18px 8px;
  }

  .es-showcase__trust i {
    font-size: 1.7rem;
  }

  .es-showcase__trust b {
    font-size: .84rem;
  }

  .es-showcase__trust small {
    font-size: .72rem;
  }

  .es-cats-circle-wrap,
  .es-filter-pills {
    display: none !important;
  }

  .easysale-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 575.98px) {
  .container-fluid.px-lg-5 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .es-showcase__hero {
    min-height: 330px;
  }

  .es-showcase__copy {
    max-width: 58%;
    padding: 24px 18px;
  }

  .es-showcase__copy h1 {
    font-size: 1.75rem;
  }

  .es-showcase__copy p {
    font-size: 1.1rem;
  }

  .es-showcase__copy a {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: .86rem;
  }

  .es-showcase__phone {
    right: 31%;
    top: 23%;
    width: 58px;
    height: 100px;
    font-size: 2.2rem;
  }

  .es-showcase__shoe {
    right: 14%;
    bottom: 24%;
    width: 118px;
    height: 48px;
    font-size: 2.3rem;
  }

  .es-showcase__watch {
    right: 3%;
    bottom: 24%;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    font-size: 2.2rem;
  }

  .es-showcase__tag {
    right: 8%;
    top: 12%;
    width: 58px;
    height: 58px;
    font-size: 2rem;
  }

  .es-showcase__trust {
    border-radius: 18px;
  }

  .es-showcase__trust span {
    padding: 14px 5px;
  }

  .es-showcase__trust b {
    font-size: .72rem;
  }

  .es-showcase__trust small {
    font-size: .62rem;
  }

  .easysale-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .es-product-card__body {
    padding: 10px !important;
  }
}

.es-mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1045;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.es-mobile-dock__inner {
  width: min(100%, 560px);
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 4px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border: 1px solid rgba(17, 26, 51, .08);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -18px 38px rgba(17, 26, 51, .10);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.es-mobile-dock__item {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #263449;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 850;
}

.es-mobile-dock__item i {
  font-size: 1.35rem;
}

.es-mobile-dock__item.is-active {
  color: var(--es-purple);
}

.es-mobile-dock__item--sell {
  transform: translateY(-13px);
  color: var(--es-purple);
}

.es-mobile-dock__item--sell i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--es-purple), var(--es-purple-2));
  box-shadow: 0 14px 30px rgba(87, 24, 214, .34);
}

@media (max-width: 991.98px) {
  body:has(.easysale-market) {
    padding-bottom: 92px;
  }
}
