/* ============================================================
   Hilco Industrial — Shared Stylesheet
   Recreated from Adobe XD prototype (Hilco-Desktop)
   ============================================================ */

/* ---------- Fonts (loaded via <link> in the layout; matches dev.nexgentradein.com) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --blue:        #2c68b2;   /* primary blue (buttons, links)        */
  --blue-dark:   #1f4e8f;   /* nav / dark blue                      */
  --blue-deep:   #29528f;   /* news section background              */
  --blue-light:  #2c8fd8;   /* bid-now / light accent button        */
  --navy:        #16365c;   /* headings                             */
  --red:         #e23b2e;   /* countdown / alerts                   */
  --ink:         #3c3c3c;   /* body text                            */
  --muted:       #8a96a3;   /* secondary text                       */
  --line:        #e2e6ea;   /* borders                              */
  --bg:          #ffffff;
  --bg-soft:     #f4f6f8;   /* light grey section                   */
  --radius:      4px;
  --maxw:        1200px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
head, title, meta, link, style, script { display: none !important; }
html { scroll-behavior: smooth; }
body {
  /* System-wide font stack — matches dev.nexgentradein.com */
  font-family: 'Inter', 'IBM Plex Sans Thai', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Image placeholders (drop real photos in to replace) */
.imgph {
  background: linear-gradient(135deg, #dfe4ea 0%, #c9d2db 100%);
  display: flex; align-items: center; justify-content: center;
  color: #9aa6b2; font-size: 12px; letter-spacing: .5px;
  text-align: center; overflow: hidden; position: relative;
}
.imgph::after { content: attr(data-label); padding: 4px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar .container {
  display: flex; align-items: center; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo {
  font-weight: 700; font-size: 26px; color: var(--blue-dark);
  line-height: 1; letter-spacing: -.5px; display: flex; align-items: baseline; gap: 4px;
}
.brand .logo .mark { color: var(--blue); }
.brand .logo small { font-size: 13px; font-weight: 500; color: #555; }
.brand .tagline {
  border-left: 2px solid var(--blue); padding-left: 14px;
  font-style: italic; line-height: 1.3;
}
.brand .tagline b { color: #555; font-weight: 600; display: block; font-size: 14px; }
.brand .tagline span { color: var(--blue); font-size: 14px; }

.topbar .worktime { font-size: 12px; color: var(--muted); line-height: 1.5; margin-left: 8px; }
.topbar .spacer { flex: 1; }
.topbar .toplinks { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.topbar .toplinks a { color: #444; }
.topbar .social { display: flex; gap: 8px; }
.topbar .social a {
  width: 26px; height: 26px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.topbar .social .fb  { background: #3b5998; }
.topbar .social .tw  { background: #1da1f2; }
.topbar .social .line{ background: #06c755; }
.topbar .flags { display: flex; gap: 6px; padding-left: 10px; border-left: 1px solid var(--line); }
.topbar .flags img, .topbar .flags span { width: 24px; height: 18px; border-radius: 2px; }

/* ============================================================
   MAIN NAV
   ============================================================ */
.mainnav { background: linear-gradient(180deg, #2f6cb5 0%, #25589a 100%); }
.mainnav .container { display: flex; align-items: center; gap: 6px; }
.mainnav a {
  color: #eaf1fb; font-size: 15px; padding: 18px 18px; display: inline-block;
  position: relative;
}
.mainnav a:hover { color: #fff; text-decoration: none; }
.mainnav a.active { color: #fff; font-weight: 500; }
.mainnav a.active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 12px; height: 2px; background: #fff;
}
.mainnav .spacer { flex: 1; }
.mainnav .nav-account { display: flex; align-items: center; gap: 8px; }
.mainnav .nav-account a { padding: 18px 14px; }
.mainnav .sep { width: 1px; height: 26px; background: rgba(255,255,255,.4); }
.mainnav .search-btn { font-size: 16px; }
.mainnav .acct-icon { font-size: 18px; vertical-align: -2px; margin-right: 4px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding: 12px 0; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: #b8c0c8; }

/* ============================================================
   HEADINGS / SECTIONS
   ============================================================ */
.page-title { font-size: 30px; font-weight: 700; color: var(--navy); margin: 18px 0 30px; }
.section { padding: 50px 0; }
.section-title {
  text-align: center; font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 36px;
}
.section-title.light { color: #fff; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; border: none; cursor: pointer; font-family: inherit;
  font-size: 15px; padding: 12px 28px; border-radius: var(--radius); color: #fff;
  background: var(--blue); transition: opacity .15s; text-align: center;
}
.btn:hover { opacity: .9; text-decoration: none; color: #fff; }
.btn-light { background: var(--blue-light); }
.btn-dark  { background: #2b2b2b; }
.btn-grey  { background: #b8c0c8; cursor: default; }
.btn-outline { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 14px 40px; font-size: 16px; }

/* Bid Now button */
.bid-now {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: linear-gradient(180deg,#33a0e6,#2c8fd8); color: #fff;
  padding: 11px; border-radius: var(--radius); font-size: 15px; border: none; cursor: pointer;
}
.bid-now.disabled { background: #cfd6dd; }

/* ============================================================
   HERO CAROUSEL (home)
   ============================================================ */
.hero { position: relative; height: 420px; overflow: hidden; }
.hero .slide {
  position: absolute; inset: 0;
  background: linear-gradient(120deg,#0d2a4a 0%, #1b4f8a 55%, #2f7fc0 100%);
  display: flex; align-items: center;
}
.hero .slide .imgph { position: absolute; inset: 0; }
.hero .caption { position: relative; z-index: 2; color: #fff; padding-left: 8%; }
.hero .caption h2 { font-size: 46px; font-style: italic; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero .caption p  { font-size: 30px; font-weight: 300; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.25);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer;
}
.hero .arrow.left { left: 22px; } .hero .arrow.right { right: 22px; }
.hero .dots { position: absolute; bottom: 22px; left: 8%; z-index: 3; display: flex; gap: 8px; }
.hero .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.5); display: block; }
.hero .dots i.on { background: #fff; }

/* ============================================================
   ABOUT (home) split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split h3 { font-size: 26px; color: var(--navy); font-weight: 700; }
.split .en { color: var(--blue); font-size: 20px; margin-bottom: 16px; }
.split p { color: #555; }
.split .imgph { height: 280px; border-radius: 2px; }

/* ============================================================
   AUCTION SEARCH BAR (home)
   ============================================================ */
.auction-band { background: linear-gradient(180deg,#2f6cb5,#234f8c); padding: 40px 0; color: #fff; }
.auction-band .section-title { color: #fff; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 14px; align-items: end; }
.filter-row label { display: block; font-size: 13px; margin-bottom: 6px; color: #dce7f5; }
.filter-row select, .filter-row input {
  width: 100%; padding: 12px 14px; border: none; border-radius: var(--radius); font-family: inherit; font-size: 14px; color: #333;
}
.filter-row .btn { padding: 12px 40px; background: var(--blue-light); }

/* ============================================================
   PRODUCT CARD GRID
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.product .thumb { height: 120px; position: relative; }
.product .thumb .imgph { position: absolute; inset: 0; }
.product .body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.product h4 { color: var(--blue); font-size: 14px; font-weight: 600; line-height: 1.3; }
.product .meta { font-size: 11px; color: #777; margin: 8px 0; line-height: 1.5; }
.product .bidrow {
  display: flex; justify-content: space-between; font-size: 11px; color: #555;
  border-top: 1px solid var(--line); padding-top: 8px; margin-top: auto;
}
.product .bidrow .time { color: var(--red); font-weight: 600; font-size: 13px; }
.product .bidrow .price { color: var(--navy); font-weight: 700; font-size: 13px; }
.product .bidrow .label { display: block; color: #999; font-weight: 400; font-size: 10px; }
.product .foot { padding: 0 12px 12px; }

/* SOLD overlay (auction history) */
.product.sold .thumb .imgph { filter: grayscale(1) brightness(.9); }
.product.sold .thumb::before {
  content: "ขายแล้ว"; position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 600; background: rgba(60,70,80,.45);
}

/* ============================================================
   SIDEBAR FILTER (auction / history listing)
   ============================================================ */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.sidebar .search-box { display: flex; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sidebar .search-box input { border: none; padding: 12px; flex: 1; font-family: inherit; font-style: italic; color: var(--muted); }
.sidebar .search-box button { border: none; background: var(--blue-light); color: #fff; width: 46px; cursor: pointer; font-size: 16px; }
.sidebar .filter-group { margin-bottom: 22px; }
.sidebar .filter-group > label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.sidebar select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit; color: #555; background: #fff; }
.sidebar .range { display: flex; justify-content: space-between; font-size: 13px; color: #555; margin-bottom: 8px; }
.sidebar input[type=range] { width: 100%; accent-color: var(--blue); }
.sidebar .btn-block { margin-top: 10px; }

.event-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.event-head h2 { font-size: 26px; color: var(--navy); font-weight: 700; }
.event-head h2 span { color: var(--muted); font-weight: 400; font-size: 18px; margin-left: 10px; }
.sort-dd { font-size: 13px; color: #555; border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--radius); }
.event-block { margin-bottom: 44px; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.detail { display: grid; grid-template-columns: 460px 1fr; gap: 50px; padding-top: 10px; }
.gallery .main { height: 380px; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: 8px; }
.gallery .thumbs .imgph { height: 56px; }
.gallery .watchers { margin-top: 14px; font-size: 12px; color: #777; letter-spacing: .5px; }
.detail-info h1 { font-size: 26px; color: var(--navy); font-weight: 700; }
.detail-info .specs { color: #555; margin: 14px 0; font-size: 14px; line-height: 1.9; }
.detail-info hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.detail-info .timer-row { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--navy); }
.detail-info .timer-row .t { color: var(--red); font-weight: 700; font-size: 22px; letter-spacing: 1px; }
.detail-info .timer-row .t.ended { color: var(--muted); }
.progress { height: 6px; background: var(--line); border-radius: 3px; margin: 10px 0 22px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--blue); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.price-grid .k { font-size: 14px; color: #555; }
.price-grid .v { font-size: 26px; font-weight: 700; color: var(--navy); }
.price-grid .v.win { color: var(--blue-dark); }
.bidbox { background: var(--bg-soft); padding: 26px; border-radius: var(--radius); }
.bid-field { margin-bottom: 14px; }
.bid-field label { font-size: 13px; color: #555; display: block; margin-bottom: 6px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stepper button { border: none; background: #eef1f4; width: 38px; height: 42px; font-size: 18px; cursor: pointer; color: #555; }
.stepper input { width: 110px; text-align: center; border: none; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--navy); }
.detail-desc { padding: 30px 0; }
.detail-desc h3 { color: var(--navy); font-weight: 600; margin-bottom: 14px; }
.detail-desc p { color: #555; margin-bottom: 14px; }
.share-row { display: flex; align-items: center; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); color: #777; }
.share-row a, .share-row button { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; }
.share-row a, .share-row button { transition: transform .15s ease, opacity .15s ease; }
.share-row a:hover, .share-row button:hover { transform: translateY(-2px); opacity: .9; }
.share-row .fb{background:#3b5998}.share-row .yt{background:#ff0000}.share-row .ig{background:#e1306c}.share-row .line{background:#06c755}

/* ============================================================
   NEWS
   ============================================================ */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.news-card .imgph { height: 210px; }
.news-card .body { padding: 18px; }
.news-card .cat { color: var(--blue-light); font-size: 13px; }
.news-card h3 { color: var(--navy); font-size: 18px; font-weight: 600; margin: 8px 0; line-height: 1.35; }
.news-card p { color: #666; font-size: 14px; }
.news-section { background: var(--blue-deep); }
.news-section .news-card { box-shadow: none; }
.center { text-align: center; }

.article-hero { height: 480px; margin: 10px 0 26px; }
.article h1 { font-size: 28px; color: var(--navy); font-weight: 600; letter-spacing: .5px; }
.article .article-meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.article .article-meta .cat { color: var(--blue-light); font-size: 13px; }
.article .article-meta .views { color: var(--muted); font-size: 13px; }
.article p { color: #555; margin-bottom: 20px; }
.article .full-img { height: 420px; margin: 24px 0; }

/* ---------- Policy / legal document body ---------- */
.policy-body { color: #444; line-height: 1.85; font-size: 15px; }
.policy-body h2 {
  font-size: 20px; color: var(--navy); font-weight: 700;
  margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body h3 { font-size: 16px; color: var(--blue-dark); font-weight: 600; margin: 22px 0 10px; }
.policy-body p { color: #444; margin-bottom: 16px; }
.policy-body ul, .policy-body ol { margin: 0 0 18px; padding-left: 26px; }
.policy-body li { margin-bottom: 8px; }
.policy-body a { color: var(--blue); text-decoration: underline; }
.policy-body strong { color: var(--navy); }
.policy-body table {
  width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 14px;
}
.policy-body th, .policy-body td {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top;
}
.policy-body thead th { background: var(--bg-soft); color: var(--navy); font-weight: 600; }

/* ============================================================
   PARTNERS STRIP
   ============================================================ */
.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafbfc; }
.partners .row { display: grid; grid-template-columns: repeat(4,1fr); }
.partners .row > div { padding: 34px 10px; text-align: center; color: #333; font-weight: 700; font-size: 20px; border-left: 1px solid var(--line); }
.partners .row > div:first-child { border-left: none; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro h2 { font-size: 30px; color: var(--navy); font-weight: 700; }
.about-intro .en { color: var(--blue); font-size: 22px; margin-bottom: 18px; }
.about-cols { columns: 2; column-gap: 40px; color: #555; margin: 24px 0; }
.about img, .about .imgph { border-radius: 2px; }

/* ============================================================
   FORMS (login / register / contact / forgot)
   ============================================================ */
.card-panel { border-top: 4px solid var(--navy); box-shadow: 0 8px 30px rgba(0,0,0,.08); border-radius: 2px; overflow: hidden; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; color: var(--navy); margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--blue-light); margin-top: 5px; }
.input, .field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 14px; color: #333; background: #fff;
}
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--blue); }
.input-icon input { padding-left: 42px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; }
.radio-row { display: flex; gap: 26px; align-items: center; }
.radio-row label { display: flex; align-items: center; gap: 7px; font-weight: 400; color: #555; }

/* login */
.login-split { display: grid; grid-template-columns: 1fr 1fr; }
.login-split .left { padding: 48px; }
.login-split .right { background: var(--blue-dark); color: #fff; padding: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; }
.login-split .right .ic { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-size: 38px; }
.forgot-link { float: right; color: var(--navy); font-size: 13px; }

/* register sections */
.form-section { margin-bottom: 34px; }
.form-section .head { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 18px; }
.form-section .head .num { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.consent-bar { background: var(--bg-soft); border: 1px solid var(--line); padding: 16px 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; border-radius: var(--radius); }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 30px; }
.captcha-box { width: 300px; height: 78px; border: 1px solid #d3d3d3; border-radius: 3px; display: flex; align-items: center; padding: 0 14px; gap: 12px; background: #f9f9f9; font-size: 13px; color: #555; }
.captcha-box .cb { width: 24px; height: 24px; border: 2px solid #c1c1c1; border-radius: 2px; background: #fff; }

/* forgot password */
.narrow-card { max-width: 720px; margin: 0 auto; }
.card-head { text-align: center; padding: 28px; font-size: 22px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.card-body { padding: 40px; text-align: center; }
.card-body p { color: #555; margin-bottom: 22px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; }
.contact-info { background: var(--blue-dark); color: #fff; padding: 40px; position: relative; }
.contact-info h3 { font-size: 20px; margin-bottom: 4px; }
.contact-info .addr { font-size: 13px; color: #cfe0f3; line-height: 1.7; margin-bottom: 18px; }
.contact-info .line-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.contact-info .map { height: 260px; margin-top: 22px; border-radius: 2px; }
.contact-form { padding: 40px; }

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 50px; }
.profile-side { text-align: center; }
.profile-side .avatar { width: 200px; height: 200px; border-radius: 50%; background: #d7dde3; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; color: #aeb8c2; font-size: 90px; }
.profile-side h3 { font-size: 22px; color: var(--navy); font-weight: 600; }
.profile-side .loc { color: var(--muted); font-size: 13px; }
.profile-side .contact { font-size: 13px; color: #555; margin: 12px 0; line-height: 1.7; }
.profile-side .btn { width: 200px; margin: 6px auto; display: block; }
.profile-main .row2 { margin-bottom: 22px; }
.subhead { font-size: 18px; color: var(--blue); font-weight: 600; margin: 26px 0 16px; }
.input-readonly { background: var(--bg-soft); color: #555; }

/* ============================================================
   HISTORY TABLE
   ============================================================ */
.tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 26px; }
.tabs a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px; border-radius: var(--radius); background: var(--bg-soft); color: var(--navy);
  font-size: 14px; border: 1px solid var(--line);
}
.tabs a.active { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.tabs a:hover { text-decoration: none; }
.htable { width: 100%; border-collapse: collapse; }
.htable th { text-align: left; color: var(--navy); font-weight: 600; font-size: 14px; padding: 14px 10px; border-bottom: 2px solid var(--line); background: var(--bg-soft); }
.htable td { padding: 16px 10px; border-bottom: 1px solid var(--line); font-size: 14px; color: #444; }
.status-win { color: var(--blue); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.status-lost { color: var(--red); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.badge-ic { width: 18px; height: 18px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.badge-ic.win { background: var(--blue); } .badge-ic.lost { background: var(--red); }
.htable .code { color: var(--blue); text-decoration: underline; font-weight: 600; }
.btn-xs { padding: 8px 16px; font-size: 13px; border-radius: var(--radius); color: #fff; background: #2b2b2b; border: none; }
.btn-xs.disabled { background: #cfd6dd; }

/* ============================================================
   FAQ ACCORDION (buyer / seller)
   ============================================================ */
.accordion .item { border-bottom: 1px solid var(--line); }
.accordion .q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; }
.accordion .q h3 { color: var(--blue); font-size: 22px; font-weight: 500; }
.accordion .q .sign { color: var(--blue); font-size: 26px; }
.accordion .a { padding: 0 0 24px; color: #555; }
.accordion .a .ques { color: #333; margin: 14px 0 4px; }
.accordion .a p { margin-bottom: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 56px 0 30px; }
.footer .cols { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 60px; }
.footer h4 { color: var(--navy); font-weight: 600; margin-bottom: 20px; font-size: 16px; }
.footer .about p { color: #777; font-size: 13px; margin-top: 16px; line-height: 1.7; }
.footer .brand .logo { font-size: 22px; }
.footer .contact-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.footer .biz { font-weight: 600; color: var(--navy); }
.footer .addr { color: #666; font-size: 13px; line-height: 1.7; }
.footer .hours { color: #666; font-size: 13px; margin-top: 10px; }
.footer .social-foot { display: flex; gap: 18px; margin-top: 18px; }
.footer .social-foot a { display: flex; align-items: center; gap: 7px; color: #555; font-size: 13px; }
.footer .ic-circle { width: 26px; height: 26px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.footer .ic-fb { background: #3b5998; } .footer .ic-line { background: #06c755; }
.footer .contact-list { font-size: 13px; color: #555; line-height: 2.4; }
.footer .contact-list div { display: flex; align-items: center; gap: 10px; }
.footer .contact-list .ci { color: var(--blue); width: 18px; }
.footer-bar { background: var(--blue-dark); color: #cfe0f3; }
.footer-bar .container { display: flex; justify-content: space-between; padding: 16px 20px; font-size: 13px; }
.footer-bar a { color: #fff; text-decoration: underline; }

.to-top { position: fixed; right: 26px; bottom: 26px; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: .85; z-index: 50; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .grid.cols-6 { grid-template-columns: repeat(3,1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .topbar .container { flex-wrap: wrap; }
  .mainnav .container { flex-wrap: wrap; }
  .split, .detail, .listing, .contact-grid, .profile, .login-split, .footer .cols, .footer .contact-cols { grid-template-columns: 1fr; }
  .about-cols { columns: 1; }
}
@media (max-width: 680px) {
  .grid.cols-6, .grid.cols-4, .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .filter-row, .row2, .row3, .tabs, .price-grid { grid-template-columns: 1fr; }
  .partners .row { grid-template-columns: 1fr 1fr; }
  .hero .caption h2 { font-size: 30px; } .hero .caption p { font-size: 20px; }
}
