/* ============================================================
   Antoneta — Pagina Furnizori v2.0
   furnizori/furnizori.css
   Tema: profesional, curat, usor de scanat vizual
   Mosteneste variabilele din /styles.css
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.furn-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 24px 28px;
  background: linear-gradient(135deg, var(--blue) 0%, #2E75B6 100%);
  color: #fff;
}

.furn-hero-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 8px;
}

.furn-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

.furn-hero p {
  margin: 0;
  font-size: 14px;
  opacity: .85;
  max-width: 480px;
  line-height: 1.55;
}

.furn-hero-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  transition: background .15s, border-color .15s;
}

.furn-hero-cta:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.6);
}

.furn-hero-cta-icon {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

/* ── Wrapper continut ─────────────────────────────────────── */
.furn-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* ── Nota legala colapsabila ──────────────────────────────── */
.furn-legal {
  margin-bottom: 16px;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  background: #FFFBEB;
  font-size: 13px;
  color: #78350F;
  line-height: 1.6;
  overflow: hidden;
}

.furn-legal summary {
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.furn-legal summary::-webkit-details-marker { display: none; }

.furn-legal[open] summary {
  border-bottom: 1px solid #FDE68A;
  margin-bottom: 0;
}

.furn-legal p,
.furn-legal > :not(summary) {
  padding: 10px 14px;
  margin: 0;
}

/* Textul direct dupa summary cand e deschis */
.furn-legal[open]::after {
  content: none;
}

/* ── Bara de filtrare ─────────────────────────────────────── */
.furn-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: stretch;
  flex-wrap: wrap;
}

.furn-search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
  display: flex;
  align-items: center;
}

.furn-search-icon {
  position: absolute;
  left: 12px;
  font-size: 15px;
  pointer-events: none;
  opacity: .5;
}

.furn-search {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 38px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.furn-search:focus {
  border-color: var(--blue-l);
  box-shadow: 0 0 0 3px rgba(46,117,182,.1);
}

.furn-selects {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.furn-select-wrap {
  position: relative;
}

.furn-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 11px;
  color: var(--muted);
}

.furn-select {
  height: 44px;
  padding: 0 30px 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  min-width: 130px;
}

.furn-select:focus {
  border-color: var(--blue-l);
  box-shadow: 0 0 0 3px rgba(46,117,182,.1);
}

/* ── Linie meta ───────────────────────────────────────────── */
.furn-meta {
  min-height: 24px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.furn-meta strong {
  color: var(--text);
  font-weight: 800;
}

/* ── Grid carduri ─────────────────────────────────────────── */
.furn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

/* ── Card furnizor ────────────────────────────────────────── */
.furn-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}

.furn-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.09);
  border-color: #C5D9EE;
  transform: translateY(-1px);
}

/* Banda colorata sus — culoare diferita pentru furnizor vs executant */
.furn-card-bar {
  height: 4px;
  background: var(--blue);
  flex-shrink: 0;
}

.furn-card-bar.is-constructor {
  background: #22C55E;
}

.furn-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
  gap: 10px;
}

/* ── Header card ──────────────────────────────────────────── */
.furn-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Avatar initiale firma */
.furn-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: -.5px;
}

.furn-card-avatar.is-constructor {
  background: #F0FDF4;
  color: #15803D;
}

.furn-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.furn-card-title-wrap {
  flex: 1;
  min-width: 0;
}

.furn-card-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.furn-card-name a {
  color: inherit;
  text-decoration: none;
}

.furn-card-name a:hover { color: var(--blue); }

.furn-card-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.furn-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.furn-badge-type {
  background: var(--blue-bg);
  color: var(--blue);
}

.furn-badge-type.is-constructor {
  background: #F0FDF4;
  color: #15803D;
}

.furn-badge-loc {
  background: #F1F5F9;
  color: #475569;
}

/* ── Descriere ────────────────────────────────────────────── */
.furn-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ── Categorii tags ───────────────────────────────────────── */
.furn-card-cats {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.furn-cat-tag {
  padding: 3px 9px;
  border-radius: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
}

/* ── Produse colapsabile ──────────────────────────────────── */
.furn-products {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  background: #F8FAFC;
}

.furn-products-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  list-style: none;
  user-select: none;
  transition: background .12s;
}

.furn-products-summary::-webkit-details-marker { display: none; }
.furn-products-summary:hover { background: #EBF3FB; }

.furn-products-summary .furn-prod-arrow {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  transition: transform .18s;
}

.furn-products[open] .furn-prod-arrow { transform: rotate(180deg); }

.furn-products-body {
  padding: 0 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.furn-prod-group-title {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748B;
  padding: 8px 0 4px;
}

.furn-prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.furn-prod-item {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 80px;
}

.furn-prod-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.furn-prod-cat {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94A3B8;
}

.furn-prod-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  margin-top: auto;
}

.furn-prod-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}

.furn-prod-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  margin-top: auto;
}
.furn-prod-link:hover { text-decoration: underline; }

/* ── Actiuni footer card ──────────────────────────────────── */
.furn-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 4px;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.furn-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .13s;
  white-space: nowrap;
}

.furn-action-primary {
  background: var(--blue-bg);
  color: var(--blue);
}
.furn-action-primary:hover { background: #D6EAFB; }

.furn-action-secondary {
  background: #F1F5F9;
  color: #475569;
}
.furn-action-secondary:hover { background: #E2E8F0; }

.furn-action-phone {
  background: #F0FDF4;
  color: #15803D;
}
.furn-action-phone:hover { background: #DCFCE7; }

/* ── Empty state ──────────────────────────────────────────── */
.furn-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  gap: 10px;
}

.furn-empty-icon { font-size: 40px; }

.furn-empty h3 {
  font-size: 16px;
  color: var(--text);
  margin: 0;
}

.furn-empty p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 360px;
  line-height: 1.6;
}

.furn-empty-profile-missing {
  margin-top: 40px;
}

.furn-empty-action {
  margin-top: 12px;
}

/* ── Loading skeleton ─────────────────────────────────────── */
.furn-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
}

.furn-skel-line {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: furn-skel-anim 1.4s ease infinite;
}

.furn-skel-line.short { width: 40%; }
.furn-skel-line.med   { width: 65%; }
.furn-skel-line.tall  { height: 36px; }

@keyframes furn-skel-anim {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Pagina profil furnizor ───────────────────────────────── */
.supplier-profile-wrap { max-width: 1120px; }

.supplier-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}

.supplier-breadcrumb a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.supplier-breadcrumb a:hover { text-decoration: underline; }

.supplier-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.supplier-identity {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.supplier-logo {
  width: 78px;
  height: 78px;
  border: 1px solid var(--border);
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

.supplier-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 32px;
  font-weight: 900;
}

.supplier-hero h1 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.1;
}

.supplier-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.supplier-tags span {
  padding: 3px 10px;
  border-radius: 20px;
  background: #F1F5F9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}

.supplier-contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.supplier-contact-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .13s;
}

.supplier-contact-card a:hover { background: #D6EAFB; }

.supplier-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.supplier-side {
  position: sticky;
  top: 84px;
}

.supplier-info-box,
.supplier-section {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.supplier-info-box h2,
.supplier-section h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 17px;
}

.supplier-info-box p,
.supplier-section p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.supplier-info-box p:last-child,
.supplier-section p:last-child { margin-bottom: 0; }

.supplier-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.supplier-catalog-tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.supplier-search {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
}

.supplier-search input {
  width: 100%;
  min-height: 42px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 9px 11px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.supplier-search input:focus {
  border-color: var(--blue-l);
  box-shadow: 0 0 0 3px rgba(46,117,182,.1);
  outline: none;
}

.supplier-filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }

.supplier-filter-pills button {
  min-height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 13px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: all .13s;
}

.supplier-filter-pills button:hover,
.supplier-filter-pills button.is-active {
  border-color: var(--blue);
  background: var(--blue-bg);
  color: var(--blue);
}

.supplier-featured {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #DBEAFE;
  border-radius: 10px;
  background: #F8FBFF;
}

.supplier-featured .supplier-category-head {
  min-height: auto;
  margin-bottom: 10px;
  padding: 0 0 8px;
}

.supplier-featured .supplier-products-grid { padding: 0; }

.supplier-category + .supplier-category { margin-top: 14px; }

.supplier-category {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.supplier-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.supplier-category > .supplier-category-head {
  cursor: pointer;
  list-style: none;
}

.supplier-category > .supplier-category-head::-webkit-details-marker { display: none; }

.supplier-category > .supplier-category-head::after {
  content: '⌄';
  color: #64748b;
  font-size: 18px;
  transition: transform .18s ease;
}

.supplier-category[open] > .supplier-category-head::after { transform: rotate(180deg); }

.supplier-category h3 { margin: 0; color: #374151; font-size: 14px; }

.supplier-category-head span {
  flex-shrink: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.supplier-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  padding: 12px;
}

.supplier-product-card {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  border: 1px solid #E5E7EB;
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .15s;
}

.supplier-product-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.07); }

.supplier-service-card { border-color: #D8E6D2; }

.supplier-product-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #F8FAFC;
}

.supplier-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}

.supplier-product-cat {
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.supplier-product-body h4 { margin: 0; color: var(--text); font-size: 13px; line-height: 1.3; }

.supplier-product-price { color: var(--green); font-size: 13px; font-weight: 900; }

.supplier-product-priority {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 20px;
  background: #FFF7ED;
  color: #9A3412;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.supplier-product-body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.supplier-product-body a {
  margin-top: auto;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.supplier-product-body a:hover { text-decoration: underline; }

.supplier-empty-filter {
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ── Formular inscriere ───────────────────────────────────── */
.partner-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 820px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2    { grid-column: 1 / -1; }

.partner-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 10px 13px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
  border-color: var(--blue-l);
  box-shadow: 0 0 0 3px rgba(46,117,182,.1);
}

.partner-form select[multiple] { min-height: 150px; }

.field-hint { color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.45; }

.cat-box { border: 1px solid var(--border); border-radius: 9px; padding: 14px; }

.cat-box legend { padding: 0 6px; color: #374151; font-size: 12px; font-weight: 800; }

.cat-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }

.cat-group { border: 1px solid var(--border); border-radius: 9px; background: #fff; overflow: hidden; }

.cat-group-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 12px;
  border: 0;
  background: #fff;
  color: #374151;
  cursor: pointer;
  text-align: left;
  transition: background .12s;
}

.cat-group-toggle:hover { background: #F8FAFC; }

.cat-group-title { flex: 1; color: var(--blue); font-size: 13px; font-weight: 800; }

.cat-group-meta {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 20px;
  background: #F1F5F9;
  color: #64748B;
  font-size: 11px;
  font-weight: 800;
}

.cat-group.has-selected .cat-group-meta { background: #E8F5E9; color: #375623; }

.cat-group-arrow {
  flex-shrink: 0;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}

.cat-group.is-open .cat-group-arrow { transform: rotate(180deg); }

.cat-group-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.cat-group.is-open .cat-group-panel { grid-template-rows: 1fr; }
.cat-group-panel-inner { min-height: 0; overflow: hidden; }

.cat-group-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.cat-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
}

.cat-check input { width: auto; }

.partner-accept { margin: 0; }

.form-status { min-height: 20px; color: var(--muted); font-size: 13px; }
.form-status.ok  { color: var(--green); font-weight: 800; }
.form-status.err { color: var(--red); font-weight: 800; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 720px) {
  .furn-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px 20px;
  }

  .furn-hero-cta { align-self: flex-start; }

  .furn-filters { flex-direction: column; }

  .furn-selects { flex-wrap: wrap; }

  .furn-select { min-width: 0; flex: 1; }

  .furn-grid { grid-template-columns: 1fr; }

  .supplier-hero,
  .supplier-layout { grid-template-columns: 1fr; }

  .supplier-hero { padding: 14px; }
  .supplier-identity { align-items: flex-start; }
  .supplier-logo { width: 58px; height: 58px; }
  .supplier-side { position: static; }

  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
}

/* ============================================================
   Antoneta — Pagina Profil Furnizor v2.0
   Adaugat la finalul furnizori.css
   ============================================================ */

/* ── Layout pagina profil ────────────────────────────────── */
.profil-main { min-height: 60vh; }

.profil-wrap { max-width: 920px; }

/* Bara colorata sus — continua limbajul cardurilor */
.profil-topbar {
  height: 5px;
  background: var(--blue);
}
.profil-topbar.is-constructor {
  background: #22C55E;
}

/* ── Hero ────────────────────────────────────────────────── */
.profil-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 20px;
  align-items: start;
  padding: 22px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.profil-hero-identity {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.profil-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -1px;
}

.profil-avatar.is-constructor {
  background: #F0FDF4;
  color: #15803D;
}

.profil-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.profil-hero-type {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.profil-hero-name {
  font-size: clamp(20px,3.5vw,30px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 10px;
}

.profil-hero-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 480px;
}

/* ── Card contact ─────────────────────────────────────────── */
.profil-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profil-contact-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .13s, transform .1s;
}

.profil-contact-btn:hover { transform: translateY(-1px); }

.profil-contact-phone {
  background: #F0FDF4;
  color: #15803D;
}
.profil-contact-phone:hover { background: #DCFCE7; }

.profil-contact-email {
  background: var(--blue-bg);
  color: var(--blue);
}
.profil-contact-email:hover { background: #D6EAFB; }

.profil-contact-web {
  background: #F8FAFC;
  color: #475569;
  border: 1px solid var(--border);
}
.profil-contact-web:hover { background: #F1F5F9; }

.profil-contact-addr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.profil-contact-icon {
  font-size: 15px;
  flex-shrink: 0;
  opacity: .8;
}

.profil-contact-nota {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.5;
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
}

/* ── Catalog ──────────────────────────────────────────────── */
.profil-catalog {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.profil-catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #F1F5F9;
  flex-wrap: wrap;
}

.profil-catalog-head h2 {
  margin: 0;
  font-size: 17px;
  color: var(--text);
  font-weight: 800;
}

.profil-catalog-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.profil-catalog-search {
  width: 240px;
  height: 38px;
  font-size: 13px;
}

/* ── Filtru pills ─────────────────────────────────────────── */
.profil-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px 20px;
  border-bottom: 1px solid #F1F5F9;
  background: #FAFBFC;
}

.profil-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .13s;
}

.profil-pill:hover {
  border-color: var(--blue-l);
  color: var(--blue);
  background: var(--blue-bg);
}

.profil-pill.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.profil-pill.is-active .profil-pill-count {
  background: rgba(255,255,255,.25);
  color: #fff;
}

.profil-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #F1F5F9;
  color: #64748B;
  font-size: 10px;
  font-weight: 800;
}

/* ── Sectiunea promovate ──────────────────────────────────── */
.profil-featured {
  padding: 16px 20px;
  border-bottom: 1px solid #F1F5F9;
  background: #F8FBFF;
}

.profil-section-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748B;
  margin-bottom: 14px;
}

/* Categorii detalii — padding intern */
.profil-catalog .supplier-category {
  border: none;
  border-bottom: 1px solid #F1F5F9;
  border-radius: 0;
}

.profil-catalog .supplier-category:last-of-type { border-bottom: none; }

.profil-catalog .supplier-category-head {
  padding: 12px 20px;
  border-bottom: none;
}

.profil-catalog .supplier-category[open] .supplier-category-head {
  border-bottom: 1px solid #F1F5F9;
}

.profil-catalog .supplier-products-grid { padding: 14px 20px; }

.profil-catalog .supplier-empty-filter { margin: 16px 20px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 700px) {
  .profil-hero {
    grid-template-columns: 1fr;
  }

  .profil-hero-identity { flex-direction: row; }

  .profil-catalog-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .profil-catalog-search { width: 100%; }

  .profil-avatar {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }
}
