/*! Carvibo · foi combinate: am-anunturi-feed, am-premium-surfaces, am-dark-surfaces-314 */
/* am-anunturi-feed */
/*! Carvibo · © 2026 EBA GRUP CONSMETAL S.R.L. (CUI 24489797) · Piteşti, Argeş · Administrator: Mihai Benga · Toate drepturile rezervate */
/* Unified homepage feed — professional cards + edge-to-edge mobile */

.am-hp-unified-feed {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent;
}

.am-hp-unified-feed > .am-container.am-hp-edge {
  max-width: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100%;
}

/* Chips: slight inset, horizontal scroll */
.am-home-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 1rem 0.85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.am-home-chips::-webkit-scrollbar { display: none; }
.am-home-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #161922;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.am-home-chip.is-active,
.am-home-chip:hover {
  border-color: rgba(212,175,55,0.55);
  color: #f0d78c;
}

.am-home-feed,
.am-anunturi-feed {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 2.5rem;
  box-sizing: border-box;
}

.am-home-feed__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem 0.75rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* MOBILE: edge-to-edge single column, full-bleed cards */
.am-home-feed__grid,
.am-anunturi-feed .ah-grid,
.am-hp-unified-feed [data-am-anunturi-grid] {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.75rem !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.am-home-card-wrap {
  width: 100%;
  min-width: 0;
}

@media (max-width: 699.98px) {
  .am-hp-unified-feed .am-home-card-wrap,
  .am-hp-unified-feed article.am-card {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .am-hp-unified-feed article.am-card .am-card__media {
    border-radius: 0 !important;
    aspect-ratio: 4 / 3;
  }
  .am-hp-unified-feed article.am-card {
    background: #12141d !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

/* TABLET: 2 cols with side padding */
@media (min-width: 700px) {
  .am-home-feed,
  .am-anunturi-feed {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .am-home-feed__grid,
  .am-anunturi-feed .ah-grid,
  .am-hp-unified-feed [data-am-anunturi-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
  .am-hp-unified-feed article.am-card {
    border-radius: 16px !important;
  }
}

/* DESKTOP: 3 columns */
@media (min-width: 1024px) {
  .am-home-feed,
  .am-anunturi-feed {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .am-home-feed__grid,
  .am-anunturi-feed .ah-grid,
  .am-hp-unified-feed [data-am-anunturi-grid] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }
  .am-hp-unified-feed article.am-card:hover {
    border-color: rgba(212,175,55,0.35) !important;
  }
}

/* WIDE: 4 columns */
@media (min-width: 1280px) {
  .am-home-feed__grid,
  .am-anunturi-feed .ah-grid,
  .am-hp-unified-feed [data-am-anunturi-grid] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* XL: 5 columns */
@media (min-width: 1600px) {
  .am-home-feed,
  .am-anunturi-feed {
    max-width: 1600px;
  }
  .am-home-feed__grid,
  .am-anunturi-feed .ah-grid,
  .am-hp-unified-feed [data-am-anunturi-grid] {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* Tier badges on professional card */
.am-home-card-wrap[data-tier="boost"] article.am-card::after,
.am-home-card-wrap[data-tier="highlight"] article.am-card::after,
.am-home-card-wrap[data-tier="homepage"] article.am-card::after {
  content: none;
}
.am-home-card-wrap[data-tier="boost"] .am-card__media::after { content: none !important; display: none !important; }
.am-home-card-wrap[data-tier="highlight"] .am-card__media::after { content: none !important; display: none !important; }
.am-home-card-wrap[data-tier="homepage"] .am-card__media::after { content: none !important; display: none !important; }

.am-home-card-wrap .am-card__media {
  position: relative;
}

.ah-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem;
  color: #94a3b8;
}
.ah-loader[hidden],
.am-home-feed__end[hidden] { display: none !important; }
.ah-spinner {
  width: 22px; height: 22px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: #d4af37;
  border-radius: 50%;
  animation: ahspin 0.7s linear infinite;
}
@keyframes ahspin { to { transform: rotate(360deg); } }
.ah-sentinel { height: 1px; }
.ah-empty { text-align: center; color: #94a3b8; padding: 2rem; }
.am-home-feed__more { display: none; margin: 1rem auto 0; min-height: 44px; }
html.no-io .am-home-feed__more { display: block; }

/* Ensure home-card-pro styles win on feed cards */
.am-hp-unified-feed article.am-card .am-card__price,
.am-hp-unified-feed article.am-card .am-price {
  color: #f0d78c !important;
  font-weight: 800;
}

/* Toolbar controls: view toggle + sort */
.am-home-feed__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0 1rem 0.85rem;
}
.am-home-feed__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.am-home-feed .am-view-toggle {
  display: inline-flex !important;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #12141d;
}
.am-home-feed .am-view-toggle__btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.3rem;
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.am-home-feed .am-view-toggle__btn.is-active {
  background: rgba(212,175,55,0.18) !important;
  color: #f0d78c !important;
}
.am-home-feed__sort select {
  min-height: 40px;
  padding: 0.4rem 2rem 0.4rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #12141d;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}
@media (max-width: 599.98px) {
  .am-home-feed .am-view-toggle__lbl { display: none; }
}

/* cards = default comfortable grid (inherits col rules) */
/* grid denser */
.am-home-feed__grid.am-listings-view--grid {
  gap: 0.65rem !important;
}
.am-home-feed__grid.am-listings-view--grid .am-card__body {
  padding: 0.65rem 0.75rem 0.75rem;
}
/* list */
.am-home-feed__grid.am-listings-view--list {
  grid-template-columns: 1fr !important;
  gap: 0.65rem !important;
}
.am-home-feed__grid.am-listings-view--list .am-home-card-wrap article.am-card,
.am-home-feed__grid.am-listings-view--list article.am-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
}
.am-home-feed__grid.am-listings-view--list .am-card__media {
  flex: 0 0 160px;
  width: 160px;
  max-width: 42%;
  aspect-ratio: 1 / 1;
}
@media (max-width: 599.98px) {
  .am-home-feed__grid.am-listings-view--list .am-card__media {
    flex: 0 0 112px;
    width: 112px;
  }
}

/* ===== View modes (force visible difference) ===== */
.am-home-feed__grid.am-listings-view--cards {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.85rem !important;
}
@media (min-width: 700px) {
  .am-home-feed__grid.am-listings-view--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.1rem !important;
  }
}
@media (min-width: 1100px) {
  .am-home-feed__grid.am-listings-view--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1400px) {
  .am-home-feed__grid.am-listings-view--cards {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.am-home-feed__grid.am-listings-view--grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.55rem !important;
}
@media (min-width: 900px) {
  .am-home-feed__grid.am-listings-view--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }
}
@media (min-width: 1300px) {
  .am-home-feed__grid.am-listings-view--grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
.am-home-feed__grid.am-listings-view--grid .am-card__body {
  padding: 0.55rem 0.65rem 0.7rem !important;
}
.am-home-feed__grid.am-listings-view--grid .am-card__title {
  font-size: 0.92rem !important;
}

.am-home-feed__grid.am-listings-view--list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.75rem !important;
}
.am-home-feed__grid.am-listings-view--list .am-home-card-wrap,
.am-home-feed__grid.am-listings-view--list .am-home-card-wrap article.am-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
}
.am-home-feed__grid.am-listings-view--list .am-card__media {
  flex: 0 0 180px !important;
  width: 180px !important;
  max-width: 40% !important;
  aspect-ratio: 4 / 3 !important;
}
@media (max-width: 599.98px) {
  .am-home-feed__grid.am-listings-view--list .am-card__media {
    flex: 0 0 120px !important;
    width: 120px !important;
  }
}

/* View toggle clickable */
.am-home-feed .am-view-toggle__btn {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 5 !important;
  position: relative !important;
}

/* ===== Promo card frames ===== */
.am-home-card-wrap {
  position: relative !important;
  border-radius: 16px !important;
  padding: 0 !important;
}
.am-home-card-wrap > article.am-card {
  border-radius: 14px !important;
  border: 2px solid transparent !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
/* Galben — Promovat (boost / top_list) */
.am-home-card-wrap[data-tier="boost"] > article.am-card,
.am-home-card-wrap[data-tier="boost"] {
  border: 2px solid #d4af37 !important;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.35), 0 8px 28px rgba(212,175,55,0.12) !important;
}
/* Roșu — Evidențiat (highlight / featured) */
.am-home-card-wrap[data-tier="highlight"] > article.am-card,
.am-home-card-wrap[data-tier="highlight"] {
  border: 2px solid #e11d48 !important;
  box-shadow: 0 0 0 1px rgba(225,29,72,0.3), 0 8px 28px rgba(225,29,72,0.12) !important;
}
/* Verde — Homepage */
.am-home-card-wrap[data-tier="homepage"] > article.am-card,
.am-home-card-wrap[data-tier="homepage"] {
  border: 2px solid #16a34a !important;
  box-shadow: 0 0 0 1px rgba(22,163,74,0.3), 0 8px 28px rgba(22,163,74,0.12) !important;
}

/* Badge colors match frames */
.am-hp-promo-badge--boost {
  background: #d4af37 !important;
  color: #1a1408 !important;
}
.am-hp-promo-badge--highlight {
  background: #e11d48 !important;
  color: #fff !important;
  border: 0 !important;
}
.am-hp-promo-badge--homepage {
  background: #16a34a !important;
  color: #fff !important;
  border: 0 !important;
}

/* Mobile: less horror — comfortable cards, toggle row */
@media (max-width: 699.98px) {
  .am-home-feed__toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding: 0.75rem 0.85rem !important;
  }
  .am-home-feed__controls {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .am-home-feed .am-view-toggle {
    flex: 1 1 auto !important;
    justify-content: space-between !important;
  }
  .am-home-feed .am-view-toggle__btn {
    flex: 1 1 0 !important;
    justify-content: center !important;
    min-height: 44px !important;
  }
  .am-home-feed__sort {
    flex: 1 1 100% !important;
  }
  .am-home-feed__sort select {
    width: 100% !important;
    min-height: 44px !important;
  }
  .am-home-feed__grid.am-listings-view--cards {
    gap: 0.75rem 0 !important;
  }
  .am-home-card-wrap[data-tier="boost"],
  .am-home-card-wrap[data-tier="highlight"],
  .am-home-card-wrap[data-tier="homepage"] {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top-width: 3px !important;
    border-bottom-width: 3px !important;
  }
}

/* —— Promo frames: fine / professional (override heavy borders) —— */
.am-home-card-wrap {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.am-home-card-wrap > article.am-card {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.18) !important;
  transition: border-color 0.2s ease, box-shadow 0.25s ease !important;
}

/* Promovat — gold hairline */
.am-home-card-wrap[data-tier="boost"] {
  border: 0 !important;
  box-shadow: none !important;
}
.am-home-card-wrap[data-tier="boost"] > article.am-card {
  border-color: rgba(212, 175, 55, 0.55) !important;
  border-width: 1px !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.22),
    0 10px 28px rgba(212, 175, 55, 0.08) !important;
}
.am-home-card-wrap[data-tier="boost"] > article.am-card:hover {
  border-color: rgba(212, 175, 55, 0.85) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.2),
    0 4px 16px rgba(212, 175, 55, 0.14) !important;
}

/* Evidențiat — rose hairline */
.am-home-card-wrap[data-tier="highlight"] {
  border: 0 !important;
  box-shadow: none !important;
}
.am-home-card-wrap[data-tier="highlight"] > article.am-card {
  border-color: rgba(225, 29, 72, 0.5) !important;
  border-width: 1px !important;
  box-shadow:
    0 0 0 1px rgba(225, 29, 72, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.22),
    0 10px 28px rgba(225, 29, 72, 0.07) !important;
}
.am-home-card-wrap[data-tier="highlight"] > article.am-card:hover {
  border-color: rgba(225, 29, 72, 0.8) !important;
  box-shadow:
    0 0 0 1px rgba(225, 29, 72, 0.18),
    0 4px 16px rgba(225, 29, 72, 0.12) !important;
}

/* Homepage — green hairline */
.am-home-card-wrap[data-tier="homepage"] {
  border: 0 !important;
  box-shadow: none !important;
}
.am-home-card-wrap[data-tier="homepage"] > article.am-card {
  border-color: rgba(22, 163, 74, 0.5) !important;
  border-width: 1px !important;
  box-shadow:
    0 0 0 1px rgba(22, 163, 74, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.22),
    0 10px 28px rgba(22, 163, 74, 0.07) !important;
}
.am-home-card-wrap[data-tier="homepage"] > article.am-card:hover {
  border-color: rgba(22, 163, 74, 0.8) !important;
  box-shadow:
    0 0 0 1px rgba(22, 163, 74, 0.18),
    0 4px 16px rgba(22, 163, 74, 0.12) !important;
}

/* Badge: smaller, refined pill */
.am-hp-promo-badge {
  padding: 0.22rem 0.55rem !important;
  font-size: 0.65rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  left: 10px !important;
  top: 10px !important;
}
.am-hp-promo-badge--boost {
  background: rgba(212, 175, 55, 0.95) !important;
  color: #1a1408 !important;
}
.am-hp-promo-badge--highlight {
  background: rgba(225, 29, 72, 0.92) !important;
  color: #fff !important;
}
.am-hp-promo-badge--homepage {
  background: rgba(22, 163, 74, 0.92) !important;
  color: #fff !important;
}

@media (max-width: 699.98px) {
  .am-home-card-wrap[data-tier="boost"] > article.am-card,
  .am-home-card-wrap[data-tier="highlight"] > article.am-card,
  .am-home-card-wrap[data-tier="homepage"] > article.am-card {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top-width: 1.5px !important;
    border-bottom-width: 1.5px !important;
  }
  .am-home-card-wrap[data-tier="boost"],
  .am-home-card-wrap[data-tier="highlight"],
  .am-home-card-wrap[data-tier="homepage"] {
    border: 0 !important;
    box-shadow: none !important;
  }
}

/* am-premium-surfaces */
/*! Carvibo · © 2026 EBA GRUP CONSMETAL S.R.L. (CUI 24489797) · Piteşti, Argeş · Administrator: Mihai Benga · Toate drepturile rezervate */
#am-dealer-os, .am-dos-app, .am-dash, .am-inbox {
  --am-ds-paper: #16181f;
  --am-ds-brand: #d4af37;
  --am-ds-bg: #090a0f;
}
#am-dealer-os .am-kanban__col, .am-kanban__col {
  background: #16181f !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #c5cdd8 !important;
}
.am-btn--primary, button.am-btn--primary {
  background: linear-gradient(135deg, #e8c547, #d4af37) !important;
  color: #1a1408 !important;
  border: 0 !important;
}
.am-offer, .am-offers__item, .am-panel, .am-box {
  background: #12141d !important;
  color: #e8edf5 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}

/* am-dark-surfaces-314 */
/*! Carvibo · © 2026 EBA GRUP CONSMETAL S.R.L. (CUI 24489797) · Piteşti, Argeş · Administrator: Mihai Benga · Toate drepturile rezervate */
/**
 * am-dark-surfaces-314.css — force OLED surfaces on account / dealer-os / enterprise heroes
 */
:root {
  --am-surface: #12141d;
  --am-bg: #090a0f;
  --am-text: #f8fafc;
  --am-muted: #a8b8cc;
  --am-gold: #d4af37;
}
.am-account-center,
.am-dealer-os-shell,
.am-dos-shell,
.am-dealer-os-pro,
.am-ov,
.am-ml,
.am-dash-page,
.am-finance-dash,
.am-ai,
.am-pipeline-board {
  background: var(--am-bg) !important;
  color: var(--am-text) !important;
}
.am-ov__hero,
.am-ml__hero,
.am-dash-page-hero,
.am-finance-dash > header.am-ml__hero,
.am-ai__hero,
.am-account-center .am-card,
.am-dealer-os-shell .am-card,
.am-kpi-card,
.am-panel,
.am-settings-panel {
  background: var(--am-surface) !important;
  background-image: none !important;
  color: var(--am-text) !important;
  border: 1px solid rgba(212, 175, 55, 0.16) !important;
  box-shadow: none !important;
}
.am-ov__hero *,
.am-ml__hero *,
.am-dash-page-hero * {
  color: inherit;
}
.am-ov__hero h1, .am-ml__hero h1, .am-dash-page-hero h1,
.am-account-center h1, .am-account-center h2,
.am-dealer-os-shell h1, .am-dealer-os-shell h2 {
  color: #ffe9a8 !important;
}
/* Pipeline / kanban */
.am-kanban-col,
.am-pipeline-col,
.am-lead-card {
  background: #12141d !important;
  border-color: rgba(255,255,255,0.08) !important;
  color: #f8fafc !important;
}
/* Buttons */
.am-account-center .button-primary,
.am-dealer-os-shell .button-primary,
.am-btn--primary {
  background: linear-gradient(135deg, #e8c547, #d4af37) !important;
  border-color: #b8962e !important;
  color: #1a1408 !important;
}
@media (max-width: 767.98px) {
  .am-account-center,
  .am-dealer-os-shell,
  .am-dos-shell {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .am-ov__hero,
  .am-ml__hero,
  .am-dash-page-hero {
    border-radius: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

