.seller-page {
  --sd-navy: #111111;
  --sd-blue: #034aaa;
  --sd-blue-light: #e8f1ff;
  --sd-orange: #f5722a;
  --sd-bg: #f9f7f3;
  --sd-border: #e8ecf3;
  --sd-muted: #6f7b8c;
  --sd-ok: #1b8f5a;
  background: var(--sd-bg);
  padding-bottom: 2rem;
  width: 100%;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.seller-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  margin-bottom: 1.5rem;
}

.seller-hero-left {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #111111 0%, #1b2434 100%);
  color: #fff;
  padding: 2.8rem;
}

.seller-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 75% 10%, rgba(42, 111, 204, .30) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 5% 100%, rgba(245, 114, 42, .15) 0%, transparent 50%);
}

.seller-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 63%;
  object-fit: cover;
  object-position: center top;
  opacity: .18;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9) 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9) 40%, transparent 100%);
}

.seller-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: rgba(42, 111, 204, .25);
  border: 1px solid rgba(123, 177, 248, .5);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  margin-bottom: 1rem;
}

.seller-hero-left h1 {
  position: relative;
  z-index: 2;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
}

.seller-role {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 1rem;
}

.seller-bio {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: rgba(255, 255, 255, .92);
  line-height: 1.65;
}

.seller-chips {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.seller-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: .35rem .75rem;
}

.seller-hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.4rem;
}

.seller-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: none;
  border-radius: 10px;
  padding: .72rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}

.seller-btn-primary { background: var(--sd-blue); color: #fff; }
.seller-btn-primary:hover { filter: brightness(.95); color: #fff; }

.seller-btn-outline { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.seller-btn-outline:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.seller-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px dashed rgba(255, 255, 255, .35); }
.seller-btn-ghost:hover { background: rgba(255, 255, 255, .13); color: #fff; }

.seller-btn-danger { background: #fff1f1; color: #c53535; border: 1px solid #f5c4c4; }

.seller-hero-right {
  background: #f3f6fb;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seller-profile-card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: 20px;
  padding: 1.4rem;
}

.seller-avatar-wrap { display: flex; justify-content: center; margin-bottom: 1rem; }
.seller-avatar {
  width: 122px;
  height: 122px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(11, 31, 58, .18);
}

.seller-avatar-fallback {
  width: 122px;
  height: 122px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, #2a6fcc 0%, #174e9d 100%);
}

.seller-avatar-wrap { position: relative; }

.seller-avatar-verified {
  position: absolute;
  bottom: -9px;
  right: calc(50% - 72px);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--sd-blue);
  box-shadow: 0 4px 14px rgba(42, 111, 204, .45);
}

.seller-profile-name {
  margin: 0 0 .2rem;
  text-align: center;
  color: #1b3150;
  font-size: 1.05rem;
  font-weight: 800;
}

.seller-profile-sub {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--sd-muted);
  font-size: .84rem;
}

.seller-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.seller-stat {
  text-align: center;
  background: #fafcff;
  border: 1px solid var(--sd-border);
  border-radius: 14px;
  padding: .8rem .5rem;
}
.seller-stat-n { font-size: 1.35rem; font-weight: 800; color: var(--sd-navy); }
.seller-stat-n.hi { color: var(--sd-ok); }
.seller-stat-l { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sd-muted); }

.seller-quick-actions {
  width: 100%;
  max-width: 430px;
  margin-top: .8rem;
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: 20px;
  padding: .9rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.seller-qa-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 1px solid #e6edf9;
  background: #fff;
  border-radius: 12px;
  padding: .62rem .7rem;
  color: #273e5d;
  text-decoration: none;
}

.seller-qa-btn:hover {
  border-color: #bfd4f7;
  background: #eef5ff;
  color: #193c6b;
}

.seller-qa-btn strong {
  font-size: .9rem;
  font-weight: 700;
}

.seller-qa-btn span:last-child {
  margin-left: auto;
  font-size: .74rem;
  color: #74859b;
}

.seller-qa-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seller-qa-icon.phone { background: #e8f8f1; color: #1b8f5a; }
.seller-qa-icon.mail { background: #ebf3ff; color: #2a6fcc; }
.seller-qa-icon.rdv { background: #fef0e8; color: #f5722a; }

.seller-trust {
  margin: 0 auto 1.2rem;
  max-width: 1140px !important;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}

.seller-trust-item {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: 12px;
  padding: .7rem .8rem;
  font-size: .88rem;
  color: #263a54;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.seller-section {
  max-width: 1140px !important;
  margin: 0 auto 1.2rem;
  padding: 0 1rem;
}

.seller-section h2 {
  margin: 0 0 .8rem;
  color: var(--sd-navy);
  font-size: 1.35rem;
}

.seller-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.seller-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: #dbe4f1;
  z-index: 0;
}

.seller-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 .7rem;
  position: relative;
  z-index: 1;
}

.seller-step-index {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #73859d;
  border: 2px solid #dbe4f1;
  background: #fff;
  margin-bottom: .8rem;
}

.seller-step.done .seller-step-index {
  color: #1b8f5a;
  border-color: #1b8f5a;
  background: #e8f8f1;
}

.seller-step.active .seller-step-index {
  color: #fff;
  border-color: #111111;
  background: #111111;
}

.seller-step h3 {
  margin: 0 0 .35rem;
  font-size: .96rem;
  color: #17395f;
}

.seller-step p {
  margin: 0;
  font-size: .82rem;
  color: #51647d;
  line-height: 1.45;
  max-width: 240px;
}

.seller-eyebrow {
  margin: 0 0 .3rem;
  color: var(--sd-blue);
  font-size: .70rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.seller-card {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: 16px;
  padding: 1rem;
}

.seller-owner-banner {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  background: #eaf2fd;
  border: 1px solid #c9dcfb;
  color: #17395f;
  border-radius: 14px;
  padding: .95rem 1rem;
}

.seller-owner-banner p { margin: .15rem 0 0; font-size: .92rem; }

.seller-grid-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.seller-grid-form .full { grid-column: 1 / -1; }
.seller-grid-form label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: .25rem;
  color: #2d425f;
}
.seller-grid-form input,
.seller-grid-form textarea {
  width: 100%;
  border: 1px solid #d8e0ec;
  border-radius: 10px;
  padding: .62rem .72rem;
  font-size: .9rem;
}

.seller-list { margin-top: 1rem; border-top: 1px solid var(--sd-border); padding-top: .6rem; }
.seller-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px solid #eef2f8;
}

.seller-list-item span { color: var(--sd-muted); font-size: .86rem; }
.seller-badge-muted {
  font-size: .72rem;
  border-radius: 999px;
  background: #eff3f8;
  color: #506079;
  padding: .22rem .6rem;
}

.seller-rdv-item {
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: .75rem;
  margin-bottom: .7rem;
}
.seller-rdv-head { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .3rem; }
.seller-rdv-item p { margin: .25rem 0; font-size: .9rem; color: #42536b; }
.seller-rdv-msg { font-style: italic; color: #596a82; }
.seller-rdv-actions { display: flex; gap: .45rem; margin-top: .45rem; }
.seller-alt-form {
  display: flex;
  gap: .35rem;
  align-items: center;
  flex-wrap: wrap;
}
.seller-alt-form input {
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  padding: .42rem .5rem;
  font-size: .82rem;
}

.seller-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .55rem;
  margin-bottom: 1rem;
}

.seller-slot {
  border: 1px solid #d8e4f7;
  border-radius: 10px;
  background: #f3f8ff;
  padding: .6rem .7rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.seller-slot span { color: var(--sd-muted); font-size: .84rem; }

.seller-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: .9rem;
}

.seller-vehicle-card {
  background: #fff;
  border: 1px solid var(--sd-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.seller-vehicle-card a {
  color: inherit;
  text-decoration: none;
}

.seller-vehicle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 31, 58, .09);
}

.seller-vehicle-card img,
.seller-vehicle-ph {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.seller-vehicle-ph {
  background: #edf1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f8ca0;
  font-size: 1.9rem;
}

.seller-vehicle-body { padding: .8rem .9rem .9rem; }
.seller-vehicle-body h3 { margin: 0 0 .2rem; font-size: .98rem; color: #1d3553; }
.seller-vehicle-body p,
.seller-vehicle-body small { margin: 0; color: #6b7b90; }
.seller-vehicle-foot {
  margin-top: .45rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.seller-vehicle-foot span {
  font-size: .76rem;
  border-radius: 999px;
  padding: .18rem .55rem;
  color: #22599f;
  background: #e9f2ff;
}
.seller-vehicle-foot strong { color: #1e4f91; }

.seller-rating-chip {
  display: inline-block;
  margin-left: .45rem;
  font-size: .83rem;
  color: #32506f;
  background: #eff4fb;
  border: 1px solid #dce6f4;
  border-radius: 999px;
  padding: .18rem .6rem;
  vertical-align: middle;
}

.seller-reviews { display: grid; gap: .65rem; }
.seller-review {
  border: 1px solid #e7edf7;
  border-radius: 12px;
  padding: .75rem;
}
.seller-review-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .4rem;
  margin-bottom: .3rem;
}
.seller-review-head span { color: #72849a; font-size: .82rem; }
.seller-review-stars { color: #f59e0b; font-size: .88rem; margin-bottom: .25rem; }
.seller-review p { margin: 0; color: #42556f; line-height: 1.6; }

.seller-review-form-wrap {
  margin-top: 1rem;
  border-top: 1px solid var(--sd-border);
  padding-top: .9rem;
}
.seller-review-form-wrap h3 {
  font-size: 1rem;
  margin: 0 0 .7rem;
  color: #1a3353;
}

.seller-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}
.seller-rating-input input { display: none; }
.seller-rating-input label {
  cursor: pointer;
  font-size: 1.5rem;
  color: #d1d8e5;
}
.seller-rating-input label:hover,
.seller-rating-input label:hover ~ label,
.seller-rating-input input:checked ~ label {
  color: var(--sd-blue);
}

.seller-empty {
  margin: 0;
  color: #6f7f93;
  font-style: italic;
}

.seller-pagination-wrap .page-link {
  color: #255690;
}
.seller-pagination-wrap .page-item.active .page-link {
  background: #255690;
  border-color: #255690;
}

@media (max-width: 991.98px) {
  .seller-page {
    max-width: 100% !important;
    overflow-x: hidden;
    padding-bottom: 1.2rem;
  }
  .seller-page,
  .seller-hero,
  .seller-hero-left,
  .seller-hero-right,
  .seller-profile-card,
  .seller-trust,
  .seller-section,
  .seller-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .seller-hero {
    grid-template-columns: 1fr;
    min-height: unset;
    margin-bottom: 1rem;
  }
  .seller-hero-left {
    padding: 1.2rem .95rem;
    border-radius: 0;
  }
  .seller-hero-right {
    padding: .8rem .75rem;
    border-radius: 0;
  }
  .seller-hero-photo {
    width: 58%;
    height: 38%;
    opacity: .14;
  }
  .seller-hero-left h1 {
    font-size: clamp(1.55rem, 7.5vw, 2rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }
  .seller-role {
    font-size: .9rem;
    margin-bottom: .65rem;
  }
  .seller-bio {
    font-size: .88rem;
    line-height: 1.55;
  }
  .seller-chip {
    font-size: .74rem;
    padding: .28rem .56rem;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .seller-hero-actions {
    margin-top: .9rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
  }
  .seller-hero-actions .seller-btn {
    width: 100%;
    min-height: 42px;
    padding: .62rem .8rem;
    font-size: .86rem;
  }

  .seller-profile-card {
    max-width: none;
    border-radius: 14px;
    padding: 1rem;
  }
  .seller-avatar,
  .seller-avatar-fallback {
    width: 94px;
    height: 94px;
    border-radius: 14px;
  }
  .seller-avatar-verified {
    width: 28px;
    height: 28px;
    right: calc(50% - 56px);
    bottom: -8px;
    border-radius: 8px;
    font-size: .78rem;
  }
  .seller-profile-name { font-size: .98rem; }
  .seller-profile-sub { font-size: .78rem; margin-bottom: .75rem; }
  .seller-stat {
    border-radius: 10px;
    padding: .62rem .35rem;
  }
  .seller-stat-n { font-size: 1.05rem; }
  .seller-stat-l { font-size: .62rem; }

  .seller-trust { grid-template-columns: 1fr; padding: 0 .75rem; }
  .seller-trust-item {
    font-size: .82rem;
    padding: .58rem .65rem;
  }

  .seller-section {
    padding: 0 .75rem;
    margin-bottom: .9rem;
  }
  .seller-section h2 {
    font-size: 1.12rem;
    line-height: 1.25;
  }
  .seller-eyebrow { font-size: .63rem; }
  .seller-rating-chip {
    margin-left: 0;
    margin-top: .35rem;
    display: inline-block;
  }

  .seller-card {
    border-radius: 12px;
    padding: .8rem;
  }
  .seller-owner-banner {
    border-radius: 12px;
    padding: .72rem .78rem;
    gap: .6rem;
  }
  .seller-owner-banner p { font-size: .84rem; }

  .seller-grid-form { grid-template-columns: 1fr; }
  .seller-grid-form input,
  .seller-grid-form textarea {
    font-size: .92rem;
    padding: .58rem .64rem;
  }
  .seller-grid-form .seller-btn {
    width: 100%;
    min-height: 42px;
  }

  .seller-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
  }
  .seller-list-item > div {
    width: 100%;
  }

  .seller-rdv-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .seller-rdv-item p {
    font-size: .84rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .seller-rdv-actions { flex-wrap: wrap; }
  .seller-rdv-actions form {
    width: 100%;
  }
  .seller-rdv-actions form .seller-btn {
    width: 100%;
    min-height: 40px;
  }
  .seller-alt-form {
    flex-direction: column;
    align-items: stretch;
  }
  .seller-alt-form input {
    width: 100%;
  }

  .seller-slots {
    grid-template-columns: 1fr;
  }
  .seller-slot {
    padding: .52rem .58rem;
  }
  .seller-slot span {
    font-size: .8rem;
  }

  .seller-vehicles-grid {
    grid-template-columns: 1fr;
    gap: .7rem;
  }
  .seller-vehicle-card img,
  .seller-vehicle-ph {
    height: 155px;
  }
  .seller-vehicle-body {
    padding: .68rem .72rem .75rem;
  }
  .seller-vehicle-body h3 {
    font-size: .92rem;
  }
  .seller-vehicle-body p,
  .seller-vehicle-body small {
    font-size: .8rem;
  }

  .seller-steps {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .seller-steps::before {
    display: none;
  }
  .seller-step {
    align-items: flex-start;
    text-align: left;
    padding: .72rem;
    border: 1px solid var(--sd-border);
    border-radius: 12px;
    background: #fff;
    flex-direction: row;
    gap: .62rem;
  }
  .seller-step-index {
    width: 34px;
    height: 34px;
    font-size: .92rem;
    margin-bottom: 0;
  }
  .seller-step h3 {
    font-size: .88rem;
    margin-bottom: .22rem;
  }
  .seller-step p {
    font-size: .78rem;
    line-height: 1.35;
  }

  .seller-review {
    border-radius: 10px;
    padding: .62rem;
  }
  .seller-review-head {
    flex-direction: column;
    align-items: flex-start;
    gap: .12rem;
  }
  .seller-review p {
    font-size: .84rem;
    line-height: 1.45;
  }

  .seller-rating-input label {
    font-size: 1.35rem;
  }
  .seller-pagination-wrap .pagination {
    flex-wrap: wrap;
    row-gap: .35rem;
  }
  .seller-pagination-wrap .page-link {
    padding: .3rem .55rem;
    font-size: .82rem;
  }
  .seller-step h3,
  .seller-step p {
    max-width: none;
  }
}

.seller-card .seller-btn-ghost {
  background: #f3f7ff;
  color: #255690;
  border: 1px dashed #bfd4f7;
}

.seller-card .seller-btn-ghost:hover {
  background: #eaf2ff;
  color: #1f4b84;
}

.seller-card .seller-btn-outline {
  background: #fff;
  color: #24528c;
  border: 1px solid #bfd4f7;
}
