:root {
  --navy: #0f0f0f;        /* Deep luxury black */
  --navy-2: #1a1a1a;
  --gold: #c9a961;        /* Rich gold for birds */
  --amber: #d4af37;       /* Premium gold accent */
  --blue: #1a2332;        /* Deep navy blue */
  --green: #2d5f3f;       /* Rich green */
  --red: #c1392b;         /* Deep red */
  --ink: #0f0f0f;         /* Pure black text */
  --muted: #6b7280;       /* Better gray */
  --line: #e5e3df;        /* Premium border color */
  --paper: #ffffff;       /* Clean white */
  --bg: #faf8f5;          /* Warm cream background */
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #c9a961 100%);
  --gradient-dark: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Tajawal", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  direction: rtl;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: #b0a680;
  font-size: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(10px);
  background: rgba(15, 15, 15, 0.95);
}

.topbar .container,
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar .container {
  min-height: 40px;
}

.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-end: 18px;
  transition: color 0.3s ease;
}

.topbar span:hover {
  color: var(--amber);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid var(--amber);
  backdrop-filter: blur(20px);
  background: rgba(15, 15, 15, 0.98);
}

.header .container {
  min-height: 76px;
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  font-size: 25px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.logo h1 {
  font-size: 22px;
  margin: 0;
}

.logo small {
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: .08em;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  padding: 9px 14px;
  border-radius: 0;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  background: transparent;
  color: var(--amber);
  border-bottom: 2px solid var(--amber);
}

.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #ffffff;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--amber);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-dark {
  background: rgba(212, 175, 55, 0.1);
  color: #fff;
  border: 2px solid var(--amber);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background: var(--amber);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--line);
  border-radius: 8px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-danger {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  border-radius: 8px;
}

.btn-danger:hover {
  background: transparent;
  color: var(--red);
  transform: translateY(-2px);
}

.nix-gender-emoji {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  font-size: 16px;
  background: rgba(255,255,255,0.92);
  color: #111;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.hero {
  position: relative;
  min-height: 520px;
  color: #fff;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1516733725897-1aa73b87c8e8?q=80&w=2070&auto=format&fit=crop") center/cover;
  opacity: .35;
  transform: scale(1.05);
  filter: brightness(0.9) contrast(1.1) saturate(0.9);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.92) 0%, rgba(15, 15, 15, 0.75) 50%, rgba(15, 15, 15, 0.85) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
}

.hero h2 {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.0;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 650px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--amber);
  border: 2px solid rgba(212, 175, 55, 0.4);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.pill:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--amber);
  transform: translateX(-2px);
}

.section {
  padding: 80px 0;
  border-top: 2px solid var(--line);
  background: var(--bg);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section-title h3 {
  font-size: 36px;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--navy);
  position: relative;
}

.section-title h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 80px;
  height: 4px;
  background: var(--amber);
  border-radius: 2px;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid > *:nth-child(5n+1) {
    grid-column: span 2;
  }
}

.panel,
.auth-box,
.dash-card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel:hover,
.auth-box:hover,
.dash-card:hover {
  border-color: var(--amber);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

.auction-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.auction-card:hover {
  transform: translateY(-4px);
}

.auction-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f5f5f5 center/cover;
  border-radius: 0;
  overflow: hidden;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
}

.timer {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  padding: 8px 10px;
  border-radius: 0;
  font-weight: 900;
  direction: ltr;
}

.auction-body {
  padding: 16px 0 0 0;
}

.auction-body h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #111;
}

.auction-body p {
  color: var(--muted);
  line-height: 1.7;
  min-height: 58px;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0 0 0;
  border: none;
}

.meta strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  direction: ltr;
  text-align: right;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  margin-top: 12px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(2, 6, 23, .7);
  display: none;
  place-items: center;
  padding: 18px;
}

.auth-modal.open {
  display: grid;
}

.auth-box {
  width: min(520px, 100%);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-box h3,
.panel h3 {
  margin: 0 0 16px;
  font-size: 26px;
  color: var(--navy);
  font-weight: 900;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.tab {
  background: #f1f5f9;
  color: var(--ink);
  padding: 12px;
  border-radius: 8px;
  font-weight: 900;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tab:hover {
  background: #e5e7eb;
}

.tab.active {
  background: var(--amber);
  color: #fff;
  border-radius: 8px;
  border-bottom: 3px solid var(--navy);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 800;
  font-size: 13px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background: #fff;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.full {
  grid-column: 1 / -1;
}

.message {
  margin-top: 10px;
  font-weight: 800;
}

.success {
  color: var(--green);
}

.error {
  color: var(--red);
}

.dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px 0;
}

.sidebar {
  background: #1a1a2e;
  color: #fff;
  border-radius: 0;
  padding: 12px;
  position: sticky;
  top: 90px;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #a0a8c0;
  font-weight: 800;
  margin-bottom: 8px;
  border-right: 4px solid transparent;
  transition: all 0.3s ease;
}

.sidebar a:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--amber);
  border-right-color: var(--amber);
  transform: translateX(4px);
}

.sidebar a.active {
  background: rgba(212, 175, 55, 0.2);
  color: var(--amber);
  border-right-color: var(--amber);
  font-weight: 900;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.dash-card {
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
  border-left: 4px solid var(--amber);
}

.dash-card strong {
  display: block;
  font-size: 32px;
  color: var(--amber);
  margin-top: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

th {
  background: linear-gradient(135deg, #f0f0f0 0%, #e5e3df 100%);
  color: var(--navy);
  font-weight: 900;
  border-bottom: 2px solid var(--amber);
}

tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

.requirements {
  line-height: 1.9;
}

.requirements h2,
.requirements h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 20px 0 12px;
}

.requirements table {
  margin: 16px 0;
}

.footer {
  background: var(--navy);
  color: #9ca3af;
  padding: 48px 0;
  margin-top: 48px;
  border-top: 2px solid var(--amber);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.toast {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(360px, calc(100% - 36px));
  background: #fff;
  border: 1px solid var(--line);
  border-right: 5px solid var(--blue);
  border-radius: 0;
  padding: 14px;
  box-shadow: 0 16px 50px rgba(15, 23, 42, .18);
  display: none;
  font-weight: 800;
}

.toast.show {
  display: block;
}

.image-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--line);
  border-radius: 0;
  background: #f8fafc center/cover no-repeat;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
  overflow: hidden;
}

.image-preview.has-image span {
  display: none;
}

@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 24px);
  }

  .header .container {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 8px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .logo small {
    display: none;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 2px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .nav a {
    font-size: 13px;
    padding: 7px 10px;
    white-space: nowrap;
  }

  .actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
  }

  .actions .btn,
  .actions button {
    font-size: 13px;
    padding: 8px 12px;
    min-height: 36px;
  }

  .actions span {
    font-size: 13px;
  }

  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 6px 0;
  }

  .hero {
    min-height: 300px;
  }

  .hero .container {
    padding: 40px 0 32px;
  }

  .hero h2 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .dash-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .supplies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .auction-body h4 {
    font-size: 16px;
  }

  .card-actions {
    grid-template-columns: 1fr 44px;
  }

  .dashboard {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .sidebar {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0;
    border-radius: 0;
    width: 100%;
  }

  .sidebar::-webkit-scrollbar {
    display: none;
  }

  .sidebar a {
    flex-direction: column;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 10px;
    border-radius: 0;
    border-right: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    min-width: 64px;
    text-align: center;
  }

  .sidebar a i {
    font-size: 20px;
  }

  .sidebar a.active {
    border-right-color: transparent;
    border-bottom-color: #FAC775;
  }

  .dashboard>section {
    width: 100%;
    min-width: 0;
    padding: 12px;
  }

  .panel {
    padding: 12px !important;
    margin-bottom: 12px !important;
    border-radius: 0;
    overflow: hidden;
  }

  .panel h3 {
    font-size: 17px;
  }

  .panel h4 {
    font-size: 14px;
  }

  .panel table {
    font-size: 12px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .panel th,
  .panel td {
    padding: 8px 6px;
    white-space: nowrap;
  }

  .panel .btn {
    font-size: 12px;
    padding: 7px 10px;
    min-height: 34px;
  }

  .panel td form {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
  }

  .panel td select {
    font-size: 12px;
    padding: 5px 6px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .auth-box {
    padding: 16px;
  }

  .auth-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .auth-box {
    border-radius: 0;
    width: 100%;
    max-width: 100%;
  }

  .toast {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 12px;
  }

  .panel {
    border-radius: 0;
  }

  .section {
    padding: 24px 0;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .auction-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .auction-info {
    padding: 18px;
  }

  .auction-info h1 {
    font-size: 22px;
  }

  .timer-large {
    font-size: 24px;
    padding: 12px 16px;
  }

  .price-box .price {
    font-size: 36px;
  }

  .bid-input-group {
    flex-direction: column;
  }

  .bid-input-group input {
    font-size: 18px;
    text-align: center;
  }

  .quick-bids button {
    font-size: 14px;
    padding: 8px 4px;
  }

  .tabs-header {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .tab-btn {
    white-space: nowrap;
    font-size: 14px;
    padding: 14px 16px;
    flex-shrink: 0;
  }

  .tab-content {
    padding: 16px;
  }

  .gallery-thumbs {
    gap: 6px;
  }

  .gallery-thumb {
    width: 60px;
    height: 60px;
  }

  .bid-controls .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }

  .supplies-grid {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 22px;
  }

  .quick-bids {
    gap: 4px;
  }

  .quick-bids button {
    font-size: 12px;
    padding: 8px 2px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .sidebar a {
    min-width: 48px;
    padding: 10px 8px;
    font-size: 0;
  }

  .sidebar a i {
    font-size: 22px;
  }
}

/* --- Eijerkamp Premium Editorial Sections Custom Utility Additions --- */
.eij-section {
  padding: 100px 0;
  border: none !important;
}

.eij-bg-soft {
  background-color: #f7f5f0;
}

.eij-section-header {
  margin-bottom: 48px;
  text-align: right; 
}

.eij-split-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 80px;
}

.eij-split-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.eij-split-content {
  padding: 20px 0;
}

.eij-meta-tag {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 700;
}

.eij-editorial-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: #111;
  margin: 0 0 24px 0;
  font-weight: 400;
}

.eij-editorial-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 32px;
}

.btn-eij-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}

.btn-eij-link:hover {
  opacity: 0.6;
}

.eij-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.eij-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.eij-card {
  display: flex;
  flex-direction: column;
}

.eij-card-img-wrapper {
  overflow: hidden;
  background-color: #f5f5f5;
  margin-bottom: 16px;
}

.eij-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.eij-card:hover .eij-card-img-wrapper img {
  transform: scale(1.03);
}

.eij-card-large .eij-card-img-wrapper {
  aspect-ratio: 16 / 11;
}

.eij-card:not(.eij-card-large) .eij-card-img-wrapper {
  aspect-ratio: 1 / 1;
}

.eij-card-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #111;
}

.eij-price {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.eij-services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  border-top: 1px solid #e8e6e1;
  padding-top: 60px;
}

.eij-service-item {
  text-align: right;
}

.eij-icon {
  display: inline-block;
  font-size: 18px;
  color: #111;
  margin-bottom: 14px;
}

.eij-service-item h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #111;
}

.eij-service-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .eij-section {
    padding: 60px 0;
  }
  
  .eij-split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .eij-feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .eij-card-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .eij-services-row {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }
}


.eij-hero-full{
 min-height:85vh;
 background:url('https://images.unsplash.com/photo-1516733725897-1aa73b87c8e8?q=80&w=2070') center/cover;
 display:flex;
 align-items:end;
 color:#fff;
}

.eij-masonry-grid{
 display:grid;
 grid-template-columns:2fr 1fr 1fr;
 gap:24px;
}

.eij-gallery{
 display:grid;
 grid-template-columns:repeat(4,1fr);
 gap:28px;
}

@media(max-width:900px){
 .eij-masonry-grid,
 .eij-gallery,
 .eij-split-layout{
   grid-template-columns:1fr;
 }
}

/* top banner */
.eij-banner{
 padding:30px 0;
 background:#efefef;
}

.eij-banner-grid{
 display:grid;
 grid-template-columns:2fr 1fr;
 gap:20px;
}

.eij-banner-big{
 min-height:420px;
 background:#fff;
 overflow:hidden;
}

.eij-banner-side{
 display:grid;
 grid-template-rows:1fr 1fr;
 gap:20px;
}

.eij-news-box{
 min-height:200px;
 background:#fff;
 overflow:hidden;
}

/* latest news */
.eij-news-section{
 padding:80px 0;
 background:#efefef;
}

.eij-news-grid{
 display:grid;
 grid-template-columns:repeat(4,1fr);
 gap:20px;
}

/* shop */
.eij-shop-section{
 padding:80px 0;
 background:#f7f7f7;
}

.eij-shop-grid{
 display:grid;
 grid-template-columns:repeat(5,1fr);
 gap:20px;
}

@media(max-width:900px){
 .eij-banner-grid,
 .eij-news-grid,
 .eij-shop-grid{
   grid-template-columns:1fr;
 }
 .eij-banner-side{
   grid-template-rows:auto;
 }
}/* =========================
   FULL MOBILE RESPONSIVE FIX
========================= */

/* phones */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    width: calc(100% - 20px) !important;
    padding: 0 10px !important;
  }

  /* Header */
  .header .container,
  header .container {
    flex-wrap: wrap !important;
    height: auto !important;
    padding: 12px 0 !important;
    gap: 12px !important;
  }

  .logo h1 {
    font-size: 18px !important;
  }

  .logo small {
    display: none !important;
  }

  /* Nav */
  .nav,
  nav {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    gap: 12px !important;
    padding-bottom: 8px;
  }

  .nav a,
  nav a {
    font-size: 13px !important;
    padding: 8px !important;
    flex-shrink: 0;
  }

  /* Hero */
  #hero-section > div {
    grid-template-columns: 1fr !important;
  }

  #hero-section h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  #hero-section p {
    font-size: 14px !important;
  }

  #hero-timer-wrap .tnum {
    font-size: 1.2rem !important;
    padding: 8px !important;
  }

  /* Cards */
  .grid,
  .articles-grid,
  .supplies-grid,
  .dash-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .auction-card,
  .nix-auction-card,
  .nix-supply-card,
  .article-card {
    width: 100% !important;
  }

  /* Images */
  .auction-img,
  .nix-auction-img,
  .nix-supply-img,
  .article-card-img {
    height: 220px !important;
  }

  /* Buttons */
  .btn,
  button {
    width: 100%;
    min-height: 46px;
    font-size: 15px !important;
  }

  /* Forms */
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* tables */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* dashboard */
  .dashboard {
    grid-template-columns: 1fr !important;
  }

  .sidebar {
    position: static !important;
    width: 100%;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
  }

  .sidebar a {
    min-width: 100px;
    flex-shrink: 0;
  }

  /* sliders */
  .slider-track > * {
    flex: 0 0 90% !important;
    width: 90% !important;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
  }
}


/* tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid,
  .articles-grid,
  .supplies-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #hero-section > div {
    grid-template-columns: 1fr !important;
  }
}