/* ==========================================================================
   Future Auction | فيوتشر أوكشن
   Inner-pages stylesheet (pages.css)
   - Loaded AFTER style.css on every inner page.
   - Reuses the same design tokens, colours, fonts and components as the home
     page. Adds only the pieces the landing page did not need
     (banners, forms, listings, details, live auction, account, modals ...).
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Shared inner-page shell                                          */
/* ------------------------------------------------------------------ */
.inner-section {
  padding-block: 64px;
}
.inner-section.tight {
  padding-block: 44px;
}
.bg-gray {
  background: var(--section-gray);
}
.bg-white {
  background: var(--white);
}
.container-narrow {
  max-inline-size: 760px;
  margin-inline: auto;
}

/* Page banner (dark strip that sits under the transparent header) */
.page-banner {
  position: relative;
  overflow: hidden;
  background: #0b0b0c;
  color: var(--white);
  padding-block: 196px 52px;
  text-align: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% -10%, rgba(242, 166, 41, 0.28), transparent 42%),
    radial-gradient(circle at 12% 120%, rgba(250, 193, 11, 0.18), transparent 45%),
    linear-gradient(180deg, #17130b 0%, #0b0b0c 100%);
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
}
.page-banner .container {
  position: relative;
  z-index: 2;
}
.pb-title {
  font-weight: 900;
  font-size: 38px;
  line-height: 1.25;
  margin: 0;
  color: var(--white);
}
.pb-sub {
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 10px;
  max-inline-size: 620px;
  margin-inline: auto;
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-block-start: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-nav a:hover {
  color: var(--gold);
}
.breadcrumb-nav .sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}
.breadcrumb-nav .current {
  color: var(--gold);
  font-weight: 600;
}
/* light breadcrumb (on white pages, without a banner) */
.breadcrumb-nav.light {
  justify-content: flex-start;
  color: var(--muted);
}
.breadcrumb-nav.light a {
  color: var(--muted);
}
.breadcrumb-nav.light .current {
  color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* 2. Off-canvas full navigation (submenus + footer)                   */
/* ------------------------------------------------------------------ */
.offcanvas-nav .sub-toggle {
  inline-size: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.4;
  padding: 14px 22px;
  background: transparent;
  border: none;
  border-radius: 5px;
  text-align: start;
  transition: var(--transition);
}
.offcanvas-nav .sub-toggle:hover {
  background: rgba(250, 193, 11, 0.42);
}
.offcanvas-nav .sub-toggle i {
  font-size: 14px;
  color: var(--orange);
  transition: transform 0.3s ease;
}
.offcanvas-nav .has-sub.open .sub-toggle i {
  transform: rotate(180deg);
}
.offcanvas-sub {
  max-block-size: 0;
  overflow: hidden;
  transition: max-block-size 0.35s ease;
}
.offcanvas-nav .has-sub.open .offcanvas-sub {
  max-block-size: 320px;
}
.offcanvas-sub li a {
  font-size: 16px;
  font-weight: 600;
  padding: 10px 40px;
  color: rgba(255, 255, 255, 0.8);
}
.offcanvas-sub li a:hover {
  color: var(--white);
  background: rgba(250, 193, 11, 0.24);
}

.offcanvas-foot {
  margin-block-start: auto;
  padding-block-start: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.offcanvas-foot .btn-outline-light {
  padding-inline: 28px;
}
.offcanvas-register {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 600;
}
.offcanvas-register a {
  color: var(--gold);
  font-weight: 700;
  border-block-end: 1px solid transparent;
}
.offcanvas-register a:hover {
  border-block-end-color: var(--gold);
}

/* ------------------------------------------------------------------ */
/* 3. Buttons (extend the shared .btn-gold system)                     */
/* ------------------------------------------------------------------ */
.btn-line,
.btn-ink,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  border-radius: var(--radius-btn);
  padding: 12px 24px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-ink {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}
.btn-ink:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-ghost {
  background: var(--gold-soft);
  color: var(--brown);
  border: 1px solid var(--gold-line);
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--ink);
}
.is-block {
  inline-size: 100%;
}
.is-lg {
  padding: 15px 30px;
  font-size: 17px;
}
.is-sm {
  padding: 8px 16px;
  font-size: 14px;
}
.btn-gold.is-block,
.btn-line.is-block,
.btn-ink.is-block {
  display: flex;
}

/* small text link with arrow */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brown);
  font-weight: 600;
  font-size: 14px;
}
.link-more:hover {
  color: var(--orange);
}

/* ------------------------------------------------------------------ */
/* 4. Generic panels / cards                                           */
/* ------------------------------------------------------------------ */
.panel {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.panel + .panel {
  margin-block-start: 24px;
}
.panel-title {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-title i {
  color: var(--orange);
  font-size: 16px;
}
.panel-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* 5. Forms                                                            */
/* ------------------------------------------------------------------ */
.fld {
  margin-block-end: 18px;
}
.fld-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-block-end: 8px;
}
.fld-label .req {
  color: var(--red);
  margin-inline-start: 2px;
}
.fld-control,
.fld select,
.fld textarea,
.fld input {
  inline-size: 100%;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(116, 81, 45, 0.28);
  border-radius: var(--radius-btn);
  padding: 11px 14px;
  transition: var(--transition);
  outline: none;
}
.fld textarea {
  min-block-size: 120px;
  resize: vertical;
}
.fld select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-inline-start: 14px;
  padding-inline-end: 36px;
}
.fld-control:focus,
.fld select:focus,
.fld textarea:focus,
.fld input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.fld input::placeholder,
.fld textarea::placeholder {
  color: var(--muted-2);
}
.fld-hint {
  font-size: 12px;
  color: var(--muted);
  margin-block-start: 6px;
}
/* input with a leading icon */
.fld-icon {
  position: relative;
}
.fld-icon > i {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 13px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}
.fld-icon input {
  padding-inline-start: 40px;
}
/* password toggle */
.fld-toggle {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 15px;
  padding: 4px;
}
.fld-toggle:hover {
  color: var(--orange);
}

/* two/three columns */
.fld-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 18px;
}
.fld-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.fld-grid .span-2 {
  grid-column: span 2;
}

/* checkbox / radio */
.fld-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.6;
}
.fld-check input {
  inline-size: 18px;
  block-size: 18px;
  margin-block-start: 3px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.fld-check a {
  color: var(--orange);
  font-weight: 600;
  border-block-end: 1px solid transparent;
}
.fld-check a:hover {
  border-block-end-color: var(--orange);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-block-start: 8px;
}
.form-actions.end {
  justify-content: flex-end;
}
.form-actions.between {
  justify-content: space-between;
}

/* choice cards (individual / company, visitor / bidder ...) */
.choice-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-block-end: 6px;
}
.choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid var(--brown-line);
  border-radius: var(--radius-card);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}
.choice-card:hover {
  border-color: var(--gold-line);
}
.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-card .cc-icon {
  inline-size: 44px;
  block-size: 44px;
  border-radius: 12px;
  background: var(--chip);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.choice-card .cc-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.choice-card .cc-desc {
  font-size: 12px;
  color: var(--muted);
  margin-block-start: 2px;
}
.choice-card input:checked ~ .cc-body .cc-title {
  color: var(--brown);
}
.choice-card:has(input:checked) {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.choice-card:has(input:checked) .cc-icon {
  background: var(--gold);
  color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* 6. Auth pages                                                       */
/* ------------------------------------------------------------------ */
.auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 64px;
}
.auth-card {
  inline-size: 100%;
  max-inline-size: 560px;
  background: #f4eee3; /* light warm tint (not white) so the white-lettered logo reads */
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  padding: 38px;
}
.auth-card.wide {
  max-inline-size: 720px;
}
/* fields always span the full width of the auth form */
.auth-card .fld-grid,
.auth-card .fld-grid.cols-3 {
  grid-template-columns: 1fr;
}
.auth-card .fld-grid .span-2 {
  grid-column: auto;
}
.auth-head {
  text-align: center;
  margin-block-end: 26px;
}
.auth-head .auth-logo {
  display: inline-block;
  background: var(--dark);
  padding: 14px 26px;
  border-radius: 14px;
  margin-block-end: 16px;
}
.auth-head .auth-logo img {
  height: 58px;
  width: auto;
  display: block;
}
.auth-head h1 {
  font-weight: 900;
  font-size: 24px;
  color: var(--ink);
  margin: 0;
}
.auth-head p {
  font-size: 14px;
  color: var(--muted);
  margin-block-start: 6px;
}
.auth-alt {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-block-start: 20px;
}
.auth-alt a {
  color: var(--orange);
  font-weight: 700;
}
.auth-alt a:hover {
  text-decoration: underline;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-block: 20px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  block-size: 1px;
  background: var(--brown-line);
}
.forgot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-block-end: 18px;
}
.forgot-row a {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
}

/* OTP inputs */
.otp-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  direction: ltr;
  margin-block: 8px 20px;
}
.otp-box {
  inline-size: 56px;
  block-size: 64px;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  border: 1.5px solid rgba(116, 81, 45, 0.3);
  border-radius: 12px;
  outline: none;
  transition: var(--transition);
}
.otp-box:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.otp-resend {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.otp-resend button {
  background: none;
  border: none;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
}
.otp-resend button:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
}

/* status / success / pending screens */
.status-screen {
  text-align: center;
  max-inline-size: 520px;
  margin-inline: auto;
}
.status-icon {
  inline-size: 92px;
  block-size: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 42px;
}
.status-icon.ok {
  background: rgba(34, 160, 80, 0.12);
  color: #22a050;
}
.status-icon.pending {
  background: var(--gold-soft);
  color: var(--orange);
}
.status-icon.info {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}
.status-screen h1 {
  font-weight: 900;
  font-size: 26px;
  color: var(--ink);
  margin: 0 0 10px;
}
.status-screen p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-block-end: 10px;
}

/* ------------------------------------------------------------------ */
/* 7. Multi-step form (bidder register)                                */
/* ------------------------------------------------------------------ */
.stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin-block-end: 32px;
}
.stepper-item {
  flex: 1 1 0;
  text-align: center;
  position: relative;
}
.stepper-item::before {
  content: "";
  position: absolute;
  inset-block-start: 19px;
  inset-inline-end: 50%;
  inline-size: 100%;
  block-size: 2px;
  background: var(--brown-line);
  z-index: 0;
}
.stepper-item:first-child::before {
  display: none;
}
.stepper-item.done::before,
.stepper-item.active::before {
  background: var(--gold);
}
.stepper-num {
  position: relative;
  z-index: 1;
  inline-size: 40px;
  block-size: 40px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  background: var(--white);
  border: 2px solid var(--brown-line);
  color: var(--muted);
  transition: var(--transition);
}
.stepper-item.active .stepper-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.stepper-item.done .stepper-num {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
}
.stepper-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.stepper-item.active .stepper-label {
  color: var(--ink);
}

.step-pane {
  display: none;
  animation: faFade 0.35s ease;
}
.step-pane.active {
  display: block;
}
@keyframes faFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-heading {
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 4px;
}
.step-subheading {
  font-size: 14px;
  color: var(--muted);
  margin-block-end: 22px;
}

/* upload box */
.upload-box {
  border: 2px dashed rgba(116, 81, 45, 0.35);
  border-radius: var(--radius-card);
  background: rgba(237, 224, 204, 0.25);
  padding: 26px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.upload-box:hover {
  border-color: var(--orange);
  background: var(--gold-soft);
}
.upload-box input[type="file"] {
  display: none;
}
.upload-box .ub-icon {
  font-size: 30px;
  color: var(--orange);
  margin-block-end: 8px;
}
.upload-box .ub-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.upload-box .ub-hint {
  font-size: 12px;
  color: var(--muted);
  margin-block-start: 4px;
}
.upload-list {
  margin-block-start: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.upload-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--brown-line);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--white);
}
.upload-item .ui-icon {
  color: var(--brown);
  font-size: 18px;
}
.upload-item .ui-name {
  flex: 1 1 auto;
  font-size: 14px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-item .ui-size {
  font-size: 12px;
  color: var(--muted);
}
.upload-item .ui-remove {
  background: none;
  border: none;
  color: var(--red);
  font-size: 15px;
}

/* review summary */
.review-group {
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-block-end: 16px;
}
.review-group h4 {
  margin: 0;
  padding: 12px 16px;
  background: var(--section-gray);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  border-block-start: 1px solid var(--brown-line);
  font-size: 14px;
}
.review-row .rr-label {
  color: var(--muted);
}
.review-row .rr-value {
  color: var(--ink);
  font-weight: 600;
  text-align: end;
}

/* ------------------------------------------------------------------ */
/* 8. Listing pages (filters + grid + pagination)                      */
/* ------------------------------------------------------------------ */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px;
  margin-block-end: 28px;
}
.filters-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.filters-grid .fld {
  margin-block-end: 0;
}
.filters-grid .filter-submit {
  block-size: 44px;
}
.filter-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  inline-size: 100%;
  margin-block-end: 16px;
}

.listing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-block-end: 20px;
}
.results-count {
  font-size: 14px;
  color: var(--muted);
}
.results-count strong {
  color: var(--ink);
  font-weight: 800;
}
.sort-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.sort-row select {
  inline-size: auto;
  min-inline-size: 160px;
  margin-block-end: 0;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.listing-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* extra card bits for listing/current auctions */
.ac-badge.live {
  background: var(--red);
}
.ac-live-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red-2);
}
.ac-live-row .dot {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--red-2);
  animation: pulse 1.4s infinite;
}
.ac-fav {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  inline-size: 34px;
  block-size: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  z-index: 2;
}
.ac-fav:hover {
  background: var(--white);
  color: var(--red);
}
.ac-fav.active {
  color: var(--red);
}
.ac-final {
  color: var(--brown);
  font-weight: 800;
}

/* pagination */
.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-block-start: 40px;
  flex-wrap: wrap;
}
.pagination-nav a,
.pagination-nav span {
  min-inline-size: 40px;
  block-size: 40px;
  padding-inline: 10px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--brown-line);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.pagination-nav a:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.pagination-nav .active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.pagination-nav .disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state .es-icon {
  font-size: 52px;
  color: var(--gold-line);
  margin-block-end: 14px;
}
.empty-state h3 {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 6px;
}
.empty-state p {
  font-size: 14px;
  margin-block-end: 18px;
}

/* ------------------------------------------------------------------ */
/* 9. Auction details                                                  */
/* ------------------------------------------------------------------ */
.detail-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  align-items: start;
}
.detail-gallery .dg-main {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  block-size: 420px;
  border: 1px solid var(--brown-line);
}
.detail-gallery .dg-main img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.detail-gallery .dg-badge {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
}
.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-block-start: 12px;
}
.detail-thumbs img {
  block-size: 76px;
  inline-size: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.detail-thumbs img:hover,
.detail-thumbs img.active {
  border-color: var(--orange);
}

.detail-head .dh-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-block-end: 10px;
}
.detail-head h1 {
  font-weight: 900;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.3;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 14px;
}
.detail-meta i {
  color: var(--orange);
  margin-inline-end: 4px;
}

/* sidebar bid box */
.bid-box {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 24px;
  position: sticky;
  inset-block-start: 20px;
}
.bid-box .bb-label {
  font-size: 13px;
  color: var(--muted);
}
.bid-box .bb-price {
  font-weight: 900;
  font-size: 34px;
  color: var(--ink);
  line-height: 1.2;
  margin-block: 2px 4px;
}
.bid-box .bb-sub {
  font-size: 13px;
  color: var(--brown);
}
.bid-box .bb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-block: 18px;
}
.bb-stat {
  background: var(--section-gray);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.bb-stat .v {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
}
.bb-stat .l {
  font-size: 12px;
  color: var(--muted);
  margin-block-start: 2px;
}

/* countdown */
.countdown {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.countdown .cd-cell {
  flex: 1 1 0;
  background: var(--dark);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
}
.countdown .cd-num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--gold);
}
.countdown .cd-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-block-start: 6px;
}
.countdown.ended .cd-num {
  color: var(--muted-2);
}

/* detail tabs */
.detail-tabs {
  display: flex;
  gap: 4px;
  border-block-end: 1px solid var(--brown-line);
  margin-block-end: 20px;
  flex-wrap: wrap;
}
.detail-tabs .dt-btn {
  background: none;
  border: none;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  border-block-end: 2px solid transparent;
  margin-block-end: -1px;
}
.detail-tabs .dt-btn.active {
  color: var(--ink);
  border-block-end-color: var(--gold);
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

/* spec table */
.spec-table {
  inline-size: 100%;
  border-collapse: collapse;
}
.spec-table tr {
  border-block-end: 1px solid var(--brown-line);
}
.spec-table th,
.spec-table td {
  padding: 12px 14px;
  font-size: 14px;
  text-align: start;
}
.spec-table th {
  color: var(--muted);
  font-weight: 600;
  inline-size: 42%;
  background: rgba(237, 224, 204, 0.2);
}
.spec-table td {
  color: var(--ink);
  font-weight: 600;
}

/* terms / bullet lists */
.bullet-list li {
  position: relative;
  padding-inline-start: 26px;
  margin-block-end: 12px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}
.bullet-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 2px;
  color: var(--orange);
  font-size: 13px;
}
.bullet-list.warn li::before {
  content: "\f071";
  color: var(--red);
}

/* docs list */
.docs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--brown-line);
  border-radius: 10px;
  padding: 12px 16px;
  transition: var(--transition);
}
.doc-row:hover {
  border-color: var(--gold-line);
  background: rgba(237, 224, 204, 0.15);
}
.doc-row .dr-icon {
  inline-size: 40px;
  block-size: 40px;
  border-radius: 8px;
  background: var(--chip);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.doc-row .dr-body {
  flex: 1 1 auto;
}
.doc-row .dr-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.doc-row .dr-meta {
  font-size: 12px;
  color: var(--muted);
}
.doc-row .dr-dl {
  color: var(--orange);
  font-size: 16px;
}

/* deposit callout */
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  border-radius: var(--radius-card);
  padding: 16px 18px;
}
.callout .co-icon {
  color: var(--orange);
  font-size: 22px;
  flex-shrink: 0;
}
.callout .co-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--brown);
}
.callout .co-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* 10. Live auction                                                    */
/* ------------------------------------------------------------------ */
.live-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}
.live-stage {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--brown-line);
  position: relative;
  background: var(--black);
}
.live-stage img {
  inline-size: 100%;
  block-size: 420px;
  object-fit: cover;
}
.live-indicator {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
}
.live-indicator .dot {
  inline-size: 9px;
  block-size: 9px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.2s infinite;
}
.live-watchers {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}
.live-watchers i {
  color: var(--gold);
  margin-inline-end: 4px;
}

/* live bid panel */
.live-panel {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px;
}
.live-price-wrap {
  text-align: center;
  padding-block-end: 18px;
  border-block-end: 1px solid var(--brown-line);
  margin-block-end: 18px;
}
.live-price-wrap .lp-label {
  font-size: 13px;
  color: var(--muted);
}
.live-price {
  font-weight: 900;
  font-size: 44px;
  color: var(--ink);
  line-height: 1.1;
  transition: color 0.3s ease, transform 0.3s ease;
}
.live-price.bumped {
  color: #22a050;
  transform: scale(1.06);
}
.live-price-wrap .lp-inc {
  font-size: 13px;
  color: var(--brown);
  margin-block-start: 4px;
}
.quick-bids {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-block-end: 12px;
}
.quick-bids button {
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--brown);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-btn);
  padding: 10px 4px;
  transition: var(--transition);
}
.quick-bids button:hover {
  background: var(--gold);
  color: var(--ink);
}
.bid-input-row {
  display: flex;
  gap: 8px;
  margin-block-end: 12px;
}
.bid-input-row input {
  flex: 1 1 auto;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid rgba(116, 81, 45, 0.3);
  border-radius: var(--radius-btn);
  padding: 0 14px;
  outline: none;
}
.bid-input-row input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.bid-error {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  margin-block-end: 10px;
  display: none;
}
.bid-error.show {
  display: block;
}

/* bid log */
.bid-log {
  max-block-size: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bid-log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--section-gray);
  font-size: 13px;
  animation: faFade 0.4s ease;
}
.bid-log-item.mine {
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
}
.bid-log-item .bl-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}
.bid-log-item .bl-avatar {
  inline-size: 28px;
  block-size: 28px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.bid-log-item .bl-amount {
  font-weight: 800;
  color: var(--brown);
}
.bid-log-item .bl-time {
  font-size: 11px;
  color: var(--muted);
}

/* sticky mobile bid bar */
.sticky-bid-bar {
  display: none;
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 45;
  background: var(--white);
  border-block-start: 1px solid var(--brown-line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: 10px 16px;
  align-items: center;
  gap: 12px;
}
.sticky-bid-bar .sb-price .l {
  font-size: 11px;
  color: var(--muted);
}
.sticky-bid-bar .sb-price .v {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}
.sticky-bid-bar .btn-gold {
  flex: 1 1 auto;
}

/* ------------------------------------------------------------------ */
/* 11. Account area                                                    */
/* ------------------------------------------------------------------ */
.account-layout {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 28px;
  align-items: start;
}
.account-sidebar {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: sticky;
  inset-block-start: 20px;
}
.acc-user {
  padding: 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(242, 166, 41, 0.12), transparent);
  border-block-end: 1px solid var(--brown-line);
}
.acc-avatar {
  inline-size: 72px;
  block-size: 72px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: var(--brown);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
}
.acc-user .au-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}
.acc-user .au-type {
  display: inline-block;
  margin-block-start: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brown);
  background: var(--chip);
  padding: 2px 12px;
  border-radius: 999px;
}
.acc-nav {
  padding: 10px;
}
.acc-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  transition: var(--transition);
}
.acc-nav a i {
  inline-size: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.acc-nav a:hover {
  background: var(--section-gray);
}
.acc-nav a.active {
  background: var(--gold);
  color: var(--ink);
}
.acc-nav a.active i {
  color: var(--ink);
}
.acc-nav .acc-logout {
  color: var(--red);
  margin-block-start: 6px;
  border-block-start: 1px solid var(--brown-line);
  border-radius: 0;
}
.acc-nav .acc-logout i {
  color: var(--red);
}

.account-main .am-head {
  margin-block-end: 22px;
}
.account-main .am-head h1 {
  font-weight: 900;
  font-size: 26px;
  color: var(--ink);
  margin: 0;
}
.account-main .am-head p {
  color: var(--muted);
  font-size: 14px;
  margin-block-start: 4px;
}

/* stat cards */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.stat-card .sc-icon {
  inline-size: 46px;
  block-size: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--gold-soft);
  color: var(--orange);
}
.stat-card .sc-num {
  font-weight: 900;
  font-size: 30px;
  color: var(--ink);
  line-height: 1;
}
.stat-card .sc-label {
  font-size: 14px;
  color: var(--muted);
}
.stat-card .sc-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-block-start: auto;
}

/* data table (responsive → cards) */
.table-wrap {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.data-table {
  inline-size: 100%;
  border-collapse: collapse;
}
.data-table thead th {
  background: var(--section-gray);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  text-align: start;
  padding: 14px 16px;
  white-space: nowrap;
}
.data-table tbody td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink);
  border-block-start: 1px solid var(--brown-line);
  vertical-align: middle;
}
.data-table tbody tr:hover {
  background: rgba(237, 224, 204, 0.18);
}
.data-table .td-title {
  font-weight: 700;
}
.data-table .td-title small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}
.data-table .td-price {
  font-weight: 800;
  color: var(--brown);
}
.data-table .row-actions {
  display: flex;
  gap: 8px;
}
.icon-btn {
  inline-size: 34px;
  block-size: 34px;
  border-radius: 8px;
  border: 1px solid var(--brown-line);
  background: var(--white);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.icon-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* account tabs */
.acc-tabs {
  display: flex;
  gap: 6px;
  margin-block-end: 20px;
  border-block-end: 1px solid var(--brown-line);
  flex-wrap: wrap;
}
.acc-tabs .at-btn {
  background: none;
  border: none;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  border-block-end: 2px solid transparent;
  margin-block-end: -1px;
}
.acc-tabs .at-btn.active {
  color: var(--ink);
  border-block-end-color: var(--gold);
}

/* documents grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.doc-card {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  text-align: center;
}
.doc-card .dc-icon {
  inline-size: 54px;
  block-size: 54px;
  border-radius: 14px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--chip);
  color: var(--brown);
}
.doc-card .dc-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-block-end: 4px;
}
.doc-card .dc-meta {
  font-size: 12px;
  color: var(--muted);
  margin-block-end: 12px;
}
.doc-card .dc-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* profile two-column */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ------------------------------------------------------------------ */
/* 12. Status badges & chips                                           */
/* ------------------------------------------------------------------ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-badge::before {
  content: "";
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge.live { color: #d12f2f; background: rgba(229, 62, 62, 0.12); }
.status-badge.upcoming { color: #b5791a; background: rgba(242, 166, 41, 0.15); }
.status-badge.ended { color: #6b6b6b; background: rgba(120, 120, 120, 0.14); }
.status-badge.sealed { color: #744210; background: rgba(116, 66, 16, 0.12); }
.status-badge.pending { color: #b5791a; background: rgba(242, 166, 41, 0.15); }
.status-badge.approved,
.status-badge.paid,
.status-badge.won { color: #1f8a4c; background: rgba(34, 160, 80, 0.12); }
.status-badge.rejected,
.status-badge.unpaid,
.status-badge.lost { color: #d12f2f; background: rgba(229, 62, 62, 0.12); }
.status-badge.review { color: #3b6fb5; background: rgba(59, 111, 181, 0.12); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
}

/* ------------------------------------------------------------------ */
/* 13. Modal (lightweight, custom)                                     */
/* ------------------------------------------------------------------ */
.fa-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.fa-modal.open {
  opacity: 1;
  visibility: visible;
}
.fa-modal-dialog {
  inline-size: 100%;
  max-inline-size: 460px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 30px;
  text-align: center;
  transform: translateY(16px);
  transition: transform 0.3s ease;
}
.fa-modal.open .fa-modal-dialog {
  transform: translateY(0);
}
.fa-modal-close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
}
.fa-modal-icon {
  inline-size: 76px;
  block-size: 76px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: rgba(34, 160, 80, 0.12);
  color: #22a050;
}
.fa-modal-dialog h3 {
  font-weight: 900;
  font-size: 21px;
  color: var(--ink);
  margin: 0 0 8px;
}
.fa-modal-dialog p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-block-end: 20px;
}

/* ------------------------------------------------------------------ */
/* 14. About / Contact / Legal (static)                                */
/* ------------------------------------------------------------------ */
.prose {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}
.prose h2 {
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  margin: 32px 0 12px;
}
.prose h3 {
  font-weight: 800;
  font-size: 17px;
  color: var(--brown);
  margin: 24px 0 10px;
}
.prose p {
  margin-block-end: 14px;
}
.prose ul {
  margin-block-end: 16px;
}
.prose ul li {
  position: relative;
  padding-inline-start: 22px;
  margin-block-end: 8px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 10px;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.legal-meta {
  font-size: 13px;
  color: var(--muted);
  margin-block-end: 24px;
  padding-block-end: 16px;
  border-block-end: 1px solid var(--brown-line);
}
/* legal table of contents */
.toc {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  position: sticky;
  inset-block-start: 20px;
}
.toc h4 {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 12px;
}
.toc a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
}
.toc a:hover {
  color: var(--orange);
}

/* about value cards / stats reuse home tokens */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px;
  text-align: center;
}
.value-card .vc-icon {
  inline-size: 60px;
  block-size: 60px;
  border-radius: 16px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--gold-soft);
  color: var(--orange);
}
.value-card h3 {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 8px;
}
.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 14px;
  border-block-end: 1px solid var(--brown-line);
}
.contact-info-item:last-child {
  border-block-end: none;
}
.contact-info-item .ci-icon {
  inline-size: 44px;
  block-size: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.contact-info-item .ci-label {
  font-size: 12px;
  color: var(--muted);
}
.contact-info-item .ci-value {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
/* social icons sit inside the light contact card → give them brand colours */
.contact-info-card .footer-social a {
  background: var(--gold-soft);
  color: var(--brown);
}
.contact-info-card .footer-social a:hover {
  background: var(--gold);
  color: var(--black);
}

.map-embed {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--brown-line);
  block-size: 300px;
  background:
    repeating-linear-gradient(45deg, rgba(116, 81, 45, 0.05) 0 12px, transparent 12px 24px),
    var(--section-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  margin-block-start: 20px;
}
.map-embed iframe {
  inline-size: 100%;
  block-size: 100%;
  border: 0;
  display: block;
}

/* ------------------------------------------------------------------ */
/* 15. Small utilities                                                 */
/* ------------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-block-start: 0 !important; }
.mt-8 { margin-block-start: 8px; }
.mt-16 { margin-block-start: 16px; }
.mt-24 { margin-block-start: 24px; }
.mt-32 { margin-block-start: 32px; }
.mb-0 { margin-block-end: 0 !important; }
.mb-24 { margin-block-end: 24px; }
.gap-16 { gap: 16px; }
.divider {
  block-size: 1px;
  background: var(--brown-line);
  border: none;
  margin-block: 20px;
}
.section-lead {
  max-inline-size: 620px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ------------------------------------------------------------------ */
/* 16. Responsive                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1199px) {
  .listing-grid,
  .listing-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .filters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .filters-grid .filter-submit {
    grid-column: span 3;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .bid-box {
    position: static;
  }
  .live-layout {
    grid-template-columns: 1fr;
  }
  .docs-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .page-banner {
    padding-block: 178px 44px;
  }
  .pb-title {
    font-size: 30px;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .sticky-bid-bar {
    display: flex;
  }
}

@media (max-width: 767px) {
  .page-banner {
    padding-block: 160px 40px;
  }
  .pb-title {
    font-size: 25px;
  }
  .inner-section {
    padding-block: 44px;
  }
  .auth-card {
    padding: 24px;
  }
  .fld-grid,
  .fld-grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .fld-grid .span-2 {
    grid-column: auto;
  }
  .choice-cards {
    grid-template-columns: 1fr;
  }
  .listing-grid,
  .listing-grid.cols-4 {
    grid-template-columns: 1fr;
  }
  .filters-grid {
    grid-template-columns: 1fr;
    display: none;
  }
  .filters-grid.open {
    display: grid;
  }
  .filters-grid .filter-submit {
    grid-column: auto;
  }
  .filter-toggle {
    display: inline-flex;
  }
  .detail-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  .detail-gallery .dg-main {
    block-size: 280px;
  }
  .live-stage img {
    block-size: 260px;
  }
  .quick-bids {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-cards,
  .docs-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .stepper-label {
    display: none;
  }
  .stepper {
    margin-block-end: 24px;
  }

  /* stacked data-table → cards */
  .data-table thead {
    display: none;
  }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    inline-size: 100%;
  }
  .data-table tr {
    border: 1px solid var(--brown-line);
    border-radius: 12px;
    margin-block-end: 14px;
    padding: 6px 4px;
  }
  .data-table tbody td {
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: end;
    padding: 8px 14px;
  }
  .data-table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 12px;
    color: var(--muted);
    text-align: start;
  }
  .data-table .row-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 575px) {
  .page-banner {
    padding-block: 140px 32px;
  }
  .pb-title {
    font-size: 22px;
  }
  .otp-box {
    inline-size: 44px;
    block-size: 54px;
    font-size: 22px;
  }
  .live-price {
    font-size: 36px;
  }
  .bid-box .bb-price {
    font-size: 28px;
  }
}
