/* ==================================================
   FONT
================================================== */

@font-face {
  font-family: vazir;
  src: url("../fonts/Vazirmatn-VariableFont_wght.ttf");
}

/* ==================================================
   GLOBAL
================================================== */

* {
  box-sizing: border-box;
}

html {
  width: 100%;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;

  font-family: vazir, Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
}

/* ==================================================
   HEADER
================================================== */

.header {
  position: relative;
  z-index: 10;

  width: 100%;

  background: linear-gradient(
    0deg,
    rgba(222, 217, 217, 1) 0%,
    rgba(255, 255, 255, 1) 66%
  );

  box-shadow: rgba(0, 0, 0, 0.1) 0 20px 25px -5px,
    rgba(222, 217, 217, 1) 0 10px 10px -5px;
}

/* ==================================================
   NAVBAR
================================================== */

.navbar {
  position: relative;

  width: 100%;
  min-height: 120px;

  padding: 0 25px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(220px, 300px)
    110px
    110px;

  grid-template-areas: "desktop search about logo";

  align-items: center;

  gap: 20px;

  direction: ltr;
}

/* ==================================================
   DESKTOP LINKS
================================================== */

.desktop-links {
  grid-area: desktop;

  min-width: 0;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  gap: 10px;

  direction: ltr;

  overflow: hidden;
}

/* ==================================================
   NAV TEXT
================================================== */

.nav-text {
  flex-shrink: 0;

  color: #000;

  font-size: 16px;

  white-space: nowrap;

  padding: 7px 8px;

  border-radius: 10px;

  direction: rtl;

  transition: background-color 0.3s, transform 0.3s;
}

.nav-text:hover {
  background-color: #f1f1f1;

  transform: translateY(-2px);
}

/* ==================================================
   BRANDS
================================================== */

.brand-link {
  flex-shrink: 0;

  min-width: 0;

  display: flex;

  align-items: center;

  justify-content: center;
}

.brand-link img {
  width: 85px;

  max-width: 100%;

  height: auto;

  display: block;

  transition: transform 0.4s;
}

.brand-link img:hover {
  transform: scale(1.07);
}

/* ==================================================
   SEARCH
================================================== */

.navbar-search {
  grid-area: search;

  width: 100%;

  min-width: 0;

  display: flex;

  align-items: center;

  justify-content: center;
}

.search-box {
  width: 100%;

  height: 40px;

  display: flex;

  align-items: center;

  direction: rtl;

  background-color: #fff;

  border: 1px solid #d5d5d5;

  border-radius: 11px;

  overflow: hidden;

  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-box:focus-within {
  border-color: #000;

  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.search-box input {
  flex: 1;

  min-width: 0;

  width: 100%;
  height: 100%;

  padding: 0 10px;

  border: none;
  outline: none;

  background: transparent;

  font-family: vazir, Arial, sans-serif;

  font-size: 13px;
}

.search-box input::placeholder {
  color: #999;
}

.search-box button {
  flex-shrink: 0;

  width: 40px;
  height: 100%;

  padding: 0;

  border: none;

  background: transparent;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;
}

.search-box button:hover {
  background-color: #f1f1f1;
}

.search-box .material-symbols-outlined {
  font-size: 21px;
}

/* ==================================================
   ABOUT
================================================== */

.about-link {
  grid-area: about;

  justify-self: center;

  color: #000;

  font-size: 16px;

  white-space: nowrap;

  padding: 7px 8px;

  border-radius: 10px;

  direction: rtl;

  transition: background-color 0.3s, transform 0.3s;
}

.about-link:hover {
  background-color: #f1f1f1;

  transform: translateY(-2px);
}

/* ==================================================
   MAIN LOGO
================================================== */

.logo {
  grid-area: logo;

  justify-self: end;

  width: 100px;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;

  z-index: 20;
}

.logo a {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content: center;
}

.logo img {
  width: 90px;

  max-width: 100%;

  height: auto;

  display: block;
}

/* ==================================================
   HAMBURGER
   DESKTOP HIDDEN
================================================== */

.hamburger-container {
  display: none;
}

/* ==================================================
   MOBILE MENU
   DEFAULT HIDDEN
================================================== */

.mobile-menu {
  display: none;
}

/* ==================================================
   1200 - 1399
================================================== */

@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .navbar {
    min-height: 115px;

    padding: 0 20px;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(200px, 270px)
      95px
      95px;

    gap: 15px;
  }

  .desktop-links {
    gap: 8px;
  }

  .brand-link img {
    width: 82px;
  }

  .nav-text {
    font-size: 15px;

    padding: 6px 7px;
  }

  .about-link {
    font-size: 15px;
  }

  .logo {
    width: 90px;
  }

  .logo img {
    width: 82px;
  }
}

/* ==================================================
   992 - 1199
================================================== */

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .navbar {
    min-height: 105px;

    padding: 0 15px;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(175px, 220px)
      75px
      75px;

    gap: 8px;
  }

  .desktop-links {
    gap: 5px;
  }

  .brand-link img {
    width: 70px;
  }

  .nav-text {
    font-size: 12px;

    padding: 5px 4px;
  }

  .about-link {
    font-size: 12px;

    padding: 5px 4px;
  }

  .search-box {
    height: 36px;
  }

  .search-box input {
    font-size: 10px;
  }

  .search-box button {
    width: 34px;
  }

  .search-box .material-symbols-outlined {
    font-size: 19px;
  }

  .logo {
    width: 70px;
  }

  .logo img {
    width: 62px;
  }
}

/* ==================================================
   768 - 991
================================================== */

@media screen and (min-width: 768px) and (max-width: 991px) {
  .navbar {
    min-height: 92px;

    padding: 0 9px;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(145px, 175px)
      60px
      60px;

    gap: 5px;
  }

  .desktop-links {
    gap: 3px;
  }

  .brand-link img {
    width: 57px;
  }

  .nav-text {
    font-size: 9px;

    padding: 4px 2px;
  }

  .about-link {
    font-size: 9px;

    padding: 4px 2px;
  }

  .search-box {
    height: 32px;
  }

  .search-box input {
    font-size: 8px;

    padding: 0 5px;
  }

  .search-box button {
    width: 29px;
  }

  .search-box .material-symbols-outlined {
    font-size: 17px;
  }

  .logo {
    width: 58px;
  }

  .logo img {
    width: 52px;
  }
}

/* ==================================================
   MOBILE
   0 - 767
================================================== */

@media screen and (max-width: 767px) {
  .navbar {
    min-height: 70px;

    padding: 0 7px;

    grid-template-columns:
      40px
      minmax(0, 1fr)
      auto
      52px;

    grid-template-areas: "hamburger search about logo";

    gap: 5px;

    direction: ltr;
  }

  /* HAMBURGER */

  .hamburger-container {
    grid-area: hamburger;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;
  }

  .hamburger {
    width: 40px;
    height: 40px;

    padding: 0;

    border: none;
    outline: none;

    background: transparent;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;
  }

  .hamburger span {
    width: 24px;
    height: 3px;

    display: block;

    background-color: #000;

    border-radius: 5px;

    transition: transform 0.3s, opacity 0.3s;
  }

  /* DESKTOP LINKS HIDDEN */

  .desktop-links {
    display: none;
  }

  /* SEARCH */

  .navbar-search {
    grid-area: search;

    width: 100%;
    min-width: 0;
  }

  .search-box {
    width: 100%;
    height: 37px;

    border-radius: 9px;
  }

  .search-box input {
    min-width: 0;

    font-size: 9px;

    padding: 0 6px;
  }

  .search-box button {
    width: 33px;
  }

  .search-box .material-symbols-outlined {
    font-size: 18px;
  }

  /* ABOUT */

  .about-link {
    grid-area: about;

    justify-self: center;

    font-size: 9px;

    padding: 4px 3px;
  }

  /* LOGO */

  .logo {
    grid-area: logo;

    width: 52px;

    justify-self: end;
  }

  .logo img {
    width: 47px;
  }

  /* MOBILE MENU */

  .navbar.menu-open .mobile-menu {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    width: 100%;

    padding: 18px 12px;

    background-color: #fff;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 18px;

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);

    z-index: 100;
  }

  /* MOBILE BRANDS */

  .mobile-brands {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;
  }

  .mobile-brand-link {
    display: flex;

    align-items: center;

    justify-content: center;
  }

  .mobile-brand-link img {
    width: 70px;

    max-width: 100%;

    height: auto;

    display: block;
  }

  /* MOBILE MENU LINKS */

  .mobile-menu-links {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;
  }

  .mobile-menu-item {
    width: 80%;

    max-width: 260px;

    padding: 8px;

    text-align: center;

    color: #000;

    font-size: 12px;

    border-radius: 8px;
  }

  .mobile-menu-item:hover {
    background-color: #f1f1f1;
  }
}

/* ==================================================
   576 - 767
================================================== */

@media screen and (min-width: 576px) and (max-width: 767px) {
  .navbar {
    min-height: 74px;

    grid-template-columns:
      42px
      minmax(0, 1fr)
      auto
      57px;
  }

  .hamburger-container {
    width: 42px;
    height: 42px;
  }

  .hamburger {
    width: 42px;
    height: 42px;
  }

  .hamburger span {
    width: 25px;
  }

  .search-box {
    height: 39px;
  }

  .search-box input {
    font-size: 10px;
  }

  .about-link {
    font-size: 10px;
  }

  .logo {
    width: 57px;
  }

  .logo img {
    width: 52px;
  }
}

/* ==================================================
   400 - 575
================================================== */

@media screen and (min-width: 400px) and (max-width: 575px) {
  .navbar {
    min-height: 68px;

    padding: 0 6px;

    grid-template-columns:
      38px
      minmax(0, 1fr)
      auto
      50px;

    gap: 4px;
  }

  .hamburger-container {
    width: 38px;
    height: 38px;
  }

  .hamburger {
    width: 38px;
    height: 38px;
  }

  .hamburger span {
    width: 22px;
    height: 3px;
  }

  .search-box {
    height: 35px;
  }

  .search-box input {
    font-size: 8px;
  }

  .search-box button {
    width: 31px;
  }

  .search-box .material-symbols-outlined {
    font-size: 17px;
  }

  .about-link {
    font-size: 8px;
    padding: 3px 2px;
  }

  .logo {
    width: 50px;
  }

  .logo img {
    width: 44px;
  }
}

/* ==================================================
   UNDER 400
================================================== */

@media screen and (max-width: 399px) {
  .navbar {
    min-height: 62px;

    padding: 0 4px;

    grid-template-columns:
      34px
      minmax(0, 1fr)
      auto
      43px;

    gap: 3px;
  }

  .hamburger-container {
    width: 34px;
    height: 34px;
  }

  .hamburger {
    width: 34px;
    height: 34px;

    gap: 4px;
  }

  .hamburger span {
    width: 19px;
    height: 2.5px;
  }

  .search-box {
    height: 32px;

    border-radius: 8px;
  }

  .search-box input {
    font-size: 7px;

    padding: 0 4px;
  }

  .search-box button {
    width: 27px;
  }

  .search-box .material-symbols-outlined {
    font-size: 15px;
  }

  .about-link {
    font-size: 7px;

    padding: 3px 1px;
  }

  .logo {
    width: 43px;
  }

  .logo img {
    width: 38px;
  }
}

/* ==================================================
   HAMBURGER -> X
================================================== */

.navbar.menu-open .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.navbar.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==================================================
   HOME PAGE: REAL HTML / CSS, NO BACKGROUND IMAGE
================================================== */
.home-page {margin:0;padding:0;color:#10254b}
.home-main {width:100%;margin:0;padding:0;min-height:0;background:none}
.pg-about {position:relative;overflow:hidden;padding:65px clamp(16px,3vw,48px);background:linear-gradient(115deg,#c8e0f5 0%,#e8f2fb 44%,#fff0d8 100%)}
.pg-about::before {content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 15%,#fff9 0,transparent 35%),radial-gradient(circle at 90% 80%,#f8c18c66 0,transparent 35%)}
.pg-about-wrap {position:relative;max-width:1450px;margin:auto;display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.25fr);gap:clamp(20px,3vw,48px);align-items:center;direction:ltr}
.pg-about-card {direction:rtl;text-align:right;padding:clamp(24px,3.4vw,48px);border:1px solid #ffffffdd;border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 18px 60px #233a5b24;backdrop-filter:blur(8px)}
.pg-about-card h1 {font-size:clamp(27px,2.6vw,39px);line-height:1.4;color:#10254b;margin:0 0 24px;padding-bottom:11px;border-bottom:3px solid #ff263c;display:inline-flex;align-items:center;gap:12px}
.pg-heading-icon {font-size:40px;color:#fa263d;line-height:1}
.pg-about-card p {font-size:clamp(14px,1.15vw,17px);font-weight:650;line-height:2.15;margin:0 0 10px;color:#142c57}
.pg-benefits {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:28px;padding-top:22px;border-top:1px solid #e0e7ef}
.pg-benefit {display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:10px;padding:6px 10px;min-width:0}
.pg-benefit+.pg-benefit {border-right:1px solid #d4dce6}
.pg-benefit strong {font-size:clamp(12px,1vw,15px);line-height:1.8;color:#122952}
.pg-benefit-icon {font-family:Arial,sans-serif;font-size:32px;line-height:1.3}
.pg-benefit-icon.red{color:#f51e3a}.pg-benefit-icon.blue{color:#1265b9}.pg-benefit-icon.green{color:#00a369}.pg-benefit-icon.orange{color:#f08b15}
/* All decorative illustration shapes below are CSS, not a fixed bitmap. */
.pg-visual {height:390px;min-width:0;position:relative;overflow:hidden;border-radius:22px;background:linear-gradient(165deg,#8ab8e7 0%,#cce6f9 45%,#ffd6a5 88%);box-shadow:0 22px 45px #2b52702e}
.pg-visual-glow {position:absolute;width:230px;height:230px;border-radius:50%;background:#fff2c7;filter:blur(35px);left:-45px;top:25px;opacity:.85}
.pg-warehouse {position:absolute;left:5%;right:8%;height:42%;bottom:19%;background:linear-gradient(90deg,#dde4eb,#fff);clip-path:polygon(0 12%,65% 12%,65% 0,100% 0,100% 100%,0 100%);box-shadow:0 4px 8px #1113}
.pg-warehouse::before {content:"";position:absolute;inset:0 0 auto;height:22%;background:#d95342;clip-path:polygon(0 45%,65% 45%,65% 0,100% 0,100% 100%,0 100%)}
.pg-warehouse span {position:absolute;bottom:0;width:19%;height:55%;background:repeating-linear-gradient(90deg,#8795a6 0 2px,#bdc8d2 2px 15px);border:5px solid #a8b5c1}
.pg-warehouse span:nth-child(1){left:9%}.pg-warehouse span:nth-child(2){left:36%}.pg-warehouse span:nth-child(3){left:63%}
.pg-road {position:absolute;inset:auto 0 0;height:21%;background:linear-gradient(#677d8e,#394b59)}
.pg-road::after {content:"";position:absolute;top:52%;left:0;right:0;height:3px;background:repeating-linear-gradient(90deg,#fff9 0 50px,transparent 50px 85px)}
.pg-truck {position:absolute;left:9%;right:9%;bottom:13%;height:36%;filter:drop-shadow(3px 10px 7px #26394c66)}
.pg-truck-body {position:absolute;left:0;top:0;width:69%;height:73%;border-radius:5px;background:linear-gradient(150deg,#fff,#d7e0e9);border:2px solid #b1becb}
.pg-truck-cab {position:absolute;left:69%;top:23%;width:27%;height:50%;border-radius:10px 25px 5px 3px;background:linear-gradient(120deg,#f9fbff,#c5d3df);border:2px solid #aab9c6}
.pg-truck-window {position:absolute;top:9%;right:9%;width:56%;height:45%;background:#38566b;border-radius:4px 12px 2px 2px}
.pg-wheel {position:absolute;bottom:9%;width:10%;aspect-ratio:1;border:7px solid #202b36;border-radius:50%;background:#8c9aa6;box-shadow:inset 0 0 0 4px #e7e9ed}
.pg-wheel-one{left:14%}.pg-wheel-two{left:28%}.pg-wheel-three{left:77%}
.pg-visual-label {position:absolute;right:20px;top:20px;display:flex;flex-direction:column;gap:5px;text-align:right;direction:rtl;background:#ffffffd9;padding:12px 16px;border-radius:12px;color:#142d57}
.pg-visual-label span {font-size:12px}.pg-visual-label strong {font-size:15px}
.pg-footer {position:relative;background:linear-gradient(135deg,#0b1423 0%,#101f32 65%,#09111d 100%);color:#fff;padding:40px clamp(16px,4vw,55px);overflow:hidden}
.pg-footer::before {content:"";position:absolute;width:450px;height:450px;right:-210px;top:-250px;border:2px solid #e32c4733;border-radius:50%;pointer-events:none}
.pg-footer-inner {position:relative;max-width:1450px;margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));direction:rtl}
.pg-contact-card {text-align:center;padding:10px 20px;min-width:0}
.pg-contact-card+.pg-contact-card {border-right:1px solid #ffffff44}
.pg-contact-icon {display:block;font-size:31px;color:#ff3b51;line-height:1.5}
.pg-contact-card h2 {font-size:clamp(15px,1.2vw,18px);margin:7px 0 8px}
.pg-contact-card p {font-size:clamp(13px,1.15vw,16px);line-height:1.95;margin:0;overflow-wrap:anywhere}
.pg-contact-card a {display:block;color:inherit;text-decoration:none;width:max-content;max-width:100%;margin:auto}
.pg-contact-card a:hover {color:#ff9ca8}
@media(max-width:1100px) {.pg-about-wrap{grid-template-columns:1fr}.pg-visual{height:300px}.pg-about{padding:35px 20px}.pg-about-card{order:-1}}
@media(max-width:767px) {.pg-about{padding:24px 12px}.pg-about-wrap{gap:18px}.pg-about-card{padding:23px 16px;border-radius:16px}.pg-about-card h1{font-size:26px;margin-bottom:15px}.pg-about-card p{font-size:14px;line-height:2}.pg-benefits{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:15px}.pg-benefit:nth-child(3){border-right:0}.pg-benefit:nth-child(2){border-right:1px solid #d4dce6}.pg-benefit strong{font-size:12px}.pg-visual{height:250px}.pg-visual-label{top:10px;right:10px}.pg-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:26px}.pg-contact-card:nth-child(3){border-right:0}.pg-contact-card{padding:5px 10px}}
@media(max-width:440px) {.pg-footer-inner{grid-template-columns:1fr}.pg-contact-card+.pg-contact-card{border-right:0;border-top:1px solid #ffffff35;padding-top:18px}.pg-benefit-icon{font-size:27px}.pg-visual{height:210px}.pg-visual-label strong{font-size:12px}}

/* ==================================================
   ORDER STATUS NAV BUTTON + MODAL
   ================================================== */

.order-status-nav-button {
  border: none;
  background: transparent;
  font-family: vazir, Arial, Helvetica, sans-serif;
  cursor: pointer;
}

body.order-status-open {
  overflow: hidden;
}

.order-status-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-status-modal.is-open {
  display: flex;
}

.order-status-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(5px);
}

.order-status-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  direction: rtl;
  animation: orderStatusIn .22s ease-out;
}

@keyframes orderStatusIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.order-status-close {
  position: absolute;
  top: 13px;
  left: 15px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f1f1f1;
  color: #222;
  font-family: Arial, sans-serif;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.order-status-close:hover {
  background: #e2e2e2;
}

.customer-panel-heading {
  padding: 5px 38px 0;
  margin-bottom: 24px;
  text-align: center;
}

.customer-panel-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
}

.customer-panel-heading h2 {
  margin: 13px 0 8px;
  font-size: 27px;
}

.customer-panel-heading p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.9;
}

.tracking-form {
  display: grid;
  gap: 9px;
}

.tracking-form label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
}

.tracking-form input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #d6d6d6;
  border-radius: 11px;
  outline: none;
  background: #fff;
  font-family: vazir, Arial, sans-serif;
  direction: rtl;
}

.tracking-form input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .07);
}

.tracking-form button {
  height: 48px;
  margin-top: 10px;
  border: 0;
  border-radius: 11px;
  background: #111;
  color: #fff;
  font-family: vazir, Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.tracking-form button:disabled {
  opacity: .55;
  cursor: wait;
}

.tracking-message {
  min-height: 22px;
  margin: 3px 0 0;
  text-align: center;
  color: #b42318;
  font-size: 13px;
}

.tracking-result {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e8e8e8;
}

.tracking-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.tracking-result-top div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tracking-result-top span {
  color: #777;
  font-size: 12px;
}

.order-status-badge {
  padding: 7px 12px;
  border-radius: 999px;
  background: #ededed;
  color: #222 !important;
  white-space: nowrap;
  font-size: 12px !important;
  font-weight: 700;
}

.order-progress {
  margin: 30px 0 25px;
  display: flex;
  align-items: flex-start;
  direction: rtl;
}

.progress-step {
  width: 78px;
  flex-shrink: 0;
  text-align: center;
}

.progress-step span {
  width: 31px;
  height: 31px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e3e3e3;
  color: #777;
  font-size: 12px;
  font-weight: 700;
}

.progress-step p {
  margin: 7px 0 0;
  color: #888;
  font-size: 10px;
  line-height: 1.5;
}

.progress-step.active span,
.progress-step.done span {
  background: #111;
  color: #fff;
}

.progress-step.active p,
.progress-step.done p {
  color: #111;
  font-weight: 700;
}

.progress-line {
  height: 3px;
  margin-top: 14px;
  flex: 1;
  min-width: 15px;
  background: #e3e3e3;
  border-radius: 999px;
}

.progress-line.done {
  background: #111;
}

.tracking-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tracking-details > div {
  padding: 13px;
  border-radius: 11px;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tracking-details span {
  color: #777;
  font-size: 11px;
}

.tracking-details strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 767px) {
  /* دکمه وضعیت سفارش در خود Navbar می‌ماند و وارد منوی همبرگری نمی‌شود. */
  .desktop-links {
    display: flex;
    grid-area: about;
    overflow: visible;
  }

  .desktop-links > *:not(.order-status-nav-button) {
    display: none;
  }

  .order-status-nav-button {
    display: block;
    font-size: 9px;
    padding: 4px 3px;
  }

  .order-status-dialog {
    width: min(94vw, 620px);
    max-height: 88vh;
    padding: 25px 17px;
    border-radius: 17px;
  }

  .customer-panel-heading {
    padding: 5px 25px 0;
  }

  .customer-panel-heading h2 {
    font-size: 22px;
  }

  .tracking-result-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-progress {
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .progress-step {
    width: 64px;
  }

  .tracking-details {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 399px) {
  .order-status-nav-button {
    font-size: 7px;
    padding: 3px 1px;
  }
}
