@charset "UTF-8";
@font-face {
  font-family: "Belleza";
  src: url("../fonts/Belleza-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sanaa Persian";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sanaa Persian";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Sanaa Persian";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background-color: #F3EFE8;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background-color: #A61579;
  color: #ffffff;
}

input,
textarea,
button {
  -webkit-tap-highlight-color: transparent;
}

body {
  direction: rtl;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
}

.ltr {
  direction: ltr;
}

.brand-font {
  font-family: "Belleza", Arial, sans-serif;
}

.persian-font {
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
}

.form-group {
  margin-bottom: 32px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #8A8178;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 0 24px;
  background-color: rgba(255, 255, 255, 0.5);
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.65rem;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.form-input {
  height: 54px;
}

.form-textarea {
  border-radius: 8px;
  min-height: 90px;
  padding-top: 8px;
  padding-bottom: 8px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #8A8178;
  font-weight: 300;
  opacity: 0.7;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(166, 21, 121, 0.3);
  background-color: #fff;
  box-shadow: 0 4px 16px -6px rgba(166, 21, 121, 0.18);
}

.icon-field {
  position: relative;
}

.icon-field .form-input {
  padding-right: 42px;
}

.icon-field__icon {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: #8A8178;
  pointer-events: none;
}

.icon-field__icon svg {
  width: 100%;
  height: 100%;
}

.password-field {
  position: relative;
}

.password-field .form-input {
  padding-right: 42px;
  padding-left: 24px;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  color: #8A8178;
  transition: color 180ms ease;
}

.password-toggle:hover {
  color: #A61579;
}

.password-toggle svg {
  width: 100%;
  height: 100%;
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: #C62828;
}

.form-error {
  display: block;
  margin-top: 4px;
  color: #C62828;
  font-size: 0.7rem;
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background-color: #A61579;
  color: #fff;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(166, 21, 121, 0.4);
}

.auth-card {
  width: 100%;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 48px -12px rgba(90, 60, 50, 0.18);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid #DCD4C8;
}

.auth-tab {
  position: relative;
  height: 52px;
  border: 0;
  background: transparent;
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.auth-tab::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -1px;
  width: 0;
  height: 1px;
  background-color: #A61579;
  transform: translateX(50%);
  transition: width 300ms ease;
}

.auth-tab.is-active {
  color: #191715;
}

.auth-tab.is-active::after {
  width: 40%;
}

.auth-content {
  padding: 48px 32px;
}

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: block;
  animation: formFadeIn 300ms ease;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.auth-submit {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border: 1.5px solid #A61579;
  border-radius: 999px;
  background-color: #A61579;
  color: #fff;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 400ms ease;
}

.auth-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #A61579;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 450ms cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
}

.auth-submit:hover::before,
.auth-submit:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  color: #fff;
}

.auth-submit__label,
.auth-submit__arrow {
  position: relative;
  z-index: 1;
}

.auth-submit__arrow {
  width: 18px;
  height: 18px;
  color: #B9C3B9;
  transform: translateX(6px);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), color 400ms ease;
}

.auth-submit:hover .auth-submit__arrow,
.auth-submit:focus-visible .auth-submit__arrow {
  color: #fff;
  transform: translateX(0);
}

.auth-submit:active {
  transform: scale(0.98);
}

.auth-secondary {
  width: 100%;
  margin-top: 16px;
  border: 0;
  background-color: transparent;
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.auth-secondary:hover {
  color: #A61579;
}

.auth-footer {
  margin-top: 32px;
  text-align: center;
  color: #8A8178;
  font-size: 0.68rem;
  line-height: 1.9;
}

.auth-footer a {
  color: #A61579;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-error {
  margin-bottom: 16px;
  color: #A61579;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.8;
  text-align: right;
}

@media (min-width: 768px) {
  .auth-content {
    padding: 64px 48px;
  }
}
.order-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.order-card {
  width: 100%;
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  padding: 16px;
  background-color: #FFFFFF;
  color: inherit;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  text-align: right;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.order-card:hover,
.order-card:focus-visible {
  border-color: #A61579;
  box-shadow: 0 8px 20px -14px rgba(30, 20, 15, 0.35);
}

.order-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.order-card__number {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
}

.order-card__date {
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.72rem;
}

.order-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-card__total {
  color: #A61579;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
}

.order-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: currentColor;
}

.order-status--registered {
  background-color: rgba(201, 161, 90, 0.16);
  color: #7A5A13;
}

.order-status--shipped {
  background-color: rgba(166, 21, 121, 0.1);
  color: #A61579;
}

.order-status--delivered {
  background-color: rgba(46, 125, 50, 0.12);
  color: #1F5E23;
}

.order-empty {
  padding: 48px 16px;
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  text-align: center;
}

.customer-invoice {
  display: flex;
  flex-direction: column;
}

.customer-invoice__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #191715;
}

.customer-invoice__logo {
  color: #A61579;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.customer-invoice__logo-sub {
  color: #8A8178;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.3em;
}

.customer-invoice__badge {
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background-color: rgba(166, 21, 121, 0.1);
  color: #A61579;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
}

.customer-invoice__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 0 0 24px;
  padding: 16px;
  border-radius: 4px;
  background-color: #FFFFFF;
}

.customer-invoice__meta-row dt {
  margin-bottom: 2px;
  color: #8A8178;
  font-size: 0.7rem;
}

.customer-invoice__meta-row dd {
  margin: 0;
  color: #191715;
  font-size: 0.8rem;
  font-weight: 600;
}

.customer-invoice__table-wrap {
  width: 100%;
  margin-bottom: 24px;
  overflow-x: auto;
}

.customer-invoice__table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}

.customer-invoice__table th {
  padding: 8px;
  border-bottom: 1.5px solid #191715;
  color: #8A8178;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: right;
}

.customer-invoice__table td {
  padding: 8px;
  border-bottom: 1px solid #DCD4C8;
  font-size: 0.78rem;
  vertical-align: middle;
}

.customer-invoice__table td[data-num] {
  text-align: center;
  white-space: nowrap;
}

.customer-invoice__product {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-invoice__product-img {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  background-color: #FFFFFF;
}

.customer-invoice__product-img--placeholder {
  background-color: #FFFFFF;
}

.customer-invoice__product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.customer-invoice__product-name {
  color: #191715;
  font-size: 0.8rem;
  font-weight: 500;
}

.customer-invoice__product-desc {
  color: #8A8178;
  font-size: 0.68rem;
  line-height: 1.5;
}

.customer-invoice__summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 280px;
  margin-right: auto;
}

.customer-invoice__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8A8178;
  font-size: 0.8rem;
}

.customer-invoice__summary-row span:last-child {
  color: #191715;
}

.customer-invoice__summary-row--total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1.5px solid #191715;
  font-size: 0.95rem;
  font-weight: 700;
  color: #191715;
}

.customer-invoice__summary-row--total span:last-child {
  color: #A61579;
}

.customer-invoice__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #DCD4C8;
}

.customer-invoice__footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #8A8178;
  font-size: 0.66rem;
}

.customer-invoice__footer-thanks {
  margin: 0;
  color: #A61579;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 20, 15, 0.45);
  animation: modalBackdropIn 220ms ease;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 12px 12px 0 0;
  padding: 32px 24px 48px;
  background-color: #FFFFFF;
  box-shadow: 0 24px 48px -24px rgba(25, 23, 21, 0.28), 0 2px 8px rgba(25, 23, 21, 0.08);
  animation: modalPanelInMobile 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal__close {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background-color: #FFFFFF;
  color: #8A8178;
  transition: color 180ms ease;
}

.modal__close svg {
  width: 16px;
  height: 16px;
}

.modal__close:hover {
  color: #A61579;
}

.modal__title {
  margin-bottom: 16px;
  padding-left: 32px;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

@keyframes modalBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalPanelInMobile {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .modal {
    align-items: center;
    padding: 24px;
  }
  .modal__panel {
    max-width: 440px;
    border-radius: 12px;
    animation-name: modalPanelInDesktop;
  }
  @keyframes modalPanelInDesktop {
    from {
      transform: scale(0.96);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
}
.forgot-step.is-active {
  animation: formFadeIn 300ms ease;
}

.forgot-step__hint {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #8A8178;
  font-size: 0.72rem;
  line-height: 1.8;
}

.forgot-step__hint:empty {
  display: none;
}

.otp-input {
  text-align: center;
  font-size: 1.15rem;
  letter-spacing: 0.6em;
}

.otp-input::placeholder {
  letter-spacing: 0.6em;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url("../img/pattern.PNG");
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash__texture {
  position: absolute;
  inset: 0;
  background-image: url("../img/sanaa-texture.jpg");
  background-position: center;
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.06;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.splash__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px;
  text-align: center;
}

.splash__brand {
  color: #A61579;
  font-family: "Belleza", Arial, sans-serif;
  font-size: clamp(3.2rem, 16vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 0.9;
  opacity: 0;
  transform: scale(0.96);
  animation: splashBrandEnter 900ms cubic-bezier(0.16, 1, 0.3, 1) 200ms forwards;
}

.splash__tagline {
  margin-top: 16px;
  color: #8A8178;
  font-family: "Belleza", Arial, sans-serif;
  font-size: clamp(0.62rem, 2.6vw, 0.8rem);
  letter-spacing: 0.32em;
  line-height: 1.4;
  opacity: 0;
  animation: splashTaglineEnter 700ms ease 650ms forwards;
}

.splash__line {
  display: block;
  width: 32px;
  height: 1px;
  margin: 16px auto 0;
  background-color: #A61579;
  transform: scaleX(0);
  animation: splashLineEnter 600ms cubic-bezier(0.16, 1, 0.3, 1) 950ms forwards;
}

@keyframes splashBrandEnter {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes splashTaglineEnter {
  to {
    opacity: 1;
  }
}
@keyframes splashLineEnter {
  to {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .splash__brand,
  .splash__tagline,
  .splash__line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 768px) {
  .splash__brand {
    font-size: clamp(5rem, 10vw, 7.5rem);
  }
  .splash__tagline {
    margin-top: 24px;
    font-size: 0.85rem;
    letter-spacing: 0.36em;
  }
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-image: url("../img/pattern.PNG");
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.hero[hidden] {
  display: none;
}

.hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__scroll {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 8px;
  animation: heroScroll 26s linear infinite;
}

@keyframes heroScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__gallery {
    animation-play-state: paused;
  }
}
.hero__item {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.hero__item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.hero__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(25, 23, 21, 0.55) 0%, rgba(25, 23, 21, 0) 55%);
  pointer-events: none;
}

.hero__bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__bar-logo {
  color: #A61579;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero__bar-cta {
  height: 40px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background-color: #FFFFFF;
  color: #A61579;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background-color 180ms ease;
}

.hero__bar-cta:hover,
.hero__bar-cta:focus-visible {
  background-color: #A61579;
  color: #F3EFE8;
}

@media (min-width: 768px) {
  .hero__scroll {
    display: flex;
    justify-content: center;
  }
  .hero__gallery {
    max-width: 640px;
    padding: 16px;
    animation-duration: 20s;
  }
}
@media (min-width: 992px) {
  .hero__gallery {
    max-width: 820px;
    animation-duration: 20s;
  }
  .hero__bar {
    height: 76px;
    padding: 0 48px;
  }
  .hero__bar-logo {
    font-size: 1.6rem;
  }
  .hero__bar-cta {
    height: 46px;
    padding: 0 32px;
    font-size: 0.85rem;
  }
}
@media (min-width: 1200px) {
  .hero__gallery {
    max-width: 980px;
    animation-duration: 26s;
  }
}
.auth-page {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms ease;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-image: url("../img/pattern.PNG");
}

.auth-page__container {
  width: 100%;
  max-width: 400px;
}

.auth-page__brand {
  margin-bottom: 40px;
  text-align: center;
}

.auth-page__brand-name {
  color: #A61579;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
}

.auth-page__brand-subtitle {
  margin-top: 8px;
  color: #8A8178;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
}

.auth-page.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.auth-page[hidden] {
  display: none;
}

@media (min-width: 992px) {
  .auth-page {
    padding: 64px;
  }
  .auth-page__brand-name {
    font-size: 2.9rem;
  }
}
.customer-page {
  min-height: 100vh;
  padding: 0;
  background-image: url("../img/pattern.PNG");
  display: flex;
  flex-direction: column;
}

.customer-page[hidden] {
  display: none;
}

.customer-page__container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  flex: 1;
}

.customer-header {
  width: 100%;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 5;
}

.customer-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.customer-header__brand {
  margin: 0;
  color: #A61579;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.customer-header__logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(166, 21, 121, 0.7);
  border-radius: 999px;
  background-color: transparent;
  color: #A61579;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.customer-header__logout svg {
  width: 16px;
  height: 16px;
}

.customer-header__logout:hover {
  color: #191715;
  background-color: #A61579;
  border-color: #A61579;
}

.customer-panel {
  display: none;
}

.customer-panel.is-active {
  display: block;
  animation: formFadeIn 300ms ease;
}

.panel-divider {
  height: 1px;
  margin: 48px 0 32px;
  background-color: #DCD4C8;
}

.panel-subtitle {
  margin-bottom: 24px;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.panel-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.panel-section-header__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.panel-section-header__title svg {
  width: 20px;
  height: 20px;
  color: #A61579;
}

.panel-section-header__subtitle {
  margin-top: 6px;
  color: #8A8178;
  font-size: 0.78rem;
}

.customer-footer {
  width: 100%;
  min-height: 72px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 5;
}

.customer-footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.customer-footer__social {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A61579;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.customer-footer__social svg {
  width: 18px;
  height: 18px;
}

.customer-footer__social:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.customer-footer__signature {
  color: #A61579;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 0.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .customer-page__container {
    max-width: 560px;
    padding: 64px 24px;
  }
  .customer-header {
    height: 56px;
  }
  .customer-header__inner {
    padding: 0 24px;
  }
  .customer-header__brand {
    font-size: 1.5rem;
  }
  .customer-footer {
    min-height: 76px;
  }
}
scss .admin-layout-f {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: #F3EFE8;
}
scss .admin-layout-f[hidden] {
  display: none;
}

.admin-topbar-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  height: 56px;
  padding: 0 16px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #DCD4C8;
}

.admin-topbar-f__brand {
  color: #A61579;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.admin-topbar-f__brand span {
  margin-right: 4px;
  color: #8A8178;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.24em;
}

.admin-topbar-f__logout {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 7px 10px;
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  background-color: transparent;
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.admin-topbar-f__logout svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.admin-topbar-f__logout:hover {
  color: #A61579;
  background-color: rgba(166, 21, 121, 0.05);
  border-color: rgba(166, 21, 121, 0.2);
}

.admin-navigation-f {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #DCD4C8;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.admin-navigation-f::-webkit-scrollbar {
  display: none;
}

.admin-navigation-f__item {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease;
}

.admin-navigation-f__item svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.admin-navigation-f__item:hover {
  color: #191715;
  border-bottom-color: #DCD4C8;
}

.admin-navigation-f__item--active {
  color: #A61579;
  border-bottom-color: #A61579;
  font-weight: 600;
}

.admin-content-f {
  flex: 1;
  min-width: 0;
}

.admin-placeholder-f {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50vh;
  padding: 32px;
  text-align: center;
}

.admin-placeholder-f__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background-color: rgba(166, 21, 121, 0.08);
  color: #A61579;
}

.admin-placeholder-f__icon svg {
  width: 24px;
  height: 24px;
}

.admin-placeholder-f__title {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-placeholder-f__text {
  max-width: 280px;
  color: #8A8178;
  font-size: 0.78rem;
}

.admin-welcome-f {
  position: relative;
  width: calc(100% - 48px);
  max-width: 920px;
  min-height: 420px;
  margin: 36px auto;
  padding: 56px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #E3DCD2;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(30, 27, 25, 0.06);
  overflow: hidden;
  animation: adminWelcomeAppear 700ms ease-out both;
}

.admin-welcome-f::before,
.admin-welcome-f::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(166, 21, 121, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.admin-welcome-f::before {
  top: -145px;
  right: -70px;
}

.admin-welcome-f::after {
  bottom: -160px;
  left: -80px;
  border-color: rgba(185, 195, 185, 0.22);
}

.admin-welcome-f__icon {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: #A61579;
  background: rgba(166, 21, 121, 0.05);
  border: 2px solid rgba(166, 21, 121, 0.18);
  border-radius: 50%;
  animation: adminWelcomeIconFloat 3.5s ease-in-out infinite;
}

.admin-welcome-f__icon svg {
  width: 52px;
  height: 52px;
  animation: adminWelcomeIconSparkle 2.8s ease-in-out infinite;
}

.admin-welcome-f__text {
  position: relative;
  z-index: 1;
}

.admin-welcome-f__eyebrow {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  color: #8A8178;
  font-family: Belleza, sans-serif;
  font-size: 16px;
  letter-spacing: 5px;
  direction: ltr;
}

.admin-welcome-f__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #A61579;
  font-family: "Vazirmatn", sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.3;
  animation: adminWelcomeTitle 700ms ease both;
}

.admin-welcome-f__description {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  color: #8A8178;
  font-family: "Vazirmatn", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
  animation: adminWelcomeDescription 900ms ease both;
}

@keyframes adminWelcomeAppear {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes adminWelcomeIconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes adminWelcomeIconSparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.08) rotate(5deg);
  }
}
@keyframes adminWelcomeTitle {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes adminWelcomeDescription {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 992px) {
  .admin-topbar-f,
  .admin-navigation-f {
    padding-left: 24px;
    padding-right: 24px;
  }
  .admin-navigation-f {
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .admin-content-f {
    min-height: calc(100vh - 120px);
    padding: 24px 16px 32px;
  }
  .admin-welcome-f {
    width: calc(100% - 0px);
    min-height: 360px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 12px;
  }
  .admin-welcome-f__icon {
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
  }
  .admin-welcome-f__icon svg {
    width: 43px;
    height: 43px;
  }
  .admin-welcome-f__eyebrow {
    font-size: 13px;
    letter-spacing: 4px;
  }
  .admin-welcome-f__title {
    font-size: 40px;
  }
  .admin-welcome-f__description {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.9;
  }
}
@media (max-width: 480px) {
  .admin-content-f {
    padding: 18px 12px 24px;
  }
  .admin-welcome-f {
    min-height: 330px;
    padding: 32px 16px;
  }
  .admin-welcome-f__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
  }
  .admin-welcome-f__icon svg {
    width: 38px;
    height: 38px;
  }
  .admin-welcome-f__eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
  }
  .admin-welcome-f__title {
    font-size: 34px;
  }
  .admin-welcome-f__description {
    font-size: 14px;
  }
}
.admin-select-f {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 24px 8px 16px;
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396908A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 8px center;
  background-size: 16px;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 180ms ease;
}

.admin-select-f:focus {
  outline: none;
  border-color: #A61579;
}

.admin-search-f {
  position: relative;
  flex: 1;
  min-width: 0;
}

.admin-search-f svg {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 16px;
  height: 16px;
  color: #8A8178;
  transform: translateY(-50%);
  pointer-events: none;
}

.admin-search-f__input {
  width: 100%;
  padding: 8px 48px 8px 16px;
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  transition: border-color 180ms ease;
}

.admin-search-f__input::placeholder {
  color: #8A8178;
}

.admin-search-f__input:focus {
  outline: none;
  border-color: #A61579;
}

.admin-btn-f {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: #A61579;
  color: #FFFFFF;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease;
}

.admin-btn-f:active {
  transform: scale(0.98);
}

.admin-btn-f svg {
  width: 16px;
  height: 16px;
}

.admin-btn-f:hover {
  opacity: 0.9;
}

.admin-icon-btn-f {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #E3DCD2;
  color: #8A8178;
  transition: color 180ms ease, border-color 180ms ease;
}

.admin-icon-btn-f svg {
  width: 15px;
  height: 15px;
}

.admin-icon-btn-f:hover {
  color: #A61579;
  border-color: #A61579;
}

.admin-icon-btn-f[aria-busy=true] {
  opacity: 0.5;
  pointer-events: none;
}

.admin-icon-btn-f.admin-icon-btn-f--download-f {
  color: #A61579;
  border-color: rgba(166, 21, 121, 0.3);
  background-color: rgba(166, 21, 121, 0.06);
}

.admin-btn-f--secondary-f {
  background-color: #FFFFFF;
  color: #191715;
  border: 1px solid #E3DCD2;
}

.admin-btn-f--secondary-f:hover {
  opacity: 1;
  border-color: #A61579;
  color: #A61579;
}

.admin-btn-f:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-badge-f {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}

.admin-badge-f::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: currentColor;
}

.admin-badge-f--neutral-f {
  background-color: #FFFFFF;
  color: #8A8178;
}

.admin-badge-f--info-f {
  background-color: rgba(166, 21, 121, 0.08);
  color: #A61579;
}

.admin-badge-f--primary-f {
  background-color: rgba(166, 21, 121, 0.14);
  color: #A61579;
}

.admin-badge-f--warning-f {
  background-color: rgba(166, 129, 47, 0.14);
  color: #A6812F;
}

.admin-badge-f--success-f {
  background-color: rgba(46, 125, 50, 0.12);
  color: #2E7D32;
}

.admin-badge-f--danger-f {
  background-color: rgba(198, 40, 40, 0.1);
  color: #C62828;
}

.admin-menu-f {
  position: relative;
  display: inline-flex;
}

.admin-menu-f__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  min-width: 168px;
  padding: 6px;
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: 0 24px 48px -24px rgba(25, 23, 21, 0.28), 0 2px 8px rgba(25, 23, 21, 0.08);
}

.admin-menu-f__panel[hidden] {
  display: none;
}

.admin-menu-f__item {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 8px;
  border-radius: 8px;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.78rem;
  text-align: right;
  white-space: nowrap;
  transition: background-color 180ms ease;
}

.admin-menu-f__item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.admin-menu-f__item:hover {
  background-color: #FFFFFF;
}

.admin-menu-f__item--danger-f {
  color: #C62828;
}

.admin-toast-region-f {
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 360px;
  transform: translateX(-50%);
  pointer-events: none;
}

.admin-toast-f {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: #191715;
  color: #FFFFFF;
  box-shadow: 0 24px 48px -24px rgba(25, 23, 21, 0.28), 0 2px 8px rgba(25, 23, 21, 0.08);
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  animation: admin-toast-in-f 300ms ease ease;
}

.admin-toast-f svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.admin-toast-f--success-f {
  background-color: #2E7D32;
}

.admin-toast-f--error-f {
  background-color: #C62828;
}

@keyframes admin-toast-in-f {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 768px) {
  .modal__panel--wide-f {
    max-width: 640px;
  }
}
.admin-orders-f__new-order-field {
  margin-bottom: 16px;
}

.admin-orders-f__new-order-label {
  display: block;
  margin-bottom: 4px;
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

.admin-orders-f__new-order-input {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  transition: border-color 180ms ease;
}

.admin-orders-f__new-order-input::placeholder {
  color: #8A8178;
  font-size: 0.78rem;
}

.admin-orders-f__new-order-input:focus {
  outline: none;
  border-color: #A61579;
}

.admin-orders-f__new-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-select-f--block-f {
  width: 100%;
  background-position: left 8px center;
}

.admin-order-items-f__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-order-items-f__add-btn {
  min-height: 34px;
  padding: 6px 16px;
  font-size: 0.75rem;
}

.admin-order-items-f {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-order-items-f__hint {
  margin: -8px 0 16px;
  color: #C62828;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.78rem;
}

.admin-order-item-f {
  position: relative;
  padding: 16px;
  border: 1px solid #E3DCD2;
  border-radius: 12px;
  background-color: #FFFFFF;
}

.admin-order-item-f__remove {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #C62828;
  border: 1px solid #E3DCD2;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.admin-order-item-f__remove svg {
  width: 15px;
  height: 15px;
}

.admin-order-item-f__remove:hover {
  background-color: rgba(198, 40, 40, 0.08);
  border-color: rgba(198, 40, 40, 0.35);
}

.admin-order-item-f__row {
  display: flex;
  gap: 16px;
}

.admin-order-item-f__upload {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 84px;
  height: 84px;
  border: 1.5px dashed #E3DCD2;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #8A8178;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease;
}

.admin-order-item-f__upload:hover {
  border-color: #A61579;
}

.admin-order-item-f__upload-icon {
  width: 22px;
  height: 22px;
}

.admin-order-item-f__upload-label {
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.62rem;
  line-height: 1.3;
}

.admin-order-item-f__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-order-item-f__preview[hidden] {
  display: none;
}

.admin-order-item-f__upload:has(.admin-order-item-f__preview:not([hidden])) .admin-order-item-f__upload-icon,
.admin-order-item-f__upload:has(.admin-order-item-f__preview:not([hidden])) .admin-order-item-f__upload-label {
  display: none;
}

.admin-order-item-f__fields {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-order-item-f__price-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
}

.admin-order-item-f__cost {
  border-style: dashed;
}

.admin-order-item-f__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-order-item-f__qty-label {
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

.admin-qty-stepper-f {
  display: flex;
  align-items: stretch;
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  overflow: hidden;
}

.admin-qty-stepper-f__btn {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  background-color: #FFFFFF;
  color: #191715;
  font-size: 1.1rem;
  line-height: 1;
  transition: background-color 180ms ease;
}

.admin-qty-stepper-f__btn:hover {
  background-color: #FFFFFF;
  color: #A61579;
}

.admin-qty-stepper-f__input {
  width: 42px;
  border: 0;
  border-inline: 1px solid #E3DCD2;
  background-color: #FFFFFF;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  text-align: center;
  -moz-appearance: textfield;
}

.admin-qty-stepper-f__input::-webkit-outer-spin-button,
.admin-qty-stepper-f__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (min-width: 576px) {
  .admin-order-item-f__price-row {
    grid-template-columns: 1fr 110px;
  }
}
.admin-invoice-modal-f .modal__panel {
  padding-top: 48px;
}

.admin-invoice-f {
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  color: #191715;
}

.admin-invoice-f__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #191715;
}

.admin-invoice-f__logo {
  color: #A61579;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.16em;
}

.admin-invoice-f__logo-sub {
  color: #8A8178;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3em;
}

.admin-invoice-f__kind {
  margin-top: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: #FFFFFF;
  color: #8A8178;
  font-size: 0.7rem;
  font-weight: 600;
}

.admin-invoice-f__kind--admin-f {
  background-color: rgba(166, 21, 121, 0.12);
  color: #A61579;
}

.admin-invoice-f__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 8px;
  background-color: #FFFFFF;
  font-size: 0.78rem;
}

.admin-invoice-f__meta-row dt {
  color: #8A8178;
  margin-bottom: 2px;
}

.admin-invoice-f__meta-row dd {
  font-weight: 600;
}

.admin-invoice-f__table-wrap {
  width: 100%;
  margin-bottom: 24px;
  overflow-x: auto;
}

.admin-invoice-f__table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
}

.admin-invoice-f__table th {
  padding: 8px;
  border-bottom: 1.5px solid #191715;
  color: #8A8178;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: right;
}

.admin-invoice-f__table td {
  padding: 8px;
  border-bottom: 1px solid #DCD4C8;
  font-size: 0.8rem;
  vertical-align: middle;
}

.admin-invoice-f__item-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-invoice-f__item-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
  background-color: #FFFFFF;
}

.admin-invoice-f__item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.admin-invoice-f__item-desc {
  color: #8A8178;
  font-size: 0.68rem;
  line-height: 1.5;
}

.admin-invoice-f__table td[data-num] {
  font-family: "Belleza", Arial, sans-serif;
  white-space: nowrap;
  text-align: center;
}

.admin-invoice-f__summary {
  margin-right: auto;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-invoice-f__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8A8178;
}

.admin-invoice-f__summary-row span:last-child {
  font-family: "Belleza", Arial, sans-serif;
  color: #191715;
}

.admin-invoice-f__summary-row--total-f {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1.5px solid #191715;
  font-size: 1rem;
  font-weight: 700;
  color: #191715;
}

.admin-invoice-f__summary-row--total-f span:last-child {
  color: #A61579;
}

.admin-invoice-f__profit-f {
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  border: 1.5px dashed #A61579;
  background-color: rgba(166, 21, 121, 0.05);
}

.admin-invoice-f__profit-f-title {
  margin-bottom: 8px;
  color: #A61579;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-invoice-f__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #DCD4C8;
}

.admin-invoice-f__footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #8A8178;
  font-size: 0.68rem;
}

.admin-invoice-f__footer-thanks {
  margin: 0;
  color: #A61579;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-invoice-f__actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.admin-invoice-f__actions .admin-btn-f {
  flex: 1;
  min-width: 140px;
}

textarea.admin-order-item-f__description {
  resize: vertical;
  min-height: 56px;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
}

.admin-searchable-select-f {
  position: relative;
}

.admin-searchable-select-f__native {
  display: none;
}

.admin-searchable-select-f__list {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: 0 24px 48px -24px rgba(25, 23, 21, 0.28), 0 2px 8px rgba(25, 23, 21, 0.08);
}

.admin-searchable-select-f__list[hidden] {
  display: none;
}

.admin-searchable-select-f__item {
  padding: 8px;
  border-radius: 4px;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.admin-searchable-select-f__item:hover,
.admin-searchable-select-f__item.is-active-f {
  background-color: #FFFFFF;
}

.admin-searchable-select-f__empty {
  padding: 8px;
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  text-align: center;
}

@media print {
  body * {
    visibility: hidden;
  }
  .admin-invoice-f,
  .admin-invoice-f * {
    visibility: visible;
  }
  .admin-invoice-f {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    padding: 24px;
  }
  .admin-invoice-f__no-print,
  .modal__backdrop {
    display: none !important;
  }
  .modal,
  .modal__panel {
    position: static;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    padding: 0;
  }
}
.admin-reports-f {
  padding: 16px 16px 48px;
}

.admin-reports-f__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-reports-f__title {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.admin-reports-f__mode {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background-color: #FFFFFF;
}

.admin-reports-f__mode-btn {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  padding: 6px 16px;
  border-radius: 999px;
  color: #8A8178;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}

.admin-reports-f__mode-btn.is-active {
  background-color: #FFFFFF;
  color: #A61579;
  box-shadow: 0 1px 4px rgba(30, 20, 15, 0.12);
}

.admin-reports-f__selector {
  margin-bottom: 24px;
}

.admin-reports-f__selector .admin-select-f {
  width: 100%;
  max-width: 220px;
}

.admin-reports-f__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.admin-reports-f__card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #E3DCD2;
  border-radius: 12px;
  background-color: #FFFFFF;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.admin-reports-f__card:hover {
  border-color: #A61579;
  box-shadow: 0 24px 48px -24px rgba(25, 23, 21, 0.28), 0 2px 8px rgba(25, 23, 21, 0.08);
}

.admin-reports-f__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: #A61579;
  color: #FFFFFF;
}

.admin-reports-f__card-icon svg {
  width: 18px;
  height: 18px;
}

.admin-reports-f__card-body {
  flex: 1;
  min-width: 0;
}

.admin-reports-f__card-label {
  color: #8A8178;
  font-size: 0.72rem;
}

.admin-reports-f__card-value {
  margin-top: 2px;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-reports-f__card-value small {
  margin-right: 3px;
  color: #8A8178;
  font-size: 0.62rem;
  font-weight: 500;
}

.admin-reports-f__card-change {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  color: #2E7D32;
  font-size: 0.68rem;
  font-weight: 600;
}

.admin-reports-f__card-change svg {
  width: 12px;
  height: 12px;
  transition: transform 180ms ease;
}

.admin-reports-f__card-change.is-down {
  color: #C62828;
}

.admin-reports-f__card-change.is-down svg {
  transform: rotate(180deg);
}

.admin-reports-f__section {
  border: 1px solid #E3DCD2;
  border-radius: 12px;
  padding: 16px;
  background-color: #FFFFFF;
}

.admin-reports-f__section-head {
  margin-bottom: 16px;
}

.admin-reports-f__section-title {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-reports-f__chart-total {
  margin-bottom: 8px;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.admin-reports-f__chart-total small {
  margin-right: 4px;
  color: #8A8178;
  font-size: 0.7rem;
  font-weight: 500;
}

.admin-reports-f__chart-wrap {
  width: 100%;
}

.admin-reports-f__chart-svg {
  display: block;
  width: 100%;
  height: auto;
}

.admin-reports-f__chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: #8A8178;
  font-size: 0.62rem;
}

@media (min-width: 576px) {
  .admin-reports-f__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .admin-reports-f {
    padding: 24px 24px 64px;
  }
}
@media (min-width: 992px) {
  .admin-reports-f__stats {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
.admin-customers-f {
  padding: 16px 16px 48px;
}

.admin-customers-f__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-customers-f__title {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.admin-customers-f__toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.admin-customers-f__toolbar .admin-select-f {
  width: 100%;
}

.admin-customers-f__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.admin-customers-f__card {
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  padding: 16px;
  background-color: #FFFFFF;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.admin-customers-f__card:hover {
  border-color: #A61579;
  box-shadow: 0 8px 20px -14px rgba(30, 20, 15, 0.35);
}

.admin-customers-f__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-customers-f__card-name {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-customers-f__card-id {
  margin-top: 1px;
  color: #8A8178;
  font-size: 0.7rem;
}

.admin-customers-f__card-actions {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}

.admin-customers-f__card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #DCD4C8;
  color: #8A8178;
  font-size: 0.74rem;
}

.admin-customers-f__card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-customers-f__card-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-customers-f__card-stat span {
  color: #8A8178;
  font-size: 0.68rem;
}

.admin-customers-f__card-stat strong {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-customers-f__card-stat--amount strong {
  color: #A61579;
}

.admin-customers-f__empty {
  padding: 48px 16px;
  color: #8A8178;
  font-size: 0.85rem;
  text-align: center;
}

.admin-customers-f__form-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 576px) {
  .admin-customers-f__form-row {
    flex-direction: row;
    gap: 16px;
  }
  .admin-customers-f__form-row .admin-customers-f__form-group {
    flex: 1;
    min-width: 0;
  }
}

.admin-customers-f__form-group {
  margin-bottom: 16px;
}

.admin-customers-f__form-label {
  display: block;
  margin-bottom: 6px;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
}

.admin-customers-f__form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 16px;
  border: 1px solid #E3DCD2;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.admin-customers-f__form-input:focus {
  outline: none;
  border-color: #A61579;
  background-color: #FFFFFF;
}

.admin-customers-f__form-textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.6;
}

.admin-customers-f__form-error {
  display: none;
  margin-top: 4px;
  color: #C62828;
  font-size: 0.7rem;
}

.admin-customers-f__form-group.has-error .admin-customers-f__form-input {
  border-color: #C62828;
}
.admin-customers-f__form-group.has-error .admin-customers-f__form-error {
  display: block;
}

.admin-customers-f__form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.admin-customers-f__orders-summary {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #DCD4C8;
  color: #8A8178;
  font-size: 0.78rem;
}

.admin-customers-f__orders-summary strong {
  color: #191715;
}

@media (min-width: 576px) {
  .admin-customers-f__toolbar {
    flex-direction: row;
  }
  .admin-customers-f__toolbar .admin-select-f {
    width: auto;
    flex-shrink: 0;
  }
}
@media (min-width: 768px) {
  .admin-customers-f {
    padding: 24px 24px 64px;
  }
  .admin-customers-f__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (min-width: 992px) {
  .admin-customers-f__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.admin-orders-f {
  padding: 16px 16px 48px;
}

.admin-orders-f__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-orders-f__title {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.admin-orders-f__toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-orders-f__toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-orders-f__toolbar-row .admin-select-f {
  flex: 1;
  min-width: 140px;
}

.admin-orders-f__toolbar-actions {
  display: flex;
  flex-direction: row; /* دکمه‌ها همیشه در یک ردیف و کنار هم قرار می‌گیرند */
  align-items: center;
  gap: 4px;
}

.admin-btn-f.admin-btn-f--icon-only {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.admin-btn-f.admin-btn-f--icon-only svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: auto;
  flex-shrink: 0;
}

.admin-orders-f__toolbar-actions .admin-btn-f {
  justify-content: center;
}

.admin-orders-f__filters-toggle {
  display: inline-flex;
  align-self: flex-start;
}

.admin-orders-f__filters-toggle.is-active-f {
  color: #FFFFFF;
  background-color: #A61579;
  border-color: #A61579;
}

.admin-orders-f__filters-panel-f {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.admin-orders-f__filters-panel-f.is-open-f {
  grid-template-rows: 1fr;
}

.admin-orders-f__filters-panel-inner-f {
  overflow: hidden;
  min-height: 0;
}

.admin-orders-f__filters-panel-inner-f .admin-orders-f__toolbar-row {
  padding-top: 8px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.admin-orders-f__filters-panel-f.is-open-f .admin-orders-f__filters-panel-inner-f .admin-orders-f__toolbar-row {
  opacity: 1;
  transform: translateY(0);
}

.admin-orders-f__filters-reset-f {
  display: none;
  align-self: center;
  flex-shrink: 0;
}

@media (min-width: 576px) {
  .admin-orders-f__filters-reset-f {
    display: inline-flex;
  }
}
.admin-orders-f__table-wrap {
  display: none;
  overflow-x: auto;
  border: 1px solid #E3DCD2;
  border-radius: 12px;
  background-color: #FFFFFF;
}

.admin-orders-f__table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.78rem;
}

.admin-orders-f__table th {
  padding: 8px 8px;
  color: #8A8178;
  font-size: 0.68rem;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E3DCD2;
}

.admin-orders-f__table td {
  padding: 8px;
  color: #191715;
  border-bottom: 1px solid #DCD4C8;
  white-space: nowrap;
  vertical-align: middle;
}

.admin-orders-f__table tr:last-child td {
  border-bottom: 0;
}

.admin-orders-f__table tbody tr {
  cursor: pointer;
  transition: background-color 180ms ease;
}

.admin-orders-f__table tbody tr:hover {
  background-color: rgba(166, 21, 121, 0.03);
}

.admin-orders-f__table-product small {
  display: block;
  margin-top: 2px;
  color: #8A8178;
  font-size: 0.66rem;
}

.admin-orders-f__table-amount-rial {
  color: #A61579;
  font-weight: 700;
}

.admin-orders-f__table-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-orders-f__col--secondary-f {
  display: none;
}

.admin-orders-f__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-orders-f__card {
  border: 1px solid #E3DCD2;
  border-radius: 12px;
  padding: 16px;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.admin-orders-f__card:hover {
  border-color: #A61579;
  box-shadow: 0 8px 20px -14px rgba(30, 20, 15, 0.35);
}

.admin-orders-f__card:active {
  transform: scale(0.99);
}

.admin-orders-f__card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  margin-bottom: 8px;
}

.admin-orders-f__card-number {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-orders-f__card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #DCD4C8;
}

.admin-orders-f__card-customer {
  color: #191715;
  font-size: 0.84rem;
  font-weight: 600;
}

.admin-orders-f__card-product,
.admin-orders-f__card-date {
  color: #8A8178;
  font-size: 0.76rem;
  line-height: 1.6;
}

.admin-orders-f__card-amount {
  margin-top: 4px;
  color: #A61579;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-orders-f__card-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-orders-f__card-payment {
  display: flex;
}

.admin-orders-f__card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-inline-start: auto;
}

.admin-orders-f__card-actions .admin-icon-btn-f {
  width: 40px;
  height: 40px;
}

.admin-orders-f__card-actions .admin-icon-btn-f svg {
  width: 17px;
  height: 17px;
}

.admin-orders-f__card-actions .admin-menu-f__panel {
  left: auto;
  right: 0;
}

.admin-orders-f__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 16px;
  text-align: center;
}

.admin-orders-f__state[hidden] {
  display: none;
}

.admin-orders-f__state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: rgba(166, 21, 121, 0.08);
  color: #A61579;
}

.admin-orders-f__state--error-f .admin-orders-f__state-icon {
  background-color: rgba(198, 40, 40, 0.1);
  color: #C62828;
}

.admin-orders-f__state-icon svg {
  width: 20px;
  height: 20px;
}

.admin-orders-f__state-title {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-orders-f__state-text {
  max-width: 280px;
  color: #8A8178;
  font-size: 0.76rem;
}

#adminOrderDetailsModalF .modal__panel {
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  padding: 0;
  overflow: hidden;
}

.admin-orders-f__sheet-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #DCD4C8;
}

.admin-orders-f__sheet-title {
  color: #191715;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-orders-f__sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.admin-orders-f__sheet-section {
  margin-bottom: 24px;
}

.admin-orders-f__sheet-section-title {
  margin-bottom: 8px;
  color: #A61579;
  font-family: "Vazirmatn", "Sanaa Persian", Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-orders-f__sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #DCD4C8;
  font-size: 0.78rem;
}

.admin-orders-f__sheet-row:last-child {
  border-bottom: 0;
}

.admin-orders-f__sheet-row span:first-child {
  color: #8A8178;
}

.admin-orders-f__sheet-row span:last-child {
  color: #191715;
  font-weight: 600;
  text-align: left;
}

.admin-orders-f__sheet-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-orders-f__sheet-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #DCD4C8;
  text-align: right;
  width: 100%;
}
.admin-orders-f__sheet-product:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-orders-f__sheet-product-name,
.admin-orders-f__sheet-product strong {
  color: #1a1a1a !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
}

.admin-orders-f__sheet-product-meta,
.admin-orders-f__sheet-product-qty {
  margin-top: 3px;
  font-size: 0.72rem;
  line-height: 1.8;
  color: #757575 !important;
  text-align: right !important;
  width: 100%;
  display: block;
}
.admin-orders-f__sheet-product-meta, .admin-orders-f__sheet-product-meta span, .admin-orders-f__sheet-product-meta div, .admin-orders-f__sheet-product-meta small, .admin-orders-f__sheet-product-meta p,
.admin-orders-f__sheet-product-qty,
.admin-orders-f__sheet-product-qty span,
.admin-orders-f__sheet-product-qty div,
.admin-orders-f__sheet-product-qty small,
.admin-orders-f__sheet-product-qty p {
  color: #757575 !important;
  font-weight: 400 !important;
  text-align: right !important;
}

.admin-orders-f__sheet-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  background-color: #FFFFFF;
  border-top: 1px solid #DCD4C8;
}

.admin-orders-f__sheet-footer .admin-btn-f,
.admin-orders-f__sheet-footer .admin-select-f {
  flex: 1;
  min-width: 130px;
  justify-content: center;
}

@media (min-width: 768px) {
  .admin-orders-f {
    padding: 24px 24px 64px;
  }
  .admin-orders-f__cards {
    display: none;
  }
  .admin-orders-f__table-wrap {
    display: block;
  }
}
@media (min-width: 992px) {
  .admin-orders-f__col--secondary-f {
    display: table-cell;
  }
}
@media (max-width: 800px) {
  .admin-orders-f .admin-btn-f.admin-orders-f__filters-reset-f {
    display: none !important;
  }
}
.modal__panel {
  max-height: 90vh;
  max-height: 90dvh;
  overscroll-behavior: contain;
}

#adminOrderDetailsModalF .modal__panel {
  max-height: 90vh;
  max-height: 90dvh;
}

.admin-orders-f__sheet-body {
  overscroll-behavior: contain;
}

.admin-orders-f__sheet-footer {
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.admin-orders-f__sheet-row {
  align-items: flex-start;
}

.admin-orders-f__sheet-row span:last-child {
  min-width: 0;
  max-width: 68%;
  overflow-wrap: anywhere;
}

.admin-orders-f__sheet-product {
  padding: 8px 16px;
  border: 1px solid #DCD4C8;
  border-radius: 8px;
  background-color: #FFFFFF;
}
.admin-orders-f__sheet-product:last-child {
  padding-bottom: 8px;
  border-bottom: 1px solid #DCD4C8;
}

.admin-orders-f__sheet-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  width: 100%;
  margin: 4px 0 0;
}

.admin-orders-f__sheet-product-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.admin-orders-f__sheet-product-cell dt {
  color: #8A8178;
  font-size: 0.66rem;
  font-weight: 400;
}
.admin-orders-f__sheet-product-cell dd {
  margin: 0;
  color: #191715;
  font-size: 0.76rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.admin-orders-f__sheet-product-cell--full-f {
  grid-column: 1/-1;
}

.admin-orders-f__sheet-product-cell--strong-f {
  padding-top: 4px;
  border-top: 1px dashed #E3DCD2;
}
.admin-orders-f__sheet-product-cell--strong-f dd {
  color: #A61579;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  #adminOrderDetailsModalF .modal__panel {
    max-width: 560px;
  }
  #adminNewOrderModalF .modal__panel {
    max-width: 720px;
  }
  .admin-invoice-modal-f .modal__panel {
    max-width: 720px;
  }
}

.telegram-modal {

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    align-items:center;

    justify-content:center;

    z-index:99999;

}


.telegram-modal.show {

    display:flex;

}


.telegram-modal-box {

    background:#fff;

    padding:30px;

    border-radius:20px;

    text-align:center;

    width:360px;

}


.telegram-connect-btn {

    display:inline-block;

    margin-top:20px;

    padding:12px 25px;

    background:#229ED9;

    color:#fff;

    border-radius:12px;

    text-decoration:none;

}


/* ============================================================
 * Admin panel — customer card Telegram row (test connection)
 * ============================================================ */

.admin-customers-f__card-telegram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #EFE8DE;
}

.admin-customers-f__telegram-test-btn {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 0.72rem;
}

.admin-customers-f__telegram-test-btn[aria-busy="true"] {
  opacity: 0.6;
  pointer-events: none;
}

.admin-customers-f__telegram-test-btn svg {
  width: 14px;
  height: 14px;
}


/* ============================================================
 * Customer profile — persistent Telegram connection section
 * ============================================================ */

.profile-telegram-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px;
  border: 1px solid #E3DCD2;
  border-radius: 14px;
  background: #FFFFFF;
}

.profile-telegram-f__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-telegram-f__label {
  font-weight: 600;
  color: #191715;
}

.profile-telegram-f__hint {
  font-size: 0.82rem;
  color: #8A8178;
}

.profile-telegram-f__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.profile-telegram-f__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: currentColor;
}

.profile-telegram-f__status--connected {
  background-color: rgba(46, 125, 50, 0.12);
  color: #2E7D32;
}

.profile-telegram-f__status--disconnected {
  background-color: rgba(198, 40, 40, 0.1);
  color: #C62828;
}

.profile-telegram-f__status--not-linked {
  background-color: #F5F1EA;
  color: #8A8178;
}

.profile-telegram-f .telegram-connect-btn {
  margin-top: 0;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
}
