/* Shared colourful, animated card design for the catalog boards (Used, Real Estate, Services, Jobs).
   Style only — no logic. Loaded after each page's own CSS. */
.grid > .card{ border:1px solid var(--eb57-border-14633c-100000,rgba(20,99,60,.10)); border-radius:20px; position:relative;
  box-shadow:0 2px 6px var(--eb57-shadow-123829-50000,rgba(18,56,41,.05)), 0 12px 26px -14px var(--eb57-shadow-123829-280000,rgba(18,56,41,.28));
  transition:transform .3s cubic-bezier(.2,.9,.25,1.15), box-shadow .3s ease, border-color .3s; }
.grid > .card::before{ content:""; position:absolute; left:0; right:0; top:0; height:4px; z-index:3; pointer-events:none;
  background:linear-gradient(90deg,var(--eb57-surface-14633c,#14633C),var(--eb57-surface-f6c453,#F6C453),var(--eb57-surface-e8590c,#E8590C),var(--eb57-surface-4263eb,#4263EB),var(--eb57-surface-14633c,#14633C)); background-size:250% 100%; animation:cfxLine 6s linear infinite; }
.grid > .card:nth-child(4n+2)::before{ animation-delay:-1.5s; } .grid > .card:nth-child(4n+3)::before{ animation-delay:-3s; } .grid > .card:nth-child(4n)::before{ animation-delay:-4.5s; }
.grid > .card:hover{ transform:translateY(-6px) rotate(-.4deg); border-color:var(--eb57-border-14633c-300000,rgba(20,99,60,.3));
  box-shadow:0 8px 14px var(--eb57-shadow-123829-80000,rgba(18,56,41,.08)), 0 24px 38px -16px var(--eb57-shadow-14633c-450000,rgba(20,99,60,.45)); }
.card-img{ overflow:hidden; background:linear-gradient(160deg,var(--eb57-surface-fff6e0,#FFF6E0),var(--eb57-surface-e8f7ee,#E8F7EE)); }
.card-img img{ transition:transform .5s ease; } .grid > .card:hover .card-img img{ transform:scale(1.07); }
.card-price{ background:linear-gradient(90deg,var(--eb57-surface-0f5a37,#0F5A37),var(--eb57-surface-2fb36a,#2FB36A),var(--eb57-surface-e0a537,#E0A537),var(--eb57-surface-0f5a37,#0F5A37)); background-size:240% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent; animation:cfxShine 6s linear infinite; }
.card .badge, .card-img .badge, .card-tag{ animation:cfxPulse 2.4s ease-in-out infinite; }
.grid > .card{ animation:cfxRise .55s cubic-bezier(.2,.9,.25,1.1) both; }
.grid > .card:nth-child(2){ animation-delay:.05s; } .grid > .card:nth-child(3){ animation-delay:.1s; } .grid > .card:nth-child(4){ animation-delay:.15s; }
.grid > .card:nth-child(5){ animation-delay:.2s; } .grid > .card:nth-child(6){ animation-delay:.25s; } .grid > .card:nth-child(n+7){ animation-delay:.3s; }
.chip{ transition:transform .2s, background .2s, box-shadow .2s; } .chip:hover{ transform:translateY(-2px); box-shadow:0 6px 12px -6px var(--eb57-shadow-14633c-450000,rgba(20,99,60,.45)); }
@keyframes cfxLine{ to{ background-position:-250% 0; } }
@keyframes cfxShine{ to{ background-position:-240% 0; } }
@keyframes cfxPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }
@keyframes cfxRise{ from{ opacity:0; transform:translateY(22px) scale(.96); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ .grid > .card, .grid > .card::before, .card-price, .card .badge, .card-tag{ animation:none !important; } }
