/*
Theme Name: ETEFORM Auctions
Author: ETEFORM
Description: Arabic and English auction interface for ETEFORM company transfers.
Version: 1.0.0
Text Domain: eteform-auctions
*/

@font-face { font-family: Cairo; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Cairo; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Cairo; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Cairo; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/latin-400-normal.woff2") format("woff2"); 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: Cairo; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/latin-600-normal.woff2") format("woff2"); 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: Cairo; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/latin-700-normal.woff2") format("woff2"); 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; }

:root {
  --navy: #0a0e1a;
  --ink: #0f172a;
  --body: #1e293b;
  --muted: #475569;
  --page: #f4f6f8;
  --line: #e2e8f0;
  --gold: #c9a84c;
  --gold-text: #7a6028;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: Cairo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--navy); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: var(--navy); color: var(--white); }
.bar, .ccy-row { display: flex; align-items: center; gap: 12px; }
.bar { min-height: 72px; }
.ccy-row { min-height: 44px; padding-bottom: 14px; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.site-header a { color: var(--white); text-decoration: none; }
.logo { width: 120px; height: auto; background: var(--white); border-radius: 8px; padding: 6px 10px; display: block; }
.nav { display: flex; gap: 8px 18px; margin-inline-start: auto; align-items: center; flex-wrap: wrap; }
.nav a { font-weight: 600; font-size: 15px; }
.ccy {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.banner { background: #fff8e8; color: var(--gold-text); padding: 10px 16px; text-align: center; font-size: 14px; }
.section { padding: 28px 0 48px; }
.intro { margin-bottom: 20px; }
.intro p { margin: 8px 0 0; max-width: 720px; color: var(--body); }
h1 { font-size: 30px; line-height: 1.3; color: var(--navy); margin: 0; }
h2 { font-size: 20px; line-height: 1.4; color: var(--navy); margin: 0 0 12px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  width: auto;
  cursor: pointer;
}
.filters .chip.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.grid { display: grid; gap: 16px; }
.hero-card, .panel, .auction-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.auction-card { display: flex; flex-direction: column; gap: 8px; min-height: 100%; }
.auction-card .btn { margin-top: auto; }
.code { margin: 0; color: var(--gold-text); font-weight: 700; letter-spacing: .04em; }
.meta, .approx, .includes { margin: 0; color: var(--muted); }
.includes { line-height: 1.6; }
.price { margin: 4px 0 0; font-size: 32px; line-height: 1.15; color: var(--navy); font-weight: 700; }
.mini, .facts { display: grid; gap: 10px; margin: 8px 0 0; }
.mini div, .facts div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.mini { grid-template-columns: 1fr; padding-top: 8px; border-top: 1px solid var(--line); }
.facts div { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mini dt, .facts dt { color: var(--muted); font-weight: 600; }
.mini dd, .facts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: end; }
.btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  cursor: pointer;
}
.chip { background: var(--white); }
.split { display: grid; gap: 16px; }
.panel + .panel, .split + .panel { margin-top: 16px; }
.prose { max-width: 760px; }
.prose p, .panel p { margin: 0 0 12px; }
.fingerprint { overflow-wrap: anywhere; font-size: 13px; }
.activity { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.activity li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
label { display: block; font-weight: 600; margin-top: 16px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: var(--white);
  margin-top: 6px;
}
input[type="checkbox"] { width: auto; min-height: 0; margin-inline-end: 8px; }
.site-footer { background: var(--navy); color: #e2e8f0; padding: 36px 0; margin-top: 40px; }
.site-footer a { color: var(--gold); }
.site-footer p { margin: 0 0 10px; }
.notice, .empty { background: var(--white); border-inline-start: 4px solid var(--gold); padding: 14px 16px; border-radius: 12px; }
@media (min-width: 800px) {
  body { font-size: 17px; }
  h1 { font-size: 40px; }
  .section { padding: 40px 0 72px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .split { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .hero-card .btn, form button { width: auto; min-width: 220px; }
  .auction-card .btn { width: 100%; }
}
