/* ==========================================================================
   Future Auction | فيوتشر أوكشن
   Main stylesheet
   - Single language (Arabic / RTL) per the Figma design.
   - Written with CSS logical properties so switching direction later is easy.
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Fonts (self-hosted Cairo variable font)                          */
/* ------------------------------------------------------------------ */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/cairo/cairo-variable-arabic.woff2") format("woff2-variations");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F,
    U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF,
    U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B,
    U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D,
    U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89,
    U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/cairo/cairo-variable-latin.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "manrope-regular";
  font-style: normal;
  src: url("../fonts/manrope-regular.otf");
}

@font-face {
  font-family: "Consolas";
  font-style: normal;
  src: url("../fonts/Consolas.ttf");
}

/* ------------------------------------------------------------------ */
/* 2. Design tokens                                                    */
/* ------------------------------------------------------------------ */
:root {
  /* brand colors */
  --gold: #fac10b; /* primary yellow (buttons)          */
  --orange: #f2a629; /* accent / timers / gold heading    */
  --gold-soft: rgba(242, 166, 41, 0.2);
  --gold-line: rgba(242, 166, 41, 0.4);

  --brown: #74512d; /* muted links                       */
  --brown-line: rgba(116, 81, 45, 0.15); /* card borders / dividers */
  --chip: #ede0cc; /* category chip background          */

  --red: #e53e3e; /* live badge                        */
  --red-2: #fb2c36; /* "live now" label                  */

  --ink: #2b2b2b; /* primary dark text                 */
  --dark: #1b1c1d; /* step badges                       */
  --black: #000000;
  --white: #ffffff;

  --muted: #888888; /* secondary labels                  */
  --muted-2: #808080;
  --gray-link: #828282;

  --section-gray: #ededed; /* alternating light section bg      */

  /* typography */
  --font-main: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-mono: "Consolas", ui-monospace, "Courier New", monospace;

  /* layout */
  --content-max: 1280px;
  --radius-card: 16px;
  --radius-btn: 5px;
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ------------------------------------------------------------------ */
/* 3. Base / reset                                                     */
/* ------------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  max-width: 100%;
}
p {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* Shared section heading block (centered) */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-title {
  font-weight: 900;
  font-size: 30px;
  line-height: 1.2;
  margin: 0;
  color: var(--black);
}
.section-subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 8px;
  color: var(--black);
}

/* Reusable pill button */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 24px;
  transition: var(--transition);
}
.btn-gold:hover {
  background: var(--orange);
  color: var(--black);
}

/* ================================================================== */
/* 4. Header / Navbar                                                  */
/* ================================================================== */
.site-header {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 30;
  padding-block: 34px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-lang {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-lang a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 18px;
  font-family: "manrope-regular";
}
.header-lang a.active {
  color: var(--gold);
}
.header-lang .sep {
  color: rgba(255, 255, 255, 0.4);
}

.header-logo {
  display: block;
}
.header-logo img {
  max-width: 138px;
}

.menu-toggle {
  inline-size: 42px;
  block-size: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  border-radius: 0;
  padding: 0;
  transition: var(--transition);
}
.menu-toggle span {
  display: block;
  inline-size: 26px;
  block-size: 3px;
  background: var(--white);
  border-radius: 999px;
  transition: var(--transition);
}
.menu-toggle span:nth-child(3) {
  inline-size: 17px;
  margin-inline-end: 9px;
}
.menu-toggle:hover,
.menu-toggle.active {
  border-color: var(--gold);
}
.menu-toggle:hover span,
.menu-toggle.active span {
  background: var(--gold);
}

/* Off-canvas menu (opened by the hamburger) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 40;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.offcanvas-menu {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  inline-size: 100%;
  block-size: 100vh;
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 34px clamp(28px, 6vw, 72px) 48px;
  background: rgba(0, 0, 0, 0.82);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.offcanvas-menu.open {
  transform: translateY(0);
}

.offcanvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-block-end: none;
}
.offcanvas-logo img {
  height: 92px;
  width: auto;
}
.offcanvas-menu .menu-close {
  inline-size: 44px;
  block-size: 44px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--orange);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.offcanvas-menu .menu-close:hover {
  color: var(--gold);
}

.offcanvas-nav {
  flex: 1 1 auto;
  overflow: visible;
  padding-block: 34px 0;
  text-align: end;
}
.offcanvas-nav li a {
  display: block;
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.4;
  padding: 14px 22px;
  text-align: start;
  border-radius: 5px;
  transition: var(--transition);
}
.offcanvas-nav li a:hover {
  color: var(--white);
  background: rgba(250, 193, 11, 0.42);
}
.offcanvas-nav li.active a {
  color: var(--white);
  background: rgba(250, 193, 11, 0.42);
}

/* ================================================================== */
/* 5. Hero                                                             */
/* ================================================================== */
.hero {
  position: relative;
  min-block-size: 800px;
  display: flex;
  align-items: center;
  padding-block: 150px 70px;
  color: var(--white);
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slider .owl-stage-outer,
.hero-slider .owl-stage,
.hero-slider .owl-item,
.hero-slide {
  block-size: 100%;
}
.hero-slide img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.76);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-inline-size: 1080px;
  margin-inline: auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(242, 166, 41, 0.4);
  background: rgba(242, 166, 41, 0.2);
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  padding: 7px 17px;
  border-radius: 999px;
  flex-direction: row-reverse; /* inline-start = right in RTL */
  margin-block-end: 24px;
}
.hero-badge .dot {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.hero-title {
  font-size: 54px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.28;
  color: var(--white);
}
.hero-lead {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-inline: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-block-start: 24px;
}
.hero-actions .btn-gold {
  block-size: 44px;
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  block-size: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-btn);
  padding: 0 40px;
  transition: var(--transition);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
}

/* Hero search bar */
.hero-search-wrap {
  margin-block-start: 28px;
}
.hero-search {
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.8);
  padding: 14px 16px;
  border-radius: 4px;
  box-shadow: 0 25px 50px 0 rgba(0, 0, 0, 0.25);
}
.hs-col {
  flex: 0 0 150px;
  min-inline-size: 0;
}
.hs-col-search {
  position: relative;
  flex: 1 1 520px;
  min-inline-size: 360px;
  order: -1;
}
.hs-col-search::after {
  content: "\f002";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 13px;
  z-index: 3;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--white);
  pointer-events: none;
}
.hs-btn {
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 84px;
  padding-inline: 18px;
  block-size: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}
.hs-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* --- Select2 skinned to match the dark search bar --- */
.hero-search .select2-container {
  width: 100% !important;
  font-family: var(--font-main);
}
.hero-search .select2-container--default .select2-selection--single {
  block-size: 46px;
  background: rgba(250, 244, 234, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
}
.hero-search .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--white);
  line-height: 44px;
  padding-inline: 16px;
  font-size: 14px;
}
.hero-search .hs-col-search .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-inline-start: 42px;
}
.hero-search .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(255, 255, 255, 0.85);
}
.hero-search .select2-container--default .select2-selection--single .select2-selection__arrow {
  block-size: 44px;
}
.hero-search .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: rgba(255, 255, 255, 0.8) transparent transparent transparent;
}
.hero-search .select2-container--default .select2-selection__clear {
  color: var(--white);
  margin-inline: 6px;
}

/* Plain text search input — styled identical to the Select2 search bar above */
.hero-search .hs-col-search input[type="text"] {
  width: 100%;
  block-size: 46px;
  background: rgba(250, 244, 234, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-main);
  padding-inline-start: 42px;
  padding-inline-end: 16px;
  outline: none;
}
.hero-search .hs-col-search input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.85);
}
.hero-search .hs-col-search input[type="text"]:focus {
  border-color: var(--gold);
}
/* dropdown panel (appended to <body>) */
.select2-container {
  font-family: var(--font-main);
}
.select2-dropdown {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.select2-container--default .select2-results__option {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--gold);
  color: #000;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}
.select2-search--dropdown .select2-search__field {
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 4px;
  outline: none;
}

/* Hero decorative side rails + pagination dots */
.hero-rail {
  position: absolute;
  z-index: 1;
  inset-block: -65px -95px;
  inline-size: 1px;
  background: var(--white);
}
.hero-rail-start {
  inset-block-end: auto;
  inset-inline-start: 35px;
  block-size: calc(100% + 35px);
}
.hero-rail-end {
  inset-inline-end: 35px;
  inset-block-end: -120px;
}
.hero-dots {
  position: absolute;
  inset-block-start: calc(100% + 12px);
  inset-inline-start: 50%;
  margin-inline-start: -12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.hero-dots .hd {
  inline-size: 24px;
  block-size: 24px;
  border: 1px solid rgba(216, 207, 188, 0.7);
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.hero-dots .hd.active {
  border-color: var(--gold);
}
.hero-dots .hd span {
  inline-size: 0;
  block-size: 0;
  border-radius: 0;
  background: transparent;
  display: block;
  transition: var(--transition);
}
.hero-dots .hd.active span {
  inline-size: 10px;
  block-size: 10px;
  border-radius: 0;
  background: var(--gold);
}

/* ================================================================== */
/* 6. Categories                                                       */
/* ================================================================== */
.categories {
  background: var(--white);
  padding-block: 64px;
}
.category-carousel .category-card {
  inline-size: 100%;
}
.category-carousel .owl-stage-outer {
  padding-block: 10px 26px;
  margin-block: -10px -26px;
}
.category-carousel .owl-item {
  position: relative;
  z-index: 1;
}
.category-carousel .owl-item:hover {
  z-index: 3;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  display: block;
  block-size: 144px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 2px solid transparent;
  will-change: transform;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.category-card img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.28s ease;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 15, 6, 0.9), rgba(26, 15, 6, 0.2));
}
.category-card .cat-count {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  padding: 2px 10px;
  border-radius: 999px;
}
.category-card .cat-name {
  position: absolute;
  inset-block-end: 12px;
  padding-inline-start: 10px;
  inset-inline: 0;
  z-index: 2;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}
.category-card:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}
.category-card:hover img {
  transform: scale3d(1.035, 1.035, 1);
}

/* ================================================================== */
/* 7. Auction cards (shared: live / upcoming / ended)                  */
/* ================================================================== */
.section-gray {
  background: var(--section-gray);
  padding-block: 64px;
}
.section-white {
  background: var(--white);
  padding-block: 64px;
}

/* Header row with title on the (RTL) right and controls on the left */
.auctions-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 40px;
  flex-wrap: wrap;
}
.auctions-head .head-titles {
  text-align: start;
}
.auctions-head .head-titles .section-title {
  text-align: start;
}
.auctions-head .head-titles .section-subtitle {
  text-align: start;
  margin-top: 4px;
  font-size: 14px;
}
.live-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-2);
  font-weight: 700;
  font-size: 14px;
  margin-block-end: 4px;
}
.live-flag .dot {
  inline-size: 12px;
  block-size: 12px;
  border-radius: 50%;
  background: var(--red-2);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 44, 54, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(251, 44, 54, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(251, 44, 54, 0);
  }
}
.view-all {
  color: var(--brown);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.view-all.gray {
  color: var(--gray-link);
}
.view-all:hover {
  color: var(--orange);
}

/* Filter tabs (live auctions) */
.auction-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.auction-filters .tab {
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--black);
  padding: 8px 18px;
  border-radius: 0;
}
.auction-filters .tab.active {
  background: var(--gold);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
}

/* The card */
.auction-card {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  block-size: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.auction-card:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}
.ac-media {
  position: relative;
  block-size: 192px;
  overflow: hidden;
}
.ac-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.28s ease;
}
.auction-card:hover .ac-media img {
  transform: scale3d(1.035, 1.035, 1);
}
.ac-badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
}
.ac-badge.upcoming {
  background: var(--orange);
  color: var(--ink);
}
.ac-badge.sealed {
  background: #744210;
  color: var(--white);
}
.ac-badge.ended {
  background: var(--gold);
  color: var(--black);
}
.ac-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}
.ac-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ac-code {
  font-size: 12px;
  color: var(--black);
  direction: ltr;
}
.ac-chip {
  border-radius: 33554400px;
  background: #ede0cc;
  color: var(--black);
  display: flex;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  padding: 2px 5.906px 3px 8px;
  justify-content: center;
  align-items: center;
}
.ac-title {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  text-align: start;
  margin: 0;
}
.ac-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--black);
}
.ac-meta .fa-location-dot {
  color: var(--muted);
  font-size: 12px;
}
.ac-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.ac-timer .time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: #f2a629;
  letter-spacing: 0.5px;
}
.ac-timer .fa-clock {
  color: #f2a629;
  font-size: 13px;
}
.ac-divider {
  border-block-start: 1px solid var(--brown-line);
  padding-block-start: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ac-bids {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--black);
}
.ac-bids .fa-gavel {
  color: var(--muted);
  font-size: 13px;
}
.ac-price {
  text-align: start;
}
.ac-price .label {
  font-size: 12px;
  color: var(--muted);
}
.ac-price .value {
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
}
.ac-actions {
  display: flex;
  gap: 8px;
  margin-block-start: 4px;
}
.ac-actions .btn {
  flex: 1 1 0;
  block-size: 38px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}
.ac-actions .btn-bid {
  background: var(--gold);
  color: var(--ink);
  border: none;
}
.ac-actions .btn-bid:hover {
  background: var(--orange);
}
.ac-actions .btn-details {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
  font-weight: 600;
}
.ac-actions .btn-details:hover {
  background: var(--black);
  color: var(--white);
}
.ac-actions .btn-details.full {
  flex-basis: 100%;
  block-size: 50px;
}

/* bottom "view all auctions" */
.auctions-cta {
  text-align: center;
  margin-block-start: 40px;
}
.auctions-cta .btn-gold {
  border-radius: 14px;
  padding: 12px 30px;
}

/* Owl overrides for auction carousels */
.auctions-carousel .owl-stage-outer {
  padding-block: 12px 30px;
  margin-block: -12px -30px;
}
.auctions-carousel .owl-stage {
  display: flex;
}
.auctions-carousel .owl-item {
  position: relative;
  z-index: 1;
  display: flex;
  height: auto;
}
.auctions-carousel .owl-item:hover {
  z-index: 3;
}
.auctions-carousel .owl-item > * {
  width: 100%;
}
.auctions-carousel .owl-dots,
.category-carousel .owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  text-align: center;
  margin-block-start: 22px;
}
.auctions-carousel .owl-dots .owl-dot,
.category-carousel .owl-dots .owl-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auctions-carousel .owl-dots .owl-dot span,
.category-carousel .owl-dots .owl-dot span {
  width: 9px;
  height: 9px;
  margin: 4px;
  background: #c9c9c9;
  border-radius: 50%;
  display: inline-block;
  transition: var(--transition);
}
.auctions-carousel .owl-dots .owl-dot.active span,
.category-carousel .owl-dots .owl-dot.active span {
  background: var(--gold);
  width: 24px;
  border-radius: 6px;
}
/* hide the pagination dot when there is only a single page */
.owl-dots .owl-dot:only-child {
  display: none;
}

/* ================================================================== */
/* 8. Auction types (dark)                                             */
/* ================================================================== */
.dark-section {
  position: relative;
  padding-block: 64px;
  color: var(--white);
  overflow: hidden;
}
.dark-section .dark-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.dark-section .dark-bg img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.dark-section > .container {
  position: relative;
  z-index: 2;
}
.dark-section .section-title {
  color: var(--white);
}
.dark-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.types-bg {
  background: var(--black);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.type-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* inline-start = right in RTL */
  text-align: start;
  transition: var(--transition);
}
.type-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.type-icon {
  inline-size: 64px;
  block-size: 64px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 16px;
}
.type-icon img {
  inline-size: 32px;
  block-size: 32px;
}
.type-card h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 8px;
  color: var(--white);
  inline-size: 100%;
  text-align: start;
}
.type-card p {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.65);
  text-align: start;
}

/* ================================================================== */
/* 9. How it works (steps)                                             */
/* ================================================================== */
.how-works {
  background: var(--white);
  padding-block: 64px;
}
.how-works .section-title {
  color: var(--dark);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.step {
  text-align: center;
}
.step-num {
  inline-size: 56px;
  block-size: 56px;
  border-radius: var(--radius-card);
  background: var(--dark);
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow:
    0 4px 3px rgba(0, 0, 0, 0.1),
    0 2px 2px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}
.step:hover .step-num {
  background: var(--gold);
  color: var(--ink);
}
.step h4 {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 4px;
  color: var(--ink);
}
.step p {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: var(--black);
}
.how-cta {
  text-align: center;
  margin-block-start: 40px;
}
.how-cta .btn-gold {
  background: var(--orange);
  border-radius: 14px;
  padding: 12px 30px;
}
.how-cta .btn-gold:hover {
  background: var(--gold);
}

/* ================================================================== */
/* 10. Why choose us (dark grid, 8 items)                              */
/* ================================================================== */
.why-bg {
  background: #090909;
}

.why-bg .section-title {
  color: var(--orange);
  margin-block-end: 48px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-card);
  padding: 21px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.why-icon {
  inline-size: 48px;
  block-size: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon img {
  inline-size: 24px;
  block-size: 24px;
}
.why-card h4 {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  color: var(--white);
}

/* ================================================================== */
/* 11. Stats / counter band (dark)                                     */
/* ================================================================== */
.stats-section {
  background: var(--white);
  padding-block: 0;
}
.stats-band {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding-block: 56px;
  color: var(--white);
}
.stats-band .dark-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stats-band .dark-bg img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.stats-band .container {
  position: relative;
  z-index: 2;
}
.stats-logo {
  text-align: center;
  margin-block-end: 40px;
}
.stats-logo img {
  height: 120px;
  width: auto;
}
.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  flex: 1 1 0;
  min-inline-size: 180px;
  text-align: center;
  padding-inline: 24px;
}
.stat + .stat {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.5);
}
.stat .num {
  font-weight: 900;
  font-size: 48px;
  line-height: 1.1;
  color: var(--white);
}
.stat .lbl {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 15px;
  color: var(--white);
}

/* ================================================================== */
/* 12. FAQ                                                             */
/* ================================================================== */
.faq {
  background: var(--section-gray);
  padding: 64px 0 10px;
}
.faq .section-title {
  color: var(--black);
  margin-block-end: 40px;
}
.faq-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.faq-list {
  flex: 1 1 50%;
  block-size: 540px;
  max-height: 540px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-inline-end: 6px;
}
.faq-image {
  flex: 1 1 50%;
  text-align: center;
}
.faq-image img {
  max-inline-size: 100%;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--brown-line);
  border-radius: var(--radius-card);
  margin-block-end: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.faq-item.active {
  border-color: transparent;
  box-shadow: var(--shadow-card);
}
.faq-q {
  inline-size: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  text-align: start;
}
.faq-q .fa-chevron-down {
  transition: transform 0.3s ease;
  color: var(--muted);
  font-size: 14px;
}
.faq-item.active .faq-q .fa-chevron-down {
  transform: rotate(180deg);
  color: var(--orange);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.32s ease,
    opacity 0.22s ease,
    padding-block-end 0.32s ease;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding-inline: 20px;
  padding-block-end: 0;
}
.faq-item.active .faq-a {
  opacity: 1;
  padding-block-end: 16px;
}

/* ================================================================== */
/* 13. Footer                                                          */
/* ================================================================== */
.site-footer {
  background: var(--black);
  color: var(--white);
}
.footer-main {
  padding-block: 64px;
}
.footer-col .footer-heading {
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  margin-block-end: 16px;
  text-align: start;
}
.footer-brand .footer-logo img {
  height: 128px;
  width: auto;
  margin-block-end: 8px;
}
.footer-brand p {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.62;
  color: var(--white);
  text-align: start;
}
.footer-links li {
  margin-block-end: 4px;
}
.footer-links li a {
  font-size: 14px;
  line-height: 2;
  color: var(--white);
}
.footer-links li a:hover {
  color: var(--gold);
  padding-inline-start: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* inline-start = right edge in RTL */
  gap: 10px;
  font-size: 14px;
  color: var(--white);
  margin-block-end: 12px;
  text-align: start;
}
.footer-contact li i {
  color: var(--gold);
  inline-size: 18px;
  text-align: center;
  flex-shrink: 0;
}
/* keep phone/email readable left-to-right while sitting after the icon */
.footer-contact .ci-text {
  unicode-bidi: plaintext;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-block-start: 24px;
}
.footer-social a {
  inline-size: 36px;
  block-size: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--black);
}

.footer-bottom {
  border-block-start: 1px solid rgba(255, 255, 255, 0.3);
}
.footer-bottom .fb-inner {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .copyright {
  font-size: 12px;
  color: var(--white);
}
.footer-bottom .fb-links {
  display: flex;
  gap: 16px;
}
.footer-bottom .fb-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}
.footer-bottom .fb-links a:hover {
  color: var(--gold);
}

/* ================================================================== */
/* LTR / English overrides                                            */
/* ================================================================== */
html[dir="ltr"] body {
  direction: ltr;
}
html[dir="ltr"] .fa-arrow-left:before {
  content: "\f061";
}
html[dir="ltr"] .fa-angle-left:before {
  content: "\f105";
}
html[dir="ltr"] .hero-badge {
  flex-direction: row;
}
html[dir="ltr"] .btn-outline-light .fa-arrow-left::before {
  content: "\f061";
}
html[dir="ltr"] .view-all .fa-angle-left::before {
  content: "\f105";
}
html[dir="ltr"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  text-align: left;
}
html[dir="ltr"] .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 1px;
  left: auto;
}
html[dir="ltr"] .hero-search .hs-col-search::after {
  inset-inline-start: 13px;
  inset-inline-end: auto;
}
html[dir="ltr"] .hero-search .hs-col-search .select2-selection__rendered {
  padding-inline-start: 42px;
  padding-inline-end: 16px;
}
html[dir="ltr"] .footer-contact .ci-text {
  unicode-bidi: plaintext;
}

/* ================================================================== */
/* 14. Responsive                                                      */
/* ================================================================== */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }
}

@media (max-width: 991px) {
  .hero {
    min-block-size: auto;
    padding-block: 154px 32px;
  }
  .hero-title {
    font-size: 26px;
    line-height: 1.28;
    margin-block-end: 12px;
  }
  .hero-lead {
    font-size: 12px;
    line-height: 1.55;
  }
  .hero-badge {
    font-size: 12px;
    padding: 5px 12px;
    margin-block-end: 10px;
  }
  .hero-actions {
    gap: 10px;
    margin-block-start: 14px;
  }
  .hero-actions .btn-gold,
  .btn-outline-light {
    block-size: 34px;
    padding-inline: 16px;
    font-size: 12px;
  }
  .hero-search-wrap {
    margin-block-start: 14px;
  }
  .hero-rail {
    display: none;
  }
  .hero-search {
    flex-wrap: wrap;
  }
  .hs-col {
    flex: 1 1 45%;
    min-inline-size: 0;
  }
  .hs-col-search {
    flex-basis: 100%;
    order: -1;
  }
  .hs-btn {
    flex: 1 1 45%;
    block-size: 34px;
    font-size: 12px;
    justify-content: center;
  }
  .hero-search {
    padding: 8px;
    gap: 8px;
  }
  .hero-search .select2-container--default .select2-selection--single {
    block-size: 34px;
  }
  .hero-search .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
    font-size: 12px;
  }
  .hero-search .select2-container--default .select2-selection--single .select2-selection__arrow {
    block-size: 32px;
  }
  .header-logo img {
    max-width: 128px;
  }
  .header-lang a {
    font-size: 16px;
  }
  .menu-toggle {
    inline-size: 38px;
    block-size: 38px;
    gap: 5px;
  }
  .menu-toggle span {
    inline-size: 23px;
  }
  .menu-toggle span:nth-child(3) {
    inline-size: 15px;
    margin-inline-end: 8px;
  }
  .section-gray,
  .section-white,
  .categories,
  .dark-section,
  .how-works,
  .faq,
  .footer-main {
    padding-block: 52px;
  }
  .section-head,
  .auctions-head {
    margin-block-end: 30px;
  }
  .stat .num {
    font-size: 34px;
  }
  .stat .lbl {
    font-size: 15px;
  }
  .stats-row {
    gap: 24px;
  }
  .stat {
    flex: 1 1 40%;
  }
  .stat:nth-child(3) {
    border-inline-start: none;
  }
  .faq-list {
    block-size: 550px;
    max-height: 550px;
  }
}

@media (max-width: 992px) {
  html[dir="ltr"] .hero-content {
    max-inline-size: 860px;
  }
  html[dir="ltr"] .hs-col {
    flex-basis: 145px;
  }
}

@media (max-width: 991px) {
  html[dir="ltr"] .hero-search {
    align-items: stretch;
  }
  html[dir="ltr"] .hs-col-search {
    flex: 1 1 100%;
  }
  html[dir="ltr"] .hs-col,
  html[dir="ltr"] .hs-btn {
    flex: 1 1 calc(33.333% - 8px);
  }
}

@media (max-width: 768px) {
  html[dir="ltr"] .header-inner {
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 24px;
  }
  .hero-title {
    font-size: 22px;
  }
  .hero-lead {
    font-size: 12px;
  }
  .hero {
    padding-block: 132px 22px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    margin-block-start: 12px;
  }
  .hero-actions .btn-gold,
  .btn-outline-light {
    flex: 1 1 calc(50% - 4px);
    block-size: 30px;
    font-size: 11px;
    justify-content: center;
    padding-inline: 8px;
    min-inline-size: 0;
  }
  .hero-search-wrap {
    margin-block-start: 12px;
  }
  .hero-search {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    padding: 7px;
    gap: 7px;
  }
  .hs-col,
  .hs-col-search,
  .hs-btn {
    flex: none;
    min-inline-size: 0;
  }
  .hs-btn {
    inline-size: 100%;
  }
  .section-gray,
  .section-white,
  .categories,
  .dark-section,
  .how-works,
  .faq,
  .footer-main {
    padding-block: 44px;
  }
  .stats-band {
    padding-block: 44px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .type-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-row {
    flex-direction: column;
    gap: 24px;
  }
  .faq-list {
    inline-size: 100%;
    block-size: auto;
    max-height: none;
    overflow-y: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
    padding-inline-end: 0;
  }
  .faq-image {
    order: -1;
    inline-size: 100%;
  }
  .faq-image img {
    max-block-size: 240px;
    object-fit: contain;
  }
  .faq-image.wow {
    animation-name: fadeInDown !important;
  }
  .auctions-head {
    align-items: flex-start;
  }
  .stat + .stat {
    border-inline-start: none;
  }
  .stats-row {
    column-gap: 0;
    row-gap: 22px;
  }
  .stat {
    flex: 0 0 50%;
    min-inline-size: 0;
  }
  .stat:nth-child(even) {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.5);
  }
  .stat:nth-child(n + 3) {
    border-block-start: none;
  }
  .footer-bottom .fb-inner {
    justify-content: center;
    text-align: center;
  }
  .footer-main .row {
    row-gap: 24px;
  }
  .footer-col {
    margin-block-end: 0;
  }
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer-col:nth-child(2) .footer-heading,
  .footer-col:nth-child(3) .footer-heading {
    margin-block-end: 10px;
  }
  .footer-links li {
    margin-block-end: 2px;
  }
  .footer-links li a {
    line-height: 1.7;
  }
  .auction-filters {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .site-header {
    padding-block-start: 20px;
  }
  .header-logo img {
    max-width: 80px;
  }
  .menu-toggle {
    inline-size: 34px;
    block-size: 34px;
  }
  .menu-toggle span {
    inline-size: 21px;
    block-size: 2px;
  }
  .menu-toggle span:nth-child(3) {
    inline-size: 14px;
    margin-inline-end: 7px;
  }
  .header-lang a {
    font-size: 14px;
  }
  .hero-title {
    font-size: 15px;
    line-height: 1.32;
  }
  .hero-badge {
    font-size: 10px;
    padding: 4px 10px;
    margin-block-end: 6px;
  }
  .hero {
    padding-block: 128px 20px;
  }
  .hero-lead {
    font-size: 11px;
  }
  .hero-search {
    padding: 6px;
    gap: 6px;
  }
  .hero-search .select2-container--default .select2-selection--single,
  .hs-btn {
    block-size: 28px;
  }
  .hero-search .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
    font-size: 10px;
    padding-inline: 10px;
  }
  .hero-search .hs-col-search .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-inline-start: 30px;
  }
  .hero-search .select2-container--default .select2-selection--single .select2-selection__arrow {
    block-size: 26px;
  }
  .hs-col-search::after {
    inset-inline-start: 10px;
    font-size: 11px;
  }
  .hero-actions .btn-gold,
  .btn-outline-light {
    flex-basis: calc(50% - 4px);
    block-size: 28px;
    font-size: 10px;
    padding-inline: 6px;
    white-space: nowrap;
  }
  .hs-col,
  .hs-col-search,
  .hs-btn {
    flex-basis: auto;
  }
  .section-title {
    font-size: 22px;
  }
  .section-subtitle {
    font-size: 14px;
  }
  .section-gray,
  .section-white,
  .categories,
  .dark-section,
  .how-works,
  .faq,
  .footer-main {
    padding-block: 36px;
  }
  .category-grid {
    gap: 12px;
  }
  .section-head {
    margin-block-end: 28px;
  }
  .stats-logo img {
    height: 90px;
  }
  .stat .num {
    font-size: 30px;
  }
  .stat .lbl {
    font-size: 13px;
  }
  .footer-brand .footer-logo img {
    height: 96px;
  }
  .footer-brand p,
  .footer-links li a,
  .footer-contact li {
    font-size: 13px;
  }
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    padding-inline: 10px;
  }
  .footer-social {
    justify-content: flex-start;
  }
  .faq-list {
    block-size: auto;
    max-height: none;
  }
}

@media (max-width: 420px) {
  .faq-list {
    block-size: auto;
    max-height: none;
  }
  .faq-q {
    padding: 14px 16px;
    font-size: 14px;
  }
  .faq-a {
    padding-inline: 16px;
    font-size: 13px;
  }
}

@media (max-width: 500px) {
  html[dir="ltr"] .header-lang a {
    font-size: 13px;
  }
  html[dir="ltr"] .offcanvas-menu {
    padding-inline: 22px;
  }
  html[dir="ltr"] .offcanvas-logo img {
    height: 72px;
  }
  html[dir="ltr"] .offcanvas-nav li a {
    font-size: 20px;
    padding-inline: 16px;
  }
}

/* ============================================================
   Header 3-zone symmetry (global — home + all inner pages)
   Keeps the logo perfectly centered before & after login.
   ============================================================ */
.header-inner.header-3zone { display: flex; align-items: center; justify-content: space-between; }
.header-3zone .header-zone { flex: 1 1 0; display: flex; align-items: center; gap: 14px; min-width: 0; }
.header-3zone .header-start { justify-content: flex-start; }
.header-3zone .header-center { justify-content: center; }
.header-3zone .header-end { justify-content: flex-end; }
.header-3zone .header-center .header-logo { margin: 0; }

.header-bell { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: inherit; transition: .15s; }
.header-bell:hover { background: rgba(255, 255, 255, .12); }
.header-bell i { font-size: 18px; }
.header-bell-dot { position: absolute; top: 4px; inset-inline-end: 4px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 9px; background: #e63946; color: #fff; font-size: 10px; line-height: 16px;
  text-align: center; font-weight: 700; }
.header-avatar { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: inherit; }
.header-avatar i { font-size: 16px; }
.header-auth-link { color: inherit; font-weight: 600; white-space: nowrap; }
.header-auth-btn { background: #c9a227; color: #0d2136; padding: 8px 18px; border-radius: 9px;
  font-weight: 700; white-space: nowrap; }
.header-auth-btn:hover { filter: brightness(1.05); color: #0d2136; }

/* Hero free-text search input matched to the select controls */
.hero-search .hero-input { width: 100%; height: 48px; border: 0; border-radius: 10px; padding: 0 16px;
  font-size: 15px; color: #0d2136; background: #fff; outline: none; }

/* On very small screens keep the header uncluttered */
@media (max-width: 575px) {
  .header-3zone .header-end .header-auth-link { display: none; }
}

/* ============================================================
   Auction card image — strict uniform height (real image OR
   placeholder both fill the same box with object-fit: cover).
   ============================================================ */
.auction-card .ac-media { position: relative; height: 210px; overflow: hidden; border-radius: inherit; }
.auction-card .ac-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 575px) {
  .auction-card .ac-media { height: 190px; }
}