/* =====================================================================
   زاد التكامل للمزادات — Theme stylesheet
   Font: Bahij Janna (whole site) + Poppins fallback — loaded locally
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Bahij Janna"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/BahijJanna-Regular.ttf") format("truetype"); }
@font-face { font-family: "Bahij Janna"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/BahijJanna-Bold.ttf") format("truetype"); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/Poppins-700.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --primary: #2196F3;
  --primary-dark: #0D47A1;   /* packages band (Figma) */
  --primary-card: linear-gradient(180deg, #2196F3 -150.37%, #0D47A1 99.69%);   /* featured package card (Figma) */
  --pkg-text: #FFFFFFB2;     /* packages body text (Figma) */
  --primary-deep: #0D47A1;
  --primary-soft: #E3F2FD;
  --navy: #06214D;
  --green: #2EB872;
  --red: #C62828;
  --whatsapp: #25D366;
  --text: #111111;
  --text-2: #333333;
  --muted: #9A9A9A;
  --border: #D9D9D9;
  --line: #E8E8E8;
  --white: #ffffff;
  --bg: #ffffff;

  --font-ar: "Bahij Janna", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Bahij Janna", "Poppins", "Segoe UI", Arial, sans-serif;

  --container: clamp(1200px, 84vw, 1400px); /* 1200 at 1440 (Figma), grows up to 1400 on wide screens */
  --gutter: 20px;
  --header-h: 76px;
  --radius: 6px;
  --radius-lg: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .10);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, .06);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
.en { font-family: var(--font-en); direction: ltr; unicode-bidi: isolate; }
.text-primary { color: var(--primary) !important; }

/* clips translated/animated elements so they never extend the page (no extra scroll) */
.site-wrap { position: relative; overflow: hidden; overflow: clip; }
/* softer reveal distance than animate.css default (100%) */
@keyframes fadeInUp   { from { opacity: 0; transform: translate3d(0, 40px, 0); }  to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -40px, 0); } to { opacity: 1; transform: none; } }
.animated { animation-duration: .9s; animation-fill-mode: both; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 70px; }
.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -.3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 32px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 0, 0, .15); }
.btn:active { transform: translateY(-1px); }

/* ---- hover shine: a soft diagonal light sweeps across the button ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: "";
  position: absolute; top: -20%; bottom: -20%; left: -80%; width: 55%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 80%);
  transform: skewX(-22deg);
  pointer-events: none;
  opacity: 0;
}
.btn:hover::before { animation: btnShine .85s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes btnShine {
  0%   { left: -80%; opacity: 0; }
  15%  { opacity: 1; }
  100% { left: 130%; opacity: 1; }
}
/* white button (packages): blue tinted shine so it shows on white */
.btn-light::before { background: linear-gradient(115deg, rgba(33, 150, 243, 0) 20%, rgba(33, 150, 243, .22) 50%, rgba(33, 150, 243, 0) 80%); }
@media (prefers-reduced-motion: reduce) { .btn:hover::before { animation: none; } }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: #1E88E5; }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-light { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-light:hover { background: #F4F9FF; }


/* =====================================================================
   Header
   ===================================================================== */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  height: var(--header-h);
  /* Figma: soft blurred gray glow behind the header (drawn by ::before, see below) */
  background: transparent;
  /* Figma: 1px hairline under the header, white @ 28% */
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s;
}
.header.scrolled {
  height: 66px;
  background: rgba(6, 33, 77, .92);
  border-bottom-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}
/* the gray gradient is rendered on a blurred layer so its edge is soft (like a layer blur in Figma) */
.header::before {
  content: ''; position: absolute; left: -80px; right: -80px; top: -90px; height: calc(100% + 300px);
  /* long, eased falloff so the shade dissolves gradually and never shows an edge */
  background: linear-gradient(180deg,
    rgba(175, 175, 175, .88) 0%,
    rgba(175, 175, 175, .70) 18%,
    rgba(175, 175, 175, .48) 32%,
    rgba(175, 175, 175, .30) 44%,
    rgba(175, 175, 175, .17) 55%,
    rgba(175, 175, 175, .09) 66%,
    rgba(175, 175, 175, .04) 78%,
    rgba(175, 175, 175, .01) 90%,
    rgba(175, 175, 175, 0) 100%);
  filter: blur(30px); pointer-events: none; z-index: 0;
  transition: opacity .4s var(--ease);
}
.header.scrolled::before { opacity: 0; }
.header > .container { position: relative; z-index: 1; }
.navbar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 4px; } /* content sits slightly lower → less bottom padding */
.brand img { height: 70px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .brand img { height: 58px; }

.nav-menu { display: flex; align-items: center; }
.nav-menu__list { display: flex; align-items: center; gap: 56px; }
.nav-menu__head, .nav-menu__search, .nav-menu__footer { display: none; }
.nav-menu__list a {
  display: block;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  transition: color .3s;
}
.nav-menu__list a:hover, .nav-menu__list a.active { color: var(--primary); }

.nav-tools { display: flex; align-items: center; gap: 22px; color: var(--white); }
.nav-tools i { font-size: 18px; }
.nav-user, .nav-search { display: inline-flex; align-items: center; transition: color .3s, transform .3s; }
.nav-user:hover, .nav-search:hover { color: var(--primary); transform: translateY(-2px); }
.nav-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .5); }
.nav-lang { font-family: var(--font-en); font-size: 16px; font-weight: 500; letter-spacing: .5px; transition: color .3s; }
.nav-lang:hover { color: var(--primary); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 8px; border-radius: 6px;
  background: rgba(255, 255, 255, .08);
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open { opacity: 0; pointer-events: none; } /* the panel has its own X */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; background: rgba(3, 14, 35, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .4s; z-index: 995; /* below the header (the panel lives inside the header at z 1000) */ }
.nav-overlay.show { opacity: 1; visibility: visible; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 762px;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--white);
  padding-top: var(--header-h);
  padding-bottom: 120px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: #0d1418 url('../images/intro.png') center / cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 600px; }
.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.5px;
}
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 48px; font-weight: 700; margin-top: 10px; line-height: 1.3; }
.hero-actions { display: flex; gap: 15px; margin-top: 45px; }
.hero-actions .btn { min-width: 150px; }

/* =====================================================================
   Search box (overlaps hero)
   ===================================================================== */
.search-section { position: relative; z-index: 5; margin-top: -106px; }
.search-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: end;
  gap: 38px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 34px 85px 40px;
}
.search-field { position: relative; }
.search-field label { display: block; font-size: 16px; font-weight: 500; margin-bottom: 14px; color: var(--text); }
.search-btn { min-height: 48px; min-width: 148px; font-size: 16px; }

/* ---- Select2 theme ---- */
.js-select { width: 100%; }
.select2-container { width: 100% !important; font-family: var(--font-ar); }
.select2-container--default .select2-selection--single {
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .3s, box-shadow .3s;
  outline: none;
}
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 150, 243, .12); }
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px; padding-right: 16px; padding-left: 36px; color: var(--text); font-size: 15px;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--muted); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; left: 14px; right: auto; width: 14px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { display: none !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow::after {
  content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 12px; line-height: 1; color: var(--text);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), color .3s;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::after { transform: translate(-50%, -50%) rotate(180deg); color: var(--primary); }
.select2-container--default.select2-container--open .select2-selection--single { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.select2-container--open .select2-dropdown--below { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; margin-top: -1px; }
.select2-container--open .select2-dropdown--above { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* RTL overrides (select2's [dir="rtl"] rules have higher specificity) */
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { left: 16px; right: auto; width: 14px; height: 46px; }
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__rendered { padding-right: 16px; padding-left: 40px; }
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear { float: left; }
.select2-dropdown {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .12); font-family: var(--font-ar); direction: rtl;
}
.select2-container--default .select2-results__option { padding: 10px 16px; font-size: 15px; transition: background .2s; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--primary); }
.select2-container--default .select2-results__option--selected { background: var(--primary-soft); color: var(--primary-dark); }
.select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px; outline: none; font-family: inherit; }
.select2-results__options { max-height: 220px; }

/* =====================================================================
   Steps (registration)
   ===================================================================== */
.steps-section { padding-top: 56px; padding-bottom: 40px; overflow: hidden; }
.steps-wrap {
  display: grid;
  grid-template-columns: 296px 1fr; /* RTL: steps on the right, car on the left */
  align-items: start;
  gap: 60px;
  position: relative;
}
.steps { order: -1; }
/* bleed the visual to the page's left edge (inline-end in RTL) */
.steps-visual { position: relative; min-height: 500px; margin-inline-end: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
.steps-section .section-title { margin-bottom: 32px; }
/* car + blue shape are one unit; the shape is placed in % of the car box
   (from Figma: car 907×735 at x -70 / blob 356 wide at x 394, y +20) so it stays
   behind the windshield/hood at every screen size */
.steps-car-wrap { position: absolute; left: -30px; top: 20px; width: 600px; max-width: none; }
.steps-car-wrap::before { content: ''; display: block; padding-top: 81%; } /* 735/907 */
.steps-car { position: absolute; inset: 0; width: 100%; height: auto; z-index: 1; }
/* Figma: the 816×686 shape sits behind the car at natural size — image left ≈ car left,
   image top ≈ 106px above the car top; the blue part peeks above the hood (right) and its
   bottom edge shows just under the bumper. Expressed in % of the car box so it scales. */
.steps-blob { position: absolute; left: 0.8%; top: -4.4%; width: 90%; height: auto; max-width: none; z-index: 0; transform-origin: 60% 50%; }
/* WOW caches the class animation-name at init, so define it on the element itself (like animate.css does) */
.steps-blob { animation-name: blobIn; animation-duration: 1.2s; animation-fill-mode: both; animation-timing-function: var(--ease); }
@keyframes blobIn { from { opacity: 0; transform: scale(.6) translate(-40px, 30px); } to { opacity: 1; transform: none; } }

.steps { position: relative; padding: 0; }
.steps-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
/* text block: 32px from the bordered right edge, 28px from the left (as in the design) */
.step { position: relative; z-index: 1; padding: 16px 28px 14px 24px; min-height: 96px; }
.step h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 4px; line-height: 1.3; }
.step p { font-size: 15px; color: var(--text); line-height: 1.5; }

/* =====================================================================
   Auctions
   ===================================================================== */
.auctions-section { padding-block: 70px; overflow: hidden; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 70px; }
.section-head .section-title { margin: 0; text-align: right; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; color: var(--text); transition: color .3s, gap .3s; }
.more-link:hover { color: var(--primary); }

.auction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.auction-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 15px 22px 28px;
  border: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s;
  overflow: hidden;
}
.auction-card:hover { background: #FBFBFB; box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15); border-color: transparent; }
.auction-card:hover { transform: translateY(-8px); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.badge-year {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 60px; height: 35px; padding: 0 12px;
  background: var(--primary); color: var(--white);
  font-family: var(--font-en); font-size: 16px; font-weight: 500; border-radius: 6px;
}
.status { font-size: 14px; font-weight: 500; padding: 6px 8px 0 0; }
.status-current { color: var(--green); }
.status-upcoming { color: var(--primary); }
.status-past { color: var(--red); }

.card-img { height: 190px; display: flex; align-items: center; justify-content: center; margin: 16px 0 22px; }
.card-img img { max-height: 100%; width: auto; transition: transform .6s var(--ease); }
.auction-card:hover .card-img img.is-done { transform: scale(1.05) translateX(-6px) !important; }

.card-title { font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 20px; color: var(--text); }
.card-title .en { font-weight: 600; }
/* inner rows are inset ~30px from the card edges (as in Figma) */
.card-row { padding-inline: 20px; }
.specs { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 500; color: var(--text); }
.specs li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.specs img { width: 24px; height: 24px; }

.timer { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-top: 14px; }
.timer .pill { flex: 1; min-width: 0; } /* the 3 pills fill the row after the icon */
.timer img { width: 20px; height: 20px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  min-width: 52px; height: 24px; padding: 0 10px;
  background: #E7EBEF; color: #007FAD;
  font-size: 14px; font-weight: 500; line-height: 1; border-radius: 6px; white-space: nowrap;
}
.prices { display: flex; justify-content: space-between; margin-top: 22px; }
.price { display: flex; flex-direction: column; gap: 4px; }
.price-label { font-size: 14px; font-weight: 500; color: var(--text); }
.price-value { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-family: var(--font-en); font-size: 24px; font-weight: 600; direction: ltr; }
.riyal { display: inline-block; width: 18px; height: 20px; fill: currentColor; flex-shrink: 0; }
.price-value .riyal { width: 18px; height: 20px; }
/* "المزايدة الحالية": deep blue (#0D47A1) label + number + rl-b.png icon (same #0D47A1) */
.price-bid .price-label, .price-bid .price-value { color: var(--primary-deep); }

.btn-card {
  /* Figma: 250px button centered in the card (not full width) */
  display: flex; width: 250px; max-width: 100%; min-height: 48px; margin: 26px auto 0; font-size: 16px;
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-card:hover { background: var(--primary); color: var(--white); }
.past .btn-card, .auction-card[data-status="past"] .btn-card { color: var(--red); border-color: var(--red); }
.past .pill, .auction-card[data-status="past"] .pill { background: #E7EBEF; color: var(--red); }
.past .btn-card:hover, .auction-card[data-status="past"] .btn-card:hover { background: var(--red); color: var(--white); }

/* =====================================================================
   Packages
   ===================================================================== */
.packages-section { padding-top: 70px; padding-bottom: 60px; overflow: hidden; }
.packages-section .section-title { margin-bottom: 90px; }
.packages-band {
  position: relative;
  background: var(--primary-dark);
  border-radius: 8px;
  padding: 52px 70px 40px;
  margin-inline: 50px 55px;
}
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
/* Figma geometry: the band has 52px top padding and the packages sit inside it.
   On hover a package takes the exact box of the highlighted card in the design:
   it floats 39px above the band top and gets the gradient + shadow. */
.package { position: relative; color: var(--white); padding: 0 10px; border-radius: var(--radius-lg); transition: transform .45s var(--ease); }
.package > * { position: relative; z-index: 1; }
/* hover highlight: the card box is drawn by a pseudo-element so nothing reflows */
.package::before {
  content: ''; position: absolute; inset: -30px -20px -62px; border-radius: var(--radius-lg); z-index: 0;
  background: var(--primary-card); box-shadow: 0 13px 24px 0 #070707; opacity: 0; transition: opacity .35s var(--ease);
}
.package:hover::before { opacity: 1; }
.package:hover { transform: translateY(-61px); }
.package:hover .btn-outline-light { background: var(--white); color: var(--primary); border-color: var(--white); }
/* permanent highlight (first package, like Figma). Add/remove the `featured` class in the HTML. */
.package.featured { padding: 30px 30px 32px; margin-top: -91px; background: var(--primary-card); box-shadow: 0 13px 24px 0 #070707; }
.package.featured::before { display: none; }
.package.featured:hover { transform: translateY(-6px); }
.package.featured .btn-outline-light { background: var(--white); color: var(--primary); border-color: var(--white); }
.package-tag { display: block; font-size: 14px; color: var(--pkg-text); margin-bottom: 8px; }
.package-price { display: flex; align-items: baseline; gap: 10px; }
.package-price .amount { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-size: 40px; font-weight: 600; line-height: 1; direction: ltr; }
.package-price .amount .riyal { width: 30px; height: 33px; }
.package-price .period { font-size: 16px; color: #879EAF; }
.package-name { font-size: 24px; font-weight: 700; margin-top: 14px; }
.package-desc { font-size: 14px; line-height: 1.7; color: var(--pkg-text); margin-top: 10px; min-height: 48px; }
.package-features { margin-top: 18px; }
.package-features li { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 9px 0; color: var(--pkg-text); }
.package-features i { font-size: 18px; color: var(--white); opacity: .95; }
.package .btn { display: flex; width: 165px; min-height: 48px; margin: 24px auto 0; font-size: 16px; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-section { padding-top: 70px; padding-bottom: 100px; overflow: hidden; }
.faq-wrap { display: grid; grid-template-columns: 570px 1fr; gap: 60px; align-items: start; }
.faq-visual { position: relative; min-height: 600px; margin-inline-end: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
.faq-car { position: absolute; left: 0; top: -50px; width: 600px; max-width: none; }
.faq-subtitle { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 30px; line-height: 1.4; }

.accordion { border-top: 1px solid transparent; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; text-align: right; font-size: 20px; font-weight: 700; color: var(--text);
  transition: color .3s;
}
.acc-head:hover { color: var(--primary); }
.acc-head i { font-size: 14px; transition: transform .35s var(--ease); margin-inline-end: 10px; }
.acc-item.open .acc-head i { transform: rotate(180deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-body > p { overflow: hidden; font-size: 16px; color: var(--text-2); line-height: 1.8; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-item.open .acc-body > p { padding-bottom: 20px; }

/* =====================================================================
   Footer
   ===================================================================== */
.footer { position: relative; color: var(--white); margin-top: 70px; }
.footer-main {
  position: relative;
  background: var(--navy) url('../images/footer.png') center / cover no-repeat;
  padding: 30px 0 22px;
}
.footer-contact { display: flex; align-items: center; gap: 80px; margin-bottom: 30px; }
.footer-contact li { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; }
.footer-contact .ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; transition: color .3s; }
.footer-contact li:hover .ic { color: var(--primary); }
.footer-contact a { transition: color .3s; }
.footer-contact a:hover { color: var(--primary); }

.footer-grid { display: grid; grid-template-columns: 380px 1fr 170px 250px; gap: 30px; align-items: start; }
.footer-logo { width: 370px; max-width: 100%; margin-bottom: 0; margin-inline-start: -14px; } /* natural size, like Figma (visible mark ≈ 283px) */
.footer-about p { max-width: 320px; }
.footer-about p { font-size: 14px; line-height: 1.6; text-align: justify; }
.social { display: flex; gap: 26px; margin-top: 14px; justify-content: center; max-width: 320px; }
.social a { font-size: 20px; display: inline-block; transition: transform .3s, color .3s; }
.social a:hover { color: var(--primary); transform: translateY(-4px); }

.footer-col h4 { position: relative; font-size: 20px; font-weight: 700; margin-bottom: 30px; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; right: 0; bottom: 0; width: 26px; height: 3px; background: var(--white); border-radius: 2px; }
.footer-col li + li { margin-top: 18px; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; white-space: nowrap; transition: color .3s, padding .3s; }
.footer-col a i { font-size: 13px; }
.footer-col a:hover { color: var(--primary); padding-inline-end: 4px; }
.footer-links-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-map { padding-top: 46px; }
.footer-services { padding-top: 46px; }
.footer-app { position: relative; }

/* phone mockup */
.phone {
  position: relative;
  width: 250px; height: 520px;
  margin: -220px auto 0; /* overlaps the footer top by ~120px like Figma */
  background: #0b0b0b;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 60px; height: 8px; background: #0b0b0b; border-radius: 6px; z-index: 2; }
.phone-screen {
  height: 100%; background: var(--white); border-radius: 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 18px;
}
.phone-logo { width: 175px; margin-bottom: 20px; }
.store-badge {
  display: flex; align-items: center; gap: 10px; width: 175px; height: 50px; padding: 0 12px;
  background: #000; color: #fff; border-radius: 8px; direction: ltr; text-align: left;
  transition: transform .3s, box-shadow .3s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.store-badge i { font-size: 26px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-en); }
.store-badge small { font-size: 9px; letter-spacing: .3px; }
.store-badge strong { font-size: 17px; font-weight: 600; }
.phone-cta { font-size: 20px; font-weight: 700; color: var(--primary-deep); margin-top: 10px; }

.footer-bottom { background: var(--navy); text-align: center; padding: 0 0 18px; font-size: 16px; }
.footer-bottom p { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; } /* the line spans the container, not the full width */


/* =====================================================================
   Full-screen search modal
   ===================================================================== */
.nav-tools .ico { width: 21px; height: 21px; display: block; }
.search-modal {
  position: fixed; inset: 0; z-index: 1500;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(6, 33, 77, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.search-modal[hidden] { display: flex; }
.search-modal.open { opacity: 1; visibility: visible; }
.search-modal__close {
  position: absolute; top: 26px; inset-inline-end: 40px;
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); border: 1px solid rgba(255, 255, 255, .4);
  transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.search-modal__close svg { width: 22px; height: 22px; }
.search-modal__close:hover { transform: rotate(90deg); background: rgba(255, 255, 255, .12); border-color: var(--white); }
.search-modal__box {
  width: min(780px, 100%); text-align: center; color: var(--white);
  transform: translateY(36px) scale(.98); opacity: 0;
  transition: transform .55s var(--ease) .05s, opacity .45s var(--ease) .05s;
}
.search-modal.open .search-modal__box { transform: none; opacity: 1; }
.search-modal h3 { font-size: 40px; font-weight: 700; margin-bottom: 8px; }
.search-modal__sub { font-size: 16px; color: rgba(255, 255, 255, .7); margin-bottom: 30px; }
.search-modal__form {
  display: flex; gap: 10px; padding: 8px;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.search-modal__form input {
  flex: 1; min-width: 0; height: 58px; padding: 0 20px;
  border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 18px; color: var(--text);
}
.search-modal__form input::placeholder { color: var(--muted); }
.search-modal__form .btn { min-height: 58px; padding-inline: 30px; gap: 10px; font-size: 18px; }
.search-modal__form .btn svg { width: 20px; height: 20px; }
.search-modal__tags { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.search-modal__tags a {
  display: inline-block; padding: 6px 16px; border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .3); color: var(--white);
  transition: background .3s, border-color .3s, transform .3s;
}
.search-modal__tags a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
@media (max-width: 767px) {
  .search-modal__close { top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; }
  .search-modal h3 { font-size: 28px; }
  .search-modal__form { flex-direction: column; padding: 10px; }
  .search-modal__form input { height: 50px; text-align: center; }
  .search-modal__form .btn { width: 100%; min-height: 52px; }
}

/* =====================================================================
   WhatsApp float
   ===================================================================== */
.whatsapp-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--whatsapp); color: #fff; font-size: 34px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .4);
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: waPulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-3px); }
@keyframes waPulse {
  0% { box-shadow: 0 10px 25px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 10px 25px rgba(37, 211, 102, .4), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 25px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =====================================================================
   Car "drive-in" animation (triggered by IntersectionObserver)
   ===================================================================== */
.drive-in { opacity: 0; }
/* after the entrance ends the image renders like static content again (no jitter with fractional smooth-scroll) */
.drive-in.is-done { animation: none !important; transform: none !important; opacity: 1 !important; }
.drive-from-right { transform: translateX(160px) scale(.9); }
.drive-from-left { transform: translateX(-60%) scale(.96); }
.drive-in.is-in { animation: driveIn 1.3s var(--ease) forwards; }
/* big cars: drive in from off-screen, settle with a soft suspension bounce */
.drive-in.drive-from-left.is-in { animation: driveInLeft 2s cubic-bezier(.16, .84, .3, 1) forwards; }
@keyframes driveIn {
  0%   { opacity: 0; transform: translate3d(160px, 0, 0) scale(.9) rotate(1deg); }
  55%  { opacity: 1; transform: translate3d(-10px, 0, 0) scale(1.02) rotate(-.5deg); }
  75%  { transform: translate3d(4px, 0, 0) scale(1) rotate(0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
}
@keyframes driveInLeft {
  0%   { opacity: 0; transform: translate3d(-60%, 0, 0) scale(.96); }
  20%  { opacity: 1; }
  70%  { transform: translate3d(10px, 0, 0) scale(1.005); }
  82%  { transform: translate3d(-3px, 3px, 0) scale(1); }
  92%  { transform: translate3d(0, -2px, 0) scale(1); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .drive-in { opacity: 1; transform: none; animation: none !important; }
  .hero-bg { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1280px) {
  .steps-car-wrap { width: 780px; left: -20px; top: 110px; }
  .footer-grid { grid-template-columns: 340px 1fr 160px 250px; gap: 20px; }
  .footer-contact { gap: 40px; }
}

@media (max-width: 1199px) {
  .nav-menu { gap: 34px; }
  .hero-title { font-size: 56px; }
  .hero-subtitle { font-size: 40px; }
  .search-box { padding: 30px 40px 36px; gap: 24px; }
  .auction-grid { gap: 30px; }
  .steps-wrap { grid-template-columns: 296px 1fr; gap: 30px; }
  .steps-visual { min-height: 670px; }
  .steps-car-wrap { width: 660px; left: -30px; top: 110px; }
  .packages-band { margin-inline: 0; padding: 52px 40px 40px; }
  .packages-grid { gap: 24px; }
  .faq-wrap { grid-template-columns: 520px 1fr; gap: 30px; }
  .faq-car { width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }

  /* the phone sits on top of the footer (like desktop) but out of flow, so it never
     covers the contact row; the footer gets matching top padding to make room */
  .footer { margin-top: 110px; }   /* extra room, the phone pokes 120px above the footer */
  .footer-main { padding-top: 424px; }
  .footer-app { position: absolute; top: -120px; inset-inline: 0; margin: 0; }
  .phone { margin: 0 auto; }
  .faq-section { padding-bottom: 200px; }
}

@media (max-width: 991px) {
  :root { --header-h: 76px; }
  .brand img { height: 58px; }
  .nav-toggle { display: flex; }
  /* ---- off-canvas side menu ---- */
  .nav-tools > :not(.nav-toggle):not(.nav-user) { display: none; }   /* only the account icon stays in the bar */
  .nav-tools { position: relative; z-index: 999; gap: 14px; }
  .nav-user .ico { width: 24px; height: 24px; }
  .nav-menu {
    /* header has backdrop-filter, so this fixed panel is contained by it → explicit viewport height */
    position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(340px, 86vw);
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0; overflow: hidden;   /* the links area scrolls, head + footer stay put */
    background: linear-gradient(180deg, #08295f 0%, var(--navy) 100%);
    transform: translateX(100%); transition: transform .5s var(--ease); z-index: 1200;
    box-shadow: none;   /* while closed the panel is off-screen: its shadow would bleed onto the page edge */
  }
  .nav-menu.open { transform: translateX(0); box-shadow: -16px 0 50px rgba(0, 0, 0, .35); }
  .nav-menu__head {
    display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto;
    padding: 18px 22px 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-menu__logo { width: 150px; margin-inline-start: -8px; }
  .nav-menu__close {
    width: 42px; height: 42px; border-radius: 50%; color: var(--white);
    border: 1px solid rgba(255, 255, 255, .35); display: flex; align-items: center; justify-content: center;
    transition: background .3s, transform .4s var(--ease), border-color .3s;
  }
  .nav-menu__close svg { width: 20px; height: 20px; }
  .nav-menu__close:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); transform: rotate(90deg); }
  .nav-menu__list {
    display: block; padding: 10px 22px; flex: 1 1 auto; min-height: 0;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .28) transparent;
  }
  .nav-menu__list::-webkit-scrollbar { width: 4px; }
  .nav-menu__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .28); border-radius: 4px; }
  .nav-menu__list li { width: 100%; opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease), transform .45s var(--ease); }
  .nav-menu.open .nav-menu__list li { opacity: 1; transform: none; }
  .nav-menu.open .nav-menu__list li:nth-child(1) { transition-delay: .12s; }
  .nav-menu.open .nav-menu__list li:nth-child(2) { transition-delay: .17s; }
  .nav-menu.open .nav-menu__list li:nth-child(3) { transition-delay: .22s; }
  .nav-menu.open .nav-menu__list li:nth-child(4) { transition-delay: .27s; }
  .nav-menu.open .nav-menu__list li:nth-child(5) { transition-delay: .32s; }
  .nav-menu.open .nav-menu__list li:nth-child(6) { transition-delay: .37s; }
  .nav-menu__list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 4px; font-size: 17px; font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav-menu__list a::after {
    content: ''; width: 8px; height: 8px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); opacity: .6; transition: transform .3s, opacity .3s;
  }
  .nav-menu__list a:hover::after, .nav-menu__list a.active::after { opacity: 1; transform: rotate(45deg) translate(-2px, 2px); }
  .nav-menu__list li:last-child a { border-bottom: 0; }
  /* search bar under the head */
  .nav-menu__search {
    display: flex; align-items: center; margin: 16px 22px 4px; flex: 0 0 auto;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px;
    transition: border-color .3s, background .3s;
  }
  .nav-menu__search:focus-within { border-color: var(--primary); background: rgba(255, 255, 255, .12); }
  .nav-menu__search input {
    flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; background: transparent; outline: 0;
    color: var(--white); font-family: inherit; font-size: 15px;
  }
  .nav-menu__search input::placeholder { color: rgba(255, 255, 255, .55); }
  .nav-menu__search button {
    width: 44px; height: 46px; display: flex; align-items: center; justify-content: center;
    color: var(--white); border-inline-start: 1px solid rgba(255, 255, 255, .12); transition: color .3s, background .3s;
    border-start-start-radius: 0; border-end-start-radius: 0;
  }
  .nav-menu__search button svg { width: 20px; height: 20px; }
  .nav-menu__search button:hover { background: var(--primary); }
  /* panel footer: language switch + social */
  .nav-menu__footer {
    display: flex; flex-direction: column; gap: 18px; margin-top: auto; flex: 0 0 auto;
    padding: 18px 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .lang-switch {
    display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  }
  .lang-switch a {
    display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 9px;
    font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .75); transition: background .3s, color .3s;
  }
  .lang-switch a.en { font-family: var(--font-en); letter-spacing: .2px; }
  .lang-switch a.is-active { background: var(--primary); color: var(--white); box-shadow: 0 6px 16px rgba(33, 150, 243, .35); }
  .nav-menu__social { display: flex; justify-content: center; gap: 12px; }
  .nav-menu__social a {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: var(--white); font-size: 17px; transition: background .3s, transform .3s var(--ease);
  }
  .nav-menu__social a:hover { background: var(--primary); transform: translateY(-3px); }
  .hero { min-height: 640px; padding-bottom: 140px; }
  .hero-title { font-size: 46px; }
  .hero-subtitle { font-size: 32px; }
  .hero-actions { margin-top: 32px; }
  .search-section { margin-top: -90px; }
  .search-box { grid-template-columns: 1fr 1fr; padding: 26px 26px 30px; }
  .search-btn { grid-column: 1 / -1; width: 100%; }
  .section-title { font-size: 34px; margin-bottom: 40px; }
  .section-head { margin-bottom: 40px; }
  .steps-wrap { grid-template-columns: 1fr; }
  .steps { width: 100%; max-width: 420px; margin-inline: auto; }
  .steps-visual { order: 2; min-height: 0; margin-inline: 0; height: 420px; overflow: hidden; }
  .steps-car-wrap { width: 560px; left: 50%; margin-left: -280px; top: 30px; }
  .auction-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .packages-band { padding: 32px 24px; }
  .packages-grid { grid-template-columns: 1fr; gap: 10px; }
  .package, .package.featured { padding: 28px 20px 30px; margin-top: 0; background: transparent; box-shadow: none; }
  .package::before { display: none; }
  .package:hover, .package.featured:hover { transform: none; }
  .package + .package { border-top: 1px solid rgba(255, 255, 255, .15); }
  .package.featured { background: var(--primary-card); border-radius: var(--radius-lg); box-shadow: 0 13px 24px 0 #070707; }
  .package.featured + .package { border-top: 0; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-visual { order: 2; min-height: 0; margin-inline: 0; height: 380px; overflow: hidden; }
  .faq-car { width: 460px; left: 50%; margin-left: -230px; top: 0; }
  .footer { margin-top: 110px; }
  .footer-contact { flex-wrap: wrap; gap: 16px 40px; }
  .footer-contact li { font-size: 17px; }
}

@media (max-width: 767px) {
  .section { padding-block: 50px; }
  .hero { min-height: 560px; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 26px; }
  .hero-actions .btn { min-width: 0; flex: 1; padding-inline: 16px; }
  .search-box { grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 22px 16px 26px; }
  .search-field label { font-size: 14px; margin-bottom: 8px; }
  .section-title { font-size: 28px; }
  .section-head { flex-direction: row; }
  .auction-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .steps-section { padding-top: 60px; }
  .steps-visual { height: 320px; }
  .steps-car-wrap { width: 440px; margin-left: -220px; }
  .step { padding: 20px 24px 18px 22px; min-height: 130px; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 16px; }
  .packages-section .section-title { margin-bottom: 70px; }
  .package-price .amount { font-size: 34px; }
  .faq-subtitle { font-size: 24px; }
  .acc-head { font-size: 17px; padding: 16px 0; }
  .faq-visual { height: 300px; }
  .faq-car { width: 380px; margin-left: -190px; }
  /* mobile footer order: phone (floating above) → logo + about + social (centered)
     → contact info → site map → services. `display: contents` lets the grid's own
     children take part in the container's flex order. */
  .footer-main > .container { display: flex; flex-direction: column; }
  .footer-grid { display: contents; }
  .footer-about { order: 1; text-align: center; margin-bottom: 30px; }
  .footer-logo { width: 280px; margin: 0 auto 14px; }
  .footer-about p { max-width: 420px; margin-inline: auto; text-align: center; }
  .footer-about .social { justify-content: center; margin-top: 18px; }
  .footer-contact { order: 2; margin-bottom: 30px; }
  .footer-map { order: 3; }
  .footer-services { order: 4; }
  .footer-col + .footer-col { margin-top: 30px; }
  .footer-map, .footer-services { padding-top: 0; }
  .social { gap: 18px; max-width: none; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-contact li { font-size: 16px; }
  .footer-contact .ic { width: 34px; height: 34px; font-size: 18px; }
  .footer-col h4 { margin-bottom: 18px; }
  .footer-col li + li { margin-top: 12px; }
  .footer-links-2 { grid-template-columns: 1fr 1fr; gap: 0 16px; }

  /* app block: same phone mockup as desktop, just a little smaller */
  .footer-app { margin-top: 0; }
  .footer-main { padding-top: 324px; }
  .faq-section { padding-bottom: 140px; }
  .phone { width: 200px; height: 420px; padding: 10px; border-radius: 32px; }
  .phone-screen { border-radius: 24px; gap: 12px; padding: 20px 13px; }
  .phone-logo { width: 128px; margin-bottom: 10px; }
  .phone-notch { top: 16px; width: 52px; height: 7px; }
  .phone .store-badge { width: 142px; height: 42px; padding: 0 10px; gap: 8px; }
  .phone .store-badge i { font-size: 22px; }
  .store-badge strong { font-size: 16px; }
  .phone-cta { font-size: 16px; margin-top: 6px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 28px; right: 18px; bottom: 18px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 22px; }
  .hero-actions { flex-direction: row; gap: 10px; }
  .hero-actions .btn { flex: 1; min-width: 0; padding-inline: 10px; font-size: 14px; white-space: nowrap; }
  .btn { min-height: 50px; font-size: 16px; }
  .card-row { padding-inline: 8px; }
  .specs { font-size: 13px; }
  .specs img { width: 20px; height: 20px; }
  .pill { min-width: 50px; font-size: 12px; }
  .steps-car-wrap { width: 380px; margin-left: -190px; }
  .steps-visual { height: 270px; }
}

/* =====================================================================
   Single auction page
   ===================================================================== */
.page-hero {
  position: relative; height: 296px; overflow: hidden; color: var(--white);
  display: flex; align-items: center; padding-top: var(--header-h);
}
.page-hero__bg { position: absolute; inset: 0; background: #0d1418 url('../images/intro.png') center 35% / cover no-repeat; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 30, .15), rgba(6, 20, 30, .55)); }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 24px; font-weight: 400; }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .7; }
.breadcrumb strong { font-weight: 700; }

.single { padding-top: 60px; padding-bottom: 20px; }
.single-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.single-title { font-size: 36px; font-weight: 700; line-height: 1.3; }
.single-actions { display: flex; align-items: stretch; }
.single-actions li { display: flex; align-items: center; padding-inline: 18px; }
.single-actions li + li { border-inline-start: 1px solid #DADADA; }
.single-actions li:first-child { padding-inline-start: 0; }
.single-actions li:last-child { padding-inline-end: 0; }
.action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 64px; color: var(--text); font-size: 12px; font-weight: 500;
  transition: color .3s, transform .3s var(--ease);
}
/* action icons: the exact PNGs from the design, inlined as data URIs and drawn as
   masks so they still take currentColor (hover blue, favourite red). A no-mask
   fallback paints the same PNG as a plain background. */
.action-btn .ic {
  width: 30px; height: 30px; display: block;
  background: var(--ic) center / contain no-repeat;
  transition: transform .3s var(--ease);
}
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  .action-btn .ic {
    background: currentColor;
    -webkit-mask-image: var(--ic); mask-image: var(--ic);
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
}
.ic--heart { --ic: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAABBNJREFUeAHtWE1SE0EUfq8HxHIVq7TUXZZjCrRR94YTgCcwnAA8QcIJCCcgOYFwAsLOjTD8FARdOK7UkkWqXEgVmX6+npmedIb88pNgFd9munumu79+702/H4A73OF2Awf5yJ1+k0ehXgJhHpCyeowIGwjkBYDbXw4+b3Sbm5Uyc785IRHVPAHyk7I81+eNG7xWjYTarHue348D9iWIVGRaeei9ik8A1fr+Tskezr14pftLRJDpNZ0PUAMnWOxFuCtRvQlvUEwt6fOqXtzJIILkTTJthIWaC5tKfORvZesVNXg9n6XpYaSVDCDKttURVtKHbc3vTLLMiy6ZDRRRGQOsHB/vfk9/6+ZkAR3kA2HWkI12hahP5DGB5bM/tOf7XqNtriuzMCmKTKLQjyx2IGlJknw6p7l6vb8N5aZlkVCU2kdV+fjA+9BvriaMk7hlDqsQPpzs75ShG1FX8oRAfBuWZCeyRKpUP/RWBp2bJtsM1OzXI8+YGQj7YxGIxCaHJalxxMQoUIuK1PIwJDX0XhjQO9N3HFy13ycStaXJf3ClfrCzCGOAO/Nq3djsX0c99L3IrlsSDUQ+aQZqDcYFUlXTnGqK96Ztq/5t/GzYtjFqsMnUQmfA0NefGU+IImBWP4mvExg3kisu8oIaAm4htHtOj1lEVSRu6O3uxoWEKLvC6BSIt4BorHJE34y0bLTlw7M64oExQUZ7Z8MOxbYKtuoREz9+vwkSxoQzDgmTDoeBppkQnXKCZBBRzMOYoONW0z5zaM+0E6Je6AGSExRgXEBY0A++JmvGK2m0X0+EJlLPuNMyDyPG85nXC1Z4WLHftRGdmlBV4xVYB0UYPZaiB/lnk7Bpv2gjGqqfIIwD2VPlRylVDkYKJuVhtVdstQN08Ez3JtRa4muFWB/FVRVGbtgK1qEJ1fQ3F4hqqZJSUSzJ9vIgEKtwwwjj4Ng2SVGpUxzsdJp4+vvnp8dPnubjaFs+evoMT3/9qMENIEx9AJZDkjoOPtztGHB3DUqmHB1tsxog9FpF94V8D9cMbZd2fgbnqmtW0Duv5zxGTIpdigMVQlWo73tVuCaSvPl6RIIz3XOa7ZX69AzzwomBmkt+LhIVNyoqXAla3TZJCPrnZwOVdHI5KcERW9QKAcucz6ykr5B+0DfIAyVKds1AkzwaIKMYiKhGOp01VZFB6kbh/Kh+tZ54HrZJnXUeDZj2DEzUIssq42JZa4GKYul2I5yWYkiR/Tg0aXGYdHwoogYXqiJRjrPBEl4zhGOC+tpJimRa1QFR6eTQGzrLvRRRjVi67AxwwR7Xlblo0fYK4GWkaOPSRA1yM3Kek7FlDmLynd6HBBFK9YPdbbgCrkzUwJ2Z5boAFjBKcTMKtWRp46oE73CH/wX/ACEpAQ2WYaTRAAAAAElFTkSuQmCC'); }
.ic--share { --ic: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAABQ5JREFUeAHtWM1SG0cQ7h6J4CQHL0kccC5ZH1IRlCGL7ENuEU9gOOZk+QkMTwA+5Wj8BMi33IBjToEHCFoMloRzyOYUlYuqKEVVHJvd6fTM/nhX7Mq7SMgXf1WLhp2/b2emv+4egA8YLTCrYnb+zjIB3OOiqV8Q7UFZPu3YtgMjQMWyTCFFnQi/43kMAeRIxL3Os9+eQh6ic5ZlkRTbQAHBPhDCo86zgw0YAnML1U0ieAjpjBwScql/QRJEg69s8iCGX0k9LttcNADRinVqtI4OHsAoSBKp8XuIYBGgEbztuZ5c+r1l22EzkWAtxa8hSUly9d8zutU+bi7xs0jn8haP6uixAeqVhTv3oSAq89V6RJIJepIsNbaao3XUnEKSG0FTo1zmXY1BxAcJt5u4w8mx/cRx7F5Y3+nYzmSJFkOyvNqrUBC8aut+iRxyaeXF8+ZhvL51bD8CKdf8JmDOzd+9d4EoF34Iir2O6pAC27Z7SNgIBrJmZxe/hpxQxypcCEm4qT48rd3kBDT4aOkFkiCXLxDl86EHIf/MZEKC2I/6lNMNLhVuOWqLmD2HWgzm4tcTmReIMgX9FQhgwADwJAPrs+CV3egYCY8KzxER5S21g1bWN6xRmYMAReemc9Tch5z4FMAJt5RKWM9qp44IG1wwP+5dICpdGQltuYxb+kz1YXahuqosXk/GEgUFoLZUAuwEBJa/5bH625iWZSjliV7EOCV0dHa++ph/VoMah/9usvgfSt6KEgDLEQWHm632nJayDCILlQrr9ATrNIQ6DQ0XcFcQ9oSQNVJzxJQnbtQXPFOCbAqUEwCPlloxMS6COT5WvPWskWhmzyHZodgJhyL6G7WPDtbIkw9CvYwTVNstz2nxsiQVVF+1G6mVrDgkZb2fpD//AFRuV9dZpDdU+dWZnIo7gGGgnAtPvOX/JzdZjnbQBafdbv6Z1acMOTEykjqegMds2eCfdXjS6TSdd/UTMEaoyCweT3gureU1yNwrOgyU7HwixSp5oa/3rfpF297JO8aliKqJJ95MmFiSJge8frQFLDEsM1EjlCaf7+scwNZQUi1cRd2WIzMV9EABFCKqzhd64iFKqFPJS7i5knIBSMkO/jkECl5zHLEnJK2dXEI1chNVXokJriuxJoLcULImJe6AoEbnOL/L7Uf+FSW21LCo8ieeWLhwyDnP35oQ0pQs4fWIoKs9G7QGSM7VEPUpOsrXZ6zMSAhloRBR9GilPYRXGga5iSr3+b5IKqS60Mi6EepxWSEVHyI0snLvq0Sp/4XywwJUdAM1fq7F6/irTH6Wb0zfNE5f/vULjBEJopXbd2tsvdshQWXdLC+bJOhnptlDLe469/5+3GSTgfNC9Q8VuGrt45XrTzV04PsRbrMkWf6H8I3Gsb0HY0BqXu8RbaTlQyqAkG9oJcx9WDzXYUxIzesH+WFFNsyXENCCMaFwXu+3hfCGwyhyCTEMCuf1ug1B5CpfTdI/MAbEiKLj/6ClwriBvZBqfoE48B9N5P8uvN16krth+WMPt7I6aKPjvFz3iV0QXDUiHT192XVuTM/U/DQWK19O3zQ//2r68LTbjVZMhXoC4ScuXtNZ6Tn9eHraHcuKJnSUUxrjtYfNRM6N+iJXe6W4O/VcuVIklRgWCc/U7Xb/++KzmV0oocHEQumZCZ7AnepQb/nkuT1WF5qZ16sbDa8k7guiwAuhulvfeX0G+6NKnT/gfeJ/1nF+Ktp2oWIAAAAASUVORK5CYII='); }
.ic--file { --ic: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAAhhJREFUeAHtmY9RgzAUxj89B3AD4wR2g+IEjmA26DlB6wTVCVonUCcoTlCdAJygbqB5QuyDEiDkgfbs7+67cpCEj5f/KXBAlqOW6U6NRkYX+a9i908b8n4Y3Ro9oUeU0dxoY/QZqGsEUBfRO6OJ41nquC5D0ecR10YPEGSJYjRWyEyP4EcC4chyZqxQetEY3bFGy00n2KxC0aRCGNYo1YiGoNkFZKuIGyU0hMxuSgWHUjZKaASajSAbTWKdl7cu3dcIMDtlGX17t4sVtu29jEZHs7x9SvGIba+vQqOD2bqv78qcmThzpNHwNNuH0YgZmNek0/Awa42uIUuColnlSKfR0qw1KjU0WSLsTqPUZpMKtZrB+jJqzSbwX3H9eDnBMMRG50ZXuemm4a+86hrMqOU5VxMU/YLRY+wJvhGN0H4GoS3IC4S2IL5GfTuahpBR36qP4ccrhPCN6CV+ib3pTFVGFf4g/3Z4So3ukQ1NvbFA88K5zfw8QTi2rIW9waueDyWuuThGPRTJd4TB353aC171b+x6jOoxcIjhiRuNqxLQIkB6u9wFu9zc1CXie5wIw6NR0T6rUJA90vFBobi4Vk0ZeFQpY9vVUggRiianbTMusbslIMNSBxPIy5pg2yZrq7zuIJe+auZ4liIM5bhPh8c36FggfaHE0bhLVHbdNvqbtn82EGNkbUkhvJOlyMZpEo3fvU65B6r4AhaACLYfj2+UAAAAAElFTkSuQmCC'); }
.action-btn:hover { color: var(--primary); }
.action-btn:hover .ic { transform: translateY(-3px); }
.action-btn.is-on { color: var(--red); }
.action-btn.is-on .ic { animation: heartPop .4s var(--ease); }
.action-btn.is-active { color: var(--red); }
.action-btn.is-active .ic { animation: heartPop .4s var(--ease); }
@keyframes heartPop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.action-btn.is-copied { color: var(--green); }

.single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 426px; gap: 34px; align-items: start; }
.gallery { min-width: 0; }

/* gallery */
.gallery__main {
  position: relative; height: 356px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 100%, #f2f5f9 0%, #e6ebf2 100%);
  display: flex; align-items: center; justify-content: center;
}
.gallery__main img { max-width: 88%; max-height: 82%; width: auto; height: auto; object-fit: contain; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.gallery__main img.is-switching { opacity: 0; transform: translateX(-24px) scale(.97); }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--text); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12); opacity: 0;
  transition: opacity .3s, background .3s, color .3s;
}
.gallery__nav--prev { right: 16px; }
.gallery__nav--next { left: 16px; }
.gallery__main:hover .gallery__nav { opacity: 1; }
.gallery__nav:hover { background: var(--primary); color: var(--white); }
.gallery__count { display: none; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.thumb {
  display: block; width: 100%; height: 100px; border-radius: 10px; overflow: hidden;
  background: #eef2f7; border: 2px solid transparent; padding: 6px;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .1); }
.thumb.is-active { border-color: var(--primary); }

/* bid card */
.bid-card {
  background: var(--white); border-radius: 12px; padding: 22px 45px 26px 48px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}
.bid-card .status { display: block; margin-bottom: 22px; padding: 0; font-size: 20px; font-weight: 700; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: 63px; border-radius: 8px; background: #F3F5F9; color: var(--primary);
}
.countdown__item strong { font-size: 24px; font-weight: 700; line-height: 1; }
.countdown__item span { font-size: 16px; font-weight: 500; line-height: 1; }
.bid-prices { display: flex; justify-content: space-between; margin-top: 30px; }
.bid-prices .price { gap: 6px; }
.bid-prices .price-label { font-size: 18px; font-weight: 500; color: var(--primary); }
.bid-prices .price-bid .price-label { color: var(--green); }
.bid-prices .price-value { font-size: 30px; gap: 8px; }
.bid-prices .price-value .riyal { width: 24px; height: 27px; }
.bid-prices .price-bid .price-value { color: var(--primary); }
.price-value--dark { color: var(--text); }
.bid-card .specs { margin-top: 28px; font-size: 16px; }
.bid-form { width: 318px; max-width: 100%; margin-top: 26px; }
.stepper { display: flex; align-items: stretch; gap: 10px; height: 52px; direction: ltr; }
.stepper__btn {
  width: 50px; flex: 0 0 50px; border-radius: 6px; font-size: 24px; font-weight: 600; line-height: 1; border: 1px solid transparent;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s, transform .2s;
}
.stepper__btn:active { transform: scale(.95); }
.stepper__btn--minus { background: #F3F3F3; border-color: #DCDCDC; color: #555; }
.stepper__btn--minus:hover { background: #E8E8E8; color: var(--text); }
.stepper__btn--plus { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.stepper__btn--plus:hover { background: var(--primary); color: var(--white); }
.stepper__input {
  flex: 1; min-width: 0; text-align: center; border: 1px solid transparent; border-radius: 6px; background: #F3F3F3;
  font-family: var(--font-en); font-size: 28px; font-weight: 700; color: var(--text); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.stepper__input:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(33, 150, 243, .12); }
.bid-submit { width: 100%; min-height: 50px; margin-top: 22px; font-size: 20px; border-radius: 8px; }
.bid-note { margin-top: 12px; font-size: 14px; color: var(--green); text-align: center; }
.bid-note.is-error { color: var(--red); }

/* tabs */
.tabs { margin-top: 70px; }
.tabs__nav { position: relative; display: flex; justify-content: flex-start; gap: 90px; border-bottom: 1px solid var(--line); }
.tabs__nav [role="tab"] {
  position: relative; padding: 0 0 14px; font-size: 28px; font-style: normal; font-weight: 700; color: var(--text);
  transition: color .3s;
}
.tabs__nav [role="tab"]:hover, .tabs__nav [role="tab"].is-active { color: var(--primary); }
.tabs__ink { position: absolute; bottom: -1px; height: 2px; background: var(--primary); transition: left .4s var(--ease), width .4s var(--ease); }
.tabs__panel { display: none; padding-top: 34px; }
.tabs__panel.is-active { display: block; animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 34px; }
.info-card {
  min-height: 124px; padding: 22px 22px 24px; border: 1px solid #EDEDED; border-radius: 10px; background: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  transition: box-shadow .3s, transform .3s var(--ease), border-color .3s;
}
.info-card:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .06); transform: translateY(-3px); border-color: #E3F2FD; }
.info-card span { font-size: 20px; line-height: 1.2; color: #7A7A7A; }
.info-card strong { font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--text); }

/* bids table */
.bids-block { margin-top: 60px; }
.block-title { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 22px; }
.table-wrap { overflow-x: auto; border-radius: 8px; }
.bids-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 22px; table-layout: fixed; }
.bids-table th, .bids-table td { padding: 0 16px; height: 68px; text-align: center; white-space: nowrap; }
.bids-table th { height: 73px; background: #DDEEFB; font-size: 24px; font-weight: 700; line-height: 24px; color: #707070; }
.bids-table th:first-child, .bids-table td:first-child { width: 90px; }
.bids-table tbody tr { transition: background .25s; }
.bids-table tbody tr:nth-child(even) { background: #F5F9FD; }
.bids-table tbody tr:hover { background: #EEF5FC; }
.bids-table tbody tr.is-new { animation: rowIn .6s var(--ease); }
@keyframes rowIn { from { background: #D9ECFB; transform: translateY(-6px); opacity: 0; } to { opacity: 1; transform: none; } }
.money { display: inline-flex; align-items: center; gap: 5px; direction: ltr; }
.money .riyal { width: 18px; height: 20px; }

.similar { padding-top: 60px; }
.similar .section-head { justify-content: space-between; gap: 16px; }

@media (max-width: 1199px) {
  .single-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; }
  .tabs__nav { gap: 50px; }
  .info-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 991px) {
  .page-hero { height: 240px; }
  .breadcrumb { font-size: 18px; flex-wrap: wrap; }
  .single-title { font-size: 28px; }
  .single-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery__main { height: 320px; }
  .gallery__nav { opacity: 1; }
  .tabs { margin-top: 50px; }
  .tabs__nav { gap: 0; justify-content: space-between; overflow-x: auto; }
  .tabs__nav [role="tab"] { white-space: nowrap; padding-inline: 8px; font-size: 20px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .single-head { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .single-actions { width: 100%; justify-content: flex-start; gap: 18px; }
  .gallery__main { height: 240px; }
  .gallery__thumbs { gap: 12px; margin-top: 14px; }
  .thumb { height: 70px; }
  .bid-card { padding: 20px 20px 22px; }
  .countdown { gap: 6px; }
  .countdown__item strong { font-size: 20px; }
  .countdown__item span { font-size: 14px; }
  .bid-prices .price-value { font-size: 24px; }
  .bid-form { width: 100%; }
  .info-grid { gap: 14px; }
  .info-card { height: auto; min-height: 96px; padding: 16px 18px; }
  .bids-table { font-size: 16px; }
  .bids-table th, .bids-table td { padding: 0 12px; height: 54px; }
  .bids-table th { height: 58px; font-size: 17px; line-height: 1.2; }
  .info-card span { font-size: 16px; }
  .info-card strong { font-size: 20px; }
}
@media (max-width: 480px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .info-card { padding: 14px 14px; }
  .info-card span { font-size: 14px; }
  .info-card strong { font-size: 17px; }
  .single-actions { gap: 10px; justify-content: space-between; }
}
.card-img-link { display: flex; align-items: center; justify-content: center; height: 100%; }
.card-title a { transition: color .3s; }
.card-title a:hover { color: var(--primary); }

/* =====================================================================
   Inner pages (auctions · auth · account · about · services · blog ·
   contact · legal)
   ===================================================================== */
.page-hero--sm { height: 220px; }
.section-sub { text-align: center; color: #666; font-size: 18px; margin: -40px 0 50px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: .3px; margin-bottom: 10px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-xs { min-height: 34px; padding: 0 14px; font-size: 13px; font-weight: 500; background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-xs--outline { background: transparent; color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 20px; font-size: 13px; font-weight: 500; background: #EEF1F5; color: #555; white-space: nowrap; }
.tag--blue { background: var(--primary-soft); color: var(--primary); }
.tag--green { background: #E5F7EE; color: var(--green); }
.tag--red { background: #FDECEC; color: var(--red); }

/* ---- status tabs (auctions / blog / dashboard) ---- */
.listing-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.listing-head .section-title { margin: 0; text-align: right; }
.status-tabs { display: flex; gap: 8px; padding: 5px; border-radius: 40px; background: #F3F5F9; }
.status-tabs button {
  height: 40px; padding: 0 20px; border-radius: 30px; font-size: 15px; font-weight: 500; color: #444;
  transition: background .3s, color .3s, box-shadow .3s;
}
.status-tabs button:hover { color: var(--primary); }
.status-tabs button.is-active { background: var(--white); color: var(--primary); box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.status-tabs--sm { margin-bottom: 20px; }
.status-tabs--sm button { height: 36px; padding: 0 16px; font-size: 14px; }

/* ---- auctions listing ---- */
.listing { padding-top: 60px; }
.listing-filters { margin-bottom: 26px; }
.listing-count { color: #777; font-size: 15px; margin-bottom: 26px; }
.listing-grid { row-gap: 40px; }
.listing-grid .auction-card.is-hidden { display: none; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; color: var(--text); background: #F3F5F9; transition: background .3s, color .3s;
}
.pagination a:hover { background: var(--primary-soft); color: var(--primary); }
.pagination a.is-active { background: var(--primary); color: var(--white); }
.pagination__arrow { font-size: 16px; }

/* ---- forms ---- */
.form .field { margin-bottom: 18px; }
.form label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field__control { position: relative; display: flex; align-items: center; }
.field__control > i, .field__control > .riyal { position: absolute; inset-inline-start: 16px; color: #9A9A9A; font-size: 16px; pointer-events: none; }
.field__control > .riyal { width: 16px; height: 18px; fill: #9A9A9A; }
.field__control input, .field__control textarea {
  width: 100%; height: 52px; padding: 0 46px 0 16px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 15px; color: var(--text); background: var(--white); outline: 0;
  transition: border-color .3s, box-shadow .3s;
}
.field__control input.en { direction: ltr; text-align: left; padding: 0 46px 0 16px; }
.field__control--area textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 130px; }
.field__control input:focus, .field__control textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 150, 243, .12); }
.field__control input::placeholder, .field__control textarea::placeholder { color: #B0B0B0; }
.field__toggle { position: absolute; inset-inline-end: 12px; width: 32px; height: 32px; color: #9A9A9A; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: color .3s; }
.field__toggle:hover { color: var(--primary); }
.field.is-invalid .field__control input { border-color: var(--red); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form__row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; }
.form__link { font-size: 14px; color: var(--primary); }
.form__note { margin-top: 14px; font-size: 14px; color: var(--green); text-align: center; }
.form__note.is-error { color: var(--red); }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.form h3 { font-size: 20px; margin: 6px 0 18px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; margin-bottom: 18px; }
.check input { position: absolute; opacity: 0; }
.check span { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border); position: relative; transition: background .2s, border-color .2s; flex-shrink: 0; }
.check input:checked + span { background: var(--primary); border-color: var(--primary); }
.check input:checked + span::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.check a { color: var(--primary); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 12px; background: #F3F5F9; margin-bottom: 22px; }
.seg--3 { grid-template-columns: 1fr 1fr 1fr; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 9px; font-size: 14px; font-weight: 500; color: #555; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.seg__opt input:checked + span { background: var(--white); color: var(--primary); box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.switches { display: grid; gap: 14px; margin-bottom: 22px; }
.switch { display: flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 44px; height: 24px; border-radius: 20px; background: #D9DEE6; position: relative; transition: background .3s; flex-shrink: 0; }
.switch span::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(-20px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 20px; }
.chip { height: 36px; padding: 0 14px; border-radius: 30px; background: #F3F5F9; font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.chip:hover, .chip.is-active { background: var(--primary-soft); color: var(--primary); }

/* ---- auth pages ---- */
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth__visual { position: relative; overflow: hidden; display: flex; align-items: center; padding: 60px; color: var(--white); }
.auth__visual-bg { position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 10%, #1552B8 0%, var(--navy) 60%, #041838 100%); }
.auth__visual-content { position: relative; z-index: 1; max-width: 520px; }
.auth__logo { width: 300px; margin: 0 0 30px -12px; }
.auth__visual h2 { font-size: 44px; font-weight: 800; line-height: 1.3; }
.auth__visual h2 span { color: var(--primary); }
.auth__visual p { font-size: 18px; color: rgba(255, 255, 255, .75); margin: 14px 0 26px; }
.auth__points li { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 10px; }
.auth__points i { color: var(--primary); }
.auth__car { position: absolute; bottom: -40px; left: -80px; width: 560px; max-width: 80%; z-index: 0; opacity: .9; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.auth__panel { display: flex; align-items: center; justify-content: center; padding: 60px 40px; background: #F7F9FC; }
.auth__card { width: 100%; max-width: 460px; background: var(--white); border-radius: 18px; padding: 40px 38px; box-shadow: 0 20px 60px rgba(6, 33, 77, .08); }
.auth__card--wide { max-width: 620px; }
.auth__back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #777; margin-bottom: 22px; transition: color .3s; }
.auth__back:hover { color: var(--primary); }
.auth__card h1 { font-size: 30px; margin-bottom: 6px; }
.auth__sub { color: #777; font-size: 15px; margin-bottom: 26px; }
.auth__divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; color: #999; font-size: 13px; }
.auth__divider::before, .auth__divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth__social { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-social { height: 48px; border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-en); font-size: 15px; font-weight: 500; transition: border-color .3s, background .3s; }
.btn-social:hover { border-color: var(--primary); background: #F4F9FF; }
.auth__switch { margin-top: 22px; text-align: center; font-size: 15px; color: #666; }
.auth__switch a { color: var(--primary); font-weight: 700; }

/* ---- dashboard ---- */
.dashboard { padding-top: 40px; }
.dash-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 30px; align-items: start; }
.dash-side { background: var(--white); border-radius: 16px; box-shadow: 0 0 30px rgba(0, 0, 0, .06); padding: 22px; position: sticky; top: 100px; }
.dash-user { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.dash-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-user strong { display: block; font-size: 17px; }
.dash-user__meta { font-size: 13px; color: #777; }
.badge-ok { color: var(--green); font-weight: 700; }
.dash-nav { display: grid; gap: 4px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: #444; transition: background .3s, color .3s; }
.dash-nav a i { width: 20px; text-align: center; font-size: 16px; color: #8A8A8A; transition: color .3s; }
.dash-nav a:hover { background: #F3F5F9; color: var(--primary); }
.dash-nav a.is-active { background: var(--primary); color: var(--white); }
.dash-nav a.is-active i, .dash-nav a:hover i { color: inherit; }
.dash-nav__out { margin-top: 8px; color: var(--red) !important; }
.dash-panel { display: none; }
.dash-panel.is-active { display: block; animation: panelIn .45s var(--ease); }
.dash-head { margin-bottom: 24px; }
.dash-head h1 { font-size: 28px; }
.dash-head p { color: #777; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--white); border-radius: 14px; box-shadow: 0 0 30px rgba(0, 0, 0, .05); }
.stat__ic { width: 50px; height: 50px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat__ic--green { background: #E5F7EE; color: var(--green); }
.stat__ic--red { background: #FDECEC; color: var(--red); }
.stat__ic--deep { background: #E3E9F7; color: var(--primary-deep); }
.stat strong { display: block; font-size: 24px; line-height: 1.1; }
.stat strong.money { display: inline-flex; font-size: 20px; }
.stat span { font-size: 13px; color: #777; }
.dash-block { background: var(--white); border-radius: 16px; box-shadow: 0 0 30px rgba(0, 0, 0, .05); padding: 22px 24px; }
.dash-block__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-block__head h2 { font-size: 20px; }
.bids-table--sm { font-size: 15px; min-width: 620px; }
.bids-table--sm th, .bids-table--sm td { height: 58px; padding: 0 12px; text-align: right; }
.bids-table--sm th { height: 50px; font-size: 14px; }
.tbl-car { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; transition: color .3s; }
.tbl-car:hover { color: var(--primary); }
.tbl-car img { width: 56px; height: 36px; object-fit: contain; }
.auction-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.deposit-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.deposit-card { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%); color: var(--white); border-radius: 16px; padding: 26px; box-shadow: 0 16px 40px rgba(13, 71, 161, .3); }
.deposit-card > span { font-size: 14px; opacity: .85; }
.deposit-card strong { display: inline-flex; font-size: 36px; margin: 10px 0 12px; }
.deposit-card p { font-size: 14px; opacity: .9; }
.deposit-card .money .riyal { fill: currentColor; }
.deposit-form { background: var(--white); border-radius: 16px; box-shadow: 0 0 30px rgba(0, 0, 0, .05); padding: 24px; }

/* ---- about ---- */
.about-intro { padding-top: 70px; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h1 { font-size: 38px; font-weight: 800; line-height: 1.35; margin-bottom: 20px; }
.about-text h1 span { color: var(--primary); }
.about-text p { font-size: 17px; color: #444; line-height: 1.8; margin-bottom: 14px; }
.about-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.about-visual { position: relative; min-height: 420px; }
.about-blob { position: absolute; left: 6%; top: -6%; width: 70%; z-index: 0; }
.about-car { position: absolute; left: -6%; top: 10%; width: 108%; max-width: none; z-index: 1; }
.stats-band { background: var(--primary-deep); color: var(--white); padding: 40px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-row li + li { border-inline-start: 1px solid rgba(255, 255, 255, .15); }
.stats-row strong { display: block; font-size: 40px; font-weight: 700; line-height: 1.1; }
.stats-row span { font-size: 15px; opacity: .8; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: var(--white); border: 1px solid #EDEDED; border-radius: 16px; padding: 28px 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); border-color: transparent; }
.value-card__ic { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); font-size: 22px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value-card h3 { font-size: 20px; margin-bottom: 8px; }
.value-card p { font-size: 15px; color: #555; line-height: 1.7; }
.cta-band { padding: 20px 0 80px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 50px; border-radius: 20px; color: var(--white); background: linear-gradient(120deg, var(--primary) 0%, var(--primary-deep) 100%); box-shadow: 0 20px 50px rgba(13, 71, 161, .3); }
.cta-box h2 { font-size: 30px; }
.cta-box p { opacity: .9; font-size: 16px; margin-top: 4px; }
.cta-box__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- services ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--white); border: 1px solid #EDEDED; border-radius: 16px; padding: 30px 26px; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); border-color: transparent; }
.service-card__ic { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(140deg, var(--primary), var(--primary-deep)); color: var(--white); font-size: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 10px 24px rgba(33, 150, 243, .3); }
.service-card h3 { font-size: 21px; margin-bottom: 8px; }
.service-card p { font-size: 15px; color: #555; line-height: 1.7; min-height: 76px; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--primary); }
.service-card__link i { transition: transform .3s; }
.service-card__link:hover i { transform: translateX(-4px); }
.services + .packages-section { padding-top: 0; }

/* ---- blog ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: var(--white); border: 1px solid #EDEDED; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); border-color: transparent; }
.post-card__img { display: flex; align-items: center; justify-content: center; height: 210px; background: radial-gradient(120% 100% at 50% 100%, #f2f5f9 0%, #e3e9f2 100%); overflow: hidden; }
.post-card__img--dark { background: radial-gradient(120% 100% at 50% 100%, #1552B8 0%, var(--navy) 100%); }
.post-card__img img { max-width: 80%; max-height: 80%; object-fit: contain; transition: transform .5s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #888; }
.post-card h2 { font-size: 19px; line-height: 1.5; }
.post-card h2 a { transition: color .3s; }
.post-card h2 a:hover { color: var(--primary); }
.post-card p { font-size: 14px; color: #555; line-height: 1.7; }
.post-card .more-link { margin-top: auto; color: var(--primary); font-weight: 700; }
.post-card--featured { grid-column: 1 / -1; flex-direction: row; }
.post-card--featured .post-card__img { width: 50%; height: auto; min-height: 320px; }
.post-card--featured .post-card__body { padding: 36px 40px; justify-content: center; }
.post-card--featured h2 { font-size: 28px; }
.post-card--featured p { font-size: 16px; }
/* when the list is filtered the featured card drops back to a normal-width card */
.post-card--featured.is-narrow { grid-column: auto; flex-direction: column; }
.post-card--featured.is-narrow .post-card__img { width: 100%; min-height: 0; }
.post-card--featured.is-narrow .post-card__body { padding: 22px 24px 26px; justify-content: flex-start; }
.post-card--featured.is-narrow h2 { font-size: 20px; }
.post-card--featured.is-narrow p { font-size: 15px; }
.list-empty { text-align: center; color: var(--muted); padding: 40px 0 10px; font-size: 16px; }
.article-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.article-title { font-size: 34px; line-height: 1.4; margin: 12px 0 22px; }
.article-read { color: #888; }
.article-hero { height: 400px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 100% at 50% 100%, #1552B8 0%, var(--navy) 100%); margin-bottom: 30px; overflow: hidden; }
.article-hero img { max-width: 78%; max-height: 82%; object-fit: contain; }
.article-body { font-size: 17px; line-height: 1.9; color: #333; }
.article-body h2 { font-size: 24px; margin: 30px 0 12px; color: var(--text); }
.article-body p { margin-bottom: 14px; }
.article-body ul { padding-inline-start: 22px; list-style: disc; margin-bottom: 14px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote { margin: 22px 0; padding: 18px 24px; border-inline-start: 4px solid var(--primary); background: var(--primary-soft); border-radius: 0 10px 10px 0; font-weight: 700; color: var(--primary-deep); }
.article-share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.article-share a, .article-share button { width: 40px; height: 40px; border-radius: 50%; background: #F3F5F9; display: flex; align-items: center; justify-content: center; color: var(--text); transition: background .3s, color .3s; }
.article-share a:hover, .article-share button:hover { background: var(--primary); color: var(--white); }
.side-box { background: var(--white); border: 1px solid #EDEDED; border-radius: 16px; padding: 22px; margin-bottom: 22px; }
.side-box h3 { font-size: 19px; margin-bottom: 16px; }
.side-posts li + li { margin-top: 14px; }
.side-posts a { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; line-height: 1.5; transition: color .3s; }
.side-posts a:hover { color: var(--primary); }
.side-posts img { width: 72px; height: 52px; object-fit: contain; background: #F3F5F9; border-radius: 8px; padding: 4px; flex-shrink: 0; }
.side-posts time { display: block; font-size: 12px; color: #999; }
.side-cats a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; transition: color .3s; }
.side-cats li:last-child a { border-bottom: 0; }
.side-cats a:hover { color: var(--primary); }
.side-cats span { color: #999; font-size: 13px; }
.side-box--cta { background: linear-gradient(140deg, var(--primary), var(--primary-deep)); color: var(--white); border: 0; }
.side-box--cta p { font-size: 14px; opacity: .9; margin-bottom: 16px; }

/* ---- contact ---- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 18px; background: var(--white); border: 1px solid #EDEDED; border-radius: 16px; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); border-color: transparent; }
.contact-card__ic { width: 54px; height: 54px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 22px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.contact-card__ic--green { background: #E5F7EE; color: var(--green); }
.contact-card strong { font-size: 17px; }
.contact-card span:last-child { font-size: 13px; color: #888; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.contact-form { background: var(--white); border-radius: 18px; box-shadow: 0 0 30px rgba(0, 0, 0, .06); padding: 32px; }
.contact-form h2 { font-size: 24px; margin-bottom: 20px; }
.contact-map { position: relative; min-height: 460px; border-radius: 18px; overflow: hidden; background: #E8EDF3 repeating-linear-gradient(0deg, transparent 0 39px, rgba(0, 0, 0, .04) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(0, 0, 0, .04) 39px 40px); display: flex; flex-direction: column; justify-content: flex-end; }
.contact-map__pin { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -100%); color: var(--red); font-size: 46px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .25)); animation: pinBounce 1.8s var(--ease) infinite; }
@keyframes pinBounce { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -115%); } }
.contact-map__card { position: absolute; left: 50%; top: 42%; transform: translateX(-50%); background: var(--white); border-radius: 12px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); text-align: center; display: grid; gap: 4px; min-width: 220px; }
.contact-map__card span { font-size: 13px; color: #777; margin-bottom: 8px; }
.contact-hours { background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin: 20px; border-radius: 12px; padding: 14px 18px; display: grid; gap: 8px; }
.contact-hours li { display: flex; justify-content: space-between; font-size: 14px; }

/* ---- legal ---- */
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.legal-toc { position: sticky; top: 100px; background: var(--white); border: 1px solid #EDEDED; border-radius: 14px; padding: 20px; }
.legal-toc h3 { font-size: 17px; margin-bottom: 12px; }
.legal-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.legal-toc a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: #555; transition: background .3s, color .3s; }
.legal-toc a:hover, .legal-toc a.is-active { background: var(--primary-soft); color: var(--primary); }
.legal-body h1 { font-size: 34px; margin-bottom: 6px; }
.legal-updated { color: #888; font-size: 14px; margin-bottom: 26px; }
.legal-body h2 { font-size: 22px; margin: 26px 0 10px; scroll-margin-top: 100px; }
.legal-body p { font-size: 16px; line-height: 1.9; color: #444; }
.legal-body a { color: var(--primary); }

/* ---- responsive ---- */
@media (max-width: 1199px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 250px 1fr; }
}
@media (max-width: 991px) {
  .auth { grid-template-columns: 1fr; }
  .auth__visual { min-height: 320px; padding: 110px 30px 40px; }
  .auth__visual h2 { font-size: 32px; }
  .auth__car { display: none; }
  .auth__panel { padding: 30px 20px 50px; }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-main, .dash-side { min-width: 0; }
  .dash-side { position: static; }
  .dash-nav { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 320px; order: -1; }
  .about-car { left: 0; width: 100%; top: 0; }
  .article-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .deposit-grid { grid-template-columns: 1fr; }
  .post-card--featured { flex-direction: column; }
  .post-card--featured .post-card__img { width: 100%; min-height: 240px; }
  .listing-head { justify-content: center; }
  .status-tabs { overflow-x: auto; max-width: 100%; }
  .status-tabs button { white-space: nowrap; }
}
@media (max-width: 767px) {
  .form__grid { grid-template-columns: 1fr; gap: 0; }
  .auth__card { padding: 28px 22px; }
  .auth__logo { width: 220px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 14px; }
  .stat strong { font-size: 20px; }
  .dash-nav { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .stats-row li:nth-child(3) { border-inline-start: 0; }
  .stats-row strong { font-size: 32px; }
  .values-grid, .services-grid, .post-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .contact-card { padding: 22px 12px; }
  .about-text h1 { font-size: 28px; }
  .cta-box { padding: 30px 24px; }
  .cta-box h2 { font-size: 24px; }
  .article-title { font-size: 26px; }
  .article-hero { height: 240px; }
  .auction-grid--2 { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .section-sub { margin: -24px 0 34px; font-size: 16px; }
  .listing { padding-top: 40px; }
}

/* ---- inner pages: extra mobile polish ---- */
@media (max-width: 767px) {
  .pagination { flex-wrap: wrap; gap: 6px; margin-top: 40px; }
  .pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 10px; font-size: 14px; }
  .post-card--featured h2 { font-size: 22px; }
  .post-card--featured .post-card__body { padding: 22px 20px 26px; }
  .contact-map {
    min-height: 0; padding: 110px 14px 14px; gap: 12px;
  }
  .contact-map__pin { top: 40px; transform: translateX(-50%); font-size: 40px; animation: none; }
  .contact-map__card { position: static; transform: none; min-width: 0; width: 100%; padding: 16px 18px; }
  .contact-hours { margin: 0; }
  .contact-card strong { font-size: 15px; max-width: 100%; }
  .contact-card strong.en { white-space: nowrap; direction: ltr; }
  .auth__visual { min-height: 0; padding: 40px 24px 34px; }
  .auth__visual h2 { font-size: 26px; }
  .auth__visual p { font-size: 15px; margin: 10px 0 18px; }
  .auth__points li { font-size: 14px; }
  .auth__logo { width: 200px; margin-bottom: 18px; }
  .auth__card h1 { font-size: 26px; }
  .breadcrumb { font-size: 16px; gap: 8px; }
  .page-hero { height: 210px; }
  .page-hero--sm { height: 180px; }
  .legal-body h1 { font-size: 26px; }
  .legal-body h2 { font-size: 19px; }
  .legal-toc { padding: 16px; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; }
  .dash-head h1 { font-size: 24px; }
  .deposit-card strong { font-size: 30px; }
  .about-actions .btn { flex: 1; min-width: 0; padding-inline: 14px; }
  .cta-box__actions { width: 100%; }
  .cta-box__actions .btn { flex: 1; padding-inline: 14px; }
  .service-card p { min-height: 0; }
  .article-share { flex-wrap: wrap; }
}

/* ---- form fixes: checkbox, latin inputs, button icon gap ---- */
.btn { gap: 10px; }
.form .check, .check { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 14px; font-weight: 400; }
.check input { position: absolute; inset-inline-start: 0; top: 0; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; }
.check span { display: inline-block; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border); background: var(--white); position: relative; flex-shrink: 0; transition: background .2s, border-color .2s, box-shadow .2s; }
.check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(33, 150, 243, .2); }
.check input:checked + span { background: var(--primary); border-color: var(--primary); }
.check input:checked + span::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
/* emails / phones / numbers: typed left-to-right but kept on the right next to the icon */
.field__control input.en,
.field__control input[type="email"],
.field__control input[type="tel"],
.field__control input[type="url"],
.field__control input[inputmode="numeric"] { direction: ltr; text-align: right; unicode-bidi: plaintext; padding: 0 46px 0 16px; }
.field__control input::placeholder { text-align: right; direction: rtl; }
.field__control input.en::placeholder, .field__control input[type="email"]::placeholder, .field__control input[type="tel"]::placeholder { direction: ltr; text-align: right; }
.contact-form .btn { min-width: 220px; }
@media (max-width: 767px) { .contact-form .btn { width: 100%; } }

/* ---- service single ---- */
.svc { padding-top: 50px; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.svc-head { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 30px; }
.svc-ic { flex-shrink: 0; margin: 4px 0 0; }
.svc-title { font-size: 34px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.svc-lead { font-size: 17px; line-height: 1.8; color: #444; }
.svc-visual { position: relative; height: 340px; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 100% at 50% 100%, #f2f5f9 0%, #e3e9f2 100%); margin-bottom: 40px; }
.svc-blob { position: absolute; right: 8%; top: -10%; width: 60%; opacity: .9; }
.svc-car { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70%; max-width: 560px; }
.svc-car.is-done { transform: translate(-50%, -50%) !important; }
.svc-h2 { font-size: 24px; margin: 0 0 18px; }
.svc-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.svc-features li { display: flex; gap: 12px; padding: 18px; border: 1px solid #EDEDED; border-radius: 14px; background: var(--white); transition: box-shadow .3s, transform .3s var(--ease); }
.svc-features li:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .06); transform: translateY(-3px); }
.svc-features i { color: var(--primary); font-size: 20px; margin-top: 2px; }
.svc-features strong { display: block; font-size: 16px; margin-bottom: 4px; }
.svc-features span { font-size: 14px; color: #666; line-height: 1.6; }
.svc-steps { display: grid; gap: 14px; margin-bottom: 40px; }
.svc-steps li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: #F6F8FB; }
.svc-steps > li > span { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-steps strong { display: block; font-size: 16px; }
.svc-steps div span { font-size: 14px; color: #666; }
.svc-faq .acc-head { font-size: 17px; padding: 16px 0; }
.svc-side .side-box--cta .btn { margin-top: 10px; }
.svc-side .side-box--cta .btn-block + .btn-block { margin-top: 8px; }
.svc-contact li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.svc-contact li:last-child { border-bottom: 0; }
.svc-contact i { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.svc-contact a { transition: color .3s; }
.svc-contact a:hover { color: var(--primary); }
.side-cats a i { font-size: 12px; color: #999; }
@media (max-width: 991px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-visual { height: 280px; }
}
@media (max-width: 767px) {
  .svc-head { flex-direction: column; gap: 14px; }
  .svc-title { font-size: 26px; }
  .svc-lead { font-size: 15px; }
  .svc-visual { height: 220px; }
  .svc-features { grid-template-columns: 1fr; }
  .svc-h2 { font-size: 20px; }
}

/* ---- mobile: the side cars stay flush with the screen edge (no side gap) ---- */
@media (max-width: 991px) {
  .steps-visual { margin-inline: 0 calc(-1 * var(--gutter)); height: auto; min-height: 0; overflow: visible; }
  .steps-car-wrap { position: relative; left: -3%; top: 0; margin: 0; width: 100%; max-width: 560px; }
  .faq-visual { margin-inline: 0 calc(-1 * var(--gutter)); height: 380px; overflow: hidden; }
  .faq-car { left: -4%; width: 104%; max-width: 520px; top: -42%; margin: 0; }
}
@media (max-width: 767px) {
  .steps-car-wrap { max-width: none; }
}
@media (max-width: 480px) {
  .faq-visual { height: 300px; }
  .faq-car { top: -37%; }
}

/* ---- auth steps + OTP ---- */
.auth-step { display: none; }
.auth-step.is-active { display: block; animation: panelIn .45s var(--ease); }
.otp { display: flex; justify-content: center; gap: 12px; margin: 6px 0 14px; }
.otp input {
  width: 62px; height: 64px; text-align: center; font-family: var(--font-en); font-size: 26px; font-weight: 700;
  border: 1px solid var(--border); border-radius: 10px; outline: 0; color: var(--text); background: var(--white);
  transition: border-color .3s, box-shadow .3s, transform .2s;
}
.otp input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 150, 243, .12); transform: translateY(-2px); }
.otp input.is-filled { border-color: var(--primary); background: #F4F9FF; }
.otp__timer { text-align: center; font-size: 14px; color: #777; margin-bottom: 18px; }
.otp__timer .form__link { font-weight: 700; }

/* ---- 404 ---- */
.notfound { padding-top: 40px; }
.notfound__box { max-width: 720px; margin: 0 auto; text-align: center; }
.notfound__visual { position: relative; height: 300px; margin-bottom: 10px; }
.notfound__blob { position: absolute; left: 50%; top: 0; width: 360px; transform: translateX(-50%); opacity: .9; }
.notfound__car { position: absolute; left: 50%; top: 40px; width: 420px; max-width: 90%; transform: translateX(-50%); }
.notfound__car.is-done { transform: translateX(-50%) !important; }
.notfound__code { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: 96px; font-weight: 700; line-height: 1; color: var(--primary); opacity: .12; letter-spacing: 6px; }
.notfound h1 { font-size: 32px; margin-bottom: 10px; }
.notfound p { color: #666; font-size: 17px; margin-bottom: 26px; }
.notfound__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---- brands ---- */
.brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.brand-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 14px 22px;
  background: var(--white); border: 1px solid #EDEDED; border-radius: 16px; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); border-color: transparent; }
.brand-card__logo { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; transition: background .3s, color .3s; }
.brand-card:hover .brand-card__logo { background: var(--primary); color: var(--white); }
.brand-card strong { font-size: 17px; }
.brand-card__count { font-size: 13px; color: #888; }

/* ---- checkout ---- */
.checkout { padding-top: 40px; }
.progress { display: flex; justify-content: center; gap: 0; margin-bottom: 34px; }
.progress li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: #999; }
.progress li + li::before { content: ''; width: 70px; height: 2px; background: #E3E8EF; margin: 0 14px; }
.progress li > span { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #E3E8EF; color: #777; font-weight: 700; font-size: 14px; }
.progress li.is-done { color: var(--green); }
.progress li.is-done > span { background: var(--green); color: var(--white); }
.progress li.is-active { color: var(--primary); }
.progress li.is-active > span { background: var(--primary); color: var(--white); box-shadow: 0 0 0 5px rgba(33, 150, 243, .15); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.checkout-main .dash-block + .dash-block { margin-top: 24px; }
.checkout-main h2 { font-size: 20px; margin-bottom: 18px; }
.won-car { display: flex; align-items: center; gap: 18px; }
.won-car img { width: 150px; height: 96px; object-fit: contain; background: #F3F5F9; border-radius: 12px; padding: 8px; flex-shrink: 0; }
.won-car strong { display: block; font-size: 20px; }
.won-car span { display: block; font-size: 14px; color: #777; margin: 4px 0 8px; }
.won-car .more-link { color: var(--primary); font-weight: 700; font-size: 14px; }
.pay-panel { display: none; }
.pay-panel.is-active { display: block; animation: panelIn .35s var(--ease); }
.bank-box { display: grid; gap: 12px; padding: 18px; border-radius: 12px; background: #F6F8FB; margin-bottom: 20px; }
.bank-box > div { display: flex; align-items: center; gap: 12px; font-size: 15px; flex-wrap: wrap; }
.bank-box span { color: #777; min-width: 110px; }
.bank-box strong { font-weight: 700; }
.copy-btn { width: 32px; height: 32px; border-radius: 8px; background: var(--white); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.copy-btn:hover { background: var(--primary); color: var(--white); }
.upload { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1.5px dashed var(--border); border-radius: 10px; color: #777; font-size: 14px; cursor: pointer; transition: border-color .3s, background .3s; }
.upload:hover { border-color: var(--primary); background: #F4F9FF; }
.upload i { font-size: 22px; color: var(--primary); }
.pay-note { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 18px; }
.summary { background: var(--white); border-radius: 16px; box-shadow: 0 0 30px rgba(0, 0, 0, .06); padding: 24px; margin-bottom: 22px; }
.summary h3 { font-size: 19px; margin-bottom: 14px; }
.summary li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: #555; }
.summary li strong { color: var(--text); font-size: 16px; }
.summary__total { border-bottom: 0 !important; padding-top: 14px !important; }
.summary__total span { color: var(--text); font-weight: 700; }
.summary__total strong { color: var(--primary) !important; font-size: 22px !important; }
.summary__deadline { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #FFF6E5; color: #8A5A00; font-size: 13px; display: flex; align-items: center; gap: 8px; }
@media (max-width: 1199px) { .brands-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px) { .checkout-grid { grid-template-columns: 1fr; } .brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .otp input { width: 54px; height: 58px; font-size: 22px; }
  .progress li { font-size: 13px; gap: 6px; }
  .progress li + li::before { width: 24px; margin: 0 6px; }
  .progress li > span { width: 28px; height: 28px; font-size: 12px; }
  .won-car { flex-direction: column; align-items: flex-start; }
  .won-car img { width: 100%; height: 140px; }
  .notfound__visual { height: 220px; }
  .notfound__car { width: 300px; }
  .notfound__code { font-size: 64px; }
  .notfound h1 { font-size: 24px; }
  .notfound__actions .btn { flex: 1; min-width: 0; padding-inline: 12px; }
  .bank-box span { min-width: 0; width: 100%; }
}

/* ---- account: notifications ---- */
.dash-nav__badge { margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.dash-nav a.is-active .dash-nav__badge { background: var(--white); color: var(--primary); }
.dash-nav__badge:empty, .dash-nav__badge.is-zero { display: none; }
.dash-head--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.notif-list { display: grid; }
.notif { display: flex; gap: 16px; padding: 18px 12px; border-bottom: 1px solid var(--line); border-radius: 12px; position: relative; transition: background .3s; }
.notif:last-child { border-bottom: 0; }
.notif:hover { background: #F8FAFD; }
.notif.is-unread { background: #F4F9FF; }
.notif.is-unread::before { content: ''; position: absolute; top: 24px; inset-inline-end: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(33, 150, 243, .15); }
.notif.is-hidden { display: none; }
.notif__ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; background: var(--primary-soft); color: var(--primary); }
.notif__ic--green { background: #E5F7EE; color: var(--green); }
.notif__ic--red { background: #FDECEC; color: var(--red); }
.notif__ic--amber { background: #FFF3DD; color: #C77A00; }
.notif__body { flex: 1; min-width: 0; padding-inline-end: 20px; }
.notif__body strong { display: block; font-size: 16px; margin-bottom: 4px; }
.notif__body p { font-size: 14px; color: #555; line-height: 1.7; }
.notif__body .money .riyal { width: 12px; height: 14px; }
.notif__meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 13px; color: #999; }
.notif__link { color: var(--primary); font-weight: 700; transition: color .3s; }
.notif__link:hover { color: var(--primary-deep); }
.notif-empty { text-align: center; color: #999; padding: 30px 0; }
@media (max-width: 767px) {
  .notif { gap: 12px; padding: 14px 8px; }
  .notif__ic { width: 40px; height: 40px; font-size: 16px; }
  .dash-head--row .btn { width: 100%; }
}

/* ---- package single ---- */
.pkg { padding-top: 50px; }
.pkg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.pkg-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.pkg-title { font-size: 34px; font-weight: 800; margin: 4px 0 8px; }
.pkg-lead { font-size: 17px; color: #444; line-height: 1.8; max-width: 640px; }
.pkg-h2 { font-size: 24px; margin: 0 0 18px; }
.pkg-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.pkg-includes li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid #EDEDED; border-radius: 12px; background: var(--white); font-size: 15px; }
.pkg-includes i { color: var(--primary); font-size: 18px; }
.pkg-includes li.is-off { color: #999; }
.pkg-includes li.is-off i { color: #C9C9C9; }
.compare { width: 100%; border-collapse: collapse; margin-bottom: 40px; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th { background: #F3F5F9; font-weight: 700; }
.compare th:first-child, .compare td:first-child { text-align: right; }
.compare .is-current { background: #F4F9FF; color: var(--primary); font-weight: 700; }
.compare .fa-check { color: var(--green); }
.compare .fa-minus { color: #C9C9C9; }
.pkg-card {
  position: sticky; top: 100px; border-radius: 18px; padding: 30px; color: var(--white);
  background: var(--primary-card); box-shadow: 0 20px 50px rgba(13, 71, 161, .3);
}
.pkg-card .package-tag { color: rgba(255, 255, 255, .8); }
.pkg-card .package-price .amount { font-size: 46px; }
.pkg-card .package-price .amount .riyal { width: 34px; height: 37px; }
.pkg-card .package-name { font-size: 26px; }
.pkg-card ul { margin: 18px 0 22px; display: grid; gap: 10px; font-size: 14px; color: var(--pkg-text); }
.pkg-card li { display: flex; align-items: center; gap: 10px; }
.pkg-card li i { color: var(--white); }
.pkg-card .btn { width: 100%; }
.pkg-card .btn + .btn { margin-top: 10px; }
.pkg-card__note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .7); text-align: center; }
.pkg-others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pkg-other { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 1px solid #EDEDED; border-radius: 14px; background: var(--white); transition: box-shadow .3s, transform .3s var(--ease); }
.pkg-other:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .06); transform: translateY(-3px); }
.pkg-other strong { display: block; font-size: 17px; }
.pkg-other span { font-size: 13px; color: #777; }
.pkg-other .money { color: var(--primary); font-weight: 700; font-size: 20px; }
@media (max-width: 991px) {
  .pkg-grid { grid-template-columns: minmax(0, 1fr); }
  .pkg-main { min-width: 0; }
  .pkg-card { position: static; }
  .pkg-includes { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .pkg-title { font-size: 26px; }
  .pkg-lead { font-size: 15px; }
  .pkg-others { grid-template-columns: 1fr; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 10px 8px; }
  .table-wrap .compare { min-width: 520px; }
}

/* ---- 2026-10-15: steps section — smaller titles, tighter cards, bigger car (≤ 907px natural width, no upscaling; 880px since 2nd pass) ---- */
.step { padding: 10px 18px 8px 24px; min-height: 80px; }
@media (min-width: 768px) { .step h3 { font-size: 15px; margin-bottom: 2px; } }
@media (min-width: 1281px) {
  .steps-car-wrap { width: 880px; left: -30px; top: -30px; }
  .steps-visual { min-height: 670px; }
}
@media (min-width: 1200px) and (max-width: 1280px) { .steps-car-wrap { width: 840px; top: 0; } .steps-visual { min-height: 690px; } }
@media (min-width: 1100px) and (max-width: 1199px) { .steps-car-wrap { width: 700px; } }
@media (min-width: 768px) and (max-width: 991px) { .steps-car-wrap { max-width: 640px; } }
/* 2026-10-15 (3rd pass): steps cards centred on the car; the car box = the visual box on desktop */
.step { padding: 12px 18px 10px 24px; }
[dir="ltr"] .step { padding: 12px 24px 10px 18px; }
@media (min-width: 992px) {
  .steps-wrap { align-items: center; }
  .steps-car-wrap { top: 0 !important; }
  .steps-visual { min-height: 0 !important; height: 535px; }
}
@media (min-width: 1100px) and (max-width: 1199px) { .steps-visual { height: 567px; } }
@media (min-width: 1200px) and (max-width: 1280px) { .steps-visual { height: 680px; } }
@media (min-width: 1281px) { .steps-visual { height: 713px; } }
