/* =====================================================
   Link-Man | صفحه عمومی سفارش (تم دارک)
   -----------------------------------------------------
   نکته مهم:
   تمام قواعد این فایل با .order-page یا .order-* شروع
   می‌شوند تا به بقیه صفحات پروژه (داشبورد، لندینگ،
   ثبت‌نام) نشت نکنند.
   ===================================================== */

.order-page {
  --order-bg: #0f172a;
  --order-surface: #1e293b;
  --order-surface-2: #273449;
  --order-border: #334155;
  --order-primary: #3b82f6;
  --order-success: #22c55e;
  --order-warning: #f59e0b;
  --order-danger: #ef4444;
  --order-text: #f8fafc;
  --order-text-light: #94a3b8;
  --order-radius: 18px;
  --order-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

  min-height: 100vh;
  background: var(--order-bg);
  color: var(--order-text);
  font-family: Vazirmatn, sans-serif;

  /* فضای لازم برای نوار سبد خرید و منوی موبایل */
  padding-bottom: 190px;
}

.order-page .container {
  max-width: 700px;
}

/* بوت‌استرپ روی بعضی بخش‌ها bg-white می‌گذارد */
.order-page section.bg-white,
.order-page .bg-light {
  background: var(--order-bg) !important;
}

.order-page .text-muted {
  color: var(--order-text-light) !important;
}

.order-page .border-top {
  border-color: var(--order-border) !important;
}

/* ===================== Header ===================== */
.order-header {
  background: var(--order-surface) !important;
  border-bottom: 1px solid var(--order-border);
}

.order-header h5 {
  color: #fff;
}

.order-shop-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--order-surface-2);
  border: 2px solid var(--order-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--order-text-light);
  font-size: 24px;
}

.order-shop-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================== Search ===================== */
.order-search-box {
  position: relative;
}

.order-search {
  height: 50px;
  border-radius: 25px;
  background: var(--order-surface);
  border: 1px solid var(--order-border);
  color: #fff;
  padding-right: 48px;
}

.order-search::placeholder {
  color: var(--order-text-light);
}

.order-search:focus {
  background: var(--order-surface);
  border-color: var(--order-primary);
  color: #fff;
  box-shadow: none;
}

.order-search-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--order-text-light);
  pointer-events: none;
}

/* ===================== Featured ===================== */
.order-featured-slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 0 15px 15px;
  scrollbar-width: none;
}

.order-featured-slider::-webkit-scrollbar {
  display: none;
}

.order-featured-item {
  position: relative;
  width: 250px;
  flex-shrink: 0;
  background: var(--order-surface);
  border: 1px solid var(--order-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--order-shadow);
}

.order-featured-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.order-featured-item .fw-bold {
  color: #fff;
}

.order-featured-item .text-success {
  color: var(--order-success) !important;
}

.order-featured-empty {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--order-surface-2);
  color: #64748b;
  font-size: 40px;
}

/* ===================== Categories ===================== */
.order-category-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.order-category-scroll::-webkit-scrollbar {
  display: none;
}

.order-category {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--order-surface);
  color: #fff;
  border: 1px solid var(--order-border);
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.order-category.active {
  background: var(--order-primary);
  border-color: var(--order-primary);
}

.order-category-icon {
  font-size: 18px;
  line-height: 1;
}

/* ===================== Product list ===================== */
/* نام کلاس عمداً order-item است نه order-product،
   چون landing.css یک .order-product دیگر دارد. */
.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--order-surface);
  border: 1px solid var(--order-border);
  border-radius: var(--order-radius);
  padding: 12px;
  margin-bottom: 14px;
}

.order-item-image {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--order-surface-2);
}

.order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 26px;
}

.order-item-info {
  flex: 1;
  min-width: 0;
}

.order-item-info .fw-bold {
  color: #fff;
}

.order-item-info .text-success {
  color: var(--order-success) !important;
}

.order-item-action {
  flex-shrink: 0;
}

.order-out-of-stock {
  color: var(--order-danger) !important;
}

/* ===================== Buttons ===================== */
.order-add-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--order-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.order-add-btn:disabled {
  background: var(--order-surface-2);
  color: #64748b;
}

.order-qty-control,
.order-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--order-surface-2);
  border-radius: 100px;
  padding: 4px;
}

.order-qty {
  justify-content: space-between;
  width: 100%;
}

.order-qty-control button,
.order-qty button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--order-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-qty-control span,
.order-qty span {
  color: #fff;
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

/* ===================== Cart bar ===================== */
.order-cart {
  position: relative;
  /* بالای منوی موبایل می‌نشیند */
  bottom: 78px;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 0 12px;
  background: transparent;
}

.order-cart-body {
 
  background: #020617;
  border: 1px solid var(--order-border);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.order-cart-body .fw-bold {
  color: #fff;
}

.order-cart-body .btn {
  background: var(--order-warning);
  border: none;
  color: #111827;
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 992px) {
  /* منوی موبایل در دسکتاپ نمایش داده نمی‌شود */
  .order-cart {
    bottom: 20px;
  }
}

/* ===================== Skeleton ===================== */
.order-skeleton {
  display: flex;
  gap: 14px;
  background: var(--order-surface);
  border: 1px solid var(--order-border);
  border-radius: var(--order-radius);
  padding: 12px;
  margin-bottom: 14px;
}

.order-skeleton-image {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--order-surface-2);
}

.order-skeleton-content {
  flex: 1;
  padding-top: 6px;
}

.order-skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: var(--order-surface-2);
}

.order-skeleton-image,
.order-skeleton-line {
  animation: order-pulse 1.4s ease-in-out infinite;
}

@keyframes order-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

/* ===================== Empty state ===================== */
.order-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--order-text-light);
}

.order-empty i {
  font-size: 46px;
  color: #475569;
}

/* ===================== Mobile ===================== */
@media (max-width: 767px) {
  .order-item-image,
  .order-skeleton-image {
    width: 75px;
    height: 75px;
  }

  .order-item {
    gap: 12px;
  }

  .order-featured-item {
    width: 210px;
  }
}

/* =====================================================
   صفحات تکمیل سفارش (اطلاعات مشتری / تایید / موفقیت)
   -----------------------------------------------------
   همان پالت تیره صفحه سفارش، ولی چون این صفحات فرم‌محور
   هستند کلاس ریشه جداست.
   ===================================================== */

.order-form-page {
  --order-bg: #0f172a;
  --order-surface: #1e293b;
  --order-surface-2: #273449;
  --order-border: #334155;
  --order-primary: #3b82f6;
  --order-success: #22c55e;
  --order-warning: #f59e0b;
  --order-text: #f8fafc;
  --order-text-light: #94a3b8;
  --order-radius: 18px;

  min-height: 100vh;
  background: var(--order-bg);
  color: var(--order-text);
  font-family: Vazirmatn, sans-serif;
  padding-bottom: 40px;
}

.order-form-page .container {
  max-width: 700px;
}

.order-form-page .text-muted {
  color: var(--order-text-light) !important;
}

/* ---------- هدر ---------- */
.order-form-header {
  background: var(--order-surface);
  border-bottom: 1px solid var(--order-border);
}

.order-form-header h5 {
  color: #fff;
}

.order-back-btn {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--order-border);
  background: var(--order-surface-2);
  color: var(--order-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ---------- کارت ---------- */
.order-card {
  background: var(--order-surface);
  border: 1px solid var(--order-border);
  border-radius: var(--order-radius);
  padding: 22px;
}

.order-card h6 {
  color: #fff;
}

.order-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.order-icon-success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--order-success);
}

.order-icon-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--order-warning);
}

.order-icon-primary {
  background: rgba(59, 130, 246, 0.15);
  color: var(--order-primary);
}

/* ---------- فرم ---------- */
.order-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--order-text);
}

.order-control {
  min-height: 50px;
  border-radius: 12px;
  background: var(--order-surface-2);
  border: 1px solid var(--order-border);
  color: #fff;
}

.order-control::placeholder {
  color: #64748b;
}

.order-control:focus {
  background: var(--order-surface-2);
  border-color: var(--order-primary);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
}

.order-control:disabled {
  background: #16202f;
  color: #64748b;
}

/* لیست بازشوی select در تم تیره */
.order-control option {
  background: var(--order-surface-2);
  color: #fff;
}

.order-form-page textarea.order-control {
  resize: vertical;
}

.order-note {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--order-text-light);
}

.order-price {
  color: var(--order-success) !important;
}

/* ---------- دکمه ثبت ---------- */
.order-submit {
  min-height: 56px;
  border-radius: 100px;
  border: none;
  background: var(--order-success);
  color: #06210f;
  font-weight: 700;
  font-size: 1.05rem;
}

.order-submit:hover:not(:disabled) {
  background: #1ead55;
  color: #06210f;
}

.order-submit:disabled {
  background: var(--order-surface-2);
  color: var(--order-text-light);
}

/* ---------- صفحه تایید ---------- */
.order-edit-btn {
  background: transparent;
  border: 1px solid var(--order-border);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--order-text-light);
}

.order-confirm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--order-border);
}

.order-confirm-item:last-of-type {
  border-bottom: none;
}

.order-confirm-item .fw-bold {
  color: #fff;
}

.order-confirm-thumb {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--order-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 20px;
}

.order-confirm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-confirm-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--order-border);
  font-size: 1.05rem;
}

.order-confirm-total strong {
  color: var(--order-success);
}

.order-info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--order-border);
  font-size: 0.92rem;
}

.order-info-row:last-child {
  border-bottom: none;
}

.order-info-row > span:last-child {
  text-align: left;
  color: #fff;
}

.order-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fca5a5;
  font-size: 0.92rem;
}

/* ---------- صفحه موفقیت ---------- */
.order-success-wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 60px 0 40px;
  text-align: center;
}

.order-success-wrap h4 {
  color: #fff;
}

.order-success-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid var(--order-success);
  color: var(--order-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.order-code-box {
  background: var(--order-surface);
  border: 1px solid var(--order-border);
  border-radius: var(--order-radius);
  padding: 22px;
}

.order-code {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--order-warning);
}

.order-copy-btn {
  background: var(--order-surface-2);
  border: 1px solid var(--order-border);
  border-radius: 100px;
  padding: 8px 20px;
  color: var(--order-text);
  font-size: 0.88rem;
}

.order-success-note {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--order-text-light);
  font-size: 0.88rem;
}

@media (max-width: 576px) {
  .order-card {
    padding: 18px;
  }

  .order-success-wrap {
    padding-top: 40px;
  }

  .order-info-row {
    flex-direction: column;
    gap: 4px;
  }

  .order-info-row > span:last-child {
    text-align: right;
  }
}

/* =====================================================
   فرم سفارش سفارشی (مشتری)
   از همان متغیرهای --order-* بالای فایل استفاده می‌کند.
   ===================================================== */

.custom-form-intro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--order-surface);
  border: 1px solid var(--order-border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  color: var(--order-text-light);
  font-size: 0.88rem;
  line-height: 1.7;
}

.custom-form-intro i {
  color: var(--order-warning);
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-form-section {
  background: var(--order-surface);
  border: 1px solid var(--order-border);
  border-radius: var(--order-radius);
  padding: 18px 16px;
  margin-bottom: 16px;
}

.custom-form-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--order-border);
}

.custom-form-title i {
  color: var(--order-warning);
}

.custom-field {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.custom-field:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.custom-form-section .form-label {
  color: #e2e8f0;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.custom-form-section .form-control {
  background: var(--order-surface-2);
  border: 1px solid var(--order-border);
  color: #fff;
  border-radius: 12px;
  padding: 11px 14px;
}

.custom-form-section .form-control:focus {
  background: var(--order-surface-2);
  border-color: var(--order-primary);
  color: #fff;
  box-shadow: none;
}

.custom-form-section .form-control::placeholder {
  color: #64748b;
}

/* ورودی تاریخ و ساعت در تم تیره */
.custom-form-section input[type="date"],
.custom-form-section input[type="time"] {
  color-scheme: dark;
}

/* ---------- گزینه‌ها ---------- */
.custom-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--order-surface-2);
  border: 1px solid var(--order-border);
  color: #e2e8f0;
  text-align: right;
  transition: 0.15s;
}

.custom-option:hover {
  border-color: var(--order-primary);
}

.custom-option.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--order-primary);
  color: #fff;
}

.order-item button[disabled],
.order-featured-item button[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
}

.custom-option i {
  color: var(--order-primary);
  font-size: 18px;
  flex-shrink: 0;
}

.custom-option-title {
  flex: 1;
}

.custom-option-price {
  color: var(--order-warning);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- فایل ---------- */
.custom-file-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--order-surface-2);
  border: 1px dashed var(--order-border);
  border-radius: 12px;
  padding: 14px;
  color: var(--order-text-light);
  font-size: 0.85rem;
}

.custom-file-note i {
  color: var(--order-warning);
}

/* ---------- خطا ---------- */
.custom-error {
  display: block;
  margin-top: 6px;
  color: var(--order-danger);
  font-size: 0.8rem;
}

.has-error .form-control {
  border-color: var(--order-danger);
}

/* ---------- Order flow refinement ---------- */
.order-page { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.order-page .container, .order-form-page .container { width: min(100% - 32px, 760px); max-width: 760px; }
.order-header-row { display:flex; align-items:center; gap:14px; padding:14px 0; }
.order-shop-meta { flex:1; min-width:0; }
.order-shop-meta h1 { margin:0; color:#fff; font-size:1.15rem; font-weight:800; }
.order-shop-meta p { margin:4px 0 0; color:var(--order-text-light); font-size:.84rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.order-source-label { color:#fbbf24; font-size:.72rem; margin-bottom:3px; display:flex; gap:5px; align-items:center; }
.order-icon-btn { width:42px; height:42px; flex:0 0 auto; border:1px solid var(--order-border); border-radius:13px; background:var(--order-surface-2); color:#fff; display:grid; place-items:center; font-size:1.05rem; text-decoration:none; }
.order-phone-note { display:flex; align-items:center; gap:8px; margin:0 0 12px; padding:9px 12px; color:#fde68a; background:rgba(245,158,11,.1); border:1px solid rgba(245,158,11,.25); border-radius:10px; font-size:.8rem; }
.order-main { padding-top:22px; }
.order-welcome { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:17px 18px; margin-bottom:18px; border:1px solid rgba(245,158,11,.3); border-radius:16px; background:linear-gradient(120deg,rgba(245,158,11,.12),rgba(30,41,59,.8)); }
.order-welcome h2 { margin:4px 0 5px; font-size:1.16rem; color:#fff; }
.order-welcome p { margin:0; color:var(--order-text-light); font-size:.82rem; }
.order-welcome > i { color:#fbbf24; font-size:2.3rem; }
.order-eyebrow { color:#fbbf24; font-size:.72rem; font-weight:700; }
.order-search-section { margin-bottom:18px; }
.order-search-box { position:relative; }
.order-search { height:48px; padding-right:44px; padding-left:42px; border-radius:13px; }
.order-search-clear { position:absolute; left:10px; top:7px; width:34px; height:34px; border:0; background:transparent; color:var(--order-text-light); font-size:1.1rem; }
.order-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:24px 0 11px; }
.order-section-heading h2 { margin:0; color:#fff; font-size:1rem; font-weight:800; }
.order-section-heading span { color:var(--order-text-light); font-size:.76rem; }
.order-category-section { border-top:1px solid var(--order-border); padding-top:2px; }
.order-category { min-height:38px; padding:8px 13px; }
.order-featured-slider { padding:0 0 7px; gap:11px; }
.order-featured-item { width:224px; border-radius:15px; box-shadow:none; }
.order-featured-image { height:132px; background:var(--order-surface-2); display:grid; place-items:center; color:#64748b; font-size:2rem; }
.order-featured-image img { width:100%; height:100%; object-fit:cover; }
.order-featured-body { padding:12px; }
.order-featured-body h3, .order-item-info h3 { margin:0 0 6px; color:#fff; font-size:.94rem; font-weight:800; }
.order-price { color:var(--order-success); font-weight:800; font-size:.86rem; }
.order-variant-trigger { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; margin-top:9px; padding:7px 9px; border:1px solid var(--order-border); border-radius:9px; background:transparent; color:#cbd5e1; font-size:.76rem; text-align:right; }
.order-variant-trigger i { color:#fbbf24; }
.order-variant-summary { margin-top:6px; color:#fbbf24; font-size:.75rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.order-variant-summary i { margin-left:4px; color:var(--order-success); }
.order-variant-panel { margin-top:8px; padding:9px; background:rgba(15,23,42,.65); border:1px solid var(--order-border); border-radius:10px; }
.order-variant-group { margin-bottom:8px; }
.order-variant-group:last-child { margin-bottom:0; }
.order-variant-group > span { display:block; margin-bottom:5px; color:var(--order-text-light); font-size:.72rem; }
.order-option { margin:0 0 4px 4px; padding:5px 9px; border:1px solid var(--order-border); border-radius:7px; background:var(--order-surface-2); color:#e2e8f0; font-size:.74rem; }
.order-option.selected { border-color:#f59e0b; background:rgba(245,158,11,.18); color:#fde68a; }
.order-option:disabled { opacity:.35; text-decoration:line-through; }
.order-featured-actions { margin-top:10px; }
.order-action-btn { width:100%; min-height:36px; border:0; border-radius:9px; background:var(--order-primary); color:#fff; font-weight:700; font-size:.82rem; }
.order-action-btn i { margin-left:5px; }
.order-action-btn.is-disabled { background:var(--order-surface-2); color:var(--order-text-light); }
.order-item { align-items:flex-start; min-height:114px; padding:11px; margin-bottom:10px; border-radius:14px; }
.order-item-image { width:82px; height:82px; border-radius:11px; }
.order-item-info { padding-top:1px; }
.order-item-description { margin:0 0 5px; color:var(--order-text-light); font-size:.76rem; line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.order-item-action { align-self:center; }
.order-add-btn-select { background:#9a6b16; }
.order-cart { position:fixed; right:0; bottom:0; left:0; z-index:1040; padding:0 0 calc(10px + env(safe-area-inset-bottom)); background:linear-gradient(180deg,transparent,rgba(15,23,42,.95) 35%); }
.order-cart .container { width:min(100% - 20px,760px); }
.order-cart-body { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px; border:1px solid #475569; border-radius:15px; background:#111c2d; box-shadow:0 12px 32px rgba(0,0,0,.4); }
.order-cart-summary { min-width:0; color:#fff; font-size:.85rem; }
.order-cart-summary i { color:#fbbf24; margin-left:5px; }
.order-cart-summary .small { margin-top:3px; color:var(--order-text-light); }
.order-cart-summary strong { color:#86efac; }
.order-cart-cta { min-height:43px; padding:0 16px; border:0; border-radius:10px; background:#f59e0b; color:#161616; font-weight:800; white-space:nowrap; }
.order-cart-cta i { margin-right:7px; }
.order-loading { padding-top:5px; }
.order-empty { padding:55px 15px; text-align:center; color:var(--order-text-light); }
.order-empty i { color:#64748b; font-size:2.2rem; }
.order-empty h3 { margin:12px 0 5px; color:#fff; font-size:1rem; }
.order-empty p { margin:0; font-size:.82rem; }

.order-form-page { padding-bottom:calc(28px + env(safe-area-inset-bottom)); }
.order-form-header { position:sticky; top:0; z-index:1035; }
.order-form-header .container { width:min(100% - 32px,760px); }
.order-stepper { display:flex; align-items:center; gap:7px; margin:0 0 18px; color:var(--order-text-light); font-size:.73rem; }
.order-stepper .step { display:flex; align-items:center; gap:5px; white-space:nowrap; }
.order-stepper .step b { width:22px; height:22px; border-radius:50%; display:grid; place-items:center; background:var(--order-surface-2); color:var(--order-text-light); font-size:.7rem; }
.order-stepper .step.active { color:#fff; font-weight:700; }.order-stepper .step.active b { background:var(--order-primary); color:#fff; }.order-stepper .line { flex:1; height:1px; background:var(--order-border); }
.order-stepper .step.done { color:#86efac; }.order-stepper .step.done b { background:rgba(34,197,94,.18); color:#86efac; }
.order-form-page .order-submit { position:relative; min-height:53px; }
.order-form-page .order-card { padding:18px; }
.order-form-page .order-label { font-size:.82rem; }
.order-form-page .order-control { min-height:47px; }
.order-error { line-height:1.8; }
.order-success-wrap { padding-top:34px; }
.order-success-wrap .order-submit { position:relative; }
.order-tracking-box, .order-payment-box { background:var(--order-surface) !important; border-color:var(--order-border) !important; color:var(--order-text); }
.order-tracking-box .border, .order-payment-box .card-transfer-details { border-color:var(--order-border) !important; background:var(--order-surface-2) !important; }
.order-track-link { display:flex; align-items:center; gap:7px; margin-top:13px; padding:10px 12px; border:1px dashed #64748b; border-radius:10px; color:#bfdbfe; font-size:.77rem; text-align:right; word-break:break-all; }
.order-track-link i { color:#60a5fa; flex:0 0 auto; }
.order-recent-tracking { margin-top:22px; padding-top:16px; border-top:1px solid var(--order-border); }
.order-recent-code { display:flex; align-items:center; gap:8px; width:100%; margin-top:7px; padding:9px 10px; border:1px solid var(--order-border); border-radius:9px; background:var(--order-surface-2); color:#bfdbfe; font-size:.8rem; text-align:left; }
.order-recent-code i { color:#94a3b8; }
.delivery-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.payment-copy-box { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px; margin:9px 0; background:var(--order-surface-2); border:1px solid var(--order-border); border-radius:11px; }.payment-copy-box div { min-width:0; display:flex; flex-direction:column; gap:5px; }.payment-copy-box span { color:var(--order-text-light); font-size:.75rem; }.payment-copy-box strong { color:#fff; font-size:1.06rem; letter-spacing:1px; word-break:break-all; }.payment-copy-box button { flex:0 0 auto; border:1px solid #64748b; border-radius:8px; padding:7px 10px; background:transparent; color:#bfdbfe; font-size:.78rem; }.payment-copy-box button i { margin-left:5px; }
.delivery-choice { display:flex; align-items:flex-start; gap:9px; min-height:72px; padding:11px; border:1px solid var(--order-border); border-radius:11px; background:var(--order-surface-2); color:#e2e8f0; cursor:pointer; }
.delivery-choice input { accent-color:var(--order-primary); margin-top:4px; }.delivery-choice i { color:#fbbf24; font-size:1.2rem; }.delivery-choice span { display:flex; flex-direction:column; gap:3px; }.delivery-choice strong { font-size:.82rem; }.delivery-choice small { color:var(--order-text-light); font-size:.7rem; line-height:1.5; }.delivery-choice.active { border-color:var(--order-primary); background:rgba(59,130,246,.12); }
@media (max-width:576px) { .delivery-choice-grid { grid-template-columns:1fr; } }
.custom-form-bottom-space { height:120px; }
.custom-review-note { display:flex; gap:10px; align-items:flex-start; margin:0 0 16px; padding:12px 14px; border:1px solid rgba(245,158,11,.28); border-radius:12px; background:rgba(245,158,11,.08); color:#fde68a; font-size:.82rem; line-height:1.75; }
.custom-review-note i { margin-top:3px; }.custom-review-note span { display:block; color:var(--order-text-light); font-size:.78rem; }
@media (max-width:576px) { .order-page .container, .order-form-page .container { width:min(100% - 20px,760px); } .order-header-row { gap:10px; } .order-shop-logo { width:48px; height:48px; font-size:20px; } .order-item-image { width:72px; height:72px; } .order-item { gap:9px; } .order-item-info h3 { font-size:.88rem; } .order-item-description { -webkit-line-clamp:1; } .order-cart-body { gap:8px; } .order-cart-cta { padding:0 12px; font-size:.8rem; } .order-stepper { font-size:.68rem; } }
.order-payment-box{background:#fff;border:1px solid #e1e6ec;border-radius:8px;padding:18px;text-align:right}.card-transfer-details{display:grid;gap:5px;background:#f6f8fa;border:1px dashed #aeb8c4;border-radius:8px;padding:16px;text-align:center}.card-transfer-details strong{font-size:20px;letter-spacing:1px;color:#18212b}.card-transfer-details span,.card-transfer-details small{color:#5f6b78}
.receipt-preview{display:block;width:100%;max-height:260px;object-fit:contain;border:1px solid #d9e0e7;border-radius:8px;background:#f6f8fa}
.order-tracking-box{background:#fff;border:1px solid #e1e6ec;border-radius:8px;padding:18px;text-align:right}.order-tracking-timeline{display:grid;gap:0}.order-tracking-step{position:relative;display:grid;grid-template-columns:18px 1fr;gap:10px;padding-bottom:18px}.order-tracking-step:not(:last-child)::before{content:"";position:absolute;right:7px;top:14px;bottom:0;width:2px;background:#dfe5ea}.order-tracking-step:last-child{padding-bottom:0}.order-tracking-dot{position:relative;z-index:1;width:16px;height:16px;border:4px solid #fff;border-radius:50%;background:#e76f20;box-shadow:0 0 0 1px #e76f20}
.custom-public-page{min-height:100vh;background:radial-gradient(circle at 85% 0,#3b2b16 0,#101820 38%,#0b1117 100%);color:#f8fafc;padding:1rem 0 4rem}.custom-public-shell{width:min(100% - 2rem,980px);margin:auto}.custom-public-hero{text-align:center;padding:2.5rem 1rem 3rem}.custom-public-brand{width:82px;height:82px;margin:auto;border-radius:24px;overflow:hidden;background:#f59e0b;display:grid;place-items:center;box-shadow:0 16px 40px #0005}.custom-public-brand img{width:100%;height:100%;object-fit:cover}.custom-public-logo-fallback{font-size:2rem;color:#17202a}.custom-public-kicker,.custom-public-section-heading>span{color:#fbbf24;font-size:.82rem;font-weight:700;letter-spacing:.04em}.custom-public-hero h1{font-size:clamp(2rem,8vw,4rem);margin:1rem 0 .75rem}.custom-public-description{max-width:580px;margin:0 auto 1.5rem;color:#cbd5e1;line-height:1.9}.custom-public-primary{display:inline-flex;gap:.5rem;align-items:center;background:#f59e0b;color:#161616;border-radius:999px;padding:.8rem 1.4rem;font-weight:800;text-decoration:none}.custom-public-section{background:#ffffff0a;border:1px solid #ffffff15;border-radius:28px;padding:1.25rem}.custom-public-section-heading{text-align:center;margin-bottom:1.25rem}.custom-public-section-heading h2{font-size:clamp(1.35rem,5vw,2rem);margin:.45rem 0}.custom-public-section-heading p{color:#aab7c5;margin:0}.custom-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.custom-form-card{background:#16212b;border:1px solid #ffffff12;border-radius:20px;overflow:hidden;cursor:pointer;transition:.2s;box-shadow:0 10px 30px #0002}.custom-form-card:hover{transform:translateY(-4px);border-color:#f59e0b88}.custom-form-card-image{height:170px;position:relative;background:#263542}.custom-form-card-image img{width:100%;height:100%;object-fit:cover}.custom-form-card-arrow{position:absolute;top:.75rem;left:.75rem;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f59e0b;color:#111}.custom-form-card-body{padding:1rem}.custom-form-card h3{font-size:1.1rem;margin:0 0 .5rem}.custom-form-card p{font-size:.9rem;color:#aab7c5;line-height:1.8;min-height:3.2em;margin:0 0 .75rem}.custom-form-card-cta{border:0;background:none;color:#fbbf24;font-weight:700;padding:0}.custom-public-trust{display:flex;gap:.75rem;align-items:center;margin:1rem 0;padding:1rem 1.1rem;border-radius:18px;background:#f59e0b12;color:#fde68a}.custom-public-trust i{font-size:1.6rem}.custom-public-trust span{display:block;color:#cbd5e1;font-size:.85rem;margin-top:.25rem}.custom-public-empty{text-align:center;padding:3rem 1rem;color:#aab7c5}.custom-public-empty i{font-size:2.5rem;color:#f59e0b}.custom-public-empty h1,.custom-public-empty h3{color:#f8fafc}.custom-public-loading{display:flex;justify-content:center;align-items:center;gap:.75rem;padding:8rem 1rem;color:#cbd5e1}@media(min-width:768px){.custom-public-hero{padding:5rem 1rem 4rem}.custom-public-section{padding:2rem}.custom-form-card-image{height:200px}}
