@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #07152c;
  --navy-deep: #0b1b36;
  --blue: #1d4ed8;
  --green: #047857;
  --red: #b91c1c;
  --paper: #eef3fb;
  --line: #d5deee;
  --muted: #5b6b86;
  --ink: #0b1220;
  --green-soft: #d1fae5;
  --red-soft: #fee2e2;
  --blue-soft: #dbe7ff;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(11, 27, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100%;
  position: relative;
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  background-color: #d7d5d0;
  background-image: url("../img/site-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.7;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 24px));
  margin-inline: auto;
  max-width: 100%;
}

.header {
  height: 72px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(247, 251, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 27, 54, 0.08);
}

body {
  padding-top: 72px;
}

.header-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.footer-logo {
  width: 42px;
  height: 42px;
  display: block;
  margin: 0 auto 8px;
  object-fit: cover;
}

.brand small {
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav a,
.icon {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}

.nav a:hover,
.icon:hover {
  background: var(--paper);
}

.hero {
  padding: 70px 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.55) 70%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.2;
  margin: 16px 0;
}

.lead {
  max-width: 600px;
  color: var(--muted);
}

.contact-lead {
  color: #000000;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.panel::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(#16a34a, transparent 28%, #86efac 42%, transparent 62%, #22c55e 78%, transparent 92%, #16a34a);
  animation: panelSpin 3.2s linear infinite;
  z-index: 0;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 22px;
  background: var(--navy);
  z-index: 0;
}

.panel > * {
  position: relative;
  z-index: 1;
}

@keyframes panelSpin {
  to { transform: rotate(360deg); }
}

.panel p {
  color: #dbe7ff;
}

.steps {
  display: grid;
  gap: 10px;
}

.step {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 58px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  margin: 4px 0;
  color: var(--muted);
}

.ink-text {
  color: #000000 !important;
}

.on-photo,
#contact h2,
#contact .contact-lead,
#products .section-head h2,
#products .section-head p,
#reviewsPage .section-head h2,
#reviewsPage .section-head p,
#customersPage .section-head h2,
#customersPage .section-head p,
#pageName,
#pageDesc,
#pagePrice,
#pagePrice small {
  color: #ffffff !important;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--blue-soft);
  border-color: var(--blue);
}

textarea {
  min-height: 82px;
  resize: vertical;
}

.search {
  width: min(100%, 330px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(11, 18, 32, 0.04);
  cursor: pointer;
}

.card.fade-wait {
  opacity: 0;
  transform: translateY(14px);
}

.card.fade-in {
  animation: cardFade 0.35s ease forwards;
}

@keyframes cardFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.media {
  position: relative;
  height: 220px;
  background: #edf2f8;
  cursor: pointer;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.media:hover img {
  transform: scale(1.04);
}

.card .specs,
.card .code {
  display: none;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.in {
  background: var(--green-soft);
  color: var(--green);
}

.out {
  background: var(--red-soft);
  color: var(--red);
}

.body {
  padding: 16px;
}

.body h3 {
  margin: 0;
}

.price {
  margin: 7px 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.price-now {
  display: block;
  color: #047857 !important;
}

.price-old {
  display: block;
  color: #b91c1c !important;
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

.price-unit {
  color: #047857 !important;
}

.desc {
  height: 48px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
}

.specs {
  margin: 10px 0;
  padding: 9px;
  border-radius: 10px;
  background: var(--paper);
  white-space: pre-line;
  font-size: 12px;
}

.code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--navy);
  color: #ffffff;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.pager {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.pager-in {
  display: flex;
  flex-wrap: nowrap;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border: 1px solid #d7deea;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
  display: grid;
  place-items: center;
}

.page-btn.nav { color: #111827; }
.page-btn.dots { cursor: default; color: #111827; }
.page-btn:hover:not(:disabled):not(.dots) { transform: translateY(-1px); }
.page-btn.active {
  color: #ffffff;
  background: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 10px 18px rgba(29, 78, 216, 0.28);
  animation: toastIn 0.35s ease both;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.primary {
  background: var(--navy);
  color: #ffffff;
}

.green {
  background: var(--green);
  color: #ffffff;
}

.danger {
  background: var(--red);
  color: #ffffff;
}

.ghost {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.full {
  width: 100%;
  margin-top: 10px;
}

.admin {
  display: none;
  min-height: 100vh;
  background: var(--paper);
}

.admin.open {
  display: block;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 35px 0 20px;
}

.admin-head p {
  margin: 4px 0;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.admin-col {
  display: grid;
  gap: 18px;
  align-content: start;
}

.pay-note {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #e8f1ff;
  border: 2px solid #dc2626;
  color: #000000;
  font-weight: 800;
}

.pay-card {
  display: grid;
  gap: 2px;
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(160deg, #f7fbff, #eaf2ff);
  border: 1px solid #d5e4ff;
}

.pay-card span {
  color: #6f92c9;
  font-size: 10px;
  font-weight: 700;
}

.pay-card b,
.pay-card strong {
  color: #07152c;
  font-size: 13px;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

#payCardNumber {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

.box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.form {
  display: grid;
  gap: 10px;
}

.list {
  display: grid;
  gap: 10px;
}

.item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.item img {
  width: 64px;
  height: 64px;
  border-radius: 9px;
  background: var(--paper);
  object-fit: cover;
}

.item h4 {
  margin: 0;
  font-size: 14px;
}

.item small {
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 5px;
}

.tiny {
  min-height: 34px;
  padding: 0 9px;
  font-size: 12px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  background: rgba(11, 18, 32, 0.5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.overlay.open {
  display: flex;
}

.modal {
  width: min(480px, 100%);
  padding: 23px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.modal h3 {
  margin-top: 0;
}

.modal p {
  color: var(--muted);
  font-size: 14px;
}

.modal-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(320px, calc(100% - 32px));
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--navy);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px) scale(0.96);
  box-shadow: 0 18px 40px rgba(11, 27, 54, 0.22);
}

.toast.show {
  animation: toastIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.toast.hide {
  animation: toastOut 0.28s ease forwards;
}

.toast.success {
  background: linear-gradient(135deg, #065f46, #059669 55%, #10b981);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.toast.error {
  background: linear-gradient(135deg, #7f1d1d, #b91c1c 55%, #dc2626);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.toast-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.toast.success .toast-icon::before {
  content: "✓";
}

.toast.error .toast-icon::before {
  content: "!";
}

.hidden {
  display: none !important;
}

.locked {
  display: none !important;
}

.empty {
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: #000000;
  font-size: 13px;
}

.preview {
  width: 100%;
  max-height: 170px;
  margin-top: 7px;
  border-radius: 11px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 42px 0;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 44px);
  }

  .contact-stack,
  .price-axis-card {
    width: min(100%, 560px);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1180px, calc(100% - 16px));
  }

  .header {
    height: 64px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav .text {
    display: none;
  }

  .item {
    grid-template-columns: 55px 1fr;
  }

  .item img {
    width: 55px;
    height: 55px;
  }

  .actions {
    grid-column: 1 / -1;
  }

  .hero {
    padding: 28px 0;
  }

  .media {
    height: 150px;
  }

  .body {
    padding: 12px;
  }

  .body h3 {
    font-size: 14px;
  }

  .price {
    font-size: 15px;
  }

  .contact-card strong {
    font-size: 15px;
  }

  .range-labels {
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 12px;
  }

  .range-field,
  .range-field input {
    width: 100%;
  }

  .page-btn {
    min-width: 36px;
    min-height: 36px;
  }
}

@media (max-width: 380px) {
  .grid {
    gap: 8px;
  }

  .mark,
  .nav a.ig-btn,
  .ig-btn {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }
}

.nav a.ig-btn,
.ig-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 12px;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
  box-shadow: 0 8px 18px rgba(214, 36, 159, 0.28);
}

.nav a.ig-btn:hover,
.ig-btn:hover {
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
}

.ig-btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  animation: shine 2.8s ease-in-out infinite;
}

.ig-btn:hover {
  transform: translateY(-1px);
}

.contact-stack {
  display: grid;
  gap: 10px;
  width: min(360px, 100%);
  max-width: 100%;
}

.contact-card {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(145deg, #07152c 0%, #10284d 55%, #1d4ed8 140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 24px rgba(7, 21, 44, 0.16);
  animation: cardRise 0.7s ease both;
}

.contact-card:nth-child(2) {
  animation-delay: 0.12s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(7, 21, 44, 0.24);
}

.contact-label {
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 700;
}

.contact-card strong,
.contact-ig strong,
.contact-tg strong,
.contact-wa strong {
  font-size: 15px;
  letter-spacing: 0.2px;
  overflow-wrap: anywhere;
}

.contact-ig {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 12px 24px rgba(214, 36, 159, 0.2);
  animation: cardRise 0.7s ease both;
  animation-delay: 0.2s;
}

.contact-ig .contact-label,
.contact-tg .contact-label,
.contact-wa .contact-label {
  display: block;
  color: rgba(255, 255, 255, 0.86);
}

.contact-tg,
.contact-wa {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 21, 44, 0.16);
  animation: cardRise 0.7s ease both;
}

.contact-tg {
  background: #229ed9;
  animation-delay: 0.26s;
}

.contact-wa {
  background: #25d366;
  animation-delay: 0.32s;
}

.contact-tg:hover,
.contact-wa:hover {
  transform: translateY(-3px);
}

.ig-glyph {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.cover-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cover-preview img,
.cover-preview video {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #eef3fb;
  border-radius: 10px;
}

.order-facts {
  display: grid;
  gap: 5px;
  margin: 10px 0 4px;
}

.order-chip {
  display: grid;
  gap: 1px;
  padding: 6px 9px;
  border-radius: 9px;
  background: #f3f7ff;
  border: 1px solid #d5deee;
}

.order-chip span {
  color: #5b6b86;
  font-size: 10px;
  font-weight: 700;
}

.order-chip b {
  color: #07152c;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.order-chip:has(#orderCode) {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 8px;
}
.order-chip:has(#orderCode) span { grid-column: 1 / -1; }
.order-chip:has(#orderCode) .copy { margin-top: 0; }


.range-field {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.range-field input {
  width: 120px;
  padding: 8px 10px;
}

.range-live {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4f8ff, #e7f0ff);
  border: 1px solid #c9dcff;
  color: #6f92c9;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.range-live b {
  color: #5b86c7;
}

.detail-modal {
  width: min(860px, 100%);
  max-height: calc(100vh - 32px);
  margin-block: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  animation: formIn 0.35s ease both;
}

.detail-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #e8eef8;
  color: #07152c;
  font-size: 22px;
  cursor: pointer;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.detail-media {
  overflow: hidden;
  border-radius: 16px;
  background: #edf2f8;
  min-height: 260px;
}

.detail-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
}

.detail-info .badge {
  position: static;
  display: inline-flex;
}

.detail-info h3 {
  margin: 10px 0 6px;
}

@media (max-width: 720px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.filters {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 8px;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #c9d7ee;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.chip.active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #07152c, #1d4ed8);
  box-shadow: 0 8px 18px rgba(11, 27, 54, 0.18);
}

.price-axis-card {
  width: min(100%, 560px);
  max-width: 100%;
  margin-inline: auto;
  justify-self: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 27, 54, 0.08);
  box-shadow: 0 10px 24px rgba(11, 27, 54, 0.06);
}

.price-axis-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--navy);
}

.price-axis-head span {
  color: var(--muted);
  font-size: 13px;
}

.range-wrap {
  position: relative;
  height: 28px;
}

.range-track {
  position: absolute;
  right: 0;
  left: 0;
  top: 12px;
  height: 6px;
  border-radius: 999px;
  background: #d7e3f6;
}

.range-fill {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
}

.range-wrap input[type="range"] {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  height: 28px;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.range-wrap input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: #0b1b36;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  cursor: grab;
}

.range-wrap input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: #0b1b36;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  cursor: grab;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--navy);
  font-size: 13px;
}

.luxury-form {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29, 78, 216, 0.18);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(160deg, #1d4ed8, #07152c) border-box;
  box-shadow: 0 18px 40px rgba(7, 21, 44, 0.1);
  animation: formIn 0.6s ease both;
}

.luxury-form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #07152c, #2563eb, #93c5fd);
}

.luxury-form .form label {
  display: block;
  margin-bottom: 5px;
  color: #16315d;
  font-size: 13px;
  font-weight: 700;
}

.luxury-form input,
.luxury-form textarea,
.luxury-form select {
  border-color: #c9d7ee;
  background: #f8fbff;
  transition: 0.25s ease;
}

.luxury-form input:focus,
.luxury-form textarea:focus,
.luxury-form select:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.12);
}

.luxury-form .form > div {
  animation: cardRise 0.45s ease both;
}

.luxury-form .form > div:nth-child(2) { animation-delay: 0.04s; }
.luxury-form .form > div:nth-child(3) { animation-delay: 0.08s; }
.luxury-form .form > div:nth-child(4) { animation-delay: 0.12s; }
.luxury-form .form > div:nth-child(5) { animation-delay: 0.16s; }
.luxury-form .form > div:nth-child(6) { animation-delay: 0.2s; }
.luxury-form .form > div:nth-child(7) { animation-delay: 0.24s; }
.luxury-form .form > div:nth-child(8) { animation-delay: 0.28s; }

@keyframes shine {
  0% { transform: translateX(0) skewX(-20deg); }
  60%, 100% { transform: translateX(420%) skewX(-20deg); }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes formIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, 16px) scale(0.96);
  }
}

.product-page {
  min-height: calc(100vh - 72px);
  padding: 24px 0 48px;
}

.product-page-in {
  display: grid;
  gap: 18px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 40px rgba(11, 27, 54, 0.16);
  backdrop-filter: blur(16px);
}
.qty-row { display: flex; justify-content: flex-start; }
.qty-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.5);
}
.qty-box button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #0b1b36;
  color: #fff;
}


.gallery {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #eef3fb;
  border: 1px solid var(--line);
  min-height: 320px;
}

.gallery-stage {
  min-height: 320px;
  display: grid;
  place-items: center;
  background: #eef3fb;
}

.product-copy h1 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  margin: 10px 0 6px;
}

.product-copy .price {
  font-size: 26px;
}

.page-contact {
  display: inline-flex;
  width: auto;
  min-height: 46px;
  margin-top: 10px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #1d4ed8, #07152c);
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.28);
}

.luxury-order {
  min-height: 48px;
  border: 0;
  background: linear-gradient(135deg, #065f46, #059669 45%, #10b981);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.28);
  letter-spacing: 0.2px;
}

.luxury-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(5, 150, 105, 0.34);
}

.reviews-page {
  min-height: calc(100vh - 72px);
  padding: 24px 0 48px;
}

.reviews-jump {
  display: flex;
  justify-content: center;
  margin: 12px auto 16px;
}

.reviews-cta,
.reviews-jump #reviewsJump {
  min-width: min(280px, 100%);
  min-height: 52px;
  padding: 0 28px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.star-pick {
  display: flex;
  gap: 6px;
}

.star-pick button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #9aa8bf;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.star-pick button.on {
  color: #f5b301;
}

.public-review {
  max-width: 520px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.media-thumb {
  position: relative;
}

.media-thumb button {
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #b91c1c;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  cursor: pointer;
}

.gallery-stage img,
.gallery-stage video {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  touch-action: pan-y;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 21, 44, 0.78);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-nav.prev { right: 10px; }
.gallery-nav.next { left: 10px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px;
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #b7c6dd;
  padding: 0;
  cursor: pointer;
}

.gallery-dots button.active {
  background: #1d4ed8;
  width: 18px;
  border-radius: 999px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(11, 27, 54, 0.06);
}

.review-card strong {
  display: block;
  margin-bottom: 4px;
}

.review-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.stars {
  color: #1d4ed8;
  letter-spacing: 2px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .product-layout,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

.signup-nav {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.signup-modal {
  animation: signupIn 0.35s ease;
}

@keyframes signupIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.signup-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #065f46, #10b981);
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.28);
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #b91c1c;
  font-size: 13px;
}

.customers-page {
  min-height: calc(100vh - 72px);
  padding: 24px 0 48px;
}

.boot-load {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: #050814;
}

.home-stories {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 0 8px;
}

.story-dot {
  flex: 0 0 auto;
  width: 74px;
  text-align: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.story-dot span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.story-dot img,
.story-dot video {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.story-dot b {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.cat-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 8px;
}

.cat-track {
  overflow: hidden;
  border-radius: 16px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.cat-rail {
  display: flex;
  will-change: transform;
}

.cat-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.cat-dots:empty {
  display: none;
}

.cat-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s;
}

.cat-dot.on {
  width: 22px;
  background: #fff;
}

.cat-card {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #0b1b36;
  box-shadow: 0 16px 32px rgba(11, 27, 54, 0.18);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-category {
  margin: 0 0 8px;
  color: #1d4ed8;
  font-weight: 700;
}

.check-list {
  max-height: 160px;
  overflow: auto;
  display: grid;
  gap: 6px;
}

.check-list label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.story-view {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #000;
  display: grid;
  place-items: center;
}

.story-view.hidden { display: none; }

.story-stage,
.story-stage img,
.story-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-close {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 22px;
}

.story-bars {
  position: absolute;
  top: 10px;
  right: 16px;
  left: 56px;
  display: flex;
  gap: 4px;
}

.story-bars i {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.35);
}

.story-bars i.on { background: #fff; }


.tg-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  background: linear-gradient(145deg, #0ea5e9, #2563eb);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}
.tg-order:hover {
  filter: brightness(1.06);
}

.search-card {
  position: relative;
  width: min(100%, 360px);
}
.search-card .search {
  width: 100%;
  min-height: 46px;
  padding-left: 42px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.28);
  box-shadow: 0 12px 28px rgba(11, 27, 54, 0.12);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #2563eb;
  display: grid;
  pointer-events: none;
}
.filter-chips {
  flex-wrap: nowrap;
  overflow-x: auto;
}
.filter-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.logout-btn {
  color: #fff !important;
  background: linear-gradient(145deg, #ef4444, #991b1b);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.28);
}
#customersPage .item {
  background: rgba(7, 21, 44, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}
#customersPage .item h4,
#customersPage .item small,
#customersPage .empty,
#customersPage .list {
  color: #ffffff !important;
}
.category-modal {
  animation: catPop 0.35s ease;
}
.category-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.category-list button {
  min-height: 44px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #0b1b36;
  font-weight: 700;
  cursor: pointer;
}
.category-list button:hover {
  background: #dbe7ff;
}
@keyframes catPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.filter-cat {
  color: #ffffff !important;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}
.filter-clear {
  color: #ffffff !important;
  background: linear-gradient(145deg, #ef4444, #991b1b);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.28);
}

#mfaSecret {
  display: block;
  padding: 10px;
  border-radius: 12px;
  background: #f4f7fb;
  color: #0b1b36;
  text-align: center;
  letter-spacing: 1px;
  word-break: break-all;
}
.mfa-qr {
  width: 180px;
  height: 180px;
  margin: 8px auto;
}

#ordersPage .order-admin {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(7, 21, 44, 0.55);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
}
#ordersPage .order-admin b,
#ordersPage .order-admin span,
#ordersPage .empty {
  color: #fff !important;
}
#ordersPage .order-admin img {
  width: min(100%, 280px);
  border-radius: 12px;
  margin-top: 6px;
}

#receiptImage {
  width: min(100%, 520px);
  max-height: 70vh;
  object-fit: contain;
  border-radius: 14px;
  margin: 8px auto;
}

.order-chip .copy {
  --button-bg: #ffffff;
  --button-hover-bg: #0b1b36;
  --button-text-color: #0b1b36;
  --button-hover-text-color: #dbe7ff;
  --button-border-radius: 10px;
  --button-diameter: 34px;
  --button-outline-width: 1px;
  --button-outline-color: #1d4ed8;
  --tooltip-bg: #0b1b36;
  --toolptip-border-radius: 8px;
  --tooltip-font-family: Vazirmatn, sans-serif;
  --tooltip-font-size: 12px;
  --tootip-text-color: #ffffff;
  --tooltip-padding-x: 8px;
  --tooltip-padding-y: 6px;
  --tooltip-offset: 8px;
  box-sizing: border-box;
  width: var(--button-diameter);
  height: var(--button-diameter);
  border-radius: var(--button-border-radius);
  background: var(--button-bg);
  color: var(--button-text-color);
  border: 1px solid #dbe7ff;
  cursor: pointer;
  position: relative;
  outline: none;
  margin-top: 8px;
}
.order-chip .tooltip {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font: var(--tooltip-font-size) var(--tooltip-font-family);
  color: var(--tootip-text-color);
  background: var(--tooltip-bg);
  padding: var(--tooltip-padding-y) var(--tooltip-padding-x);
  border-radius: var(--toolptip-border-radius);
  pointer-events: none;
}
.order-chip .tooltip::before { content: attr(data-text-initial); }
.order-chip .tooltip::after {
  content: "";
  position: absolute;
  bottom: calc(var(--tooltip-padding-y) / 2 * -1);
  width: var(--tooltip-padding-y);
  height: var(--tooltip-padding-y);
  background: inherit;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}
.order-chip .copy svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.order-chip .checkmark { display: none; }
.order-chip .copy:hover .tooltip,
.order-chip .copy.copied .tooltip {
  opacity: 1;
  visibility: visible;
  top: calc((100% + var(--tooltip-offset)) * -1);
}
.order-chip .copy.copied .tooltip::before { content: attr(data-text-end); }
.order-chip .copy.copied .clipboard { display: none; }
.order-chip .copy.copied .checkmark { display: block; }
.order-chip .copy:hover,
.order-chip .copy.copied { background: var(--button-hover-bg); color: var(--button-hover-text-color); }
.order-chip .copy:active { outline: var(--button-outline-width) solid var(--button-outline-color); }

.receipt { width:min(92vw, 340px); background:#fff; border:2px dashed #d7deea; padding:15px; border-radius:12px; box-shadow:0 8px 24px rgba(11,27,54,.16); color:#0b1b36; }
.receipt .info { text-align:center; font-size:.85rem; margin:0 0 12px; }
.receipt table { width:100%; border-collapse:collapse; margin-bottom:12px; font-size:.85rem; }
.receipt th, .receipt td { padding:6px 4px; text-align:right; border-bottom:1px solid #eee; }
.customer-row { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.stat-card { width:100%; background:#0b1b36; border-radius:18px; box-shadow:0 8px 24px rgba(11,27,54,.18); padding:16px; color:#f3f6fa; margin:12px 0 18px; }
.stat-card-header { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.stat-card-title { font-weight:800; }

.customer-row .copy { --button-bg:#fff; --button-hover-bg:#0b1b36; --button-text-color:#0b1b36; --button-hover-text-color:#dbe7ff; width:34px; height:34px; border:1px solid #dbe7ff; border-radius:10px; background:#fff; color:#0b1b36; position:relative; }
.customer-row .tooltip { position:absolute; opacity:0; left:50%; transform:translateX(-50%); top:-28px; background:#0b1b36; color:#fff; font-size:12px; padding:4px 7px; border-radius:8px; white-space:nowrap; }
.customer-row .tooltip::before { content: attr(data-text-initial); }
.customer-row .copy svg { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); }
.customer-row .checkmark { display:none; }
.customer-row .copy.copied .clipboard { display:none; }
.customer-row .copy.copied .checkmark { display:block; }
.customer-row .copy.copied { background:#0b1b36; color:#dbe7ff; }
.customer-row .copy.copied .tooltip { opacity:1; }
.customer-row .copy.copied .tooltip::before { content: attr(data-text-end); }

.stat-card { background:#0b1b36; }
.social-apps { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:16px; margin-top:8px; }
.social-apps .contact-ig,
.social-apps .contact-tg,
.social-apps .contact-wa {
  width:68px; height:68px; flex:0 0 68px; padding:0; border-radius:22px;
  display:grid; place-items:center; gap:0;
}
.social-apps .contact-ig span:not(.ig-glyph),
.social-apps .contact-tg span:not(.ig-glyph),
.social-apps .contact-wa span:not(.ig-glyph) { display:none; }
.social-apps .ig-glyph svg { width:30px; height:30px; }
.modal-actions { display:grid; gap:8px; }

/* =====================================================================
   DRUP SHOP — Luxury visual layer (appearance only: no layout, text or
   logic changes). Midnight-glass surfaces, ice-blue accents, calm motion.
   ===================================================================== */
:root{
  --ease:cubic-bezier(.22,.8,.2,1);
  --ink:#eaf1ff; --muted:#9db0cf; --line:rgba(150,195,255,.18); --paper:#0b1a33;
  --lux-glass:linear-gradient(165deg,rgba(22,38,68,.86),rgba(8,15,30,.92));
  --lux-edge:rgba(150,200,255,.18); --lux-edge-hi:rgba(130,200,255,.55);
  --lux-ice:#bfe0ff; --lux-blue:#3b9bff;
  --shadow:0 18px 44px rgba(0,0,0,.45);
}
@keyframes luxDown{from{opacity:0;translate:0 -14px}to{opacity:1;translate:0 0}}
@keyframes luxRise{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
@keyframes luxFade{from{opacity:0}to{opacity:1}}
@keyframes luxModal{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes luxReveal{from{opacity:0;translate:0 26px}to{opacity:1;translate:0 0}}
@keyframes luxFloat{0%,100%{translate:0 0}50%{translate:0 -4px}}

/* ---------- Base ---------- */
body{background-color:#050a16;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:
  radial-gradient(900px 520px at 85% -5%,rgba(59,155,255,.20),transparent 62%),
  radial-gradient(760px 520px at 0% 105%,rgba(30,90,200,.18),transparent 62%),
  linear-gradient(180deg,rgba(3,8,20,.76),rgba(3,8,20,.88))}
::selection{background:rgba(59,155,255,.42);color:#fff}
*{-webkit-tap-highlight-color:transparent}
a,button,.card,.chip,.story-dot,.cat-card{-webkit-touch-callout:none}
:focus-visible{outline:2px solid #7cc4ff;outline-offset:3px}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:none}
*{scrollbar-width:thin;scrollbar-color:#2b5ea8 transparent}
::-webkit-scrollbar{width:9px;height:9px}
::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#2f6fc8,#1b3f7a);border-radius:99px;border:2px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-track{background:transparent}

/* ---------- Header ---------- */
.header{background:linear-gradient(180deg,rgba(9,18,36,.9),rgba(9,18,36,.74));backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);border-bottom:1px solid rgba(150,200,255,.14);box-shadow:0 12px 40px rgba(0,0,0,.4);animation:luxDown .8s var(--ease) both}
.header::after{content:"";position:absolute;inset:auto 0 -1px 0;height:1px;background:linear-gradient(90deg,transparent,rgba(130,200,255,.6),transparent);opacity:.55;pointer-events:none}
.brand{color:#fff;letter-spacing:.2px}
.brand small{color:var(--muted)}
.brand-logo{box-shadow:0 0 0 1px rgba(150,200,255,.3),0 6px 20px rgba(30,100,230,.4);transition:transform .5s var(--ease),box-shadow .5s}
.brand:hover .brand-logo{transform:scale(1.05);box-shadow:0 0 0 1px rgba(170,215,255,.55),0 8px 26px rgba(40,130,255,.5)}
.nav a,.icon{color:#dbe8ff;transition:background .35s,color .35s,transform .5s var(--ease)}
.nav a:hover,.icon:hover{background:rgba(120,180,255,.1);color:#fff}
.nav a.text{position:relative}
.nav a.text::after{content:"";position:absolute;inset-inline:14px;bottom:4px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,#7cc4ff,transparent);transform:scaleX(0);transition:transform .45s var(--ease)}
.nav a.text:hover::after{transform:scaleX(1)}
.icon:hover{transform:rotate(60deg)}
.signup-nav{background:linear-gradient(135deg,#2f8cff,#1c5fe0 60%,#1a4cbf);border:1px solid rgba(160,210,255,.35);box-shadow:0 8px 22px rgba(24,105,237,.35),inset 0 1px 0 rgba(255,255,255,.28);position:relative;overflow:hidden;transition:transform .4s var(--ease),box-shadow .4s}
.signup-nav::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 32%,rgba(255,255,255,.2) 50%,transparent 68%);transform:translateX(-135%);transition:transform .9s var(--ease)}
.signup-nav:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(24,105,237,.5),inset 0 1px 0 rgba(255,255,255,.34)}
.signup-nav:hover::after{transform:translateX(135%)}
.nav a.ig-btn,.ig-btn{box-shadow:0 8px 20px rgba(214,36,159,.3),0 0 0 1px rgba(255,255,255,.14);transition:transform .45s var(--ease),box-shadow .45s}
.ig-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(214,36,159,.42),0 0 0 1px rgba(255,255,255,.22)}

/* ---------- Hero ---------- */
.hero{position:relative;isolation:isolate;background:linear-gradient(180deg,rgba(10,22,46,.55),rgba(10,22,46,.16) 72%,transparent)}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(560px 280px at 78% 8%,rgba(59,155,255,.22),transparent 70%),radial-gradient(420px 240px at 12% 70%,rgba(120,180,255,.08),transparent 70%)}
.tag{background:linear-gradient(135deg,rgba(59,155,255,.22),rgba(59,155,255,.07));color:#c8e4ff;border:1px solid rgba(130,200,255,.36);backdrop-filter:blur(6px);letter-spacing:.3px;box-shadow:0 6px 20px rgba(30,110,255,.18)}
.hero h1{background:linear-gradient(180deg,#ffffff 28%,#a9d2ff 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 8px 26px rgba(30,110,255,.28))}
.lead{color:#b9c9e6}
.hero .tag{animation:luxRise .9s var(--ease) .05s both}
.hero h1{animation:luxRise .95s var(--ease) .15s both}
.hero .lead{animation:luxRise .95s var(--ease) .26s both}
.hero-actions{animation:luxRise .95s var(--ease) .36s both}
.hero .panel{animation:luxRise 1s var(--ease) .3s both}
.panel{background:#091a36;box-shadow:0 26px 64px rgba(0,0,0,.55),0 0 64px rgba(40,120,255,.14)}
.panel::before{background:conic-gradient(from 0deg,rgba(59,155,255,0),#7cc4ff 18%,rgba(59,155,255,0) 38%,#3b9bff 66%,rgba(59,155,255,0) 88%);animation-duration:7s}
.panel::after{background:linear-gradient(160deg,#0d2347,#071328)}
.panel h3{letter-spacing:.2px}
.panel p{color:#b9cdee}
.step{background:rgba(255,255,255,.05);border:1px solid rgba(150,200,255,.14);transition:transform .45s var(--ease),border-color .4s,background .4s}
.step:hover{translate:-4px 0;border-color:rgba(130,200,255,.45);background:rgba(59,155,255,.1)}

/* ---------- Section headings / forms base ---------- */
.section-head p{color:var(--muted)}
.section-head h2{letter-spacing:.2px;text-shadow:0 2px 18px rgba(0,0,0,.45)}
.ink-text{color:#c3d3ee!important}
.contact-lead,#contact .contact-lead{color:#c3d3ee!important}
input,textarea,select{background:rgba(6,13,28,.7);color:#eef4ff;border:1px solid rgba(140,180,240,.22);border-radius:12px;transition:border-color .3s,box-shadow .3s,background .3s}
input::placeholder,textarea::placeholder{color:#7f93b3}
input:hover,textarea:hover,select:hover{border-color:rgba(140,200,255,.42)}
input:focus,textarea:focus,select:focus{outline:none;border-color:#4aa3ff;background:rgba(8,16,34,.92);box-shadow:0 0 0 4px rgba(59,155,255,.16),0 10px 26px rgba(20,100,230,.14)}
select option{background:#0b1a33;color:#eef4ff}
input::file-selector-button{border:0;border-radius:8px;background:rgba(59,155,255,.24);color:#dcebff;padding:6px 12px;margin-inline-end:10px;font:inherit;cursor:pointer;transition:background .3s}
input::file-selector-button:hover{background:rgba(59,155,255,.4)}
input[type="checkbox"]{accent-color:#3b9bff}

/* ---------- Buttons ---------- */
.btn{position:relative;overflow:hidden;isolation:isolate;border-radius:13px;letter-spacing:.2px;transition:transform .4s var(--ease),box-shadow .4s var(--ease),border-color .3s,background .3s,filter .3s}
.btn::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 32%,rgba(255,255,255,.18) 50%,transparent 68%);transform:translateX(-135%);transition:transform .9s var(--ease)}
.btn:hover:not(:disabled)::after{transform:translateX(135%)}
.btn:hover:not(:disabled){transform:translateY(-2px)}
.btn:active:not(:disabled){transform:scale(.98)}
.primary{background:linear-gradient(135deg,#2f8cff,#1c5fe0 55%,#1a4cbf);border-color:rgba(160,210,255,.36);box-shadow:0 10px 26px rgba(24,105,237,.35),inset 0 1px 0 rgba(255,255,255,.28)}
.primary:hover:not(:disabled){box-shadow:0 16px 36px rgba(24,105,237,.5),inset 0 1px 0 rgba(255,255,255,.34)}
.ghost{background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));border-color:rgba(150,195,255,.26);color:#e6f0ff;backdrop-filter:blur(8px)}
.ghost:hover:not(:disabled){border-color:rgba(130,200,255,.65);box-shadow:0 12px 28px rgba(36,140,255,.16)}
.green,.luxury-order{background:linear-gradient(135deg,#059669,#10b981 55%,#34d399);border:1px solid rgba(170,255,215,.3);color:#fff;box-shadow:0 12px 28px rgba(5,150,105,.32),inset 0 1px 0 rgba(255,255,255,.3)}
.luxury-order:hover:not(:disabled){box-shadow:0 18px 36px rgba(5,150,105,.45),inset 0 1px 0 rgba(255,255,255,.34)}
.danger{background:linear-gradient(145deg,#e0475f,#9d1c37);border:1px solid rgba(255,170,185,.3);box-shadow:0 10px 24px rgba(185,28,28,.3)}
.filter-cat{background:linear-gradient(145deg,#3b9bff,#1c5fe0);border:1px solid rgba(160,210,255,.36);box-shadow:0 10px 24px rgba(37,99,235,.34),inset 0 1px 0 rgba(255,255,255,.26)}
.filter-clear,.logout-btn{background:linear-gradient(145deg,#d9435c,#8c1a33);border:1px solid rgba(255,160,180,.3);box-shadow:0 10px 24px rgba(185,28,28,.28),inset 0 1px 0 rgba(255,255,255,.2)}
.tg-order{background:linear-gradient(145deg,#2bb3f3,#1d5fe0);border:1px solid rgba(170,225,255,.34);box-shadow:0 12px 28px rgba(37,99,235,.32),inset 0 1px 0 rgba(255,255,255,.28)}
.signup-submit{background:linear-gradient(135deg,#059669,#10b981 55%,#34d399);border:1px solid rgba(170,255,215,.3);box-shadow:0 12px 28px rgba(5,150,105,.32),inset 0 1px 0 rgba(255,255,255,.3)}
.page-contact{background:linear-gradient(135deg,#2f8cff,#1a4cbf);border:1px solid rgba(160,210,255,.36);box-shadow:0 12px 26px rgba(29,78,216,.32),inset 0 1px 0 rgba(255,255,255,.26)}
.reviews-cta,.reviews-jump #reviewsJump{background:linear-gradient(135deg,#2f8cff,#1c5fe0 55%,#1a4cbf);border:1px solid rgba(160,210,255,.36);box-shadow:0 14px 32px rgba(37,99,235,.36),inset 0 1px 0 rgba(255,255,255,.28)}

/* ---------- Search, chips, price axis ---------- */
.search-card .search{background:rgba(8,18,38,.72);color:#fff;border:1px solid rgba(130,190,255,.3);box-shadow:0 14px 32px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(10px)}
.search-card .search:focus{border-color:#4aa3ff;box-shadow:0 0 0 4px rgba(59,155,255,.18),0 14px 32px rgba(20,100,230,.2)}
.search-icon{color:#7cc4ff}
.chip{background:rgba(255,255,255,.06);color:#cfe2ff;border-color:rgba(150,195,255,.24);backdrop-filter:blur(8px);transition:transform .4s var(--ease),border-color .3s,background .3s,box-shadow .4s}
.chip:hover{border-color:rgba(130,200,255,.6);background:rgba(59,155,255,.14);transform:translateY(-1px)}
.chip.active{background:linear-gradient(135deg,#1f6fe8,#3b9bff);color:#fff;border-color:rgba(170,215,255,.5);box-shadow:0 10px 26px rgba(40,130,255,.38)}
.price-axis-card{background:var(--lux-glass);border:1px solid var(--lux-edge);box-shadow:0 18px 44px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(14px)}
.price-axis-head{color:#fff}
.price-axis-head span{color:var(--muted)}
.range-track{background:rgba(150,190,255,.2)}
.range-fill{background:linear-gradient(90deg,#1f6fe8,#7cc4ff);box-shadow:0 0 14px rgba(59,155,255,.55)}
.range-wrap input[type="range"]{border:0;box-shadow:none;outline:none}
.range-wrap input[type="range"]::-webkit-slider-thumb{background:linear-gradient(135deg,#8cd0ff,#1f6fe8);border:2px solid #fff;box-shadow:0 0 0 5px rgba(59,155,255,.2),0 4px 12px rgba(0,0,0,.45);transition:box-shadow .3s,transform .3s}
.range-wrap input[type="range"]::-webkit-slider-thumb:hover{transform:scale(1.12);box-shadow:0 0 0 8px rgba(59,155,255,.22),0 4px 12px rgba(0,0,0,.45)}
.range-wrap input[type="range"]::-moz-range-thumb{background:linear-gradient(135deg,#8cd0ff,#1f6fe8);border:2px solid #fff;box-shadow:0 0 0 5px rgba(59,155,255,.2),0 4px 12px rgba(0,0,0,.45)}
.range-labels{color:#dbe8ff}
.range-live{background:linear-gradient(180deg,rgba(59,155,255,.14),rgba(59,155,255,.05));border:1px solid rgba(130,200,255,.3);color:#9cc9ff}
.range-live b{color:#fff}

/* ---------- Product cards ---------- */
.card{position:relative;isolation:isolate;background:linear-gradient(165deg,rgba(26,44,76,.92),rgba(8,15,30,.96));border:1px solid rgba(150,200,255,.15);box-shadow:0 14px 34px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.06);transition:border-color .45s,box-shadow .55s,translate .55s var(--ease)}
.card::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,transparent 36%,rgba(255,255,255,.1) 50%,transparent 64%);transform:translateX(-125%);transition:transform 1.1s var(--ease)}
.card:hover{translate:0 -6px;border-color:rgba(130,200,255,.5);box-shadow:0 28px 58px rgba(0,0,0,.58),0 0 44px rgba(40,130,255,.15),inset 0 1px 0 rgba(255,255,255,.1)}
.card:hover::after{transform:translateX(125%)}
.media{background:linear-gradient(180deg,#f4f7fc,#dfe7f3)}
.media::after{content:"";position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(0deg,rgba(8,15,30,.5),transparent);pointer-events:none}
.media img{transition:transform .9s var(--ease)}
.card:hover .media img,.media:hover img{transform:scale(1.07)}
.badge{z-index:2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);letter-spacing:.2px}
.in{background:rgba(5,46,34,.74);color:#6ee7b7;border:1px solid rgba(52,211,153,.42)}
.out{background:rgba(70,12,28,.74);color:#fda4af;border:1px solid rgba(251,113,133,.42)}
.body h3{color:#fff;font-weight:700;letter-spacing:.1px}
.price{color:#fff}
.price-now{color:#5ee6a8!important}
.price-old{color:#fb8a9a!important}
.price-unit{color:#5ee6a8!important}
.desc{color:#9db0cf}
.specs{background:rgba(255,255,255,.04);border:1px solid rgba(150,195,255,.14);color:#cfdcf2}
.code{background:linear-gradient(135deg,rgba(59,155,255,.16),rgba(59,155,255,.06));border:1px solid rgba(130,200,255,.28)}
.empty{border:1px dashed rgba(150,195,255,.28);background:rgba(255,255,255,.025);color:var(--muted)}

/* ---------- Pager ---------- */
.page-btn{background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));color:#dbe8ff;border:1px solid rgba(150,195,255,.22);box-shadow:0 10px 22px rgba(0,0,0,.32);backdrop-filter:blur(8px);transition:transform .4s var(--ease),border-color .3s,background .3s,box-shadow .4s}
.page-btn.nav{color:#dbe8ff}
.page-btn.dots{color:var(--muted)}
.page-btn:hover:not(:disabled):not(.dots){transform:translateY(-2px);border-color:rgba(130,200,255,.6);background:rgba(59,155,255,.16)}
.page-btn.active{background:linear-gradient(135deg,#1f6fe8,#3b9bff);color:#fff;border-color:rgba(170,215,255,.6);box-shadow:0 12px 28px rgba(40,130,255,.45)}

/* ---------- Stories & category slider ---------- */
.story-dot b{color:#dbe8ff}
.story-dot span{box-shadow:0 8px 20px rgba(0,0,0,.4);transition:transform .5s var(--ease),box-shadow .5s}
.story-dot:hover span{transform:scale(1.06);box-shadow:0 12px 28px rgba(221,42,123,.35)}
.cat-card{border:1px solid rgba(150,200,255,.18);box-shadow:0 20px 44px rgba(0,0,0,.45)}

/* ---------- Contact & footer ---------- */
.contact-card{background:linear-gradient(150deg,rgba(18,34,64,.92),rgba(8,17,36,.95));border:1px solid rgba(150,200,255,.2);box-shadow:0 16px 36px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.07);transition:translate .5s var(--ease),box-shadow .5s,border-color .4s}
.contact-card:hover{translate:0 -4px;border-color:rgba(130,200,255,.55);box-shadow:0 24px 48px rgba(0,0,0,.55),0 0 36px rgba(40,130,255,.14)}
.contact-label{color:#9cc9ff}
.contact-ig,.contact-tg,.contact-wa{border:1px solid rgba(255,255,255,.18);transition:translate .5s var(--ease),box-shadow .5s,filter .4s}
.contact-ig:hover,.contact-tg:hover,.contact-wa:hover{translate:0 -4px;filter:brightness(1.06)}
.contact-ig:hover{box-shadow:0 18px 34px rgba(214,36,159,.4)}
.contact-tg:hover{box-shadow:0 18px 34px rgba(34,158,217,.4)}
.contact-wa:hover{box-shadow:0 18px 34px rgba(37,211,102,.38)}
.ig-glyph{border:1px solid rgba(255,255,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
.footer{color:#9db0cf;border-top:1px solid var(--lux-edge);background:rgba(5,10,22,.62);backdrop-filter:blur(12px)}
.footer-logo{border-radius:12px;box-shadow:0 0 0 1px rgba(150,200,255,.3),0 8px 22px rgba(30,100,230,.35)}

/* ---------- Overlays & modals ---------- */
.overlay{background:rgba(2,6,16,.68);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.overlay.open{animation:luxFade .35s ease both}
.modal{background:linear-gradient(165deg,rgba(24,41,72,.98),rgba(8,15,30,.99));border:1px solid var(--lux-edge);box-shadow:0 40px 110px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.07);color:var(--ink)}
.overlay.open .modal{animation:luxModal .55s var(--ease) both}
.modal h3{color:#fff;letter-spacing:.1px}
.modal p{color:var(--muted)}
.detail-close{background:rgba(255,255,255,.07);color:#cfe2ff;border:1px solid rgba(150,195,255,.22);transition:transform .45s var(--ease),background .3s,color .3s}
.detail-close:hover{transform:rotate(90deg);background:rgba(59,155,255,.25);color:#fff}
.detail-media{background:linear-gradient(180deg,#f4f7fc,#dfe7f3)}
.detail-info h3{color:#fff}
.pay-note{background:linear-gradient(160deg,rgba(220,38,38,.16),rgba(220,38,38,.06));border:1px solid rgba(248,113,113,.55);color:#ffe4e6;box-shadow:0 8px 24px rgba(220,38,38,.12)}
.pay-card{background:linear-gradient(160deg,rgba(59,155,255,.16),rgba(59,155,255,.04));border:1px solid rgba(130,200,255,.3)}
.pay-card span{color:#8fb6ea}
.pay-card b,.pay-card strong{color:#fff}
.order-chip{background:rgba(255,255,255,.045);border:1px solid rgba(150,195,255,.18)}
.order-chip span{color:#8fa4c4}
.order-chip b{color:#fff}
.order-chip .copy{--button-bg:rgba(255,255,255,.07);--button-hover-bg:#2f8cff;--button-text-color:#cfe2ff;--button-hover-text-color:#fff;--button-outline-color:#7cc4ff;border-color:rgba(150,195,255,.3);transition:background .3s,color .3s}
.order-chip .tooltip{border:1px solid rgba(150,195,255,.25)}
.customer-row .copy{background:rgba(255,255,255,.07);color:#cfe2ff;border:1px solid rgba(150,195,255,.3);transition:background .3s,color .3s}
.customer-row .copy:hover,.customer-row .copy.copied{background:#2f8cff;color:#fff}
.category-list button{background:rgba(255,255,255,.05);color:#e6f0ff;border-color:rgba(150,195,255,.22);transition:transform .4s var(--ease),background .3s,border-color .3s}
.category-list button:hover{background:rgba(59,155,255,.2);border-color:rgba(130,200,255,.55);transform:translateY(-1px)}
.field-error,#loginError{color:#fda4af!important}
#mfaSecret{background:rgba(255,255,255,.06);color:#dbe8ff;border:1px solid rgba(150,195,255,.2)}
.mfa-qr{background:#fff;padding:8px;border-radius:14px}
#receiptImage{border:1px solid var(--lux-edge)}

/* ---------- Product page ---------- */
.product-layout{background:linear-gradient(165deg,rgba(20,35,64,.72),rgba(8,15,30,.82));border:1px solid var(--lux-edge);box-shadow:0 28px 64px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.07);backdrop-filter:blur(18px)}
.gallery{background:linear-gradient(180deg,#f4f7fc,#dfe7f3);border:1px solid rgba(150,200,255,.25);box-shadow:0 16px 38px rgba(0,0,0,.35)}
.gallery-stage{background:linear-gradient(180deg,#f4f7fc,#dfe7f3)}
.gallery-nav{background:rgba(7,21,44,.78);border:1px solid rgba(150,195,255,.3);backdrop-filter:blur(6px);transition:background .3s,transform .4s var(--ease)}
.gallery-nav:hover{background:rgba(31,111,232,.9)}
.gallery-dots button{background:rgba(150,180,225,.4);transition:width .4s var(--ease),background .3s}
.gallery-dots button.active{background:linear-gradient(90deg,#3b9bff,#7cc4ff)}
.page-category{color:#9ccfff}
.qty-box{background:rgba(255,255,255,.06);border:1px solid rgba(150,195,255,.24);backdrop-filter:blur(8px)}
.qty-box button{background:linear-gradient(135deg,#2f8cff,#1a4cbf);box-shadow:0 6px 14px rgba(24,105,237,.35);transition:transform .3s var(--ease),box-shadow .3s}
.qty-box button:hover{transform:scale(1.1)}
.qty-box button:active{transform:scale(.94)}

/* ---------- Reviews ---------- */
.public-review,.review-card{background:var(--lux-glass);border:1px solid var(--lux-edge);box-shadow:0 16px 36px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(12px)}
.review-card{transition:translate .5s var(--ease),border-color .4s,box-shadow .5s}
.review-card:hover{translate:0 -4px;border-color:rgba(130,200,255,.45);box-shadow:0 24px 48px rgba(0,0,0,.5)}
.review-card strong{color:#fff}
.review-card p{color:#aebfdc}
.stars{color:#7cc4ff}
.star-pick button{color:#5d7094;transition:transform .35s var(--ease),color .3s,text-shadow .3s}
.star-pick button:hover{transform:scale(1.15);color:#f5c04a}
.star-pick button.on{color:#f5c04a;text-shadow:0 0 16px rgba(245,192,74,.5)}

/* ---------- Floating signup, toast, loader ---------- */
.toast{backdrop-filter:blur(14px);border:1px solid rgba(150,200,255,.22);box-shadow:0 22px 50px rgba(0,0,0,.5)}
/* ---------- Loading screen: three nested rings (blue / ice / white) ---------- */
.boot-load{background:radial-gradient(circle at 50% 40%,#0f2a5c 0%,#06112b 52%,#02050f 100%)}
.lux-loader{position:relative;display:grid;justify-items:center;gap:20px}
.lux-ring{position:relative;width:104px;height:104px;display:grid;place-items:center}
.lux-ring::before{content:"";position:absolute;inset:-46px;border-radius:50%;background:radial-gradient(circle,rgba(0,77,255,.34),transparent 66%);animation:luxGlow 3s ease-in-out infinite}
.spinner{position:relative;width:104px;height:104px;display:grid;border:4px solid #0000;border-radius:50%;border-right-color:#1f6bff;border-top-color:rgba(31,107,255,.3);filter:drop-shadow(0 0 7px rgba(0,90,255,.9));animation:spinner-a4dj62 1s infinite linear}
.spinner::before,.spinner::after{content:"";grid-area:1/1;margin:5px;border:inherit;border-radius:50%;animation:spinner-a4dj62 2s infinite}
.spinner::before{border-right-color:#7db8ff;border-top-color:rgba(125,184,255,.3)}
.spinner::after{margin:14px;border-right-color:#f1f7ff;border-top-color:rgba(241,247,255,.3);animation-duration:3s}
.loader-shop{margin-top:8px;font-size:22px;font-weight:800;letter-spacing:.5px;background:linear-gradient(100deg,#8fb8f0 20%,#fff 45%,#8fb8f0 70%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:luxShimmer 2.6s linear infinite}
.loader-sub{font-size:12px;color:#8fb0e6;opacity:.85}
.loader-bar{position:relative;display:block;width:120px;height:2px;border-radius:2px;overflow:hidden;background:rgba(150,195,255,.16)}
.loader-bar::after{content:"";position:absolute;inset:0;width:40%;border-radius:inherit;background:linear-gradient(90deg,transparent,#7db8ff,transparent);animation:luxSweep 1.6s ease-in-out infinite}
@keyframes spinner-a4dj62{100%{transform:rotate(1turn)}}
@keyframes luxGlow{0%,100%{opacity:.7;transform:scale(.94)}50%{opacity:1;transform:scale(1.06)}}
@keyframes luxShimmer{to{background-position:-220% 0}}
@keyframes luxSweep{0%{transform:translateX(-110%)}100%{transform:translateX(260%)}}
@media(prefers-reduced-motion:reduce){.lux-ring::before,.loader-shop,.loader-bar::after{animation:none!important}}

/* ---------- Admin area (same shop, dark luxury) ---------- */
.admin{background:linear-gradient(180deg,#050a16,#091428)}
.admin-head p{color:var(--muted)}
.box{background:var(--lux-glass);border:1px solid var(--lux-edge);box-shadow:0 18px 44px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06)}
.luxury-form{background:linear-gradient(165deg,#10213f,#09152b) padding-box,linear-gradient(160deg,rgba(124,196,255,.7),rgba(30,70,150,.25)) border-box;border:1px solid transparent;box-shadow:0 22px 50px rgba(0,0,0,.45)}
.luxury-form .form label{color:#bcd2f2}
.luxury-form input,.luxury-form textarea,.luxury-form select{border-color:rgba(140,180,240,.22);background:rgba(6,13,28,.7)}
.luxury-form input:focus,.luxury-form textarea:focus,.luxury-form select:focus{border-color:#4aa3ff;box-shadow:0 0 0 4px rgba(59,155,255,.16),0 10px 26px rgba(20,100,230,.14)}
.item{background:rgba(255,255,255,.03);border:1px solid rgba(150,195,255,.16);transition:border-color .35s,background .35s}
.item:hover{border-color:rgba(130,200,255,.45);background:rgba(59,155,255,.06)}
.item img{background:var(--paper)}
.item small{color:var(--muted)}
.stat-card{background:linear-gradient(165deg,#0f2447,#08142a);border:1px solid rgba(130,200,255,.18);box-shadow:0 18px 44px rgba(0,0,0,.45)}
#customersPage .item,#ordersPage .order-admin{border:1px solid rgba(150,200,255,.2);backdrop-filter:blur(10px)}

/* ---------- Gentle scroll reveal (progressive enhancement) ---------- */
@supports (animation-timeline:view()){
  .section-head,.price-axis-card,.public-review{animation:luxReveal both linear;animation-timeline:view();animation-range:entry 0% entry 55%}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .panel::before{animation:none!important}
}

/* =====================================================================
   Urgent button / urgent flag, luxury checkboxes, luxury admin charts
   ===================================================================== */
/* ---------- «فوری» (luxury gold) ---------- */
.btn.urgent{display:inline-flex;align-items:center;gap:6px;color:#2b1d00;background:linear-gradient(135deg,#ffe08a 0%,#f5b82e 52%,#d9970b 100%);border:1px solid rgba(255,238,175,.65);box-shadow:0 8px 22px rgba(245,184,46,.30),inset 0 1px 0 rgba(255,255,255,.5)}
.btn.urgent .urgent-ico{width:16px;height:16px;flex:none}
.btn.urgent:hover:not(:disabled){box-shadow:0 14px 30px rgba(245,184,46,.45),inset 0 1px 0 rgba(255,255,255,.6)}
.btn.urgent.is-on{color:#ffd766;background:linear-gradient(135deg,rgba(245,184,46,.22),rgba(245,184,46,.08));border-color:rgba(245,184,46,.75);box-shadow:0 0 0 1px rgba(245,184,46,.25),0 0 20px rgba(245,184,46,.28)}
.btn.urgent.is-on .urgent-ico{animation:urgentNudge 2.6s ease-in-out infinite}
@keyframes urgentNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(-2px)}}
.card:has(.urgent-flag){border-color:rgba(245,184,46,.38)}

/* ---------- Luxury checkbox (category cards) ---------- */
input.ui-checkbox{--primary-color:#2f8cff;--secondary-color:#fff;--primary-hover-color:#4aa3ff;--checkbox-diameter:22px;--checkbox-border-radius:7px;--checkbox-border-color:rgba(150,195,255,.42);--checkbox-border-width:1px;--checkbox-border-style:solid;--checkmark-size:1.2;--checkbox-bg:rgba(6,13,28,.78)}
input.ui-checkbox,input.ui-checkbox *,input.ui-checkbox *::before,input.ui-checkbox *::after{-webkit-box-sizing:border-box;box-sizing:border-box}
input.ui-checkbox,.check-list input.ui-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:none;width:var(--checkbox-diameter);min-width:var(--checkbox-diameter);height:var(--checkbox-diameter);padding:0;margin:0;border-radius:var(--checkbox-border-radius);background:var(--checkbox-bg);border:var(--checkbox-border-width) var(--checkbox-border-style) var(--checkbox-border-color);box-shadow:none;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;cursor:pointer;position:relative}
input.ui-checkbox::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-shadow:0 0 0 calc(var(--checkbox-diameter) / 2.5) var(--primary-color);box-shadow:0 0 0 calc(var(--checkbox-diameter) / 2.5) var(--primary-color);border-radius:inherit;opacity:0;-webkit-transition:all .5s cubic-bezier(.12,.4,.29,1.46);-o-transition:all .5s cubic-bezier(.12,.4,.29,1.46);transition:all .5s cubic-bezier(.12,.4,.29,1.46)}
input.ui-checkbox::before{top:40%;left:50%;content:"";position:absolute;width:4px;height:7px;border-right:2px solid var(--secondary-color);border-bottom:2px solid var(--secondary-color);-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(0);-ms-transform:translate(-50%,-50%) rotate(45deg) scale(0);transform:translate(-50%,-50%) rotate(45deg) scale(0);opacity:0;-webkit-transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;-o-transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s}
input.ui-checkbox:hover{border-color:var(--primary-color);background:rgba(47,140,255,.12)}
input.ui-checkbox:checked{background:linear-gradient(135deg,#4aa3ff,#1c5fe0);border-color:transparent;box-shadow:0 6px 16px rgba(30,100,230,.4)}
input.ui-checkbox:checked::before{opacity:1;-webkit-transform:translate(-50%,-50%) rotate(45deg) scale(var(--checkmark-size));-ms-transform:translate(-50%,-50%) rotate(45deg) scale(var(--checkmark-size));transform:translate(-50%,-50%) rotate(45deg) scale(var(--checkmark-size));-webkit-transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;-o-transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s}
input.ui-checkbox:active:not(:checked)::after{-webkit-transition:none;-o-transition:none;-webkit-box-shadow:none;box-shadow:none;transition:none;opacity:1}
input.ui-checkbox:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(59,155,255,.38)}
.check-list label{padding:8px 10px;border-radius:12px;border:1px solid transparent;cursor:pointer;transition:background .3s,border-color .3s}
.check-list label:hover{background:rgba(59,155,255,.08)}
.check-list label:has(.ui-checkbox:checked){background:rgba(59,155,255,.12);border-color:rgba(130,200,255,.35)}

/* ---------- Luxury admin charts (orders / customers) ---------- */
.lux-chart{padding:18px 18px 14px;border:1px solid rgba(130,200,255,.2);background:linear-gradient(165deg,#0f2447,#08142a);box-shadow:0 18px 44px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.06)}
.lux-chart .stat-card-header{flex-wrap:wrap;gap:10px}
.lc-seg{display:inline-flex;border:1px solid rgba(130,190,255,.28);border-radius:12px;overflow:hidden;background:#070c17}
.lc-seg button{border:0;background:transparent;color:#a9bddb;padding:7px 15px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;transition:background .3s,color .3s}
.lc-seg button.active{background:linear-gradient(135deg,#2f8cff,#1a4cbf);color:#fff}
.lc-seg button:not(.active):hover{background:rgba(80,160,255,.12);color:#fff}
.lc-kpi{margin:12px 2px 8px;font-size:12.5px;color:#a9bddb}
.lc-scroll{position:relative;overflow-x:auto;direction:ltr;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;scrollbar-width:thin;scrollbar-color:#2f83d7 #101725;border-radius:12px}
.lc-scroll:active{cursor:grabbing}
.lc-svg{display:block;pointer-events:none;max-width:none;font-family:Vazirmatn,sans-serif}
.lc-line{fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:lcDraw 1.5s var(--ease) .1s forwards}
.lc-area{opacity:0;animation:lcFade 1.1s ease .5s forwards}
.lc-dot{opacity:0;animation:lcFade .5s ease forwards;animation-delay:calc(.7s + var(--d)*60ms)}
.lc-static .lc-line{animation:none;stroke-dashoffset:0}
.lc-static .lc-area,.lc-static .lc-dot{animation:none;opacity:1}
.lc-guide{stroke:rgba(160,205,255,.35);stroke-dasharray:3 5;opacity:0;transition:opacity .25s}
.lc-tip{position:absolute;pointer-events:none;z-index:3;top:6px;direction:rtl;display:flex;gap:10px;align-items:center;padding:7px 12px;border-radius:11px;background:rgba(7,12,22,.96);border:1px solid rgba(130,195,255,.3);box-shadow:0 12px 30px rgba(0,0,0,.5);font-size:12px;color:#dce9fb;opacity:0;transform:translateY(4px);transition:opacity .25s,transform .25s}
.lc-tip.is-on{opacity:1;transform:none}
.lc-tip strong{color:#fff}.lc-tip span{color:var(--lc,#7cc4ff);font-weight:800}
.lc-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.lc-zoom{display:inline-flex;align-items:center;gap:6px}
.lc-zoom button{min-width:34px;height:34px;border-radius:10px;border:1px solid rgba(130,190,255,.28);background:rgba(255,255,255,.05);color:#dcebff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;padding:0 10px;transition:border-color .3s,background .3s,transform .35s var(--ease)}
.lc-zoom button:hover{border-color:rgba(150,205,255,.65);background:rgba(80,160,255,.14)}
.lc-zoom button:active{transform:scale(.95)}
.lc-zval{min-width:46px;text-align:center;font-size:12px;color:#9fb2ce}
.lc-hint{font-size:11px;color:#7f93b3}
@keyframes lcDraw{to{stroke-dashoffset:0}}
@keyframes lcFade{to{opacity:1}}
@media(prefers-reduced-motion:reduce){.lc-line{animation:none;stroke-dashoffset:0}.lc-area,.lc-dot{animation:none;opacity:1}.btn.urgent.is-on .urgent-ico{animation:none}}

/* =====================================================================
   Urgent ribbon (yellow band, black text) + «ویژه٪» section
   ===================================================================== */
.urgent-flag{position:absolute;top:19px;left:-31px;z-index:3;width:116px;height:21px;display:grid;place-items:center;transform:rotate(-45deg);transform-origin:center;pointer-events:none;color:#000;font-size:11.5px;font-weight:900;letter-spacing:.6px;line-height:1;background:linear-gradient(100deg,transparent 38%,rgba(255,255,255,.55) 50%,transparent 62%) -160% 0/240% 100% no-repeat,linear-gradient(180deg,#ffeaa0 0%,#f7bd2e 52%,#d99a0c 100%);border-top:1px solid rgba(255,246,205,.8);border-bottom:1px solid rgba(140,92,0,.55);box-shadow:0 4px 10px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.6);animation:urgentSheen 4.5s ease-in-out 1s infinite}
.urgent-flag b{font:inherit;color:#000}
@keyframes urgentSheen{0%,60%{background-position:-160% 0,0 0}100%{background-position:260% 0,0 0}}

/* ---------- Admin button «ویژه٪» (rose-red) ---------- */
.btn.special-btn{display:inline-flex;align-items:center;gap:6px;color:#fff;background:linear-gradient(135deg,#ff7b9a 0%,#ec2f5f 52%,#a3123f 100%);border:1px solid rgba(255,190,205,.5);box-shadow:0 8px 22px rgba(236,47,95,.32),inset 0 1px 0 rgba(255,255,255,.35)}
.btn.special-btn .special-ico{width:16px;height:16px;flex:none}
.btn.special-btn:hover:not(:disabled){box-shadow:0 14px 30px rgba(236,47,95,.48),inset 0 1px 0 rgba(255,255,255,.45)}
.btn.special-btn.is-on{background:linear-gradient(135deg,rgba(236,47,95,.26),rgba(236,47,95,.1));color:#ff9db6;border-color:rgba(255,120,155,.75);box-shadow:0 0 0 1px rgba(236,47,95,.28),0 0 20px rgba(236,47,95,.3)}
.btn.special-save{background:linear-gradient(135deg,#ff7b9a 0%,#ec2f5f 52%,#a3123f 100%);border:1px solid rgba(255,190,205,.5);box-shadow:0 12px 28px rgba(236,47,95,.34),inset 0 1px 0 rgba(255,255,255,.35)}
.special-modal .sm-name{margin:0 0 12px;color:#fff;font-weight:700}
.special-modal .sm-field{display:grid;gap:7px;margin-bottom:10px}
.special-modal .sm-preview{padding:10px 14px;border-radius:12px;background:linear-gradient(160deg,rgba(236,47,95,.14),rgba(236,47,95,.04));border:1px solid rgba(255,120,155,.35);color:#ffd5e0;font-size:13px}
.special-modal .sm-preview b{color:#fff}
.special-modal .sm-pct{color:#ff8fae}
.special-modal .field-error{min-height:20px;margin:8px 0 0}

/* ---------- Section «تخفیف ویژه» (full-bleed luxury red) ---------- */
.special-wrap{width:100%;margin:22px 0 10px}
.special{position:relative;overflow:hidden;border-radius:0;border-block:1px solid rgba(255,214,222,.38);background:radial-gradient(900px 280px at 85% -25%,rgba(255,130,150,.38),transparent 70%),radial-gradient(760px 320px at 8% 115%,rgba(96,0,20,.6),transparent 70%),linear-gradient(165deg,#920d26 0%,#c4142f 44%,#85091f 100%);box-shadow:0 26px 60px rgba(40,0,10,.5),inset 0 1px 0 rgba(255,255,255,.3),inset 0 -1px 0 rgba(0,0,0,.35);animation:spIn .8s var(--ease) both}
.special::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(115deg,rgba(255,255,255,.035) 0 2px,transparent 2px 16px)}
.special::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.14) 50%,transparent 62%);transform:translateX(-120%);animation:spSheen 8s ease-in-out 1.5s infinite}
.sp-defs{position:absolute;width:0;height:0}
.special-pct{position:absolute;top:12px;left:clamp(12px,3vw,34px);z-index:3;width:clamp(52px,7vw,74px);height:clamp(52px,7vw,74px);transform:rotate(-10deg);filter:drop-shadow(0 0 12px rgba(255,255,255,.55)) drop-shadow(0 4px 10px rgba(70,0,14,.55))}
.special-pct svg{display:block;width:100%;height:100%}
.special-head{position:relative;z-index:2;padding:22px clamp(16px,4vw,40px) 2px}
.special-head h2{margin:0;font-size:clamp(24px,3.4vw,32px);font-weight:900;color:#fff;letter-spacing:.3px;text-shadow:0 2px 16px rgba(60,0,12,.55)}
.special-track{position:relative;z-index:2;display:flex;gap:16px;overflow-x:auto;padding:22px clamp(14px,4vw,40px) 28px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.75) rgba(60,0,12,.35);overscroll-behavior-x:contain}
.special-track::-webkit-scrollbar{height:7px}
.special-track::-webkit-scrollbar-track{background:rgba(60,0,12,.35)}
.special-track::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#fff,#ffd5de);border-radius:99px}
.sp-card,.sp-more{flex:0 0 clamp(158px,43vw,232px);scroll-snap-align:start}
.sp-card{position:relative;cursor:pointer;border-radius:18px;background:linear-gradient(165deg,rgba(30,46,80,.97),rgba(9,15,30,.99));border:1px solid rgba(150,200,255,.18);box-shadow:0 16px 34px rgba(50,0,12,.5),inset 0 1px 0 rgba(255,255,255,.06);animation:spIn .7s var(--ease) backwards;animation-delay:calc(var(--i,0)*70ms + .15s);transition:border-color .4s,box-shadow .5s,translate .5s var(--ease)}
.sp-card:hover{translate:0 -5px;border-color:rgba(255,200,212,.6);box-shadow:0 24px 50px rgba(50,0,12,.6)}
.sp-media{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:17px 17px 0 0;background:linear-gradient(180deg,#f4f7fc,#dde6f2)}
.sp-media::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 36%,rgba(255,255,255,.18) 50%,transparent 64%);transform:translateX(-125%);transition:transform 1.1s var(--ease)}
.sp-card:hover .sp-media::after{transform:translateX(125%)}
.sp-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .9s var(--ease)}
.sp-card:hover .sp-media img{transform:scale(1.07)}
.sp-body{padding:12px 13px 14px}
.sp-body h3{margin:0 0 8px;font-size:13.5px;font-weight:700;line-height:1.7;color:#eaf1ff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
.sp-timer{display:inline-flex;align-items:center;margin:0 0 10px;padding:3px 10px;border:1.5px solid #fff;border-radius:9px;background:transparent;color:#fff;font-size:12px;font-weight:700;line-height:1.6;direction:rtl}
.sp-prices{display:grid;gap:3px}
.sp-prices .price-old{margin:0;font-size:12px;font-weight:600}
.sp-prices .price-now{font-size:17px;font-weight:800}
.sp-prices .price-now small{font-size:11px;font-weight:600;margin-inline-start:3px}

/* hanging discount tickets */
.sp-pin{position:absolute;top:2px;left:11px;z-index:6;width:9px;height:9px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#e8c9a0 55%,#8a6a3a);box-shadow:0 1px 3px rgba(0,0,0,.6)}
.sp-tag{position:absolute;top:6px;left:-10px;z-index:7;width:52px;height:97px;transform-origin:50% 0;will-change:transform;pointer-events:none;filter:drop-shadow(0 5px 6px rgba(0,0,0,.5))}
.sp-tag svg{display:block;width:100%;height:100%;overflow:visible}

.sp-more{display:grid;place-content:center;justify-items:center;gap:12px;min-height:260px;cursor:pointer;color:#fff;border-radius:18px;border:1px dashed rgba(255,255,255,.6);background:rgba(60,0,12,.28);font:inherit;animation:spIn .7s var(--ease) backwards;animation-delay:.5s;transition:border-color .4s,box-shadow .5s,translate .5s var(--ease)}
.sp-more:hover{translate:0 -5px;border-color:#fff;box-shadow:0 20px 44px rgba(50,0,12,.45)}
.sp-more strong{font-size:15px;font-weight:800;color:#fff}
.sp-more-ico{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#8f0b20;background:linear-gradient(145deg,#fff,#ffd9e0);box-shadow:0 10px 24px rgba(50,0,12,.4);transition:transform .5s var(--ease)}
.sp-more:hover .sp-more-ico{transform:translateX(-4px)}

/* «تخفیف ویژه٪» badge in the main product list */
.title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.title-row h3{flex:1;min-width:0}
.sp-badge{flex:none;margin-top:2px;padding:3px 8px;border-radius:7px;border:1px solid rgba(255,190,200,.45);background:linear-gradient(135deg,#d3163a,#9b0c26);color:#fff;font-size:10.5px;font-weight:800;line-height:1.5;white-space:nowrap;box-shadow:0 4px 12px rgba(190,18,50,.4),inset 0 1px 0 rgba(255,255,255,.3)}

/* admin dialog: duration fields */
.special-modal .sm-time{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.special-modal .sm-time label{display:grid;gap:5px;font-size:12px;color:#9db0cf}

@keyframes spIn{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
@keyframes spSheen{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@media(prefers-reduced-motion:reduce){.urgent-flag,.special,.special::after,.sp-card,.sp-more{animation:none!important}}

/* contact icons: extra media */
.social-apps .contact-extra{display:grid;place-items:center;width:68px;height:68px;flex:0 0 68px;padding:0;border-radius:22px;text-decoration:none;color:#fff;border:1px solid rgba(255,255,255,.18);box-shadow:0 12px 24px rgba(7,21,44,.16);transition:translate .5s var(--ease),box-shadow .5s,filter .4s}
.social-apps .contact-extra:hover{translate:0 -4px;filter:brightness(1.06);box-shadow:0 18px 34px rgba(0,0,0,.35)}

/* admin: media rows + icon gallery */
.media-row{display:flex;align-items:center;gap:8px}
.media-row input{flex:1;min-width:0;width:auto}
.media-extra{display:grid;gap:6px}
.media-icon-btn{flex:none;width:46px;height:46px;padding:0;display:grid;place-items:center;border-radius:12px;border:1px solid rgba(255,255,255,.25);cursor:pointer;color:#fff}

/* first-visit entrance */
.rv{opacity:0}
.rv.rv-in{opacity:1;animation:rvIn .7s cubic-bezier(.22,1,.36,1) var(--rd,0s) backwards}
@keyframes rvIn{0%{opacity:0;transform:translateY(20px)}100%{opacity:1;transform:none}}

/* floating signup card */
.signup-float{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:80;width:min(310px,calc(100vw - 32px));animation:luxFloat 6s ease-in-out infinite}
.signup-float-msg{position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border:0;border-radius:20px;color:#fff;text-align:right;cursor:pointer;overflow:hidden;background:linear-gradient(145deg,rgba(24,52,104,.95),rgba(6,15,34,.97));box-shadow:0 22px 48px rgba(0,0,0,.55),0 0 34px rgba(60,140,255,.18),inset 0 1px 0 rgba(255,255,255,.14);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:translate .4s var(--ease),box-shadow .4s}
.signup-float-msg::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(255,226,160,.95),rgba(120,190,255,.4) 45%,rgba(255,226,160,.75));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.signup-float-msg::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.16) 50%,transparent 60%);transform:translateX(-120%);animation:spSheen 6s ease-in-out 1.2s infinite}
.signup-float-msg:hover{translate:0 -3px;box-shadow:0 28px 56px rgba(0,0,0,.6),0 0 44px rgba(80,160,255,.28),inset 0 1px 0 rgba(255,255,255,.18)}
.sf-badge{flex:none;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;color:#5a3700;background:linear-gradient(145deg,#ffe9a8,#e2a93a);box-shadow:0 8px 18px rgba(226,169,58,.38),inset 0 1px 0 rgba(255,255,255,.6)}
.sf-text{flex:1;min-width:0;padding-inline-end:22px}
.sf-text strong{display:block;font-size:14.5px;font-weight:800;line-height:1.55}
.sf-text small{display:block;margin-top:2px;font-size:12px;line-height:1.6;color:#a9c3ee}
.sf-go{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);transition:transform .4s var(--ease)}
.signup-float-msg:hover .sf-go{transform:translateX(-3px)}
.signup-float-close{position:absolute;top:-9px;left:-9px;z-index:2;width:26px;height:26px;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(10,24,52,.92);color:#fff;font-size:16px;line-height:1;cursor:pointer;box-shadow:0 6px 14px rgba(0,0,0,.4);transition:background .3s}
.signup-float-close:hover{background:rgba(60,110,200,.95)}

/* media icons are pictures */
.media-icon-btn{overflow:hidden}
.media-icon-btn img{width:100%;height:100%;object-fit:cover;display:block}
.media-reset{flex:none;width:34px;height:34px;padding:0;border-radius:10px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;font-size:16px;cursor:pointer}
.social-apps .has-img{background:transparent!important;padding:0;overflow:hidden}
.social-apps .has-img .ig-glyph{width:100%;height:100%;border:0;border-radius:inherit;background:none;box-shadow:none}
.social-apps .has-img .ig-glyph img{width:100%;height:100%;object-fit:cover;display:block}

/* product like */
.page-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.page-title-row h1{flex:1;min-width:0}
/*
  From Uiverse.io by Priyanshu02020 - https://uiverse.io/Priyanshu02020/popular-puma-87
  MIT License, Copyright (c) Priyanshu02020
  (class names are prefixed with "ulb-" so they cannot collide with the site's own classes)
*/
.page-title-row .ulb { flex: none; margin-top: 6px; }
.ulb {
  position: relative;
  cursor: pointer;
  display: flex;
  direction: ltr;
  height: 48px;
  width: 136px;
  padding: 0;
  margin: 0;
  border-radius: 16px;
  border: none;
  background: linear-gradient(160deg, #123a80 0%, #0b1f44 55%, #07152c 100%);
  overflow: hidden;
  font: inherit;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    inset -2px -2px 5px rgba(124, 196, 255, 0.16),
    inset 2px 2px 6px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(80, 150, 255, 0.45),
    4px 6px 16px rgba(2, 8, 24, 0.55),
    0 0 20px rgba(37, 99, 235, 0.28);
}
.ulb:focus-visible { outline: 2px solid #7cc4ff; outline-offset: 3px; }
.ulb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ulb-main {
  width: 70%;
  height: 100%;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-evenly;
}
.ulb-icon {
  fill: #505050;
  height: 28px;
  width: 28px;
}
.ulb-text {
  color: #eaf3ff;
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.ulb-count {
  position: absolute;
  right: 0;
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #8fb4e6;
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-left: 2px solid rgba(80, 150, 255, 0.45);
  transition: all 0.5s ease-out;
}
.ulb-count.ulb-two { transform: translateY(40px); }
.ulb.liked .ulb-icon {
  fill: #fc4e4e;
  animation: ulbEnlarge 0.2s ease-out 1;
  transition: all 0.2s ease-out;
}
.ulb.liked .ulb-count.ulb-two {
  transform: translateX(0);
  color: #ffffff;
}
.ulb.liked .ulb-count.ulb-one { transform: translateY(-40px); }
@keyframes ulbEnlarge {
  0% { transform: scale(0.5); }
  100% { transform: scale(1.2); }
}
@media (prefers-reduced-motion: reduce) { .ulb.liked .ulb-icon { animation: none; } }

/* small screens: keep filters inside the page */
.filters{grid-template-columns:minmax(0,1fr)}
@media (max-width:420px){.filter-chips{flex-wrap:wrap;overflow-x:visible}}
@media (max-width:560px){.range-labels{gap:8px}.range-field{flex:1 1 0;min-width:0;width:auto}.range-field input{flex:1 1 0;min-width:0;width:auto}}

/* responsive: category slider keeps a sensible height on wide screens */
@media (min-width: 900px) {
  .cat-card { aspect-ratio: 21 / 8; }
}
@media (min-width: 1400px) {
  .cat-card { aspect-ratio: 24 / 8; }
}

/* request-a-product card */
.request-card{display:grid;justify-items:center;gap:14px;width:min(100%,440px);margin:22px auto 0;padding:20px 18px 22px;text-align:center;border-radius:22px;border:1px solid rgba(120,175,255,.28);background:radial-gradient(240px 120px at 50% -20%,rgba(0,100,255,.28),transparent 70%),linear-gradient(160deg,#071225,#02060f 70%);box-shadow:0 18px 40px rgba(0,0,0,.45),inset 0 1px 0 rgba(160,205,255,.18)}
.request-note{margin:0;font-size:15px;font-weight:700;line-height:1.9;color:#cfe3ff}
.req-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:min(100%,260px);height:50px;padding:0 26px;overflow:hidden;border-radius:30px;border:2px solid #7db8ff;background:transparent;color:#9cc8ff;text-decoration:none;cursor:pointer;transition:color .5s ease-in-out,border-color .5s ease-in-out,box-shadow .5s ease-in-out}
.req-txt{position:relative;z-index:1;font-weight:800}
.req-btn::after{content:"";position:absolute;left:0;top:0;width:10px;height:10px;border-radius:30px;background:linear-gradient(135deg,#0a58ff,#004dff);visibility:hidden;z-index:0;transition:transform .5s ease-in-out}
.req-btn:hover,.req-btn:focus-visible{color:#fff;border-color:#2f7bff;box-shadow:0 0 28px rgba(0,100,255,.55)}
.req-btn:hover::after,.req-btn:focus-visible::after{visibility:visible;transform:scale(100) translateX(2px)}

.request-hint{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;font-size:13px;font-weight:700;color:#e9d9a6}
.request-hint .key-ico{width:22px;height:22px;flex:none;filter:drop-shadow(0 2px 6px rgba(244,197,66,.45))}

/* button press: short feedback before the action runs */
.req-btn.is-go{color:#fff;border-color:#2f7bff;box-shadow:0 0 28px rgba(0,100,255,.55)}
.req-btn.is-go::after{visibility:visible;transform:scale(100) translateX(2px)}
.is-go:not(.req-btn){animation:btnGo .3s ease-out}
@keyframes btnGo{0%{scale:1;filter:brightness(1)}35%{scale:.94;filter:brightness(1.25)}100%{scale:1;filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){.is-go:not(.req-btn){animation:none}}

/* VPN reminder */
.vpn-notice{position:fixed;left:50%;bottom:calc(26px + env(safe-area-inset-bottom,0px));z-index:9999;display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 28px);padding:13px 20px 13px 16px;border-radius:20px;border:1px solid rgba(244,197,66,.55);background:radial-gradient(220px 80px at 50% -30%,rgba(244,197,66,.2),transparent 70%),linear-gradient(160deg,#0c1730,#040a18);box-shadow:0 18px 44px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.04) inset,0 0 34px rgba(244,197,66,.18);color:#fff;font-size:15px;cursor:pointer;opacity:0;pointer-events:none;transform:translate(-50%,24px)}
.vpn-notice.show{opacity:1;pointer-events:auto;animation:vpnIn .45s cubic-bezier(.22,1,.36,1) both}
.vpn-key{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:13px;background:linear-gradient(145deg,rgba(244,197,66,.22),rgba(244,197,66,.05));border:1px solid rgba(244,197,66,.4)}
.vpn-key svg{width:24px;height:24px;filter:drop-shadow(0 2px 6px rgba(244,197,66,.5))}
.vpn-notice strong{font-weight:800;letter-spacing:.2px}
@keyframes vpnIn{0%{opacity:0;transform:translate(-50%,24px) scale(.96)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}

/* ===== New features: user avatar, account modal, pages, maps, success ===== */
.user-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 2px solid #7cc4ff;
  background: linear-gradient(145deg, #1d4ed8, #07152c);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.user-avatar:hover { transform: scale(1.08); box-shadow: 0 6px 16px rgba(29, 78, 216, 0.5); }
.user-avatar span { line-height: 1; }

.luxury-red {
  background: linear-gradient(135deg, #b91c1c, #dc2626 50%, #991b1b);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.35);
}
.luxury-red:hover { filter: brightness(1.08); }

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.account-modal.open { display: flex; }
.account-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 44, 0.55);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease;
}
.account-panel {
  position: relative;
  z-index: 2;
  width: min(380px, calc(100% - 32px));
  padding: 28px 22px 22px;
  border-radius: 24px;
  background: linear-gradient(160deg, #0f2348, #07152c);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: accountFade 0.28s ease;
}
@keyframes accountFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.account-close {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}
.account-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1d4ed8, #3b82f6);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.4);
}
.account-panel strong { display: block; font-size: 16px; margin-bottom: 18px; }
.account-actions { display: grid; gap: 10px; }
.account-actions .btn { width: 100%; }

.signup-page, .order-page, .user-orders-page {
  min-height: calc(100vh - 72px);
  padding: 28px 0 60px;
  background: transparent;
}
.signup-page .form, .order-page .form {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(11, 27, 54, 0.12);
}
.map-box {
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d5deee;
  background: #eef3fb;
}
.field-hint { color: #5b6b86; font-size: 12px; margin-top: 4px; display: block; }
.address-choice {
  text-align: center;
  margin: 20px auto;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  max-width: 480px;
}
.choice-btns { display: flex; gap: 12px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.order-fixed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 14px auto;
  max-width: 560px;
}
.luxury-fixed { max-width: 560px; margin: 0 auto 16px; }
.receipt-preview {
  max-width: 100%;
  height: auto;
  margin-top: 8px;
  border-radius: 12px;
  object-fit: contain;
}
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 21, 44, 0.65);
  backdrop-filter: blur(6px);
}
.success-overlay.open { display: flex; }
.success-box {
  text-align: center;
  padding: 36px 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, #ecfdf5, #ffffff);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  animation: successIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes successIn {
  from { opacity: 0; transform: scale(0.7) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.check-anim {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #047857, #10b981);
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  display: grid;
  place-items: center;
  animation: checkPop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.4);
  box-shadow: 0 12px 30px rgba(4, 120, 87, 0.4);
}
@keyframes checkPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.success-box h3 { margin: 0 0 18px; color: #047857; font-size: 18px; }

.user-order-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #d5deee;
  display: grid;
  gap: 6px;
}
.user-order-card .status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #dbe7ff;
  color: #1d4ed8;
}
.user-order-card .status.confirmed { background: #d1fae5; color: #047857; }
.user-order-card .status.rejected, .user-order-card .status.cancelled { background: #fee2e2; color: #b91c1c; }

.admin-status-select {
  min-width: 140px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #d5deee;
  font-size: 13px;
}

@media (max-width: 560px) {
  .user-avatar { width: 36px; height: 36px; font-size: 14px; }
  .map-box { height: 200px; }
  .account-panel { padding: 24px 16px 16px; }
}

.auth-switch { text-align: center; margin: 12px 0 0; font-size: 13px; color: #5b6b86; }
.link-btn { background: none; border: 0; color: #1d4ed8; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; }
.link-btn:hover { color: #1e40af; }


/* Luxury signup / order pages matching site navy theme */
.lux-page {
  min-height: calc(100vh - 72px);
  background: #f7f9fc;
  padding-bottom: 40px;
}
.lux-header {
  position: sticky;
  top: 72px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: linear-gradient(135deg, #0b1b36, #1d4ed8);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(11, 27, 54, 0.25);
}
.lux-header h2 { margin: 0; font-size: 18px; }
.lux-back {
  position: absolute;
  right: 14px;
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  line-height: 1;
}
.lux-form {
  max-width: 520px;
  margin: 18px auto;
  padding: 18px 16px 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(11, 27, 54, 0.08);
}
.lux-field { margin-bottom: 14px; }
.lux-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0b1b36;
  text-align: right;
}
.lux-field input,
.lux-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lux-field input:focus,
.lux-field textarea:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
  background: #fff;
}
.lux-map {
  height: 200px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  position: relative;
}
.lux-qty {
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}
.lux-qty button {
  width: 48px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #0b1b36;
  cursor: pointer;
}
.lux-qty input {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  text-align: center;
  font-weight: 700;
  box-shadow: none !important;
}
.lux-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin: 16px 0 10px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-weight: 700;
  color: #0b1b36;
}
.lux-total b { font-size: 16px; color: #047857; }
.lux-submit {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b1b36, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}
.lux-submit:hover { filter: brightness(1.08); }
.lux-fixed-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 520px;
  margin: 14px auto;
  padding: 0 16px;
}
.lux-chip {
  padding: 10px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-align: center;
  font-size: 12px;
}
.lux-chip span { display: block; color: #5b6b86; font-size: 11px; }
.lux-chip b { display: block; margin-top: 2px; color: #0b1b36; font-size: 13px; }
.address-choice {
  max-width: 520px;
  margin: 16px auto;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-align: center;
}
@media (max-width: 560px) {
  .lux-header { top: 64px; }
  .lux-fixed-info { grid-template-columns: 1fr; }
  .lux-form { margin: 12px; padding: 16px 14px; }
}

/* Auth page design from provided template */
.auth-page{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100svh;overflow:hidden;padding:24px clamp(18px,5vw,76px) 30px;background:linear-gradient(130deg,#071a35 0%,#0b2c52 58%,#0b1d39 100%);color:#101827}
.auth-backdrop{position:absolute;inset:0;z-index:-1;overflow:hidden;background:radial-gradient(ellipse at 12% 18%,rgba(120,190,235,.22),transparent 40%),radial-gradient(ellipse at 85% 85%,rgba(76,145,205,.18),transparent 36%)}
.auth-grid{position:absolute;inset:0;opacity:.12;background-image:linear-gradient(rgba(190,225,250,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(190,225,250,.22) 1px,transparent 1px);background-size:58px 58px;mask-image:linear-gradient(90deg,#000,transparent 82%)}
.auth-orb{position:absolute;border:1px solid rgba(166,215,248,.24);border-radius:50%}
.auth-orb-one{width:560px;height:560px;left:-190px;top:8%;box-shadow:0 0 100px rgba(113,184,229,.12),inset 0 0 90px rgba(113,184,229,.06)}
.auth-orb-two{width:300px;height:300px;right:35%;bottom:-200px;border-color:rgba(166,215,248,.16)}
.auth-topbar{width:min(1380px,100%);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.auth-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;letter-spacing:2px}
.auth-brand-mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid #a9d9f5;border-radius:12px;color:#d9f0ff;font:27px Georgia,serif;background:rgba(255,255,255,.07)}
.auth-brand b{display:block;font-size:13px;font-weight:800}
.auth-brand small{display:block;margin-top:4px;color:#b6d4e9;letter-spacing:0;font-size:11px}
.auth-back{border:1px solid rgba(204,232,250,.3);border-radius:999px;padding:10px 16px;background:rgba(255,255,255,.07);color:#eff8ff;font-size:12px;text-decoration:none;transition:.2s}
.auth-back:hover{background:rgba(190,225,250,.16);border-color:#b8e1fb}
.auth-back span{margin-left:8px;color:#b9e3ff}
.auth-layout{width:min(1240px,100%);margin:auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(370px,.82fr);align-items:center;gap:clamp(42px,8vw,120px);padding:52px 0 30px}
.auth-showcase{max-width:590px;color:#fff}
.auth-kicker,.auth-overline{display:flex;align-items:center;gap:10px;color:#b9e4ff;font-size:10px;font-weight:800;letter-spacing:2.4px}
.auth-kicker i{width:7px;height:7px;border-radius:50%;background:#9ed8ff;box-shadow:0 0 14px #9ed8ff}
.auth-showcase h1{margin:28px 0 18px;font-size:clamp(40px,5.2vw,67px);line-height:1.4;font-weight:800;letter-spacing:-1.5px}
.auth-showcase h1 em{font-style:normal;color:#a9ddff}
.auth-showcase>p{max-width:470px;color:#d1e1ee;font-size:14px;line-height:2.25}
.auth-benefits{display:grid;gap:20px;margin-top:44px}
.auth-benefits>div{display:flex;align-items:center;gap:16px}
.auth-benefits>div>span{display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(178,222,250,.55);border-radius:12px;color:#c4e9ff;font:13px Georgia,serif;background:rgba(255,255,255,.06)}
.auth-benefits b,.auth-benefits small{display:block}
.auth-benefits b{font-size:13px;color:#fff}
.auth-benefits small{margin-top:4px;color:#c1d6e6;font-size:11px}
.auth-signature{display:flex;align-items:center;gap:12px;margin-top:52px;color:#b4ccde;font-size:9px;letter-spacing:2px}
.auth-signature span{width:34px;height:1px;background:#a9ddff}
.auth-card-wrap{width:100%;max-width:480px;justify-self:end}
.auth-card{position:relative;padding:32px clamp(24px,3vw,42px) 20px;border:1px solid #d6e9f6;border-radius:22px;background:linear-gradient(155deg,#fff 0%,#f7fbff 100%);box-shadow:0 32px 90px rgba(0,0,0,.28);color:#101827}
.auth-card:before{content:"";position:absolute;top:0;left:12%;right:12%;height:3px;border-radius:0 0 5px 5px;background:linear-gradient(90deg,#8bc9f0,#1e5b91,#8bc9f0)}
.auth-card-head{display:flex;align-items:center;justify-content:space-between}
.auth-overline{color:#52718a}
.auth-monogram{position:relative;display:grid;place-items:center;width:43px;height:43px;border:1px solid #b9d9ed;border-radius:13px;color:#16466e;background:#eaf6ff;font:26px Georgia,serif}
.auth-monogram span{position:absolute;right:-7px;top:-7px;color:#438bbd;font-size:12px}
.auth-heading{margin:23px 0 20px}
.auth-heading h2{margin:0;color:#101827;font-size:25px;font-weight:800}
.auth-heading p{margin:8px 0 0;color:#647789;font-size:12px;line-height:1.9}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;margin-bottom:20px;border:1px solid #dcebf5;border-radius:12px;background:#edf6fc}
.auth-tabs button{min-height:40px;border:0;border-radius:9px;background:transparent;color:#5d7284;font-size:12px;font-weight:700;cursor:pointer;transition:.2s}
.auth-tabs button.active{background:#123b63;color:#fff;box-shadow:0 5px 15px rgba(18,59,99,.18)}
.auth-form{display:flex;flex-direction:column;gap:8px}
.auth-form[hidden]{display:none!important}
.auth-form label{margin-top:8px;color:#1a2938;font-size:11px;font-weight:700}
.auth-form label small{color:#7890a3;font-size:10px;font-weight:500}
.auth-form input,.auth-form textarea{width:100%;min-width:0;min-height:45px;padding:11px 13px;border:1px solid #d6e3ec;border-radius:10px;outline:none;background:#fff;color:#111c29;font-size:12px;transition:border-color .2s,box-shadow .2s}
.auth-form textarea{resize:vertical;min-height:65px}
.auth-form input:focus,.auth-form textarea:focus{border-color:#69a9d3;box-shadow:0 0 0 3px rgba(105,169,211,.15)}
.auth-form input::placeholder,.auth-form textarea::placeholder{color:#91a2b0}
.auth-input-wrap{position:relative}
.auth-input-wrap input{padding-right:62px}
.auth-input-icon{position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#2c6e9d;font-size:10px;direction:ltr}
.auth-eye{position:absolute;left:10px;top:50%;transform:translateY(-50%);border:0;background:none;color:#58758c;cursor:pointer}
.auth-fields-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.auth-fields-two>div{min-width:0}
.auth-submit{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;margin-top:14px;padding:0 17px;border:0;border-radius:11px;background:linear-gradient(110deg,#123b63,#286b9d);color:#fff;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 10px 24px rgba(26,91,139,.2);transition:transform .2s,filter .2s}
.auth-submit:hover{transform:translateY(-2px);filter:brightness(1.08)}
.auth-submit:disabled{opacity:.6;cursor:wait;transform:none}
.auth-submit b{font-size:18px}
.auth-card-foot{display:flex;justify-content:space-between;gap:12px;margin-top:24px;padding-top:15px;border-top:1px solid #e3edf4;color:#8293a1;font-size:8px;letter-spacing:1.1px}
.auth-privacy{margin:14px 0 0;text-align:center;color:#c5d8e7;font-size:10px;line-height:1.9}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr;max-width:540px;gap:28px;padding:42px 0 18px}.auth-showcase{display:none}.auth-card-wrap{justify-self:center}.auth-page{padding:20px 18px 28px}.auth-card{padding:27px 24px 18px}}
@media(max-width:480px){.auth-back{padding:9px 12px;font-size:10px}.auth-brand-mark{width:39px;height:39px}.auth-layout{padding-top:34px}.auth-card{padding:24px 18px 16px;border-radius:18px}.auth-heading h2{font-size:22px}.auth-fields-two{grid-template-columns:1fr}.auth-card-foot{font-size:7px}.auth-page{padding-inline:14px}}

/* Order page: all text dark */
#orderPage .auth-heading h2,
#orderPage .auth-heading p,
#orderPage .auth-form label,
#orderPage .auth-form input,
#orderPage .auth-form textarea,
#orderPage .lux-chip,
#orderPage .lux-chip span,
#orderPage .lux-chip b,
#orderPage .lux-total,
#orderPage .lux-total span,
#orderPage .address-choice,
#orderPage .address-choice p,
#orderPage .pay-card,
#orderPage .pay-card span,
#orderPage .pay-card b,
#orderPage .pay-card strong,
#orderPage .field-hint {
  color: #111827 !important;
}
#orderPage .auth-form input,
#orderPage .auth-form textarea {
  color: #111827;
}
#orderPage .lux-total b { color: #047857 !important; }

/* Orders nav button */
.orders-nav {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px solid #7cc4ff;
  background: transparent;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  animation: ordersGlow 2.4s ease-in-out infinite;
}
@keyframes ordersGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 196, 255, 0.4); border-color: #7cc4ff; }
  50% { box-shadow: 0 0 16px 4px rgba(124, 196, 255, 0.55); border-color: #b9e4ff; }
}
.orders-nav:hover { background: rgba(124, 196, 255, 0.15); }

/* Fix media row overflow in admin */
.media-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  overflow: visible;
}
.media-row input { flex: 1 1 140px; min-width: 0; }
.media-row .btn,
.media-row .media-icon-btn,
.media-row .media-reset {
  flex: none;
}
.box.luxury-form { overflow: visible; }
.admin-col, .admin-grid { overflow: visible; }

/* Social icons arrange neatly */
.social-apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.social-apps .contact-ig,
.social-apps .contact-tg,
.social-apps .contact-wa,
.social-apps .contact-extra {
  flex: 0 0 auto;
}

/* Address other button: black text, luxury blue border */
.addr-other {
  color: #111827 !important;
  border: 2px solid #1d4ed8 !important;
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.18);
}
.addr-other:hover {
  background: #eff6ff !important;
  border-color: #1e40af !important;
}

/* Receipt file input: dark text */
#orderReceipt {
  color: #111827 !important;
}
#orderReceipt::file-selector-button {
  color: #111827;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  margin-left: 10px;
  cursor: pointer;
}
#orderReceipt::-webkit-file-upload-button {
  color: #111827;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  margin-left: 10px;
  cursor: pointer;
}

/* Map container stability */
.map-box {
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d6e3ec;
  background: #eef3fb;
}
.map-box .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: inherit;
}

/* Orders page head bar */
.orders-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.orders-head-bar .btn { white-space: nowrap; }

/* Luxury background: blue light halos + moving stars */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(ellipse 45% 35% at 85% 75%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(ellipse 30% 25% at 50% 50%, rgba(96, 165, 250, 0.08), transparent 50%);
  animation: haloShift 28s ease-in-out infinite alternate;
}
@keyframes haloShift {
  0% { opacity: 0.85; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

.bg-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-stars .star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #7dd3fc;
  border-radius: 50%;
  box-shadow: 0 0 6px 1px rgba(125, 211, 252, 0.8);
  animation: starBlink 4s ease-in-out infinite, starDrift 18s ease-in-out infinite;
}
.bg-stars .star:nth-child(odd) { animation-duration: 5.5s, 22s; }
.bg-stars .star:nth-child(3n) { width: 3px; height: 3px; box-shadow: 0 0 8px 2px rgba(147, 197, 253, 0.9); }
@keyframes starBlink {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.3); }
}
@keyframes starDrift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(12px, -8px); }
  50% { transform: translate(-6px, 14px); }
  75% { transform: translate(10px, 6px); }
  100% { transform: translate(0, 0); }
}

/* Logout confirm dialog */
.confirm-logout {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 21, 44, 0.6);
  backdrop-filter: blur(4px);
}
.confirm-logout.hidden { display: none; }
.confirm-box {
  width: min(380px, calc(100% - 32px));
  padding: 24px 20px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.confirm-box p { margin: 0 0 8px; font-weight: 700; color: #111; font-size: 15px; }
.confirm-box small { display: block; color: #64748b; font-size: 12px; margin-bottom: 18px; }
.confirm-btns { display: flex; gap: 10px; justify-content: center; }
.confirm-btns .btn.ghost,
#logoutCancel {
  color: #111827 !important;
  border: 2px solid #1d4ed8 !important;
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.18);
}
#logoutCancel:hover {
  background: #eff6ff !important;
}

/* Admin accordion sections */
.admin-col .box.luxury-form {
  margin-bottom: 10px;
  overflow: hidden;
}
.admin-col .box.luxury-form > h3 {
  margin: 0;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0b1b36, #1d4ed8);
  color: #fff;
  cursor: pointer;
  border-radius: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.admin-col .box.luxury-form > h3::after {
  content: "▾";
  font-size: 14px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.admin-col .box.luxury-form.collapsed > h3::after {
  transform: rotate(-90deg);
}
/* smooth open/close: the content is wrapped by JS (.lf-body > .lf-inner) and animates its row height */
.admin-col .box.luxury-form > .lf-body {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0s linear 0s;
  will-change: grid-template-rows;
}
.admin-col .box.luxury-form > .lf-body > .lf-inner {
  min-height: 0;
  overflow: hidden;
}
.admin-col .box.luxury-form.collapsed > .lf-body {
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, visibility 0s linear 0.45s;
}
@media (prefers-reduced-motion: reduce) {
  .admin-col .box.luxury-form > .lf-body,
  .admin-col .box.luxury-form.collapsed > .lf-body { transition: none; }
}

/* Floating cart icon */
.float-cart {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #1d4ed8, #0b1b36);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.4), inset 0 1px 0 rgba(255,255,255,.2);
  cursor: pointer;
  display: grid;
  place-items: center;
  animation: cartPulse 3s ease-in-out infinite;
}
.float-cart:hover { transform: scale(1.08); }
@keyframes cartPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(29, 78, 216, 0.4); }
  50% { box-shadow: 0 8px 32px rgba(59, 130, 246, 0.6); }
}
.float-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.float-cart-badge.hidden { display: none; }

/* Cart page */
.cart-page { min-height: calc(100vh - 72px); padding: 20px 0 100px; }
.cart-list { display: grid; gap: 12px; margin: 16px 0; }
.cart-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(100%, 720px);
  margin-inline: auto;
  padding: 9px 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 3px 9px rgba(11,27,54,.05);
}
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 9px; }
.cart-item-info { display: grid; gap: 5px; min-width: 0; }
.cart-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.cart-item-info b { font-size: 14px; line-height: 1.55; color: #0b1b36; min-width: 0; overflow-wrap: anywhere; }
.cart-item-info small { color: #64748b; font-size: 12px; }
.cart-item-price { color: #047857; font-weight: 700; font-size: 13px; }
.cart-item-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; justify-items: stretch; flex: 0 0 112px; width: 112px; min-width: 0; }
#cartPage .cart-item .lux-qty { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; width: 100%; min-width: 0; height: 36px; gap: 0; border: 1px solid #dbe3ef; border-radius: 11px; background: linear-gradient(180deg, #fff, #f1f5f9); box-shadow: inset 0 1px 2px rgba(15,23,42,.05), 0 2px 6px rgba(15,23,42,.05); }
#cartPage .cart-item .lux-qty button { display: grid; place-items: center; width: 30px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #1d4ed8; font-size: 19px; font-weight: 800; line-height: 1; cursor: pointer; }
#cartPage .cart-item .lux-qty button:active { background: #dbeafe; }
#cartPage .cart-item .lux-qty input { width: 100%; min-width: 0; height: 30px; margin: 0; padding: 0; border: 0 !important; border-inline: 1px solid #e2e8f0 !important; border-radius: 0; background: transparent !important; color: #0b1b36 !important; text-align: center; font-size: 13px; font-weight: 800; box-shadow: none !important; }
#cartPage .cart-item .cart-item-remove { display: block; width: 100%; min-height: 34px; padding: 5px 12px; border: 1px solid #b91c1c; border-radius: 9px; background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff !important; font-size: 12px; font-weight: 800; line-height: 1.3; box-shadow: 0 3px 8px rgba(185,28,28,.18); }
#cartPage .cart-item .cart-item-remove:hover { background: linear-gradient(135deg, #dc2626, #991b1b); }
.cart-summary {
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
}
.cart-total-row { display: flex; justify-content: space-between; font-weight: 700; color: #0b1b36; }
.cart-total-row b { color: #047857; font-size: 16px; }
.cart-checkout-float {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) !important;
  z-index: 95;
  width: min(320px, calc(100% - 32px));
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
  animation: none !important;
  transition: opacity 0.25s ease !important;
}
.cart-checkout-float:active, .cart-checkout-float.is-go {
  transform: translateX(-50%) !important;
  opacity: 0.75;
  animation: none !important;
}
#cartPage:not(.hidden) ~ .float-cart,
body:has(#cartPage:not(.hidden)) .float-cart { display: none !important; }
#cartPage, #cartPage * { color: #111827; }
#cartPage .cart-item-price, #cartPage .cart-total-row b { color: #047857 !important; }
#cartPage .btn.primary, #cartPage .cart-checkout-float { color: #fff !important; }
.float-cart::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #10b981;
  animation: cartRing 1.6s linear infinite;
  pointer-events: none;
}
@keyframes cartRing { to { transform: rotate(360deg); } }
.cart-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px solid #1d4ed8;
  background: transparent;
  color: #1d4ed8;
  font-weight: 700;
}
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 8px; }
  .cart-item img { width: 52px; height: 52px; }
  .cart-item-heading { gap: 7px; align-items: center; }
  .cart-item-info b { font-size: 13px; }
  .cart-item-actions { flex-basis: 104px; width: 104px; }
}
.order-cart-items { margin: 0 0 14px; padding: 10px; background: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0; }
.order-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  color: #0b1b36;
  border-bottom: 1px solid #e2e8f0;
}
.order-cart-row small { color: #64748b; font-size: 11px; }
.order-cart-row b { color: #047857; font-weight: 700; }

/* Cart page text black */
#cartPage, #cartPage h2, #cartPage .cart-item-info b, #cartPage .cart-item-info small, #cartPage .cart-total-row, #cartPage .cart-total-row span {
  color: #111827 !important;
}
#cartPage .cart-item-price, #cartPage .cart-total-row b { color: #047857 !important; }

/* Cart checkout button fade instead of slide */
.cart-checkout-float {
  transition: opacity 0.3s ease;
}
.cart-checkout-float:active, .cart-checkout-float.is-go {
  transform: translateX(-50%) !important;
  opacity: 0.7;
}

/* Green rotating ring around cart icon */
.float-cart::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #10b981;
  border-right-color: #34d399;
  animation: cartRing 1.8s linear infinite;
}
@keyframes cartRing {
  to { transform: rotate(360deg); }
}

/* Cart page specific text colors */
#cartPage .btn.ghost,
#cartPage h2,
#cartPage .empty {
  color: #ffffff !important;
}
#cartPage .btn.ghost {
  border-color: rgba(255,255,255,0.4);
}

/* Orders page cart button white */
#ordersCartBtn,
#ordersCartBtn svg {
  color: #ffffff !important;
  fill: #ffffff !important;
  border-color: #ffffff !important;
}
#ordersCartBtn {
  border: 1.5px solid #ffffff !important;
  background: transparent !important;
}

/* Float cart hidden only on cart page */
body:has(#cartPage:not(.hidden)) .float-cart { display: none !important; }
#cartPage:not(.hidden) ~ .float-cart { display: none !important; }

/* Compact cart item controls */

/* =====================================================================
   Orders: luxury status badges, admin cards, order detail page,
   customer "my orders" cards
   ===================================================================== */
.ost {
  --ost: #3b9bff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ost);
  border: 1px solid color-mix(in srgb, var(--ost) 55%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--ost) 22%, transparent), color-mix(in srgb, var(--ost) 7%, transparent));
  box-shadow: 0 0 18px color-mix(in srgb, var(--ost) 22%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.ost b { font-weight: 800; color: inherit; }
.ost-pending { --ost: #4aa8ff; }
.ost-confirmed { --ost: #ffa53a; }
.ost-shipped { --ost: #2ee59d; }
.ost-rejected { --ost: #ff5d6c; }
.ost-ico { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; }

.ost-spin {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, var(--ost) 28%, transparent);
  border-top-color: var(--ost);
  border-right-color: var(--ost);
  filter: drop-shadow(0 0 4px var(--ost));
  animation: ostSpin 0.85s linear infinite;
}
@keyframes ostSpin { to { transform: rotate(360deg); } }

.ost-dots { display: inline-flex; gap: 3px; align-items: center; }
.ost-dots u {
  width: 5px; height: 5px; border-radius: 50%; background: var(--ost);
  box-shadow: 0 0 6px var(--ost); text-decoration: none;
  animation: ostDot 1.2s ease-in-out infinite;
}
.ost-dots u:nth-child(2) { animation-delay: 0.18s; }
.ost-dots u:nth-child(3) { animation-delay: 0.36s; }
@keyframes ostDot {
  0%, 70%, 100% { transform: translateY(0); opacity: 0.4; }
  35% { transform: translateY(-4px); opacity: 1; }
}

.ost-truck { filter: drop-shadow(0 0 5px var(--ost)); animation: ostTruck 1.8s ease-in-out infinite; }
@keyframes ostTruck {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-2px); }
}

.ost-x { filter: drop-shadow(0 0 5px var(--ost)); animation: ostShake 2.4s ease-in-out infinite; }
.ost-x path {
  stroke-dasharray: 17;
  stroke-dashoffset: 17;
  animation: ostDraw 2.4s ease-in-out infinite;
}
.ost-x path:nth-child(2) { animation-delay: 0.18s; }
@keyframes ostDraw {
  0% { stroke-dashoffset: 17; }
  25%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 17; }
}
@keyframes ostShake {
  0%, 30%, 100% { transform: rotate(0); }
  34% { transform: rotate(-9deg); }
  40% { transform: rotate(8deg); }
  46% { transform: rotate(-5deg); }
  52% { transform: rotate(0); }
}

/* ---------- admin order cards ---------- */
.ao-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.ao-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  cursor: pointer;
  color: #eaf1ff;
  background: var(--lux-glass, linear-gradient(165deg, rgba(22, 38, 68, 0.86), rgba(8, 15, 30, 0.92)));
  border: 1px solid rgba(150, 200, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: luxReveal 0.5s ease both;
}
.ao-card::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 215, 130, 0.14), transparent 38%);
  opacity: 0.7;
}
.ao-card:hover, .ao-card:focus-visible { transform: translateY(-3px); border-color: rgba(255, 215, 130, 0.55); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55), 0 0 22px rgba(255, 200, 100, 0.12); }
.ao-top { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.ao-thumb { width: 96px; height: 96px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 215, 130, 0.4); background: #0b1b36; }
.ao-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ao-info { min-width: 0; display: grid; gap: 6px; }
.ao-info h3 { margin: 0; font-size: 15px; line-height: 1.6; color: #fff; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ao-price { font-weight: 900; font-size: 16px; color: #ffd98a; }
.ao-price small { font-weight: 600; color: #c9b27c; font-size: 11px; }
.ao-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ao-chips span { font-size: 11.5px; color: #9db0cf; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(150, 200, 255, 0.16); }
.ao-chips b { color: #fff; font-weight: 800; }
.ao-buyer { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 13px; }
.ao-buyer span { color: #9db0cf; }
.ao-buyer b { color: #fff; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ao-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ao-foot time { font-size: 11px; color: #8195b8; }

/* ---------- order detail page ---------- */
.od-wrap { display: grid; gap: 16px; max-width: 860px; margin: 18px auto 0; }
.od-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.od-head h2 { margin: 2px 0 4px; font-size: 22px; color: #fff; }
.od-head time { font-size: 12px; color: #9db0cf; }
.od-over { font-size: 10px; letter-spacing: 0.32em; color: #ffd98a; }
.od-panel {
  position: relative; padding: 18px; border-radius: 22px; color: #eaf1ff;
  background: var(--lux-glass, linear-gradient(165deg, rgba(22, 38, 68, 0.86), rgba(8, 15, 30, 0.92)));
  border: 1px solid rgba(150, 200, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: luxReveal 0.45s ease both;
}
.od-panel h3 { margin: 0 0 14px; font-size: 15px; color: #ffd98a; }
.od-final { display: grid; gap: 6px; border-color: rgba(46, 229, 157, 0.55); background: linear-gradient(135deg, rgba(8, 96, 62, 0.42), rgba(8, 15, 30, 0.92)); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 26px rgba(46, 229, 157, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.od-final span { font-size: 12.5px; color: #a9f0cf; }
.od-final strong { font-size: 28px; color: #62f2b2; font-weight: 900; text-shadow: 0 0 18px rgba(46, 229, 157, 0.45); }
.od-final small { font-size: 13px; font-weight: 600; }
.od-product { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 16px; align-items: start; }
.od-product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255, 215, 130, 0.4); background: #0b1b36; }
.od-rows { display: grid; gap: 8px; }
.od-row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.045); font-size: 13.5px; }
.od-row span { color: #9db0cf; flex: none; }
.od-row b { color: #fff; text-align: left; font-weight: 700; word-break: break-word; min-width: 0; }
.od-link { color: #7cc4ff; font-weight: 700; }
.od-receipt { display: grid; gap: 8px; justify-items: center; }
.od-receipt img { width: min(100%, 460px); max-height: 560px; object-fit: contain; border-radius: 16px; border: 1px solid rgba(150, 200, 255, 0.3); background: #060d1c; cursor: zoom-in; }
.od-receipt small, .od-note { color: #9db0cf; font-size: 12px; margin: 0; }
.od-pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.od-pick {
  --ost: #3b9bff;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; cursor: pointer;
  font: inherit; font-size: 13px; color: color-mix(in srgb, var(--ost) 75%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--ost) 30%, transparent);
  background: rgba(255, 255, 255, 0.04);
  opacity: 0.6; transition: all 0.2s ease;
}
.od-pick b { color: inherit; }
.od-pick.active {
  opacity: 1; border-color: var(--ost);
  background: linear-gradient(135deg, color-mix(in srgb, var(--ost) 26%, transparent), color-mix(in srgb, var(--ost) 8%, transparent));
  box-shadow: 0 0 20px color-mix(in srgb, var(--ost) 30%, transparent);
}
.od-reason { margin-top: 14px; display: grid; gap: 8px; }
.od-reason label { font-size: 13px; color: #ffb3bb; font-weight: 700; }
.od-reason textarea { width: 100%; padding: 12px; border-radius: 14px; font: inherit; color: #fff; background: rgba(255, 93, 108, 0.08); border: 1px solid rgba(255, 93, 108, 0.45); resize: vertical; }
.od-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.od-actions .btn { flex: 1 1 140px; }
@media (max-width: 560px) {
  .od-product { grid-template-columns: 1fr; }
  .od-product img { max-width: 260px; margin: 0 auto; }
  .od-final strong { font-size: 24px; }
}

/* ---------- customer "my orders" ---------- */
#userOrderList { display: grid; gap: 14px; }
.uo-card {
  display: grid; gap: 12px; padding: 14px; border-radius: 20px; color: #eaf1ff;
  background: var(--lux-glass, linear-gradient(165deg, rgba(22, 38, 68, 0.86), rgba(8, 15, 30, 0.92)));
  border: 1px solid rgba(150, 200, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: luxReveal 0.45s ease both;
}
.uo-top { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.uo-thumb { width: 96px; height: 96px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 215, 130, 0.4); background: #0b1b36; }
.uo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uo-info { display: grid; gap: 6px; min-width: 0; }
.uo-info h3 { margin: 0 0 2px; font-size: 15px; color: #fff; line-height: 1.6; }
.uo-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.uo-row span { color: #9db0cf; }
.uo-row b { color: #fff; font-weight: 700; text-align: left; }
.uo-total b { color: #62f2b2; font-weight: 900; text-shadow: 0 0 14px rgba(46, 229, 157, 0.4); }
.uo-status { display: flex; }
.uo-reject { padding: 12px 14px; border-radius: 14px; background: rgba(255, 93, 108, 0.09); border: 1px solid rgba(255, 93, 108, 0.4); }
.uo-reject b { display: block; margin-bottom: 4px; color: #ff8d98; font-size: 12.5px; }
.uo-reject p { margin: 0; font-size: 13px; line-height: 1.9; color: #ffe3e6; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 420px) {
  .uo-top { grid-template-columns: 78px 1fr; }
  .uo-thumb { width: 78px; height: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .ost-spin, .ost-dots u, .ost-truck, .ost-x, .ost-x path { animation: none !important; }
  .ost-x path { stroke-dashoffset: 0; }
}
.od-reason.hidden { display: none; }

/* ---------- grouped orders (one card per checkout) ---------- */
.ao-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; }
.ao-no { display: flex; align-items: baseline; gap: 6px; }
.ao-no span { font-size: 12px; color: #9db0cf; }
.ao-no b { font-size: 20px; color: #fff; font-weight: 900; }
.ao-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.ao-items li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 11px; border-radius: 11px; background: rgba(255, 255, 255, 0.045); color: #eaf1ff; }
.ao-items li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ao-items li em { font-style: normal; color: #9db0cf; flex: none; }
.ao-items .ao-more { justify-content: center; color: #9db0cf; font-size: 12px; background: transparent; }
.ao-total { display: grid; text-align: left; }
.ao-total span { font-size: 11px; color: #a9f0cf; }
.ao-total strong { font-size: 18px; font-weight: 900; color: #62f2b2; text-shadow: 0 0 14px rgba(46, 229, 157, 0.4); }
.ao-total small { font-size: 11px; font-weight: 600; }
.ao-foot { align-items: flex-end; }

.od-items { display: grid; gap: 14px; }
.od-item { padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(150, 200, 255, 0.14); }
.od-item-no { font-size: 11.5px; letter-spacing: 0.04em; color: #ffd98a; font-weight: 700; }

.uo-card { cursor: pointer; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.uo-card:hover, .uo-card:focus-visible { border-color: rgba(255, 215, 130, 0.5); }
.uo-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.uo-title { display: flex; align-items: baseline; gap: 8px; }
.uo-title span { font-size: 12.5px; color: #9db0cf; }
.uo-title b { font-size: 20px; color: #fff; font-weight: 900; }
.uo-chevron { width: 10px; height: 10px; border-right: 2px solid #9db0cf; border-bottom: 2px solid #9db0cf; transform: rotate(45deg); transition: transform 0.25s ease; margin-inline-end: 4px; }
.uo-card.open .uo-chevron { transform: rotate(-135deg); }
.uo-summary { display: grid; gap: 6px; }
.uo-hint { font-size: 11.5px; color: #7cc4ff; text-align: center; }
.uo-details { display: none; gap: 12px; padding-top: 12px; border-top: 1px dashed rgba(150, 200, 255, 0.25); cursor: default; }
.uo-card.open .uo-details { display: grid; }
.uo-item { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(150, 200, 255, 0.14); align-items: start; }
.uo-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; border: 1px solid rgba(255, 215, 130, 0.35); background: #0b1b36; }
.uo-item-info { display: grid; gap: 5px; min-width: 0; }
.uo-item-info h4 { margin: 0 0 3px; font-size: 14px; color: #fff; line-height: 1.6; }
@media (max-width: 420px) {
  .uo-item { grid-template-columns: 68px 1fr; }
  .uo-item img { width: 68px; height: 68px; }
}

/* footer logo = admin entrance */
.footer-logo-btn {
  display: block;
  margin: 0 auto 8px;
  padding: 1px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
.footer-logo-btn .footer-logo { margin: 0; width: 42px; height: 42px; }
.footer-logo-btn:focus-visible { outline: 2px solid #7cc4ff; outline-offset: 3px; }

/* Accessibility: text/background contrast of at least 4.5:1 on the bright-blue controls and badges */
.btn.primary, #signupOpen, .cart-checkout-float {
  background-image: linear-gradient(135deg, #2563eb, #1d4fd8 55%, #1a43b8);
}
.page-btn.active { background: linear-gradient(135deg, #1d4fd8, #2563eb); }
#openCategories { background-image: linear-gradient(145deg, #2563eb, #1d4fd8); }
.badge.in { color: #a7f3d0; background: rgba(5, 46, 34, 0.92); }
.badge.out { color: #fecdd3; background: rgba(70, 12, 28, 0.92); }

/* keep the footer logo (admin entrance) clear of the floating bottom bars on phones */
@media (max-width: 768px) {
  .footer { padding-bottom: 108px; }
}

/* every window opens in the middle of the screen (phone and desktop); tall ones scroll from the top */
.overlay > .modal { margin-block: auto; margin-inline: auto; }

/* order submit: simple green ring in the middle of a blurred, dimmed screen */
.order-loading {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 12, 28, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.order-loading.hidden { display: none; }
.order-loading-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 5px solid rgba(46, 229, 157, 0.22);
  border-top-color: #2ee59d;
  animation: orderLoadingSpin 0.8s linear infinite;
}
@keyframes orderLoadingSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .order-loading-ring { animation-duration: 2.4s; } }

/* footer copyright line: centered */
.footer-copy { margin: 0; text-align: center; }

/* my orders: "received your order?" button opposite the status badge */
.uo-status { align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.uo-deliver {
  position: relative;
  padding: 9px 16px;
  border: 1px solid rgba(124, 196, 255, 0.5);
  border-radius: 999px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #3b9bff);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.uo-deliver:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.uo-deliver:active { transform: translateY(0) scale(0.98); }
.uo-deliver:focus-visible { outline: 2px solid #7cc4ff; outline-offset: 3px; }

/* delivery confirmation window */
.delivery-modal { width: min(400px, 100%); text-align: center; }
.dlv-step { display: grid; gap: 14px; justify-items: center; }
.dlv-step.hidden { display: none; }
.dlv-step h3 { margin: 0; font-size: 18px; line-height: 1.8; }
.dlv-ico {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  color: #2ee59d;
  background: radial-gradient(circle at 30% 25%, rgba(46, 229, 157, 0.28), rgba(46, 229, 157, 0.06));
  border: 1px solid rgba(46, 229, 157, 0.5);
  box-shadow: 0 0 26px rgba(46, 229, 157, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.dlv-ico-blue {
  color: #7cc4ff;
  background: radial-gradient(circle at 30% 25%, rgba(59, 155, 255, 0.3), rgba(59, 155, 255, 0.06));
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 26px rgba(59, 155, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.dlv-actions { width: 100%; grid-template-columns: 1fr 1fr; margin-top: 4px; }
.dlv-yes {
  background: linear-gradient(135deg, #059669, #10b981 55%, #34d399);
  border: 1px solid rgba(170, 255, 215, 0.3);
  color: #fff;
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.dlv-tg {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  min-height: 50px; padding: 12px 18px; border-radius: 16px; text-decoration: none;
  font-weight: 800; color: #fff;
  border: 1px solid rgba(124, 196, 255, 0.55);
  background: linear-gradient(135deg, #1d4ed8, #2563eb 50%, #3b9bff);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dlv-tg:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(37, 99, 235, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
.delivery-modal .btn.ghost { width: 100%; }

/* admin orders: green tick + "تحویل داده شد" hanging from the card's top corner */
.ao-card.ao-done { padding-top: 38px; border-color: rgba(46, 229, 157, 0.4); }
.ao-delivered {
  position: absolute; top: 0; left: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 7px; border-radius: 0 0 14px 14px;
  font-size: 12px; color: #04281c;
  background: linear-gradient(135deg, #1fd18a, #2ee59d 60%, #7af0c3);
  box-shadow: 0 8px 20px rgba(46, 229, 157, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}
.ao-delivered b { font-weight: 900; color: inherit; }
.ao-delivered svg { flex: none; }

/* order page: name + phone as a luxury bank card (above the receipt photo) */
.bank-card {
  position: relative; overflow: hidden; display: grid; gap: 6px;
  margin: 14px 0 8px; padding: 16px 16px 14px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, #07152c 0%, #0b1b36 42%, #1d4ed8 100%);
  border: 1px solid rgba(124, 196, 255, 0.45);
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.bank-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(124, 196, 255, 0.26), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 9px);
}
.bc-glow {
  position: absolute; left: -60px; bottom: -90px; width: 190px; height: 190px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(59, 155, 255, 0.45), transparent 65%);
}
.bc-top { position: relative; display: flex; align-items: center; justify-content: space-between; direction: ltr; }
.bc-brand { font-size: 13px; font-weight: 800; letter-spacing: 3px; color: #7cc4ff; }
.bc-chip {
  position: relative; display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 2px; width: 46px; height: 34px; padding: 5px; margin: 4px 0 2px;
  border-radius: 8px; background: linear-gradient(135deg, #dbe7ff, #7cc4ff 55%, #3b9bff);
  box-shadow: 0 4px 12px rgba(2, 8, 24, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.bc-chip i { border: 1px solid rgba(7, 21, 44, 0.35); border-radius: 2px; }
.bank-card .bc-label { position: relative; margin-top: 6px; color: #8fb6ea; font-size: 11px; font-weight: 700; }
.bank-card .bc-number {
  position: relative; display: block; margin: 0; color: #fff; font-size: clamp(17px, 5.2vw, 22px); font-weight: 800;
  letter-spacing: 2.5px; text-align: left; text-shadow: 0 2px 10px rgba(2, 8, 24, 0.55); overflow-wrap: anywhere;
}
.bank-card .bc-holder { position: relative; display: block; margin: 0; color: #dbe7ff; font-size: 15px; font-weight: 700; }

/* footer: اطلاعات بیشتر */
.footer-more { max-width: 560px; margin: 0 auto 26px; text-align: center; }
.footer-more h3 { margin: 0; color: #7cc4ff; font-size: 20px; font-weight: 800; }
.fm-bar { display: block; width: 46px; height: 3px; margin: 10px auto 14px; border-radius: 3px; background: linear-gradient(90deg, #2563eb, #7cc4ff); box-shadow: 0 0 14px rgba(59, 155, 255, 0.6); }
.fm-list {
  list-style: none; margin: 0; padding: 4px 14px; text-align: start;
  border: 1px solid var(--lux-edge); border-radius: 20px;
  background: linear-gradient(160deg, rgba(20, 35, 64, 0.72), rgba(8, 15, 30, 0.82));
  box-shadow: 0 20px 50px rgba(2, 8, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.fm-list li + li { border-top: 1px solid rgba(124, 196, 255, 0.16); }
.fm-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 4px; border: 0; border-radius: 14px;
  background: none; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background 0.25s ease; -webkit-tap-highlight-color: transparent;
}
.fm-ico {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #7cc4ff;
  background: rgba(59, 155, 255, 0.1); border: 1px solid rgba(124, 196, 255, 0.32); box-shadow: 0 0 16px rgba(59, 155, 255, 0.2);
}
.fm-label { flex: 1; text-align: center; }
.fm-chev { flex: none; margin-inline-end: 4px; color: #fff; opacity: 0.85; transition: transform 0.25s ease; }
.fm-item:hover { background: rgba(59, 155, 255, 0.08); }
.fm-item:hover .fm-chev { transform: translateX(-4px); }
.fm-item:active { background: rgba(59, 155, 255, 0.14); }
.fm-item:focus-visible { outline: 2px solid #7cc4ff; outline-offset: -2px; }
#contact { scroll-margin-top: 84px; }

/* info window */
.info-modal { position: relative; display: flex; flex-direction: column; gap: 14px; width: min(520px, 100%); max-height: 86vh; }
.info-head { display: flex; align-items: center; gap: 12px; padding-inline-start: 44px; }
.info-head h3 { margin: 0; }
.info-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-inline-end: 4px; color: #dbe7ff; font-size: 14px; line-height: 2; text-align: start; }
.info-body h4 { margin: 14px 0 4px; color: #7cc4ff; font-size: 15px; font-weight: 800; }
.info-body h4:first-child { margin-top: 0; }
.info-body p { margin: 0 0 10px; color: #dbe7ff; }
.info-body ul { margin: 0 0 10px; padding: 0; list-style: none; }
.info-body li { position: relative; margin-bottom: 4px; padding-inline-start: 20px; }
.info-body li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.9em; width: 7px; height: 7px; border-radius: 50%; background: #3b9bff; box-shadow: 0 0 8px rgba(59, 155, 255, 0.7); }
.info-body .info-address { padding: 14px 16px; border: 1px solid rgba(124, 196, 255, 0.3); border-radius: 14px; background: rgba(59, 155, 255, 0.08); font-weight: 700; text-align: center; }
.info-hint { margin: 2px 0 4px; color: #9db0cf; font-size: 11.5px; line-height: 1.9; }
.footer-more .social-apps { margin-top: 22px; }
.info-contact { margin: 4px auto 0; width: 100%; }

/* bank card: name under the number on the left, copy button */
.bank-card .bc-label { display: block; text-align: left; }
.bank-card .bc-holder { text-align: left; }
.bc-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; direction: ltr; }
.bc-row .bc-number { flex: 1; min-width: 0; }
.bc-copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 800; color: #fff; direction: rtl;
  border: 1px solid rgba(124, 196, 255, 0.55);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(59, 155, 255, 0.55));
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease; -webkit-tap-highlight-color: transparent;
}
.bc-copy:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.bc-copy:active { transform: scale(0.96); }
.bc-copy:focus-visible { outline: 2px solid #7cc4ff; outline-offset: 2px; }
.bc-copy.done { background: linear-gradient(135deg, #1d4ed8, #3b9bff); }

/* footer: contact details open inside the "تماس با ما" row */
.fm-panel {
  display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0.45s;
}
.fm-panel-inner { min-height: 0; overflow: hidden; }
.fm-open > .fm-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.fm-open .fm-chev { transform: rotate(-90deg); }
.fm-contact { display: grid; gap: 10px; padding: 4px 4px 14px; }
.fm-contact .fm-lead { margin: 0; color: #c3d3ee; font-size: 13px; text-align: center; }
.fm-contact .contact-card { text-align: center; }
@media (prefers-reduced-motion: reduce) { .fm-panel { transition: none; } }


/* Targeted bank-card refinements */
.bank-card {
  background: linear-gradient(135deg, #101a2b 0%, #17263d 58%, #203654 100%);
}
.bank-card::before {
  background: radial-gradient(90% 100% at 100% 0%, rgba(201, 164, 91, 0.13), transparent 58%);
}
.bc-glow {
  background: radial-gradient(circle, rgba(201, 164, 91, 0.12), transparent 68%);
}
.bc-chip {
  position: absolute;
  top: 6px;
  right: 3px;
  z-index: 2;
  width: 43px;
  height: 32px;
  margin: 0;
  padding: 4px;
  gap: 2px;
  border: 1px solid rgba(255, 225, 164, 0.78);
  border-radius: 7px;
  background: linear-gradient(135deg, #f8e6b7 0%, #c79b4b 48%, #8e682d 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.75);
}
.bc-chip i {
  border: 1px solid rgba(91, 61, 20, 0.55);
  border-radius: 2px;
}
.bc-top { padding-right: 52px; }
.bc-row {
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}
.bc-row .bc-number {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: clamp(14px, 4.5vw, 22px);
  letter-spacing: clamp(0.7px, 0.35vw, 2px);
}
.bc-copy {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-color: rgba(235, 202, 139, 0.72);
  background: linear-gradient(135deg, #c59a4a, #8f682f);
  color: #fff8e9;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.bc-copy:hover {
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.bank-card .bc-holder { font-size: 20px; }
@media (max-width: 380px) {
  .bank-card { padding-inline: 12px; }
  .bc-row { gap: 6px; }
  .bc-row .bc-number { font-size: 13px; letter-spacing: 0.45px; }
  .bc-copy { flex-basis: 36px; width: 36px; height: 36px; }
}

/* Bank card copies its number when clicked */
.bank-card { cursor: pointer; }
.bank-card:focus-visible { outline: 2px solid #c79b4b; outline-offset: 3px; }
