* { box-sizing: border-box; }
:root {
  --navy: #020923;
  --navy-soft: #111a35;
  --blue: #1687ee;
  --blue-2: #0da9f4;
  --green: #14b87a;
  --yellow: #f6b719;
  --red: #ef4444;
  --muted: #8790a4;
  --line: #edf0f5;
  --bg: #f5f6f9;
  --text: #111827;
}

/* Professional full-layout refinement */
.pro-storefront .store-back {
  border-radius: 8px;
}
.pro-store-header {
  grid-template-columns: 190px minmax(0, 1fr) 430px;
  padding: 0 7%;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}
.pro-store-brand b {
  font-size: 16px;
  letter-spacing: 0;
}
.pro-store-header nav a,
.pro-store-header nav button {
  font-size: 15px;
}
.pro-hero {
  min-height: 610px;
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
  gap: 52px;
  background:
    radial-gradient(circle at 12% 18%, rgba(20, 184, 166, .22), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0b2f32 47%, #0f766e 100%);
}
.pro-hero-copy {
  max-width: 620px;
}
.pro-hero-copy h1 {
  font-size: 58px;
}
.pro-hero-feature {
  grid-template-columns: minmax(0, 1fr) 174px;
  align-items: stretch;
}
.pro-hero-feature article {
  border: 0;
  border-radius: 18px;
}
.pro-hero-feature article img {
  height: 360px;
}
.pro-hero-feature article div {
  min-height: 126px;
  display: grid;
  align-content: center;
}
.pro-mini-stack button {
  min-height: 112px;
  grid-template-columns: 74px minmax(0, 1fr);
}
.pro-mini-stack img {
  width: 74px;
  height: 74px;
}
.pro-trust-strip {
  margin: -34px 7% 0;
  padding: 0;
  position: relative;
  z-index: 2;
  background: transparent;
}
.pro-trust-strip article {
  min-height: 132px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}
.pro-category-wall,
.pro-products-section,
.pro-about-section {
  width: min(1180px, calc(100% - 80px));
  margin: 58px auto;
}
.pro-contact-section {
  width: min(720px, calc(100% - 80px));
}
.pro-category-wall {
  grid-template-columns: 260px minmax(0, 1fr);
}
.pro-category-list {
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
}
.pro-category-list button {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pro-category-list button:hover {
  transform: translateY(-2px);
  border-color: #0f766e;
  box-shadow: 0 12px 26px rgba(15, 118, 110, .12);
}
.pro-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.pro-section-head::after {
  content: "Premium layout";
  padding: 8px 12px;
  border-radius: 999px;
  color: #0f766e;
  background: #dff7f2;
  font-weight: 900;
  font-size: 13px;
}
.pro-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.pro-product-card {
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}
.pro-product-card.featured {
  grid-column: span 2;
  grid-row: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .92fr);
  align-items: stretch;
}
.pro-product-image {
  height: 250px;
}
.pro-product-card.featured .pro-product-image {
  height: 100%;
  min-height: 250px;
}
.pro-product-card.featured .pro-product-content {
  display: grid;
  align-content: center;
}
.pro-product-content h3 {
  line-height: 1.55;
}
.pro-product-content button {
  transition: transform .18s ease, box-shadow .18s ease;
}
.pro-product-content button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 118, 110, .24);
}
.pro-about-section {
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  padding: 30px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}
.pro-contact-section {
  margin-block: 62px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}
@media (max-width: 1100px) {
  .pro-store-header,
  .pro-hero,
  .pro-category-wall,
  .pro-about-section {
    grid-template-columns: 1fr;
  }
  .pro-store-header {
    height: auto;
    padding: 16px 24px;
  }
  .pro-store-header nav,
  .pro-store-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .pro-hero {
    min-height: auto;
    padding: 46px 24px;
  }
  .pro-hero-copy {
    text-align: center;
    justify-self: center;
  }
  .pro-hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .pro-hero-feature {
    grid-template-columns: 1fr;
  }
  .pro-mini-stack {
    grid-template-columns: repeat(3, 1fr);
  }
  .pro-trust-strip,
  .pro-products-grid {
    grid-template-columns: 1fr;
  }
  .pro-product-card.featured {
    grid-row: auto;
  }
  .pro-product-card.featured .pro-product-image,
  .pro-product-image {
    height: 260px;
  }
}

/* Modern gallery template */
.themes-market-section {
  grid-template-columns: repeat(3, 262px) !important;
}
.theme-plan-badge.modern {
  background: #2563eb;
}
.modern-theme-card {
  border-color: #cfe0ff;
}
.modern-theme-card.is-active {
  box-shadow: 0 16px 34px rgba(37, 99, 235, .18);
}
.modern-theme-preview {
  height: 162px;
  padding: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}
.modern-preview-hero {
  height: 72px;
  display: grid;
  align-content: center;
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #0f172a);
}
.modern-preview-hero strong {
  font-size: 20px;
}
.modern-preview-hero span {
  width: 70%;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}
.modern-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.modern-preview-grid i {
  height: 48px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}
.modern-storefront {
  background: #f4f7fb;
  color: #0f172a;
}
.modern-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: 180px minmax(220px, 340px) minmax(0, 1fr) 230px;
  gap: 16px;
  align-items: center;
  padding: 0 7%;
  background: #fff;
  border-bottom: 1px solid #e5eaf2;
  position: sticky;
  top: 0;
  z-index: 60;
}
.modern-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  text-decoration: none;
}
.modern-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.modern-search {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #d8e1ef;
  border-radius: 12px;
  background: #f8fafc;
}
.modern-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}
.modern-header nav,
.modern-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.modern-header nav a,
.modern-header nav button,
.modern-actions button {
  border: 0;
  background: transparent;
  color: #334155;
  font-weight: 900;
  text-decoration: none;
}
.modern-actions button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: #eaf1ff;
  color: #1d4ed8;
}
.modern-actions small {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-inline-start: 6px;
  border-radius: 50%;
  color: #fff;
  background: #2563eb;
}
.modern-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .72fr);
  gap: 28px;
  align-items: stretch;
  padding: 54px 7%;
  background:
    radial-gradient(circle at 82% 20%, rgba(59, 130, 246, .18), transparent 32%),
    linear-gradient(135deg, #ffffff, #eef5ff);
}
.modern-hero-copy,
.modern-hero-product {
  border: 1px solid #dfe8f6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .06);
}
.modern-hero-copy {
  display: grid;
  align-content: center;
  padding: 42px;
}
.modern-hero-copy span,
.modern-section-head span,
.modern-contact span {
  color: #2563eb;
  font-weight: 900;
}
.modern-hero-copy h1 {
  margin: 12px 0 14px;
  font-size: 50px;
  line-height: 1.2;
}
.modern-hero-copy p {
  max-width: 590px;
  margin: 0 0 24px;
  color: #64748b;
  line-height: 2;
}
.modern-hero-copy button,
.modern-product-card div > button,
.modern-contact button {
  height: 44px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #2563eb;
  font-weight: 900;
}
.modern-hero-copy button {
  width: 160px;
}
.modern-hero-product {
  overflow: hidden;
}
.modern-hero-product img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.modern-hero-product div {
  padding: 18px;
}
.modern-hero-product h3 {
  margin: 8px 0;
  font-size: 23px;
}
.modern-hero-product b {
  color: #2563eb;
  font-size: 22px;
}
.modern-layout {
  width: min(1180px, calc(100% - 80px));
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 48px auto;
}
.modern-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #dfe8f6;
  border-radius: 16px;
  background: #fff;
}
.modern-sidebar h2 {
  margin: 0 0 6px;
}
.modern-sidebar button {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #edf2fa;
  border-radius: 10px;
  background: #fff;
  font-weight: 900;
}
.modern-sidebar button.active {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}
.modern-sidebar img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}
.modern-section-head {
  margin-bottom: 18px;
}
.modern-section-head h2 {
  margin: 6px 0 0;
  font-size: 34px;
}
.modern-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.modern-product-card {
  overflow: hidden;
  border: 1px solid #dfe8f6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}
.modern-product-card.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
}
.modern-product-card > button {
  width: 100%;
  height: 240px;
  border: 0;
  background: #eaf1ff;
}
.modern-product-card.wide > button {
  height: 100%;
  min-height: 260px;
}
.modern-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modern-product-card div {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 16px;
}
.modern-product-card small {
  color: #2563eb;
  font-weight: 900;
}
.modern-product-card h3 {
  min-height: 48px;
  margin: 0;
  line-height: 1.55;
}
.modern-product-card b {
  font-size: 19px;
}
.modern-contact {
  width: min(980px, calc(100% - 80px));
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  margin: 54px auto;
  padding: 24px;
  border: 1px solid #dfe8f6;
  border-radius: 18px;
  background: #fff;
}
.modern-contact h2 {
  margin: 8px 0;
  font-size: 32px;
}
.modern-contact p {
  color: #64748b;
}
.modern-contact form {
  display: grid;
  gap: 12px;
}
.modern-contact input,
.modern-contact textarea {
  width: 100%;
  border: 1px solid #d8e1ef;
  border-radius: 10px;
  padding: 12px;
}
.modern-contact textarea {
  min-height: 118px;
}
@media (max-width: 1100px) {
  .themes-market-section {
    grid-template-columns: repeat(2, 262px) !important;
  }
  .modern-header,
  .modern-hero,
  .modern-layout,
  .modern-contact {
    grid-template-columns: 1fr;
  }
  .modern-header {
    padding: 14px 20px;
  }
  .modern-header nav,
  .modern-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .modern-sidebar {
    position: static;
  }
  .modern-products-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .themes-market-section {
    grid-template-columns: 1fr !important;
  }
  .modern-hero,
  .modern-layout,
  .modern-contact {
    width: calc(100% - 28px);
    margin-inline: auto;
  }
  .modern-hero {
    padding: 28px 0;
    background: #eef5ff;
  }
  .modern-hero-copy {
    padding: 24px;
  }
  .modern-hero-copy h1 {
    font-size: 34px;
  }
  .modern-products-grid,
  .modern-product-card.wide,
  .modern-contact {
    grid-template-columns: 1fr;
  }
  .modern-product-card.wide > button,
  .modern-product-card > button {
    height: 230px;
    min-height: 0;
  }
}
@media (max-width: 640px) {
  .pro-hero-copy h1 {
    font-size: 36px;
  }
  .pro-category-wall,
  .pro-products-section,
  .pro-about-section,
  .pro-contact-section {
    width: min(100% - 28px, 520px);
    margin-block: 34px;
  }
  .pro-mini-stack {
    grid-template-columns: 1fr;
  }
  .pro-category-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .pro-section-head {
    display: block;
  }
  .pro-section-head::after {
    display: inline-block;
    margin-top: 10px;
  }
}

.pro-storefront {
  background: #f8fafc;
  color: #0f172a;
}
.pro-store-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 470px;
  align-items: center;
  gap: 24px;
  padding: 0 8%;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
}
.pro-store-brand,
.pro-store-header nav a {
  color: #0f172a;
  text-decoration: none;
}
.pro-store-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pro-store-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.pro-store-header nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}
.pro-store-header nav button {
  border: 0;
  background: transparent;
  color: #334155;
  font-weight: 800;
}
.pro-store-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.pro-store-search {
  width: 210px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #d6dde8;
  border-radius: 8px;
  background: #fff;
}
.pro-store-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}
.pro-cart-button {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #0f766e;
  font-weight: 800;
}
.pro-cart-button small {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-inline-start: 6px;
  border-radius: 50%;
  color: #0f766e;
  background: #fff;
}
.pro-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
  padding: 64px 8%;
  color: #fff;
  background: linear-gradient(135deg, #07111f, #0f766e);
}
.pro-hero-copy span,
.pro-section-head span,
.pro-category-wall > div > span,
.pro-about-section span {
  color: #8ee3d4;
  font-weight: 900;
}
.pro-hero-copy h1 {
  max-width: 620px;
  margin: 12px 0 18px;
  font-size: 54px;
  line-height: 1.18;
}
.pro-hero-copy p {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 2;
}
.pro-hero-actions {
  display: flex;
  gap: 12px;
}
.pro-hero-actions button {
  min-width: 150px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  color: #fff;
  background: #0f766e;
  font-weight: 900;
}
.pro-hero-actions button + button {
  color: #e2e8f0;
  background: rgba(255,255,255,.08);
}
.pro-hero-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
}
.pro-hero-feature article,
.pro-product-card,
.pro-trust-strip article,
.pro-about-section,
.pro-contact-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.pro-hero-feature article {
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.pro-hero-feature article img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.pro-hero-feature article div {
  padding: 18px;
  color: #0f172a;
}
.pro-hero-feature article h3 {
  margin: 6px 0 8px;
  font-size: 22px;
}
.pro-hero-feature article b {
  color: #0f766e;
  font-size: 22px;
}
.pro-mini-stack {
  display: grid;
  gap: 12px;
}
.pro-mini-stack button {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.1);
  text-align: right;
}
.pro-mini-stack img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
}
.pro-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 28px 8%;
  background: #fff;
}
.pro-trust-strip article {
  padding: 22px;
}
.pro-trust-strip b {
  color: #0f766e;
  font-size: 22px;
}
.pro-category-wall,
.pro-products-section,
.pro-about-section,
.pro-contact-section {
  margin: 42px 8%;
}
.pro-category-wall {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
}
.pro-category-wall h2,
.pro-section-head h2,
.pro-about-section h2,
.pro-contact-section h2 {
  margin: 8px 0 0;
  font-size: 34px;
}
.pro-category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 14px;
}
.pro-category-list button {
  min-height: 124px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  font-weight: 900;
}
.pro-category-list img {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
}
.pro-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pro-product-card {
  overflow: hidden;
}
.pro-product-card.featured {
  grid-row: span 2;
}
.pro-product-image {
  width: 100%;
  height: 240px;
  border: 0;
  background: #ecfdf5;
}
.pro-product-card.featured .pro-product-image {
  height: 410px;
}
.pro-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pro-product-content {
  padding: 16px;
}
.pro-product-content span {
  color: #0f766e;
  font-weight: 900;
}
.pro-product-content h3 {
  min-height: 52px;
  margin: 8px 0 12px;
  font-size: 18px;
}
.pro-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pro-price b {
  color: #0f172a;
  font-size: 20px;
}
.pro-price small {
  color: #94a3b8;
  text-decoration: line-through;
}
.pro-product-content button,
.pro-contact-section button {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #0f766e;
  font-weight: 900;
}
.pro-about-section {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
}
.pro-about-section p {
  margin: 0;
  color: #475569;
  line-height: 2;
}
.pro-contact-section {
  max-width: 720px;
  margin-inline: auto;
  padding: 22px;
}
.pro-contact-section form {
  display: grid;
  gap: 12px;
}
.pro-contact-section input,
.pro-contact-section textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  padding: 12px;
}
.pro-contact-section textarea {
  min-height: 120px;
  resize: vertical;
}
body {
  margin: 0;
  direction: rtl;
  color: var(--text);
  background: var(--bg);
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  font-weight: 600;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #fff;
}
.login-visual {
  position: relative;
  padding: 52px;
  color: #fff;
  background: radial-gradient(circle at 20% 10%, #1ba6ff 0, transparent 28%), linear-gradient(145deg, #020923 0%, #06133a 55%, #0c79dc 100%);
  overflow: hidden;
}
.login-visual img { width: 140px; margin-bottom: 54px; }
.login-visual h1 { margin: 0 0 16px; font-size: 42px; line-height: 1.25; }
.login-visual p { max-width: 560px; color: #d7e7ff; font-size: 18px; line-height: 1.9; }
.login-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.login-stats div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
}
.login-stats b { display: block; font-size: 25px; }
.login-card {
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 28px;
}
.login-box {
  width: min(430px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(16, 24, 40, .08);
}
.login-box h2 { margin: 0 0 8px; font-size: 28px; }
.login-box p { margin: 0 0 24px; color: var(--muted); }
.register-box {
  border-color: #cfe3ff;
  box-shadow: 0 14px 35px rgba(22, 135, 238, .12);
}
.register-box h2 {
  font-size: 24px;
}
.register-box .btn.light {
  width: 100%;
  color: #1268d5;
  background: #eef6ff;
  border-color: #bbd8ff;
}
.okwin-public-home {
  min-height: 100vh;
  color: #061124;
  background: #eef4ff;
  scroll-behavior: smooth;
}
.public-nav {
  position: sticky;
  z-index: 20;
  top: 14px;
  width: min(1180px, calc(100% - 32px));
  min-height: 58px;
  margin: 14px auto 0;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(20, 75, 160, .12);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 40px rgba(37, 99, 235, .12);
  backdrop-filter: blur(14px);
}
.public-brand,
.public-nav nav,
.public-nav > div,
.public-hero-actions,
.public-trust-row {
  display: flex;
  align-items: center;
}
.public-brand {
  gap: 8px;
  color: #1687ee;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}
.public-brand img,
.public-footer img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(8, 33, 72, .18);
}
.public-nav nav {
  justify-content: center;
  gap: 22px;
}
.public-nav a {
  color: #172033;
  text-decoration: none;
}
.public-nav > div {
  gap: 10px;
}
.public-primary-btn,
.public-link-btn {
  min-height: 42px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.public-primary-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #2f8cff, #0f6de3);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(22, 135, 238, .24);
}
.public-link-btn {
  color: #172033 !important;
  background: #fff;
}
.public-primary-btn.large,
.public-link-btn.large {
  min-height: 52px;
  padding-inline: 26px;
}
.public-hero {
  position: relative;
  width: 100%;
  min-height: 760px;
  margin: -72px auto 0;
  padding: 156px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0;
  overflow: hidden;
}
.public-hero-copy {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}
.public-kicker,
.public-section-head small,
.public-band span,
.public-integrations small {
  color: #1687ee;
  font-weight: 900;
}
.public-hero h1 {
  max-width: 760px;
  margin: 10px 0 18px;
  font-size: 54px;
  line-height: 1.12;
  color: #071329;
}
.public-hero h1 span {
  color: #1687ee;
}
.public-hero p,
.public-band p,
.public-section-head p,
.public-integrations p {
  color: #68758a;
  line-height: 1.9;
  font-size: 17px;
}
.public-hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.public-trust-row {
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.public-trust-row span {
  padding: 8px 12px;
  border: 1px solid #d7e7ff;
  border-radius: 999px;
  color: #506070;
  background: rgba(255,255,255,.7);
  font-size: 13px;
}
.public-hero-stage {
  position: relative;
  width: 100%;
  min-height: 390px;
  margin-top: 54px;
  border-radius: 0;
  background:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
    radial-gradient(circle at 70% 20%, rgba(0,214,255,.45), transparent 25%),
    linear-gradient(180deg, rgba(139,185,255,.35) 0%, #5859ff 36%, #2c32ed 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.hero-product-float {
  position: absolute;
  left: calc(50% - 460px);
  bottom: 42px;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 28px;
  opacity: .24;
  filter: saturate(1.15);
}
.ai-card,
.shipping-card,
.sales-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 45px rgba(13, 35, 100, .22);
}
.ai-card {
  top: 72px;
  right: calc(50% - 80px);
  width: 260px;
  padding: 20px;
}
.ai-card small,
.shipping-card small,
.sales-card span {
  color: #64748b;
}
.ai-card b,
.shipping-card b,
.sales-card strong {
  display: block;
  margin: 6px 0;
  color: #071329;
  font-size: 24px;
}
.ai-card a {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #06d6ff, #2878ff);
  border-radius: 999px;
  padding: 10px 16px;
}
.shipping-card {
  left: calc(50% - 390px);
  top: 82px;
  width: 245px;
  padding: 16px;
}
.shipping-card span,
.shipping-card em {
  display: block;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #eef6ff;
  color: #2563eb;
  font-style: normal;
}
.shipping-card em {
  background: #ecfdf5;
  color: #16a34a;
}
.sales-card {
  right: calc(50% - 360px);
  bottom: 48px;
  width: 300px;
  padding: 18px;
}
.sales-card strong {
  color: #1d4ed8;
  font-size: 34px;
}
.public-band,
.public-section-head {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 40px;
  text-align: center;
}
.public-band h2,
.public-section-head h2,
.public-integrations h2 {
  margin: 8px 0 12px;
  font-size: 44px;
  line-height: 1.2;
  color: #0b1730;
}
.public-ai-grid,
.public-feature-list,
.pricing-grid,
.testimonial-row {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.public-ai-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 20px 0 90px;
}
.public-ai-grid article,
.public-feature-list article,
.pricing-grid article,
.testimonial-row article {
  border: 1px solid #dbe8ff;
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 45px rgba(30, 64, 175, .08);
}
.public-ai-grid article {
  min-height: 230px;
  padding: 26px;
}
.public-ai-grid span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: #1687ee;
  background: #e7f1ff;
}
.public-ai-grid h3,
.public-feature-list h3 {
  margin: 18px 0 10px;
  color: #111827;
}
.public-ai-grid p,
.public-feature-list p,
.testimonial-row p {
  color: #68758a;
  line-height: 1.8;
}
.public-integrations {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.integration-map {
  position: relative;
  min-height: 380px;
}
.integration-map::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px dashed #b7cff5;
  border-radius: 50%;
}
.integration-map .hub,
.integration-map i {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  display: grid;
  place-items: center;
}
.integration-map .hub {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(22, 135, 238, .2);
}
.integration-map .hub img {
  width: 52px;
}
.integration-map i {
  width: 76px;
  height: 42px;
  transform: translate(calc(50% + var(--x)), calc(-50% + var(--y)));
  border-radius: 999px;
  background: #fff;
  color: #2563eb;
  font-style: normal;
  box-shadow: 0 16px 35px rgba(30, 64, 175, .12);
}
.public-feature-list {
  grid-template-columns: repeat(3, 1fr);
  padding: 50px 0 70px;
}
.public-feature-list article {
  padding: 24px;
}
.public-panel-showcase,
.public-payment-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 40px;
  border: 1px solid #dbe8ff;
  border-radius: 28px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 24px 70px rgba(30, 64, 175, .1);
}
.public-panel-showcase small,
.public-payment-section small {
  color: #1687ee;
  font-weight: 900;
}
.public-panel-showcase h2,
.public-payment-section h2 {
  margin: 10px 0 14px;
  font-size: 40px;
  line-height: 1.2;
  color: #0b1730;
}
.public-panel-showcase p,
.public-payment-section p {
  color: #68758a;
  line-height: 1.9;
}
.public-panel-showcase figure,
.public-payment-section figure {
  position: relative;
  min-height: 310px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 25% 20%, rgba(22,135,238,.2), transparent 35%),
    linear-gradient(135deg, #f8fbff, #e9f2ff);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.public-payment-section figure::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed #b7cff5;
  border-radius: 18px;
}
.public-payment-section figure img {
  opacity: .34;
  height: 100%;
  object-fit: cover;
}
.payment-card-visual,
.payment-proof-visual {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 50px rgba(30, 64, 175, .16);
}
.payment-card-visual {
  top: 54px;
  right: 54px;
  width: 230px;
  padding: 22px;
}
.payment-card-visual span,
.payment-card-visual small,
.payment-proof-visual em {
  color: #64748b;
}
.payment-card-visual strong {
  display: block;
  margin: 8px 0;
  color: #1687ee;
  font-size: 30px;
}
.payment-proof-visual {
  left: 48px;
  bottom: 48px;
  width: 210px;
  padding: 18px;
}
.payment-proof-visual b,
.payment-proof-visual em {
  display: block;
}
.public-payment-section figure {
  margin: 0;
}
.public-panel-showcase figure img,
.public-payment-section figure img {
  width: 100%;
  display: block;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}
.showcase-points,
.payment-logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.showcase-points span {
  padding: 9px 14px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eaf3ff;
}
.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  padding-bottom: 80px;
}
.pricing-grid article {
  position: relative;
  padding: 26px;
  background: #fff;
}
.pricing-grid article.popular {
  border-color: #7bb8ff;
  box-shadow: 0 28px 70px rgba(22, 135, 238, .18);
}
.pricing-grid article > span {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #1687ee;
  font-size: 12px;
}
.pricing-grid h3 {
  color: #1687ee;
  font-size: 26px;
}
.pricing-grid strong {
  display: block;
  margin-top: 8px;
  color: #0b1730;
  font-size: 30px;
}
.pricing-grid p {
  padding: 8px 0;
  margin: 0;
  color: #536276;
  border-bottom: 1px solid #eef4ff;
}
.pricing-grid a {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  padding: 12px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: #1687ee;
}
.public-faq {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 90px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
}
.public-section-head.side {
  width: auto;
  padding: 0;
  text-align: right;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  border: 1px solid #dbe8ff;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.faq-list summary {
  padding: 18px 20px;
  color: #101828;
  cursor: pointer;
}
.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: #64748b;
  line-height: 1.8;
}
.testimonial-row {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 80px;
}
.testimonial-row article {
  padding: 24px;
}
.testimonial-row b {
  color: #f59e0b;
}
.testimonial-row span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: 10px;
  border-radius: 50%;
  color: #fff;
  background: #0f172a;
}
.public-auth-zone {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.public-payment-section {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 76px;
}
.payment-logos {
  align-items: center;
}
.payment-logos img {
  max-width: 110px;
  max-height: 48px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
.payment-safe {
  margin-top: 14px;
  color: #1687ee !important;
  font-weight: 800;
}
.public-auth-zone .login-box {
  width: 100%;
  background: #fff;
}
.public-login-close {
  display: none;
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid #d9e5f6;
  border-radius: 10px;
  background: #fff;
  color: #172033;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}
body.public-login-open {
  overflow: hidden;
}
body.public-login-open .public-auth-zone {
  position: fixed;
  z-index: 2000;
  inset: 0;
  width: 100%;
  margin: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(280px, 460px);
  place-content: center;
  background: rgba(6, 17, 36, .58);
  backdrop-filter: blur(8px);
}
body.public-login-open .public-auth-zone .login-box {
  position: relative;
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-shadow: 0 30px 90px rgba(6, 17, 36, .32);
}
body.public-login-open .public-auth-zone .register-box {
  display: none;
}
body.public-login-open .public-login-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.public-signup-card {
  display: grid;
  gap: 16px;
}
.public-signup-card > p {
  margin-bottom: 0;
}
.signup-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.signup-stepper span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 800;
}
.signup-stepper .active {
  color: #fff;
  background: #1687ee;
  box-shadow: 0 10px 24px rgba(22, 135, 238, .24);
}
.signup-section {
  display: grid;
  gap: 10px;
}
.signup-section > b {
  color: #0f172a;
  font-size: 14px;
}
.signup-plan-grid,
.signup-template-grid {
  display: grid;
  gap: 10px;
}
.signup-plan-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.signup-plan-option,
.signup-template-option {
  min-height: 94px;
  padding: 12px;
  border: 1px solid #dbe8ff;
  border-radius: 12px;
  display: grid;
  gap: 4px;
  cursor: pointer;
  background: #f8fbff;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.signup-plan-option input,
.signup-template-option input {
  display: none;
}
.signup-plan-option span,
.signup-template-option span {
  color: #0f172a;
  font-weight: 900;
}
.signup-plan-option strong {
  color: #1687ee;
  font-size: 18px;
}
.signup-plan-option small,
.signup-plan-option em,
.signup-template-option small {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}
.signup-plan-option.selected,
.signup-template-option.selected {
  border-color: #1687ee;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 135, 238, .14);
}
.signup-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.signup-preview-card {
  padding: 16px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #071329, #0c76dc);
  box-shadow: 0 16px 36px rgba(7, 19, 41, .18);
}
.signup-preview-card small,
.signup-preview-card em,
.signup-preview-card p {
  color: rgba(255,255,255,.78);
  font-style: normal;
}
.signup-preview-card div {
  margin: 8px 0;
  display: grid;
  gap: 3px;
}
.signup-preview-card span {
  width: max-content;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  color: #082f49;
  background: #e0f2fe;
  font-weight: 900;
}
.signup-preview-card b {
  font-size: 22px;
}
.signup-preview-card p {
  margin: 0;
  line-height: 1.7;
}
.public-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 60px;
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr .7fr auto;
  gap: 24px;
  border-top: 1px solid #dbe8ff;
  color: #64748b;
}
.public-footer div,
.public-footer nav {
  display: grid;
  gap: 8px;
}
.public-footer a {
  color: #64748b;
  text-decoration: none;
}
.public-subpage {
  padding-bottom: 70px;
}
.public-page-hero {
  width: min(980px, calc(100% - 32px));
  margin: 80px auto 32px;
  padding: 78px 46px;
  text-align: center;
  border: 1px solid #dbe8ff;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 10%, rgba(22,135,238,.18), transparent 32%),
    linear-gradient(180deg, #fff, rgba(255,255,255,.68));
  box-shadow: 0 24px 70px rgba(30, 64, 175, .1);
}
.public-page-hero small {
  color: #1687ee;
  font-weight: 900;
}
.public-page-hero h1 {
  max-width: 780px;
  margin: 12px auto 16px;
  color: #071329;
  font-size: 48px;
  line-height: 1.18;
}
.public-page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #68758a;
  line-height: 1.9;
  font-size: 17px;
}
.public-page-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.public-page-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid #dbe8ff;
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 45px rgba(30, 64, 175, .08);
}
.public-page-grid h2 {
  margin: 0 0 12px;
  color: #111827;
}
.public-page-grid p {
  color: #68758a;
  line-height: 1.85;
}
.public-page-pricing {
  margin-bottom: 72px;
}
@media (max-width: 980px) {
  .public-nav {
    grid-template-columns: 1fr;
    position: relative;
    top: 0;
  }
  .public-nav nav,
  .public-nav > div {
    justify-content: center;
    flex-wrap: wrap;
  }
  .public-hero,
  .public-integrations,
  .public-panel-showcase,
  .public-payment-section,
  .public-faq,
  .public-auth-zone {
    grid-template-columns: 1fr;
  }
  .public-hero {
    padding-top: 62px;
  }
  .public-hero h1 {
    font-size: 42px;
  }
  .public-hero-stage {
    min-height: 520px;
  }
  .public-ai-grid,
  .public-feature-list,
  .public-panel-showcase,
  .public-payment-section,
  .public-page-grid,
  .pricing-grid,
  .testimonial-row,
  .public-footer {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .public-nav {
    width: calc(100% - 18px);
    border-radius: 12px;
  }
  .public-nav nav {
    gap: 10px;
    font-size: 13px;
  }
  .public-hero,
  .public-ai-grid,
  .public-feature-list,
  .pricing-grid,
  .testimonial-row,
  .public-integrations,
  .public-faq,
  .public-auth-zone,
  .public-footer {
    width: calc(100% - 18px);
  }
  .public-hero h1 {
    font-size: 34px;
  }
  .public-band h2,
  .public-section-head h2,
  .public-integrations h2 {
    font-size: 30px;
  }
  .public-hero-stage {
    min-height: 640px;
    border-radius: 22px;
  }
  .ai-card,
  .shipping-card,
  .sales-card {
    position: relative;
    inset: auto;
    width: auto;
    margin: 18px;
  }
  .hero-product-float {
    display: none;
  }
  .public-panel-showcase,
  .public-payment-section {
    padding: 22px;
    border-radius: 20px;
  }
  .public-panel-showcase h2,
  .public-payment-section h2 {
    font-size: 28px;
  }
  .payment-logos img {
    max-width: 92px;
  }
  .payment-card-visual,
  .payment-proof-visual {
    position: relative;
    inset: auto;
    width: calc(100% - 36px);
    margin: 12px auto;
  }
  .public-payment-section figure {
    min-height: auto;
    padding: 18px 0;
  }
  .integration-map {
    min-height: 300px;
    transform: scale(.78);
  }
  .public-auth-zone .login-box {
    padding: 24px;
  }
  .signup-plan-grid,
  .signup-fields-grid {
    grid-template-columns: 1fr;
  }
  .signup-stepper {
    grid-template-columns: 1fr;
  }
  .public-page-hero {
    padding: 42px 20px;
  }
  .public-page-hero h1 {
    font-size: 32px;
  }
}
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { color: #4b5565; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #dde2ec;
  border-radius: 8px;
  background: #fff;
  outline: 0;
}
.field textarea { min-height: 86px; resize: vertical; }
.app-shell { min-height: 100vh; display: flex; background: var(--bg); }
.sidebar {
  position: fixed;
  inset: 0 0 0 auto;
  width: 260px;
  min-height: 100vh;
  padding: 28px 14px;
  color: #fff;
  background: var(--navy);
  overflow-y: auto;
  overflow-anchor: none;
  z-index: 5;
  transition: transform .18s ease;
}
.brand-logo-frame {
  width: 148px;
  height: 112px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: radial-gradient(circle at 35% 20%, rgba(255,145,48,.18), rgba(22,135,238,.08) 42%, rgba(255,255,255,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 32px rgba(0,0,0,.18);
  overflow: hidden;
}
.logo {
  display: block;
  width: 126px;
  height: 126px;
  object-fit: contain;
  border-radius: 16px;
}
.divider { height: 1px; background: rgba(255,255,255,.32); margin: 14px 0 18px; }
.plan-label { text-align: center; font-size: 18px; margin-bottom: 14px; }
.mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 3px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #0e9af4, #076fc1);
  box-shadow: 0 1px 5px rgba(14,154,244,.45);
  font-size: 13px;
}
.catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.catalog-card {
  min-height: 255px;
  display: grid;
  align-content: start;
  gap: 10px;
}
.catalog-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.catalog-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #1687ee;
  background: #eef6ff;
  font-size: 22px;
  font-weight: 800;
}
.catalog-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}
.catalog-card p {
  min-height: 48px;
  margin: 0;
  color: #687386;
  font-size: 13px;
  line-height: 1.7;
}
.catalog-filter .toolbar {
  grid-template-columns: minmax(220px, 1fr) 170px 150px;
}
.substores-screen td small {
  display: block;
  margin-top: 4px;
  color: #8790a4;
  font-size: 12px;
}
.sidebar .mini-pill { display: flex; width: fit-content; margin: 0 auto 18px; }
.btn {
  border: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #319eff, #0877dc);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.btn.secondary { color: #226fca; background: #eef6ff; border: 1px solid #cfe4ff; }
.btn.light { color: #374151; background: #fff; border: 1px solid #e5e9f0; }
.btn.danger { background: #ef4444; }
.btn.green { background: #12ad74; }
.sidebar .btn { width: 108px; margin: 0 auto 18px; display: flex; }
.nav-group { display: grid; gap: 6px; }
.nav-section {
  display: grid;
  gap: 4px;
}
.nav-section-toggle {
  min-height: 42px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  text-align: right;
  font-size: 15px;
}
.nav-section-toggle:hover,
.nav-section-toggle.active,
.nav-section.open .nav-section-toggle {
  color: var(--blue-2);
  background: rgba(255,255,255,.10);
}
.nav-section-toggle small {
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  border-radius: 999px;
  background: #287eea;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  border: 1px solid rgba(255,255,255,.7);
}
.nav-section-toggle em {
  color: #8ea0ca;
  font-style: normal;
  transition: transform .18s ease;
}
.nav-section.open .nav-section-toggle em {
  transform: rotate(180deg);
}
.nav-section-items {
  display: none;
  gap: 4px;
  padding: 3px 12px 5px 0;
  border-right: 1px solid rgba(255,255,255,.14);
}
.nav-section-items[data-open="true"] {
  display: grid;
}
.nav-section.direct .nav-item {
  min-height: 42px;
}
.nav-section.direct.open .nav-item {
  color: var(--blue-2);
  background: rgba(255,255,255,.10);
}
.nav-section.label-only {
  gap: 4px;
  margin-top: 12px;
}
.nav-label-title {
  min-height: 24px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 800;
}
.nav-section.label-only .nav-section-items {
  padding-top: 0;
}
.nav-item {
  min-height: 36px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 8px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.nav-item:hover, .nav-item.active { color: var(--blue-2); background: rgba(255,255,255,.10); }
.nav-item small {
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  border-radius: 999px;
  background: #287eea;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  border: 1px solid rgba(255,255,255,.7);
}
.nav-section-title {
  margin: 16px 8px 7px;
  color: #8ea0ca;
  font-size: 12px;
}
.dashboard-title {
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.store-switch {
  display: grid;
  gap: 10px;
  padding: 4px 8px 10px;
  color: #fff;
}
.store-switch strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}
.store-switch .btn {
  width: 118px;
  min-height: 34px;
  margin: 0;
  color: #0c78d7;
  background: #fff;
  border-color: rgba(255,255,255,.2);
}
.workspace { width: calc(100% - 260px); margin-right: 260px; }
.app-shell.sidebar-collapsed .sidebar {
  transform: translateX(100%);
  pointer-events: none;
}
.app-shell.sidebar-collapsed .workspace {
  width: 100%;
  margin-right: 0;
}
.topbar {
  height: 92px;
  background: #fff;
  border-bottom: 1px solid #f0f0f2;
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(500px, 1fr) 200px;
  grid-template-areas: "tools cards welcome";
  align-items: center;
  gap: 16px;
  padding: 0 12px 0 18px;
  position: sticky;
  top: 0;
  z-index: 30;
  overflow: visible;
  direction: ltr;
}
.welcome { grid-area: welcome; justify-self: end; position: relative; width: 188px; text-align: right; padding-left: 18px; direction: rtl; }
.welcome span { display: block; color: #8f95a6; font-size: 13px; line-height: 1.15; }
.welcome strong { display: block; color: #050b18; font-size: 23px; line-height: 1.05; letter-spacing: 0; }
.circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  background: #2b99ef;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
}
.welcome .circle { position: absolute; top: 22px; left: -18px; }
.top-cards { grid-area: cards; min-width: 0; display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin: 0; direction: rtl; }
.top-cards > .btn {
  width: 104px;
  height: 44px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(14, 154, 244, .25);
  white-space: nowrap;
}
.top-card {
  height: 62px;
  min-width: 126px;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #eceef3;
  border-radius: 8px;
  background: #fff;
  color: #8f95a6;
  box-shadow: 0 4px 11px rgba(7, 22, 59, .035);
}
.top-card span:not(.mini-pill):not(.top-card-icon) { color: #9298a8; font-size: 12px; line-height: 1.15; white-space: nowrap; }
.top-card strong { color: var(--green); font-size: 18px; grid-column: 2; line-height: 1; white-space: nowrap; }
.top-card.ai { min-width: 126px; }
.top-card.ai strong { color: #f2b414; }
.ai-open-card {
  border: 1px solid #eceef3;
  cursor: pointer;
  font: inherit;
  text-align: start;
}
.ai-open-card:hover {
  border-color: #fde68a;
  box-shadow: 0 7px 18px rgba(242, 180, 20, .16);
}
.wallet-card { min-width: 140px; }
.wallet-open-card {
  position: relative;
  border: 1px solid #eceef3;
  cursor: pointer;
  font: inherit;
  text-align: start;
}
.wallet-open-card:hover {
  border-color: #cfe5ff;
  box-shadow: 0 7px 18px rgba(22, 135, 238, .12);
}
.wallet-open-card i {
  position: absolute;
  top: 12px;
  left: 11px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf5ff;
  color: #267de6;
  font-style: normal;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.top-card img { width: 34px; grid-row: span 2; }
.top-card-icon {
  width: 34px;
  height: 34px;
  grid-row: span 2;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #267de6;
  background: #edf5ff;
  font-size: 19px;
}
.top-card.plan {
  min-width: 148px;
  grid-template-columns: 82px 1fr;
  position: relative;
  row-gap: 3px;
}
.top-card.plan .mini-pill {
  width: 82px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  align-self: center;
  justify-self: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}
.top-card.plan .mini-pill b {
  display: block;
  color: #fff;
  line-height: 1;
  font: inherit;
}
.top-card.plan .mini-pill i {
  position: absolute;
  top: 3px;
  right: 8px;
  color: #fff;
  font-style: normal;
  line-height: 1;
  font-size: 14px;
}
.top-card.plan em { color: #fd8a00; font-style: normal; font-size: 11px; font-weight: 800; grid-column: 1 / 3; text-align: center; line-height: 1.1; white-space: nowrap; }
.tools { grid-area: tools; justify-self: start; display: flex; align-items: center; gap: 14px; padding-right: 12px; border-right: 1px solid #e5e7ee; color: #596070; direction: rtl; }
.api-badge {
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  color: #64748b;
  background: #f1f5f9;
}
.api-badge.online {
  color: #047857;
  background: #dcfce7;
}
.api-badge.offline {
  color: #b45309;
  background: #fef3c7;
}
.lang { height: 38px; min-width: 68px; padding: 0 10px; border: 0; border-radius: 10px; display: flex; gap: 5px; align-items: center; justify-content: center; background: #edf6ff; color: #5d6471; font-size: 15px; }
.avatar { width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: #e8f3ff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-wrap {
  position: relative;
  z-index: 50;
}
.avatar-menu {
  min-width: 74px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-right: 1px solid #e5e7ee;
  background: #fff;
  color: #111827;
}
.avatar-menu.active {
  background: #f8fbff;
}
.avatar-menu span { font-size: 14px; }
.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  width: 250px;
  padding: 10px;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .14);
  direction: rtl;
}
.profile-head {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 8px 12px;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 6px;
}
.profile-head strong,
.profile-card strong {
  display: block;
  color: #111827;
  font-size: 15px;
}
.profile-head span,
.profile-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.profile-dropdown button {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  color: #344054;
  background: #fff;
  text-align: right;
}
.profile-dropdown button b {
  color: #111827;
  font-size: 13px;
}
.profile-dropdown button span {
  margin-right: auto;
  color: var(--muted);
  font-size: 11px;
}
.profile-dropdown button:hover {
  background: #f5f8fc;
}
.profile-dropdown .danger-link {
  color: #d12e2e;
}
.profile-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfcfe;
}
.avatar.large {
  width: 58px;
  height: 58px;
}
.tool-icon {
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  color: #596070;
  font-size: 19px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}
.tool-icon:hover,
.tool-icon.active {
  color: #1687ee;
  background: #edf5ff;
}
.tool-icon.moon { font-size: 23px; color: #5a6375; }
.tool-icon.notification-tool small {
  position: absolute;
  top: -7px;
  left: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ef4444;
  color: #fff;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.content { padding: 24px 30px 56px; }
.content::before {
  content: "";
  display: block;
  height: 1px;
}
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }
.page-head h1 { margin: 0; font-size: 28px; }
.page-head p { margin: 7px 0 0; color: var(--muted); }
.banner {
  width: 100%;
  height: 202px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 9px rgba(4, 18, 47, .18);
  display: block;
  margin-bottom: 16px;
}
.play-badge { width: 137px; display: block; margin-bottom: 8px; }
.filters, .stats, .cards-grid, .settings-grid { display: grid; gap: 16px; }
.filters { grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
.stats { grid-template-columns: repeat(4, 1fr); margin-bottom: 16px; }
.cards-grid { grid-template-columns: repeat(3, 1fr); }
.settings-grid { grid-template-columns: repeat(2, 1fr); }
.card, .panel, .stat-card, .filter-card {
  background: #fff;
  border: 1px solid #f0f2f6;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(14, 23, 45, .05);
}
.card, .panel { padding: 20px; }
.management-cards { align-items: stretch; }
.management-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
}
.management-card .actions { margin-top: auto; justify-content: flex-start; }
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 8px;
}
.card-top h3 { margin: 0; }
.settings-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fff;
}
.settings-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dbe7f8;
  border-radius: 8px;
  color: #276fc6;
  background: #fff;
}
.settings-tabs button.active {
  color: #fff;
  background: #2383e8;
  border-color: #2383e8;
}
.filter-card { min-height: 110px; padding: 17px 22px; text-align: center; }
.filter-card h3, .panel h2, .card h3 { margin: 0 0 16px; }
.pill-row { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.pill {
  min-height: 35px;
  padding: 0 15px;
  border: 1px solid #2d7bd8;
  border-radius: 999px;
  color: #2d70c8;
  background: #fff;
}
.pill.selected { color: #fff; background: #2d83e6; }
.stat-card {
  min-height: 88px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-left: 4px solid #247fe4;
}
.stat-card.green { border-left-color: #16b478; }
.stat-icon {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #207fe7;
  background: #eef5ff;
}
.stat-card.green .stat-icon { color: #13ad75; background: #e9faf2; }
.stat-card span { color: #9298a6; font-size: 14px; display: block; }
.stat-card strong { font-size: 19px; }
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.chart-panel { min-height: 260px; }
.line-chart { width: 100%; height: 196px; direction: ltr; }
.line-chart line { stroke: #dfe3ea; stroke-width: 1; }
.line-chart text { fill: #4f5665; font-size: 12px; }
.line-chart .empty-chart-label { fill: #98a2b3; font-size: 16px; font-weight: 700; }
.line { fill: none; stroke-width: 5; stroke-linecap: round; }
.blue-line { stroke: #4b8fee; }
.yellow-line { stroke: #f5bd28; }
.legend { display: flex; gap: 18px; justify-content: flex-end; color: #1d2432; font-size: 14px; }
.order-legend span::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-left: 6px;
  border-radius: 50%;
  background: #4b8fee;
}
.order-legend span:nth-child(2)::before { background: #16b478; }
.order-legend span:nth-child(3)::before { background: #ef4444; }
.order-legend span:nth-child(4)::before { background: #f5bd28; }
.side-metrics p {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  color: #667085;
  background: #fbfcfe;
}
.side-metrics b { color: #101828; font-size: 18px; }
.donut {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: conic-gradient(#1f86ed 0 83.5%, #f5bb20 83.5% 97.2%, #17bd80 97.2% 100%);
  position: relative;
}
.donut span { position: absolute; inset: 30px; border-radius: 50%; background: #fff; }
.donut b { position: relative; font-size: 18px; }
.visit-sources ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.visit-sources li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #667085;
  font-size: 13px;
}
.visit-sources li b { color: #101828; }
.ratio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.ratio-card { min-height: 138px; }
.ratio-card h2 {
  min-height: 48px;
  font-size: 16px;
  line-height: 1.6;
}
.ratio-bars {
  height: 12px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}
.ratio-bars span,
.ratio-bars em {
  display: block;
  min-width: 0;
  background: #2383e8;
}
.ratio-bars em { background: #f5bd28; }
.ratio-values {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #101828;
}
.dashboard-products table th,
.dashboard-products table td { text-align: center; }
.dashboard-products table .text { min-width: 330px; text-align: right; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.okwin-filter {
  padding: 14px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(14, 23, 45, .04);
}
.toolbar input, .toolbar select {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #dde2ec;
  border-radius: 8px;
  background: #fff;
}
.toolbar input { min-width: 260px; }
.status-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(14, 23, 45, .04);
}
.status-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dbe7f8;
  border-radius: 999px;
  color: #276fc6;
  background: #fff;
}
.status-tabs button.active {
  color: #fff;
  border-color: #2383e8;
  background: #2383e8;
}
.status-tabs b { font-size: 12px; }
.orders-screen .page-head {
  align-items: center;
  margin-bottom: 14px;
}
.orders-screen .page-head h1 {
  font-size: 27px;
}
.order-add-btn {
  min-height: 42px;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(14,154,244,.18);
}
.order-tabs {
  align-items: center;
  padding: 14px;
  justify-content: flex-start;
  gap: 9px;
}
.order-tabs button {
  min-width: 118px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.order-tabs button.active {
  box-shadow: 0 6px 16px rgba(35,131,232,.18);
}
.order-filter-panel {
  margin-bottom: 16px;
  padding: 17px;
}
.order-filter-panel h2 {
  margin: 0;
  font-size: 18px;
}
.order-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.order-filter-head span {
  color: #778196;
  font-size: 13px;
}
.order-filter-panel .toolbar { margin-bottom: 0; }
.order-toolbar {
  display: grid;
  grid-template-columns: 128px 128px minmax(230px, 1fr) 128px 142px 82px 112px;
  gap: 10px;
}
.order-toolbar input,
.order-toolbar select,
.order-toolbar button {
  width: 100%;
  min-width: 0;
}
.order-search {
  min-width: 0 !important;
}
.order-export {
  color: #2777cf;
  background: #eef7ff;
}
.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.bulk-actions span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  color: #344054;
  background: #f8fbff;
  font-weight: 800;
}
.orders-table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1687ee;
}
.table-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  color: #667085;
  background: #fff;
}
.pager {
  width: 34px;
  height: 34px;
  border: 1px solid #2383e8;
  border-radius: 8px;
  color: #fff;
  background: #2383e8;
}
.orders-table {
  border-color: #edf1f7;
  box-shadow: 0 4px 14px rgba(14, 23, 45, .035);
}
.orders-table table {
  min-width: 1160px;
  table-layout: fixed;
}
.orders-table th {
  height: 54px;
  color: #555e70;
  font-size: 13px;
  font-weight: 800;
}
.orders-table td {
  height: 70px;
  color: #182033;
  vertical-align: middle;
}
.orders-table .code-col { width: 92px; }
.orders-table .actions-col {
  width: 184px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  box-shadow: 6px 0 12px rgba(14,23,45,.035);
}
.orders-table th.actions-col {
  z-index: 3;
  background: #fbfcfe;
}
.order-product {
  width: 230px;
  max-width: 230px;
  line-height: 1.45;
}
.order-product-short {
  min-width: 104px;
  max-width: 128px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #111827;
  font-weight: 900;
  white-space: nowrap;
}
.order-product-short img {
  width: 28px;
  height: 28px;
  border: 1px solid #d7dee9;
  border-radius: 5px;
  object-fit: cover;
}
.order-product-short b {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.source-badge {
  min-width: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: #384256;
  background: #f3f6fb;
  font-size: 12px;
}
.phone-cell {
  direction: ltr;
  line-height: 1.55;
  white-space: pre-line;
}
.order-actions {
  gap: 6px;
  flex-wrap: nowrap;
}
.orders-screen .page-head {
  max-width: 1183px;
  margin-inline: auto;
  margin-bottom: 18px;
}
.orders-screen .order-add-btn {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 8px;
}
.orders-screen .order-tabs {
  max-width: 1183px;
  margin: 0 auto 28px;
  padding: 0;
  gap: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  direction: rtl;
  scrollbar-width: none;
}
.orders-screen .order-tabs::-webkit-scrollbar {
  display: none;
}
.orders-screen .order-tabs button {
  position: relative;
  flex: 0 0 170px;
  min-width: 170px;
  min-height: 78px;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: 1fr 24px;
  align-items: center;
  justify-items: center;
  column-gap: 10px;
  padding: 10px 10px 10px 14px;
  border: 0;
  background: #fff;
  color: #1c2433;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(14, 23, 45, .055);
}
.orders-screen .order-tabs button.active {
  color: #1c2433;
  background: #fff;
  box-shadow: 0 12px 28px rgba(14, 23, 45, .075);
}
.orders-screen .order-tabs button::before {
  content: "▣";
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #2386fb;
  background: #e8f3ff;
  font-size: 25px;
  font-weight: 900;
}
.orders-screen .order-tabs button[data-order-tab="noanswer"]::before { content: "✕"; color: #f59e0b; background: #fff3dd; }
.orders-screen .order-tabs button[data-order-tab="canceled"]::before,
.orders-screen .order-tabs button[data-order-tab="returned"]::before { content: "✖"; color: #f04444; background: #ffe9e9; }
.orders-screen .order-tabs button[data-order-tab="confirmed"]::before,
.orders-screen .order-tabs button[data-order-tab="received"]::before { content: "✓"; color: #18a058; background: #e6f8ee; }
.orders-screen .order-tabs button[data-order-tab="delayed"]::before { content: "🔒"; color: #07969b; background: #e6fbfb; font-size: 21px; }
.orders-screen .order-tabs button[data-order-tab="processing"]::before { content: "▦"; color: #8b5cf6; background: #f1eafe; }
.orders-screen .order-tabs button[data-order-tab="shipping"]::before { content: "▣"; color: #2386fb; background: #e8f3ff; }
.orders-screen .order-tabs button span {
  grid-column: 2;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.25;
}
.orders-screen .order-tabs button b {
  grid-column: 2;
  color: #2386fb;
  font-size: 18px;
  line-height: 1;
}
.orders-screen .order-filter-panel {
  max-width: 1183px;
  min-height: 86px;
  margin: 0 auto 32px;
  padding: 20px 44px;
  border: 0;
  border-radius: 36px;
  box-shadow: 0 14px 35px rgba(14, 23, 45, .07);
}
.orders-screen .order-filter-head {
  margin-bottom: 0;
}
.orders-screen .order-toolbar {
  grid-template-columns: minmax(0, 390px) 154px 138px 74px 46px 92px 112px 112px;
  gap: 10px;
  align-items: center;
  justify-content: end;
  margin-top: -40px;
}
.orders-screen .original-bulk-actions {
  min-height: 44px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfdff;
}
.orders-screen .original-bulk-actions[data-selected-count="0"] button {
  opacity: .52;
}
.orders-screen .order-action-menu {
  width: 138px;
}
.orders-screen .order-row-menu .danger {
  color: #e03131;
}
.orders-screen .order-toolbar input,
.orders-screen .order-toolbar select {
  min-height: 46px;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  padding: 8px 12px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
}
.orders-screen .order-filter-btn {
  min-height: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  background: #1687ee;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
.orders-screen .order-advanced-filter {
  min-width: 46px;
  width: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 50%;
  color: #1687ee;
  background: #fff;
  border: 1px solid #8bbcff;
}
.orders-screen .order-table-panel {
  max-width: 1183px;
  min-height: 0;
  margin-inline: auto;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(14, 23, 45, .05);
}
.orders-screen .orders-table {
  border: 0;
  box-shadow: none;
}
.orders-screen .orders-table table {
  min-width: 1180px;
  table-layout: fixed;
}
.orders-screen .orders-table th {
  height: 46px;
  color: #1f2937;
  background: #fbfcfe;
  font-size: 13px;
  font-weight: 900;
}
.orders-screen .orders-table td {
  height: 54px;
  border-top: 1px solid #eef1f5;
  vertical-align: middle;
}
.orders-screen .orders-table .actions-col {
  width: 140px;
  box-shadow: none;
}
.orders-screen .orders-table th:nth-child(10),
.orders-screen .orders-table td:nth-child(10) {
  width: 140px;
  position: sticky;
  left: 290px;
  z-index: 2;
  background: #fff;
}
.orders-screen .orders-table th:nth-child(10) {
  z-index: 3;
  background: #fbfcfe;
}
.orders-screen .orders-table th:nth-child(11),
.orders-screen .orders-table td:nth-child(11) {
  width: 150px;
  position: sticky;
  left: 140px;
  z-index: 2;
  background: #fff;
}
.orders-screen .orders-table th:nth-child(11) {
  z-index: 3;
  background: #fbfcfe;
}
.orders-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.orders-pagination button {
  width: 26px;
  height: 26px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-weight: 800;
}
.orders-pagination .active {
  border-color: #1687ee;
  background: #1687ee;
  color: #fff;
}
.order-actions .icon-btn {
  min-width: 30px;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 14px;
}
.orders-screen .table-wrap {
  max-height: min(620px, calc(100vh - 330px));
  overflow: auto;
}
.order-menu-wrap {
  position: relative;
  display: inline-flex;
}
.order-state-btn {
  width: 120px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(35, 134, 251, .2);
  border-radius: 6px;
  color: #2386fb;
  background: rgba(35, 134, 251, .08);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.order-state-btn b {
  font-size: 12px;
  line-height: 1;
}
.order-native-select-wrap {
  position: relative;
  display: inline-flex;
  width: 132px;
  height: 34px;
}
.order-native-select-wrap::after {
  content: "⌄";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #2386fb;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}
.order-native-select {
  width: 100%;
  height: 34px;
  padding: 0 14px 0 28px;
  border: 1px solid rgba(35, 134, 251, .28);
  border-radius: 7px;
  color: #2386fb;
  background: rgba(35, 134, 251, .08);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-align-last: center;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
}
.order-native-select.tone-blue {
  color: #2386fb;
  border-color: rgba(35, 134, 251, .28);
  background: #eaf4ff;
}
.order-native-select.tone-green {
  color: #17a55b;
  border-color: rgba(23, 165, 91, .28);
  background: #e8f8ee;
}
.order-native-select.tone-red {
  color: #f04444;
  border-color: rgba(240, 68, 68, .28);
  background: #ffe9e9;
}
.order-native-select.tone-amber {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, .28);
  background: #fff3dd;
}
.order-native-select.tone-purple {
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, .28);
  background: #f1eafe;
}
.order-native-select.tone-cyan {
  color: #07969b;
  border-color: rgba(7, 150, 155, .28);
  background: #e6fbfb;
}
.order-native-select:focus {
  border-color: #2386fb;
  box-shadow: 0 0 0 3px rgba(35, 134, 251, .12);
}
.order-view-direct {
  min-width: 76px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(35, 134, 251, .24);
  border-radius: 7px;
  color: #1274e8;
  background: #eef6ff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}
.order-view-direct:hover {
  border-color: #1687ee;
  background: #e3f0ff;
}
.order-row-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 420;
  width: 142px;
  overflow: hidden;
  border: 1px solid #edf1f7;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(14, 23, 45, .14);
}
.inline-order-menu {
  right: auto;
  left: 0;
}
.orders-screen .orders-table td {
  overflow: visible;
}
.order-floating-menu {
  position: fixed;
  right: auto;
  left: auto;
  z-index: 350;
  max-height: min(320px, calc(100vh - 24px));
  overflow-y: auto;
}
.order-row-menu button {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 0;
  color: #2386fb;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.order-row-menu button:hover {
  background: #f3f8ff;
}
.original-order-actions {
  min-width: 126px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  direction: ltr;
}
.order-action-icon,
.order-dots-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  color: #2386fb;
  background: transparent;
  font-weight: 900;
}
.order-action-icon.ship {
  color: #fff;
  background: #2386fb;
}
.order-action-icon.light {
  background: #eaf4ff;
}
.order-dots-btn {
  font-size: 20px;
  line-height: 1;
}
.order-action-menu {
  right: auto;
  left: 0;
  width: 124px;
}
.order-filter-modal {
  width: min(720px, calc(100vw - 28px));
}
.order-filter-modal .modal-head h2 {
  font-size: 22px;
}
.order-filter-modal .form-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.order-filter-actions {
  justify-content: flex-start;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf1f7;
}
.icon-btn.view { color: #226fca; background: #eef6ff; border-color: #d8eaff; }
.icon-btn.edit { color: #6d5bd0; background: #f3f0ff; border-color: #e1dbff; }
.icon-btn.confirm { color: #079566; background: #e8f8f1; border-color: #c9f0dd; }
.icon-btn.copy { color: #576276; background: #f8fafc; }
.icon-btn.danger-icon { color: #d12e2e; background: #fff0f0; border-color: #ffd7d7; }
.order-footer {
  margin-top: 10px;
}
.products-screen .page-head {
  align-items: center;
  margin-bottom: 14px;
  max-width: 1183px;
  margin-inline: auto;
}
.products-screen .page-head h1 {
  font-size: 27px;
}
.product-add-btn {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(14,154,244,.18);
}
.product-summary {
  margin-bottom: 16px;
}
.product-filter-panel {
  max-width: 1183px;
  min-height: 808px;
  margin-inline: auto;
  margin-bottom: 16px;
  padding: 16px;
}
.product-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 114px;
  direction: rtl;
  gap: 16px;
  margin-bottom: 32px;
}
.product-toolbar input,
.product-toolbar select,
.product-toolbar button {
  width: 100%;
  min-width: 0;
}
.product-toolbar input {
  direction: rtl;
  min-height: 42px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  padding: 8px 14px;
}
.product-toolbar button {
  min-height: 42px;
  border-radius: 8px;
  background: #1687ee;
  color: #fff;
}
.products-table {
  border: 0;
  box-shadow: none;
}
.products-table table {
  min-width: 1151px;
  table-layout: fixed;
}
.products-table th {
  height: 44px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 900;
  background: #fbfcfe;
}
.products-table td {
  height: 60px;
  vertical-align: middle;
  border-top: 1px solid #eef1f5;
}
.products-table .product-name-col {
  width: 210px;
}
.products-table td.product-name-col {
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.products-table td.product-name-col small {
  display: block;
  margin-top: 4px;
  color: #8993a8;
  font-size: 12px;
}
.product-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #6b7280;
  background: #fff;
}
.stock-chip {
  min-width: 42px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #0f766e;
  background: #e9faf2;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.stock-chip.low {
  color: #b45309;
  background: #fff4dc;
}
.products-table .actions-col {
  width: 58px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  box-shadow: none;
}
.products-table th.actions-col {
  z-index: 3;
  background: #fbfcfe;
}
.product-actions {
  gap: 6px;
  flex-wrap: nowrap;
}
.product-actions .icon-btn {
  min-width: 30px;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 14px;
}
.metric-chip {
  min-width: 53px;
  min-height: 30px;
  border: 0;
  border-radius: 8px;
  padding: 5px 12px;
  font-weight: 900;
  cursor: pointer;
}
.metric-chip.blue {
  color: #0f6fdc;
  background: #edf4ff;
}
.metric-chip.green {
  color: #079455;
  background: #eaf9f0;
}
.metric-chip.orange {
  color: #f59e0b;
  background: #fff4e5;
}
.eye-mark {
  color: #0ea5e9;
  font-weight: 900;
}
.product-list-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 24px;
}
.product-list-switch input {
  display: none;
}
.product-list-switch span {
  position: relative;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: #d8e1ee;
}
.product-list-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .25);
}
.product-list-switch input:checked + span {
  background: #1687ee;
}
.product-list-switch input:checked + span::after {
  right: 21px;
}
.product-dots {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.product-menu-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
}
.product-row-menu {
  position: absolute;
  top: 32px;
  left: 0;
  width: 118px;
  z-index: 20;
  display: grid;
  gap: 3px;
  padding: 6px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
}
.product-row-menu button {
  min-height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #111827;
  text-align: right;
  font-weight: 800;
  cursor: pointer;
}
.product-row-menu button:hover {
  background: #f3f7fc;
}
.product-row-menu .danger {
  color: #dc2626;
}
.products-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.products-pagination button {
  width: 26px;
  height: 26px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-weight: 800;
}
.products-pagination .active {
  border-color: #1687ee;
  background: #1687ee;
  color: #fff;
}
.icon-btn.toggle {
  color: #a26300;
  background: #fff6db;
  border-color: #ffe6a3;
}
.product-footer {
  margin-top: 10px;
}
.category-screen .page-head,
.coupons-screen .page-head {
  align-items: center;
  margin-bottom: 14px;
}
.category-screen .page-head h1,
.coupons-screen .page-head h1 {
  font-size: 27px;
}
.category-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 120px;
  gap: 10px;
  margin-bottom: 0;
}
.coupon-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 132px 112px;
  gap: 10px;
  margin-bottom: 0;
}
.category-toolbar input,
.category-toolbar button,
.coupon-toolbar input,
.coupon-toolbar select,
.coupon-toolbar button {
  width: 100%;
  min-width: 0;
}
.category-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}
.category-card {
  min-height: 178px;
}
.category-card p {
  margin: 0 0 9px;
  color: #182033;
}
.category-card p span {
  color: #8892a5;
}
.category-card .actions {
  gap: 8px;
}
.original-categories-screen {
  width: 100%;
  transform: translate(17px, -3px);
}
.original-categories-screen .page-head {
  width: 1183px;
  max-width: 1183px;
  margin: 0 auto 16px 47px;
  align-items: center;
}
.original-categories-screen .page-head h1 {
  margin: 0;
  color: #000;
  font-size: 26px;
  font-weight: 700;
  line-height: 35px;
}
.original-categories-screen .category-add-main {
  width: 174px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  background: #206eeb;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
  text-decoration: none;
}
.original-category-list {
  width: 1183px;
  max-width: 1183px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto 0 47px;
}
.original-category-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 14px rgba(0, 0, 0, .05);
}
.original-category-card h3 {
  margin: 0;
  min-width: 265px;
  color: #317ef5;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  text-align: right;
}
.original-category-count {
  min-width: 74px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #cfe2ff;
  border-radius: 999px;
  background: #edf6ff;
  color: #1363df;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.original-category-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  direction: rtl;
}
.original-category-actions .btn {
  width: 201px;
  min-height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.original-category-actions .secondary {
  color: #1363df;
  background: rgba(19, 99, 223, .05);
  border-color: #1363df;
}
.original-category-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #206eeb;
  background: rgba(32, 110, 235, .1);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.original-category-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}
.original-category-icon + .original-category-icon {
  color: #1363df;
  background: rgba(19, 99, 223, .1);
}
.original-category-actions .danger-text {
  width: 200px;
  color: #ff3030;
  background: rgba(255, 48, 48, .05);
  border-color: #ff3030;
}
.category-original-backdrop {
  align-items: flex-start;
  padding-top: 11px;
}
.category-original-modal {
  width: 620px;
  min-height: 470px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 36px 28px -7px rgba(0, 0, 0, .05), 0 17px 17px -7px rgba(0, 0, 0, .04);
}
.category-original-modal .modal-head {
  display: none;
}
.category-original-close {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  font-size: 22px;
  cursor: pointer;
}
.category-original-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 66px 16px 15px;
}
.category-modal-field {
  display: grid;
  gap: 6px;
}
.category-modal-field label {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 25px;
}
.category-modal-field input[type="text"],
.category-modal-field input:not([type]) {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  color: #000;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
}
.category-original-modal .category-modal-field > input[name="name"] {
  width: 588px;
}
.category-slug-input {
  display: grid;
  grid-template-columns: 1fr 292px;
  direction: rtl;
}
.category-slug-input input {
  border-radius: 0 8px 8px 0 !important;
}
.category-slug-input span {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 12px;
  border: 1px solid #ced4da;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  color: #495057;
  background: #f8f9fa;
  font-size: 14px;
}
.category-upload-drop {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px dashed #ced4da !important;
  border-radius: 8px !important;
  background: #fff;
  color: #1f2937 !important;
  cursor: pointer;
}
.category-upload-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #206eeb;
  background: rgba(32, 110, 235, .08);
  font-size: 22px;
  font-weight: 800;
}
.category-upload-drop input {
  display: none;
}
.category-upload-drop strong {
  font-size: 15px;
  font-weight: 500;
}
.category-upload-drop small {
  color: #868e96;
  font-size: 13px;
}
.category-upload-preview {
  display: none;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.category-upload-preview[src]:not([src=""]),
.category-upload-preview.visible {
  display: block;
}
.category-original-submit {
  width: 588px;
  min-height: 42px;
  margin-top: 2px;
  border-radius: 8px;
  background: #206eeb;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.category-delete-backdrop {
  align-items: flex-start;
  place-items: start center;
  padding-top: 72px;
}
.category-delete-modal.modal {
  width: 520px;
  min-height: 238px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 36px 28px -7px rgba(0, 0, 0, .05), 0 17px 17px -7px rgba(0, 0, 0, .04);
}
.category-delete-body {
  padding: 42px 22px 20px;
}
.category-delete-body h2 {
  margin: 0 0 16px;
  color: #000;
  font-size: 22px;
  font-weight: 700;
}
.category-delete-body p {
  margin: 0 0 22px;
  color: #343a40;
  font-size: 15px;
  line-height: 1.8;
}
.category-delete-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}
.category-delete-actions .btn {
  min-height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.category-delete-actions .danger {
  background: #ff3030;
  color: #fff;
}
.coupons-table {
  border-color: #edf1f7;
  box-shadow: 0 4px 14px rgba(14, 23, 45, .035);
}
.coupons-table table {
  min-width: 1040px;
  table-layout: fixed;
}
.coupons-table th {
  height: 54px;
  color: #555e70;
  font-size: 13px;
  font-weight: 800;
}
.coupons-table td {
  height: 66px;
  vertical-align: middle;
}
.coupons-table .actions-col {
  width: 132px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  box-shadow: 6px 0 12px rgba(14,23,45,.035);
}
.coupons-table th.actions-col {
  z-index: 3;
  background: #fbfcfe;
}
.shipping-screen .page-head,
.shipping-import-screen .page-head,
.shipping-settings-screen .page-head,
.shipping-companies-screen .page-head {
  align-items: center;
  max-width: 1184px;
  margin-inline: auto;
  margin-bottom: 14px;
}
.shipping-screen .page-head h1,
.shipping-import-screen .page-head h1,
.shipping-settings-screen .page-head h1,
.shipping-companies-screen .page-head h1 {
  font-size: 27px;
}
.shipping-toolbar {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 118px 134px 142px;
  gap: 10px;
  margin-bottom: 0;
}
.shipping-toolbar input,
.shipping-toolbar button {
  width: 100%;
  min-width: 0;
}
.shipping-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1184px;
  margin-inline: auto;
}
.shipping-note h2,
.shipping-note p {
  margin: 0;
}
.shipping-note p {
  flex: 1;
}
.shipping-table {
  border-color: #edf1f7;
  box-shadow: 0 4px 14px rgba(14, 23, 45, .035);
  max-width: 1184px;
  margin-inline: auto;
}
.shipping-table table {
  min-width: 1280px;
  table-layout: fixed;
}
.shipping-table th {
  height: 54px;
  color: #555e70;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.shipping-table td {
  height: 66px;
  vertical-align: middle;
  font-size: 13px;
}
.shipping-table .actions-col {
  width: 142px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  box-shadow: 6px 0 12px rgba(14,23,45,.035);
}
.shipping-table th.actions-col {
  z-index: 3;
  background: #fbfcfe;
}
.shipping-nav-btn {
  height: 42px;
  padding-inline: 12px;
  border-radius: 10px;
}
.import-panel textarea {
  min-height: 220px;
  direction: ltr;
  text-align: left;
  font-family: Consolas, monospace;
  font-weight: 500;
}
.import-help-panel {
  margin-bottom: 16px;
}
.import-help-panel pre {
  margin: 10px 0 14px;
  padding: 14px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  color: #243044;
  background: #f8fbff;
  font: 600 13px/1.7 Consolas, monospace;
}
.import-help-panel h3 {
  margin: 14px 0 6px;
  font-size: 16px;
}
.shipping-import-screen .product-summary,
.shipping-import-help,
.shipping-import-form {
  max-width: 1184px;
  margin-inline: auto;
}
.shipping-import-help .panel-title,
.shipping-import-form .panel-title {
  align-items: center;
}
.json-structure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.json-structure-grid article {
  min-height: 86px;
  padding: 14px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #fbfdff;
}
.json-structure-grid b,
.json-structure-grid span {
  display: block;
}
.json-structure-grid b {
  margin-bottom: 6px;
  color: var(--blue);
  direction: ltr;
  text-align: left;
  font-family: Consolas, monospace;
}
.json-structure-grid span {
  color: #647086;
  font-size: 13px;
  line-height: 1.7;
}
.shipping-import-form textarea {
  min-height: 310px;
  border-radius: 10px;
  line-height: 1.65;
}
.shipping-import-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}
.shipping-import-actions .btn {
  min-width: 132px;
}
.danger-note {
  margin: 12px 0 0;
  color: #d12e2e;
  font-weight: 800;
}
.settings-table table {
  min-width: 640px;
}
.shipping-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 815px) 353px;
  gap: 16px;
  align-items: start;
  max-width: 1184px;
  margin-inline: auto;
}
.shipping-settings-original-layout {
  grid-template-columns: minmax(0, 820px) 320px;
}
.shipping-settings-main,
.shipping-settings-side {
  display: grid;
  gap: 16px;
}
.shipping-settings-panel {
  margin: 0;
}
.shipping-settings-toggles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}
.single-toggle-row {
  grid-template-columns: minmax(240px, 320px);
}
.original-radio-field {
  padding: 12px 0 2px;
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.radio-row label {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  color: #273143;
  background: #fff;
  font-weight: 800;
}
.radio-row input {
  width: auto;
  min-height: 0;
}
.shipping-fields-table table {
  min-width: 820px;
}
.shipping-fields-table th {
  white-space: nowrap;
}
.shipping-field-actions {
  flex-wrap: nowrap;
  gap: 6px;
}
.shipping-field-actions .icon-btn {
  width: 34px;
  height: 34px;
}
.shipping-form-preview {
  margin: 0;
}
.shipping-preview-box {
  padding: 16px;
  border: 2px solid var(--preview-border, #1687ee);
  border-radius: 10px;
  color: var(--preview-text, #111827);
  background: #fff;
}
.shipping-preview-box h3 {
  margin: 0 0 14px;
  font-size: 18px;
}
.shipping-preview-grid {
  display: grid;
  gap: 10px;
}
.shipping-preview-grid label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #667085;
}
.shipping-preview-grid input {
  min-width: 0;
  min-height: 38px;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  padding: 8px 10px;
}
.shipping-preview-box button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}
.shipping-company-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}
.shipping-company-card {
  min-height: 190px;
}
.shipping-company-card p {
  margin: 0 0 10px;
}
.shipping-company-card p span {
  color: #8790a4;
}
.shipping-link-btn {
  min-width: 158px;
  height: 44px;
  border-radius: 10px;
}
.shipping-company-original-grid {
  max-width: 1184px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.shipping-company-original-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid #e7edf6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(14, 23, 45, .045);
}
.shipping-company-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.shipping-company-card-head h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
}
.shipping-company-card-head h5 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}
.original-company-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-weight: 800;
}
.original-company-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.original-company-switch i {
  width: 48px;
  height: 26px;
  position: relative;
  border-radius: 99px;
  background: #d8e1ee;
  transition: .2s ease;
}
.original-company-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.16);
  transition: .2s ease;
}
.original-company-switch input:checked + i {
  background: var(--blue);
}
.original-company-switch input:checked + i::after {
  right: 25px;
}
.shipping-company-settings-btn {
  width: 100%;
  margin-top: 48px;
  height: 42px;
  border-radius: 8px;
}
.shipping-provider-modal {
  width: min(980px, calc(100vw - 36px));
}
.shipping-provider-body {
  max-height: 70vh;
  overflow: auto;
}
.shipping-provider-search {
  width: 100%;
  min-height: 46px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  font: inherit;
}
.shipping-provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.shipping-provider-grid button {
  min-height: 70px;
  border: 1px solid #e3eaf4;
  border-radius: 8px;
  color: #111827;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 12px rgba(14, 23, 45, .03);
}
.shipping-provider-grid h3 {
  margin: 0;
  font-size: 15px;
}
.shipping-company-original-modal {
  width: min(620px, calc(100vw - 36px));
}
.shipping-company-form-grid {
  gap: 12px;
}
.shipping-company-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.shipping-company-modal-actions .btn {
  min-width: 150px;
}
.shipping-video-title {
  margin: 22px 0 8px;
  font-size: 18px;
}
.shipping-video-link {
  color: var(--blue);
  font-weight: 800;
}
.notice-panel {
  margin-bottom: 16px;
  border-right: 4px solid #f2a51b;
}
.notice-panel p {
  color: #667085;
  line-height: 1.8;
}
.product-builder {
  display: grid;
  gap: 16px;
}
.product-create-screen .page-head {
  align-items: center;
  margin-bottom: 14px;
}
.product-create-screen .page-head h1 {
  font-size: 27px;
}
.product-create-layout {
  display: grid;
  grid-template-columns: 339px minmax(0, 845px);
  gap: 16px;
  align-items: start;
  max-width: 1200px;
  margin-inline: auto;
  direction: ltr;
}
.product-create-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.product-create-steps button {
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid #e2e9f4;
  border-radius: 8px;
  background: #fff;
  color: #8390a4;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}
.product-create-steps button span {
  display: block;
  margin-top: 2px;
  color: #182235;
  font-size: 13px;
}
.product-create-steps button:hover {
  border-color: #1687ee;
  background: #f5faff;
}
.product-create-main,
.product-create-side {
  display: grid;
  gap: 16px;
  direction: rtl;
}
.product-create-screen .product-create-main {
  grid-template-columns: 1fr;
  align-items: start;
  grid-column: 2;
}
.product-create-side {
  grid-column: 1;
  grid-row: 1;
}
.side-moved-panel {
  display: none;
}
.product-create-screen .product-create-main > .create-panel:first-child,
.product-create-screen .product-create-main > .create-panel:nth-child(2),
.product-create-screen .product-create-main > .upload-panel {
  grid-column: auto;
  grid-row: auto;
}
.product-create-screen .product-create-main > .create-panel:not(:first-child):not(:nth-child(2)):not(.upload-panel) {
  grid-column: auto;
}
.create-panel {
  padding: 18px;
}
.panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-title h2 {
  margin: 0;
  font-size: 18px;
}
.panel-title span {
  color: #8b95a7;
  font-size: 12px;
}
.create-panel .field {
  margin-bottom: 0;
}
.product-create-main > .create-panel:first-child .form-grid .field:first-child,
.product-create-main > .create-panel:first-child .form-grid .field:nth-child(4) {
  grid-column: 1 / -1;
}
.product-create-screen input[name="slug"],
.product-create-screen input[type="number"] {
  direction: ltr;
  text-align: left;
}
.create-panel textarea {
  min-height: 104px;
}
.panel-note {
  margin: 0 0 12px;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}
.sub-title {
  margin-top: 16px;
}
.product-upload-box {
  min-height: 190px;
  border-color: #d8e5f5;
  background: #fff;
}
.product-upload-box b {
  color: #152033;
  font-size: 16px;
}
.product-upload-box select {
  width: min(340px, 100%);
}
.product-create-screen .product-upload-box {
  min-height: 168px;
  place-items: center;
  padding: 18px 22px;
}
.product-create-screen .product-upload-box .upload-control {
  min-height: 32px;
  padding: 6px 13px;
  border-radius: 8px;
  background: #eaf4ff;
  color: #1687ee;
  box-shadow: none;
}
.product-create-screen .product-upload-box .upload-control::before {
  content: "↥";
  font-size: 16px;
}
.product-create-screen .product-upload-box small {
  color: #8b95a7;
}
.product-create-screen .product-upload-box select {
  height: 34px;
  font-size: 12px;
}
.product-images-original-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.product-create-screen .upload-panel .upload-preview {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.product-new-preview-card {
  display: none;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #fff;
}
.product-new-preview-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f6fb;
}
.product-new-preview-card strong,
.product-new-preview-card span,
.product-new-preview-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-new-preview-card span {
  color: #13a873;
  font-size: 18px;
  font-weight: 900;
}
.product-new-preview-card small {
  color: #8790a4;
}
.product-create-screen .gallery-upload-box textarea {
  min-height: 54px;
}
.image-fit-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}
.image-fit-cards label {
  min-height: 78px;
  padding: 12px;
  border: 1px solid #e3e9f2;
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 8px;
  align-items: start;
  background: #fff;
}
.image-fit-cards b {
  color: #111827;
  font-size: 14px;
}
.image-fit-cards span {
  grid-column: 2;
  color: #758198;
  font-size: 12px;
  line-height: 1.5;
}
.ai-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ai-tool-grid article {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fbfcfe;
}
.ai-tool-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.ai-tool-grid p {
  margin: 0 0 12px;
  color: #788398;
  font-size: 13px;
  line-height: 1.65;
}
.ai-tool-grid .btn {
  margin-top: auto;
}
.ai-output,
.dynamic-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.dynamic-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e4ebf5;
  border-radius: 8px;
  background: #fff;
}
.dynamic-card > .danger-icon {
  position: absolute;
  top: 8px;
  left: 8px;
}
.dynamic-card > b {
  color: #111827;
  padding-left: 34px;
}
.dynamic-card p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}
.offer-card,
.review-card {
  grid-template-columns: 1fr;
}
.option-card {
  grid-template-columns: 1fr;
}
.sticky-panel {
  position: sticky;
  top: 138px;
}
.create-toggles {
  display: grid;
  gap: 9px;
}
.product-create-side .toggle-line {
  justify-content: flex-start;
}
.product-create-side select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #111827;
  background: #fff;
}
.wide-btn {
  width: 100%;
}
.save-panel {
  display: grid;
  gap: 10px;
}
.rich-editor-shell {
  position: relative;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.rich-editor-shell label {
  display: none;
}
.fake-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  min-height: 84px;
  border-bottom: 1px solid #edf1f6;
  background: #fff;
}
.fake-editor-toolbar button {
  width: 41px;
  height: 40px;
  border: 0;
  border-inline-start: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
  background: #fff;
  color: #4b5563;
  font-weight: 800;
  cursor: pointer;
}
.fake-editor-toolbar button:hover {
  background: #f5f8fc;
  color: #1687ee;
}
.rich-editor-shell textarea {
  min-height: 128px;
  border: 0;
  border-radius: 0;
  resize: vertical;
}
.editor-upload-btn {
  width: 105px;
  min-height: 30px;
  margin: 0 16px 8px auto;
  padding: 5px 12px;
}
.rich-editor-shell small {
  display: block;
  padding: 0 16px 10px;
}
.settings-grid-original {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}
.product-test-order-btn {
  width: 160px;
  margin-inline-start: auto;
}
.product-help-video {
  position: relative;
  width: 100%;
  min-height: 174px;
  margin-top: 12px;
  padding: 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2581df, #61a5f4);
  color: #fff;
  text-align: center;
  cursor: pointer;
}
.product-help-video span {
  position: absolute;
  top: 10px;
  right: 10px;
  font-weight: 900;
  opacity: .9;
}
.product-help-video b {
  display: block;
  max-width: 210px;
  margin: 44px auto 0;
  font-size: 29px;
  line-height: 1.45;
}
.product-help-video i {
  position: absolute;
  top: 12px;
  left: 12px;
  font-style: normal;
  font-size: 22px;
}
.product-rating-stars {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 14px 10px;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 34px;
  line-height: 1;
}
.original-switch-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.original-switch-line input {
  display: none;
}
.original-switch-line span {
  position: relative;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: #d8e1ee;
}
.original-switch-line span::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .25);
}
.original-switch-line input:checked + span {
  background: #1687ee;
}
.original-switch-line input:checked + span::after {
  right: 21px;
}
.original-switch-line b {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}
.framed-switch-line {
  justify-content: flex-start;
  padding: 8px 12px;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  background: #fff;
}
.product-create-checklist {
  display: none;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e3eaf4;
  border-radius: 8px;
  background: #f8fbff;
}
.product-create-checklist b {
  color: #142033;
  font-size: 14px;
}
.product-create-checklist span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid #e8eef6;
  border-radius: 8px;
  background: #fff;
  color: #7c879a;
  font-size: 12px;
  font-weight: 800;
}
.product-create-checklist span.is-done {
  border-color: #bcebd5;
  background: #effcf6;
  color: #13a873;
}
.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.product-builder .panel h2,
.upload-panel h2,
.ai-tools h2 {
  margin: 0 0 16px;
  font-size: 18px;
}
.upload-box {
  min-height: 170px;
  display: grid;
  place-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 18px;
  border: 1px dashed #b9cbe4;
  border-radius: 8px;
  background: #fbfdff;
  text-align: center;
}
.upload-box select {
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
}
.upload-control {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #1687ee;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.upload-control input {
  display: none;
}
.upload-preview {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fff;
}
.field .upload-control {
  width: fit-content;
  margin-top: 8px;
}
.field .upload-preview {
  display: block;
  margin-top: 8px;
}
.gallery-upload-box textarea,
.gallery-field textarea {
  width: min(100%, 680px);
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  resize: vertical;
}
.gallery-upload-preview {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
}
.gallery-upload-item {
  position: relative;
  min-height: 88px;
  overflow: hidden;
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fff;
}
.gallery-upload-item img {
  width: 100%;
  height: 88px;
  display: block;
  object-fit: cover;
}
.gallery-upload-item div {
  position: absolute;
  inset-inline: 4px;
  bottom: 4px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.gallery-upload-item button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 7px;
  background: rgba(9, 20, 45, .82);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.choice-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.choice-row label,
.toggle-line {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fff;
}
.compact-toggles {
  grid-template-columns: repeat(4, 1fr);
}
.app-card { min-height: 170px; }
.admin-screen {
  display: grid;
  gap: 16px;
}
.admin-cards {
  align-items: stretch;
}
.admin-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
}
.admin-card p {
  color: var(--muted);
  line-height: 1.7;
}
.admin-card .actions,
.admin-card > button {
  margin-top: auto;
}
.admin-summary {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfcfe;
}
.admin-summary strong {
  font-size: 22px;
}
.admin-summary span {
  color: #667085;
  overflow-wrap: anywhere;
}
.admin-table table {
  min-width: 980px;
}
.dns-box {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.dns-box span {
  padding: 9px 12px;
  border: 1px dashed #8bbff6;
  border-radius: 8px;
  color: #176fc9;
  background: #f1f8ff;
  font-weight: 700;
}
.app-connection {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 16px;
  padding: 10px 12px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfcfe;
}
.app-connection span {
  color: var(--muted);
}
.support-card {
  min-height: 175px;
}
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}
.support-main,
.support-side {
  display: grid;
  gap: 16px;
}
.support-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.support-icon,
.support-video-play {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #1687ee;
  background: #eef6ff;
  font-weight: 900;
}
.support-table td small {
  display: block;
  margin-top: 5px;
  color: #8790a4;
  line-height: 1.5;
}
.support-form {
  margin-top: 0;
}
.support-form p {
  margin: 0 0 18px;
  color: #667085;
  line-height: 1.9;
}
.support-original-form {
  max-width: 760px;
}
.form-grid.single {
  grid-template-columns: 1fr;
}
.support-hero {
  min-height: 320px;
}
.support-hero p {
  margin: 0;
  color: #667085;
}
.support-video-panel {
  min-height: 150px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
}
.support-video-panel h2 {
  margin: 0 0 8px;
}
.support-video-panel p {
  margin: 0;
  color: #667085;
  line-height: 1.8;
}
.affiliate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}
.affiliate-main,
.affiliate-side {
  display: grid;
  gap: 16px;
}
.affiliate-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 16px;
  align-items: center;
}
.affiliate-intro h2 {
  margin: 0 0 8px;
}
.affiliate-intro p {
  margin: 0;
  color: #667085;
  line-height: 1.9;
}
.affiliate-copy {
  grid-template-columns: minmax(220px, 1fr) auto auto;
  margin: 0;
}
.affiliate-copy input {
  direction: ltr;
  text-align: left;
}
.affiliate-table + .affiliate-table {
  margin-top: 0;
}
.affiliate-table table {
  min-width: 980px;
}
.support-side .wide-btn,
.affiliate-side .wide-btn {
  width: 100%;
}
.support-table .actions,
.affiliate-table .actions {
  flex-wrap: nowrap;
}
.support-screen .page-head,
.affiliate-screen .page-head {
  align-items: center;
}
.center-panel {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
}
.locked-panel {
  min-height: 230px;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  border-right: 4px solid #2383e8;
}
.locked-panel p { color: #667085; margin: 0; }
.plan-locked-panel {
  margin-top: 16px;
  border: 1px dashed #bfdbfe;
  background: #f8fbff;
}
.plan-locked-panel.compact {
  padding: 20px;
}
.plan-code-editor textarea {
  min-height: 170px;
  direction: ltr;
  text-align: left;
  font-family: Consolas, "Courier New", monospace;
}
.upsell-preview {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  background: #fbfcfe;
  text-align: center;
}
.extension-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.extension-card .mini-pill {
  width: fit-content;
  margin-bottom: 12px;
}
.extension-card .actions { margin-top: auto; justify-content: flex-start; }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
.mini-stat {
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(14, 23, 45, .04);
  border-left: 4px solid #2688ea;
}
.mini-stat span { display: block; color: #8c95a6; font-size: 13px; }
.mini-stat strong { display: block; margin-top: 4px; font-size: 22px; }
.mini-stat.green { border-left-color: #15b879; }
.mini-stat.orange { border-left-color: #f2a51b; }
.mini-stat.red { border-left-color: #ef4444; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #eef1f5; border-radius: 8px; }
table { width: 100%; min-width: 1050px; border-collapse: collapse; background: #fff; font-size: 14px; }
th {
  color: #545b6b;
  text-align: center;
  padding: 15px 10px;
  border-bottom: 1px solid #eef1f5;
  background: #fbfcfe;
}
td { padding: 12px 10px; text-align: center; border-bottom: 1px solid #f0f2f6; color: #111827; }
tbody tr:hover { background: #fbfdff; }
td.text { text-align: right; min-width: 230px; }
td img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; display: block; margin: auto; }
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  min-width: 76px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
}
.status.new { color: #186bd2; background: #eaf3ff; }
.status.confirmed { color: #079566; background: #e8f8f1; }
.status.canceled { color: #d12e2e; background: #fff0f0; }
.status.shipping { color: #a26300; background: #fff6db; }
.actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.icon-btn {
  min-width: 34px;
  height: 34px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #fff;
  color: #334155;
}
.empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(2, 9, 35, .42);
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 70px rgba(0,0,0,.22);
}
.category-original-backdrop {
  align-items: flex-start;
  place-items: start center;
  padding-top: 11px;
}
.category-original-modal.modal {
  width: 620px;
  max-height: calc(100vh - 22px);
  min-height: 470px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 36px 28px -7px rgba(0, 0, 0, .05), 0 17px 17px -7px rgba(0, 0, 0, .04);
}
.modal-head, .modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #eef1f5;
}
.modal-foot { border-top: 1px solid #eef1f5; border-bottom: 0; justify-content: flex-start; }
.modal-body { padding: 22px; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.detail-grid div {
  min-height: 64px;
  padding: 12px;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  background: #fbfcfe;
}
.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}
.detail-grid strong {
  display: block;
  overflow-wrap: anywhere;
}
.order-detail-modal {
  width: min(920px, calc(100vw - 28px));
}
.order-detail-header,
.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.order-detail-header div,
.order-detail-grid div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fbfdff;
}
.order-detail-header span,
.order-detail-grid span {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 12px;
}
.order-detail-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 12px;
}
.order-detail-grid strong {
  color: #111827;
  overflow-wrap: anywhere;
}
.order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.order-invoice {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.order-invoice h3 {
  margin: 0 0 4px;
}
.order-invoice p {
  margin: 0 0 12px;
  color: #667085;
}
.order-invoice table {
  width: 100%;
  border-collapse: collapse;
}
.order-invoice th,
.order-invoice td {
  padding: 9px;
  border: 1px solid #eef1f5;
  text-align: right;
}
.order-invoice th {
  width: 32%;
  background: #f8fafc;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid.compact { gap: 12px; }
.field.full { grid-column: 1 / 3; }
.order-create-modal {
  width: min(920px, calc(100vw - 28px));
}
.order-create-form {
  display: grid;
  gap: 14px;
}
.order-form-section {
  padding: 14px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fbfdff;
}
.order-form-section h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 18px;
}
.order-cart-preview {
  min-height: 58px;
  margin-top: 12px;
  padding: 10px;
  border: 1px dashed #cfd9e8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #667085;
  background: #fff;
}
.order-form-actions {
  padding: 0;
  border: 0;
}
.original-new-order-form {
  width: min(100%, 1152px);
  max-width: 1152px;
  margin-inline: auto;
  margin-top: -58px;
  gap: 16px;
}
.original-new-order-form,
.original-new-order-form * {
  min-width: 0;
}
.original-new-order-form .order-form-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.original-new-order-form .order-form-section h3 {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 900;
}
.order-store-select {
  width: 180px;
  max-width: 180px;
  margin-left: 0;
  margin-right: auto;
}
.order-store-select h3 {
  font-size: 14px !important;
  text-align: right;
}
.original-store-input,
.original-new-order-form .field input,
.original-new-order-form .field select {
  height: 42px;
  border: 1px solid #dce3ee;
  border-radius: 7px;
  background: #fff;
}
.original-store-input {
  width: 180px !important;
  max-width: 180px !important;
}
.original-order-grid .order-form-section h3 {
  margin-bottom: 30px;
}
.original-free-shipping input[type="checkbox"] {
  width: 38px;
  height: 20px;
  accent-color: #1687ee;
}
.original-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}
.original-new-order-form .form-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 16px;
}
.original-new-order-form .field.full {
  grid-column: 1 / -1;
}
.original-free-shipping {
  min-height: 42px;
  justify-content: flex-start;
  color: #111827;
  font-weight: 800;
}
.order-cart-section {
  margin-top: 8px;
}
.original-product-adder {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 96px 124px auto;
  gap: 12px;
  align-items: end;
}
.original-product-adder .btn {
  min-height: 42px;
  white-space: nowrap;
}
.original-new-order-form .order-cart-preview {
  min-height: 98px;
  justify-content: center;
  border-style: solid;
  color: #7b8494;
  font-size: 15px;
}
.original-order-actions-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.original-order-actions-footer .btn {
  min-height: 42px;
  border-radius: 7px;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 30;
  min-width: 260px;
  padding: 14px 18px;
  border-radius: 10px;
  color: #fff;
  background: #111827;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.preview-store {
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.design-screen,
.theme-settings-screen,
.banners-screen,
.product-page-screen {
  display: grid;
  gap: 16px;
}
.design-tabs {
  margin-bottom: 0;
  box-shadow: 0 4px 16px rgba(14, 23, 45, .04);
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.theme-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.theme-card.is-active {
  border-color: #9dd8bf;
  box-shadow: 0 12px 28px rgba(22, 180, 120, .12);
}
.theme-preview {
  height: 190px;
  border-radius: 8px;
  margin-bottom: 0;
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.22), transparent 22%),
    linear-gradient(135deg, var(--theme-color), #07112f);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: end;
}
.theme-preview .theme-top {
  grid-column: 1 / 4;
  align-self: start;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.theme-preview .theme-top b {
  font-size: 22px;
}
.theme-preview .theme-top span {
  width: auto;
  height: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 11px;
}
.theme-preview .theme-hero {
  grid-column: 1 / 4;
  min-height: 54px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
}
.theme-preview .theme-hero strong,
.theme-preview .theme-hero em {
  display: block;
}
.theme-preview .theme-hero em {
  width: 58%;
  height: 7px;
  margin-top: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.38);
}
.theme-preview span {
  height: 42px;
  border-radius: 8px;
  background: rgba(255,255,255,.18);
}
.theme-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.theme-meta h3 {
  margin: 0 0 8px;
}
.theme-meta p {
  margin: 0;
  color: var(--muted);
}
.theme-original-page {
  gap: 0;
}
.theme-original-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  direction: ltr;
  align-items: start;
}
.theme-original-main,
.theme-original-help {
  direction: rtl;
}
.theme-original-main {
  display: grid;
  gap: 14px;
}
.theme-original-main .page-head {
  margin-bottom: 0;
  padding: 0 4px 2px;
}
.theme-original-main .page-head h1 {
  font-size: 25px;
  font-weight: 800;
}
.theme-original-card,
.theme-help-card {
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .045);
}
.theme-original-card {
  padding: 16px;
}
.theme-original-card h2,
.theme-help-card h2 {
  margin: 0 0 18px;
  color: #2386fb;
  font-size: 22px;
  font-weight: 800;
  text-align: right;
}
.theme-two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.theme-two-grid .full {
  grid-column: 1 / -1;
}
.theme-field {
  display: grid;
  gap: 8px;
  color: #111827;
  font-weight: 700;
}
.theme-field span {
  font-size: 14px;
}
.theme-field input,
.theme-field select,
.theme-field textarea {
  width: 100%;
  height: 43px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  font: inherit;
  text-align: right;
}
.theme-field textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}
.compact-number input {
  max-width: 330px;
}
.theme-editor-card {
  padding-bottom: 12px;
}
.fake-editor-toolbar {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  border: 1px solid #e5e7eb;
  border-bottom: 0;
  color: #4b5563;
  background: #fff;
  direction: ltr;
}
.fake-editor-toolbar.second {
  border-top: 1px solid #eef1f5;
}
.fake-editor-toolbar span,
.fake-editor-toolbar b {
  min-width: 36px;
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  border-left: 1px solid #eef1f5;
  font-size: 16px;
}
.theme-editor-body {
  min-height: 116px;
  position: relative;
  border: 1px solid #e5e7eb;
}
.theme-editor-body textarea {
  width: 100%;
  min-height: 116px;
  border: 0;
  padding: 28px 16px 14px;
  font: inherit;
  resize: vertical;
  text-align: right;
}
.editor-upload-btn {
  position: absolute;
  top: 8px;
  right: 14px;
  z-index: 1;
  min-height: 28px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  color: #2386fb;
  background: #edf5ff;
  font-weight: 700;
}
.theme-editor-card small {
  display: block;
  padding-top: 7px;
  color: #667085;
  font-size: 12px;
}
.theme-switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.theme-original-switch {
  min-height: 42px;
  padding: 5px 8px;
  border: 1px solid #e3e8f0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  color: #111827;
  background: #fff;
}
.theme-original-switch input {
  display: none;
}
.theme-original-switch span {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #d8e0ea;
  position: relative;
  flex: 0 0 auto;
}
.theme-original-switch span::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
  transition: transform .16s ease;
}
.theme-original-switch input:checked + span {
  background: #2386fb;
}
.theme-original-switch input:checked + span::before {
  transform: translateX(-16px);
}
.theme-select-row {
  margin-top: 14px;
}
.theme-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.theme-logo-uploader {
  min-height: 150px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  overflow: hidden;
}
.theme-logo-uploader h3 {
  margin: 0;
  font-size: 15px;
}
.theme-logo-uploader span,
.theme-logo-uploader em {
  color: #667085;
  font-style: normal;
}
.theme-logo-uploader img {
  max-width: 120px;
  max-height: 58px;
  object-fit: contain;
}
.theme-logo-uploader .file-label {
  min-height: 34px;
  padding: 0 16px;
  border: 1px dashed #a8ccff;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2386fb;
  background: #f8fbff;
  cursor: pointer;
}
.hidden-url {
  display: none;
}
.theme-logo-controls {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.theme-logo-controls > div {
  min-height: 130px;
  padding: 16px;
  border: 1px solid #e9eef5;
  border-radius: 8px;
}
.theme-logo-controls label {
  display: block;
  margin-bottom: 14px;
  font-weight: 700;
}
.theme-segmented {
  height: 42px;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f2f4f7;
  border-radius: 9px;
}
.theme-segmented label {
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 600;
}
.theme-segmented input {
  display: none;
}
.theme-segmented label:has(input:checked) {
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}
.theme-logo-controls input[type="range"] {
  width: 100%;
  accent-color: #2386fb;
}
.theme-range-labels {
  display: flex;
  justify-content: space-between;
  color: #8b95a7;
  font-size: 12px;
}
.theme-design-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  border-bottom: 1px solid #d9e2ef;
}
.theme-design-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #111827;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.theme-design-tabs button.active {
  color: #111827;
  border-color: #2386fb;
  background: #fff;
  box-shadow: 0 -1px 8px rgba(15, 23, 42, .05);
}
.theme-tab-panel {
  display: none;
  padding-top: 18px;
}
.theme-tab-panel.active {
  display: block;
}
.theme-tab-panel p {
  color: #667085;
}
.theme-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.theme-color-field {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.theme-color-field > span {
  font-size: 14px;
}
.theme-color-field b {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  color: #111827;
}
.theme-color-field input {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}
.theme-help-card {
  position: sticky;
  top: 16px;
  padding: 18px;
}
.theme-help-card p {
  margin: 0 0 18px;
  color: #111827;
  line-height: 1.8;
  font-weight: 600;
}
.theme-video-card {
  min-height: 172px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #4c92ef, #2f72db);
}
.theme-video-card small {
  font-weight: 800;
}
.theme-video-card strong {
  font-size: 29px;
  line-height: 1.3;
}
.theme-video-card span {
  align-self: flex-start;
  font-size: 21px;
}
.theme-save-side {
  width: 100%;
  min-height: 42px;
  border-radius: 6px;
  text-decoration: none;
}
.product-original-page {
  display: block;
}
.product-original-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  direction: ltr;
  align-items: start;
}
.product-original-main,
.product-original-help {
  direction: rtl;
}
.product-original-main {
  width: min(100%, 820px);
  display: grid;
  gap: 14px;
}
.product-original-main .page-head {
  margin: 0;
  padding: 0 4px 0;
}
.product-original-main .page-head h1 {
  font-size: 25px;
  font-weight: 900;
}
.product-original-tabs {
  display: flex;
  justify-content: flex-end;
}
.product-original-tabs button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #e4e9f2;
  border-radius: 8px 8px 0 0;
  color: #111827;
  background: #fff;
  font: inherit;
  font-weight: 700;
}
.product-original-countdown-line {
  min-height: 42px;
  margin-top: -14px;
  padding: 0 8px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  font-weight: 700;
}
.product-original-card {
  border: 1px solid #e6ebf3;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .035);
}
.product-original-card-head {
  min-height: 84px;
  padding: 14px 18px;
  border-bottom: 1px solid #eef2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-original-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-original-title i {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2386fb;
  font-style: normal;
  font-size: 18px;
}
.product-original-title h2 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
}
.product-original-title p {
  margin: 3px 0 0;
  color: #8b95a7;
  font-size: 12px;
  font-weight: 600;
}
.product-original-switch input {
  display: none;
}
.product-original-switch span {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  display: block;
  position: relative;
  background: #d8dee8;
}
.product-original-switch span::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .16s ease;
}
.product-original-switch input:checked + span {
  background: #2386fb;
}
.product-original-switch input:checked + span::before {
  transform: translateX(-20px);
}
.product-original-fields {
  padding: 18px 20px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.product-original-field,
.product-original-color {
  display: grid;
  gap: 8px;
}
.product-original-field span,
.product-original-color span {
  color: #8b95a7;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}
.product-original-field input,
.product-original-color input {
  width: 100%;
  height: 42px;
  border: 1px solid #e1e7f0;
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  font: inherit;
  text-align: right;
}
.product-original-color input {
  padding: 3px;
}
.product-help-card {
  position: sticky;
  top: 16px;
}
.settings-original-page {
  display: block;
}
.settings-original-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  direction: ltr;
  align-items: start;
}
.settings-original-main,
.settings-original-help {
  direction: rtl;
}
.settings-original-main {
  width: min(100%, 836px);
  display: grid;
  gap: 16px;
}
.settings-original-main .page-head {
  margin: 0;
  padding: 0 4px 0;
}
.settings-original-main .page-head h1 {
  font-size: 25px;
  font-weight: 900;
}
.settings-original-card {
  padding: 18px 18px 20px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}
.settings-original-card h2 {
  margin: 0 0 18px;
  color: #2386fb;
  font-size: 22px;
  font-weight: 900;
  text-align: right;
}
.settings-two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.settings-original-field {
  display: grid;
  gap: 8px;
  color: #111827;
  font-weight: 700;
}
.settings-original-field span,
.settings-original-label {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}
.settings-original-field input {
  width: 100%;
  height: 43px;
  border: 1px solid #e1e7f0;
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  font: inherit;
  text-align: right;
}
.settings-stock-switch {
  width: 50%;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 8px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #111827;
  background: #fff;
  font-weight: 700;
}
.settings-keywords-row {
  min-height: 43px;
  margin-bottom: 18px;
  border: 1px solid #e1e7f0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px 10px;
  background: #f3f4f6;
}
.settings-keywords-row input {
  min-width: 160px;
  border: 0;
  background: transparent;
  color: #a4acb9;
  font: inherit;
}
.settings-keywords-row span {
  padding: 3px 10px;
  color: #4b5563;
  font-size: 13px;
}
.settings-disabled-area {
  width: 100%;
  min-height: 92px;
  border: 1px solid #e1e7f0;
  border-radius: 7px;
  padding: 14px;
  background: #f3f4f6;
  color: #b7bdc8;
  font: inherit;
  resize: vertical;
  text-align: right;
}
.settings-code-area {
  width: 100%;
  min-height: 158px;
  border: 0;
  border-radius: 7px;
  padding: 18px;
  background: #141a22;
  color: #9ca3af;
  font: 14px Consolas, "Courier New", monospace;
  direction: ltr;
  text-align: left;
  resize: vertical;
}
.settings-business-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 24px;
  margin-inline: 8px;
  border-radius: 999px;
  color: #fff;
  background: #efc400;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
}
.settings-policy-card {
  padding-bottom: 12px;
}
.settings-policy-editor textarea {
  min-height: 300px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.settings-policy-card small {
  display: block;
  margin-top: 8px;
  color: #667085;
  font-size: 12px;
}
.settings-help-card {
  position: sticky;
  top: 16px;
}
.settings-pages-original-page {
  display: grid;
  gap: 14px;
}
.settings-pages-original-page .page-head {
  margin: 0;
}
.settings-pages-original-page .page-head h1 {
  font-size: 25px;
  font-weight: 900;
}
.settings-pages-add {
  min-width: 172px;
  min-height: 43px;
  border-radius: 7px;
  text-decoration: none;
}
.settings-pages-panel {
  width: min(100%, 1180px);
  padding: 16px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
}
.settings-pages-search {
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  direction: ltr;
}
.settings-pages-search .btn {
  height: 44px;
  border-radius: 7px;
  direction: rtl;
}
.settings-pages-search input {
  height: 44px;
  border: 1px solid #e1e7f0;
  border-radius: 7px;
  padding: 0 14px;
  color: #111827;
  font: inherit;
  text-align: right;
  direction: rtl;
}
.settings-pages-table-wrap {
  overflow-x: auto;
}
.settings-pages-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}
.settings-pages-table th {
  height: 40px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f7;
  color: #111827;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}
.settings-pages-table td {
  height: 60px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f7;
  color: #111827;
  font-weight: 700;
  text-align: right;
}
.settings-page-order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}
.settings-page-order i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf5ff;
  font-style: normal;
  font-size: 14px;
}
.settings-page-link {
  width: 28px;
  height: 28px;
  margin-left: 12px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  color: #2386fb;
  background: #eef6ff;
  text-decoration: none;
}
.settings-page-visible input {
  display: none;
}
.settings-page-visible span {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  display: block;
  position: relative;
  background: #d8dee8;
}
.settings-page-visible span::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .16s ease;
}
.settings-page-visible input:checked + span {
  background: #2386fb;
}
.settings-page-visible input:checked + span::before {
  transform: translateX(-20px);
}
.settings-page-action {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  color: #667085;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
.settings-pages-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.settings-pages-pagination button {
  min-width: 32px;
  height: 32px;
  border: 1px solid #dfe5ee;
  border-radius: 7px;
  background: #fff;
}
.settings-pages-pagination .active {
  color: #fff;
  background: #2386fb;
  border-color: #2386fb;
}
@media (max-width: 1100px) {
  .theme-original-layout {
    grid-template-columns: 1fr;
  }
  .theme-original-help {
    order: 2;
  }
  .theme-help-card {
    position: static;
  }
}
@media (max-width: 760px) {
  .billing-summary-grid {
    grid-template-columns: 1fr;
  }
}
  .theme-two-grid,
  .theme-switch-grid,
  .theme-logo-grid,
  .theme-logo-controls,
  .theme-color-grid {
    grid-template-columns: 1fr;
  }
  .theme-design-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .theme-design-tabs button {
    white-space: nowrap;
  }
  .original-banners-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .original-banners-actions h2 {
    font-size: 20px;
    white-space: normal;
  }
  .original-banner-tabs {
    width: 100%;
  }
  .original-banner-tabs button {
    min-width: 0;
    flex: 1;
  }
  .original-banners-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .original-banner-tile,
  .original-banner-upload {
    width: min(300px, 100%);
  }
  .product-original-layout {
    grid-template-columns: 1fr;
  }
  .product-original-help {
    order: 2;
  }
  .product-original-main {
    width: 100%;
  }
  .product-original-fields {
    grid-template-columns: 1fr;
  }
  .settings-original-layout {
    grid-template-columns: 1fr;
  }
  .settings-original-help {
    order: 2;
  }
  .settings-original-main {
    width: 100%;
  }
  .settings-two-grid,
  .settings-stock-switch {
    width: 100%;
    grid-template-columns: 1fr;
  }
}
.themes-home-screen {
  display: grid;
  gap: 26px;
}
.themes-home-screen .page-head {
  max-width: 1180px;
}
.themes-home-panel {
  max-width: 1180px;
  min-height: 230px;
  padding: 16px 18px 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.themes-home-panel h2,
.themes-market-section h2 {
  margin: 0 0 18px;
  color: #2386fb;
  font-size: 25px;
  font-weight: 800;
  text-align: right;
}
.theme-reset-original {
  min-width: 220px;
  height: 42px;
  margin-bottom: 18px;
  border: 0;
  border-radius: 4px;
  color: #ef5f6c;
  background: #fff0f2;
  font-weight: 700;
}
.installed-theme-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 126px;
  padding: 10px 16px;
  border: 1px solid #e7ebf2;
  border-radius: 6px;
  background: #fff;
}
.installed-theme-card img {
  width: 136px;
  height: 108px;
  object-fit: cover;
  border-radius: 4px;
  justify-self: end;
}
.installed-theme-info {
  flex: 1;
  text-align: right;
}
.installed-theme-info h3,
.market-theme-body h3 {
  margin: 0 0 7px;
  color: #111827;
  font-size: 24px;
  font-weight: 800;
}
.installed-theme-info p,
.market-theme-body p {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 15px;
}
.theme-stars {
  color: #f7b500;
  font-size: 18px;
  letter-spacing: 0;
}
.themes-market-section {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(2, 262px);
  justify-items: start;
  justify-content: start;
  gap: 18px;
}
.themes-market-section h2 {
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 12px;
}
.market-theme-card {
  width: 262px;
  overflow: hidden;
  border: 1px solid #e1e7f0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .09);
}
.market-theme-preview {
  width: 100%;
  height: 162px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.market-theme-body {
  padding: 10px 10px 11px;
  text-align: right;
}
.theme-market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 14px;
}
.theme-plan-badge {
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: #ff5b4f;
  font-size: 12px;
  font-weight: 800;
}
.theme-plan-badge.pro {
  background: #0f766e;
}

.theme-plan-badge.ecommerce {
  background: linear-gradient(135deg, #ff7a00, #ff9f1c);
}

.ecommerce-theme-card {
  border-color: #bfdbfe;
}

.ecommerce-theme-card.is-active {
  box-shadow: 0 16px 34px rgba(0, 92, 210, .2);
}

.ecommerce-theme-preview {
  height: 162px;
  padding: 12px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 122, 0, .48), transparent 26%),
    linear-gradient(135deg, #001b4d, #006dff 58%, #002a78);
}

.ecom-preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 950;
}

.ecom-preview-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
}

.ecom-preview-hero {
  min-height: 70px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
}

.ecom-preview-hero b,
.ecom-preview-hero strong,
.ecom-preview-hero small {
  display: block;
}

.ecom-preview-hero b {
  color: #ff9f1c;
  font-size: 11px;
}

.ecom-preview-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.ecom-preview-products i {
  height: 19px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,159,28,.72));
}

.ecommerce-storefront {
  --ecom-blue: #005bd7;
  --ecom-deep: #001947;
  --ecom-sky: #0a8cff;
  --ecom-orange: #ff7a00;
  min-height: 100vh;
  padding-bottom: 88px;
  background: #f6f9ff;
  color: #0f172a;
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

.ecommerce-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px minmax(240px, 420px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid #dbeafe;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}

.ecommerce-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ecom-deep);
  text-decoration: none;
  font-size: 21px;
  font-weight: 950;
}

.ecommerce-brand img {
  width: 64px;
  height: 54px;
  object-fit: contain;
}

.ecommerce-search {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #c7dcff;
  border-radius: 999px;
  background: #fff;
}

.ecommerce-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.ecommerce-header nav,
.ecommerce-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: flex-end;
}

.ecommerce-header nav button,
.ecommerce-actions button,
.ecommerce-hero-actions button,
.ecommerce-hero-card button,
.ecommerce-product-card button:last-child,
.ecommerce-contact button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--ecom-orange), #ff9f1c);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.ecommerce-header nav button {
  color: #17315f;
  background: #edf5ff;
}

.ecommerce-actions button:first-child {
  background: linear-gradient(135deg, var(--ecom-blue), var(--ecom-sky));
}

.ecommerce-actions small {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-inline-start: 6px;
  border-radius: 999px;
  color: var(--ecom-blue);
  background: #fff;
}

.ecommerce-storefront main {
  display: grid;
  gap: 42px;
  padding: 28px clamp(18px, 4vw, 64px) 96px;
}

.ecommerce-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  gap: 24px;
  align-items: stretch;
  min-height: 440px;
}

.ecommerce-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 16%, rgba(255,122,0,.55), transparent 22%),
    linear-gradient(135deg, var(--ecom-deep), var(--ecom-blue) 60%, #00306f);
  box-shadow: 0 22px 50px rgba(0, 67, 160, .22);
}

.ecommerce-hero-copy span,
.ecommerce-section-head span,
.ecommerce-contact span {
  color: var(--ecom-orange);
  font-weight: 950;
}

.ecommerce-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.08;
}

.ecommerce-hero-copy p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 800;
}

.ecommerce-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ecommerce-hero-actions button:nth-child(2) {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
}

.ecommerce-hero-card,
.ecommerce-product-card,
.ecommerce-contact,
.ecommerce-categories,
.ecommerce-products {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.ecommerce-hero-card {
  display: grid;
  grid-template-rows: minmax(250px, 1fr) auto;
  overflow: hidden;
}

.ecommerce-hero-card img,
.ecommerce-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecommerce-hero-card div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.ecommerce-hero-card h2,
.ecommerce-product-card h3,
.ecommerce-section-head h2,
.ecommerce-contact h2 {
  margin: 0;
}

.ecommerce-hero-card b,
.ecommerce-product-card b {
  color: var(--ecom-blue);
  font-size: 21px;
  font-weight: 950;
}

.ecommerce-categories,
.ecommerce-products,
.ecommerce-contact {
  padding: 22px;
}

.ecommerce-section-head {
  margin-bottom: 18px;
}

.ecommerce-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.ecommerce-category-grid button {
  min-height: 112px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
  color: #17315f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.ecommerce-category-grid button.active {
  border-color: var(--ecom-orange);
  background: #fff4e8;
}

.ecommerce-category-grid img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
}

.ecommerce-category-grid small {
  color: #64748b;
}

.ecommerce-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ecommerce-product-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
}

.ecommerce-product-card > button:first-child {
  width: 100%;
  height: 210px;
  padding: 0;
  border: 0;
  background: #edf5ff;
}

.ecommerce-product-card div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.ecommerce-product-card h3 {
  min-height: 52px;
  color: #14213d;
  font-size: 17px;
  line-height: 1.55;
}

.ecommerce-product-card button:last-child {
  margin-top: auto;
}

.ecommerce-product-card small {
  color: var(--ecom-orange);
  font-weight: 900;
}

.ecommerce-contact {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  scroll-margin-top: 110px;
}

.ecommerce-contact form {
  display: grid;
  gap: 10px;
}

.ecommerce-contact input,
.ecommerce-contact textarea {
  min-height: 46px;
  border: 1px solid #c7dcff;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.ecommerce-contact textarea {
  min-height: 112px;
}

body.dark-mode .ecommerce-storefront {
  background: #071225;
  color: #eef4ff;
}

body.dark-mode .ecommerce-header,
body.dark-mode .ecommerce-hero-card,
body.dark-mode .ecommerce-product-card,
body.dark-mode .ecommerce-contact,
body.dark-mode .ecommerce-categories,
body.dark-mode .ecommerce-products,
body.dark-mode .ecommerce-search,
body.dark-mode .ecommerce-category-grid button {
  background: #111827;
  border-color: #243244;
  color: #eef4ff;
}

body.dark-mode .ecommerce-header nav button {
  color: #d9e8ff;
  background: #172033;
}

body.dark-mode .ecommerce-category-grid button.active {
  background: #2b1d10;
}

.ecommerce-detail-main {
  padding-top: 32px;
}

.ecommerce-detail-shell {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(320px, 1fr) minmax(320px, .92fr);
  gap: 18px;
  align-items: start;
}

.ecommerce-detail-gallery,
.ecommerce-detail-info,
.ecommerce-checkout-card,
.ecommerce-description-panel,
.ecommerce-related {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.ecommerce-detail-gallery {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.ecommerce-detail-main-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: #eef6ff;
  transition: opacity .22s ease, transform .22s ease;
}

.ecommerce-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ecommerce-detail-thumbs button {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #eef6ff;
  cursor: pointer;
}

.ecommerce-detail-thumbs button.active {
  border-color: var(--ecom-orange);
}

.ecommerce-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecommerce-detail-info,
.ecommerce-checkout-card,
.ecommerce-description-panel,
.ecommerce-related {
  padding: 20px;
}

.ecommerce-breadcrumb {
  color: var(--ecom-orange);
  font-weight: 950;
}

.ecommerce-detail-info h1 {
  margin: 10px 0;
  color: #061733;
  font-size: 34px;
  line-height: 1.25;
}

.ecommerce-detail-info p,
.ecommerce-description-panel p,
.ecommerce-checkout-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
  font-weight: 800;
}

.ecommerce-detail-rating,
.ecommerce-detail-price,
.ecommerce-detail-badges,
.ecommerce-detail-qty {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ecommerce-detail-rating b {
  color: #f59e0b;
  font-size: 22px;
  letter-spacing: 0;
}

.ecommerce-detail-price strong {
  color: var(--ecom-blue);
  font-size: 30px;
  font-weight: 950;
}

.ecommerce-detail-price span {
  color: #94a3b8;
  font-size: 20px;
  text-decoration: line-through;
}

.ecommerce-detail-price em,
.ecommerce-detail-badges span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 12px;
  font-style: normal;
  font-weight: 950;
}

.ecommerce-detail-price em {
  color: #fff;
  background: var(--ecom-orange);
}

.ecommerce-detail-badges span {
  color: #17315f;
  background: #edf5ff;
}

.ecommerce-detail-badges.compact {
  margin-top: 12px;
}

.ecommerce-detail-badges .ok {
  color: #047857;
  background: #dcfce7;
}

.ecommerce-detail-badges .danger {
  color: #b91c1c;
  background: #fee2e2;
}

.ecommerce-product-detail .product-variants,
.ecommerce-offers {
  margin-top: 18px;
}

.ecommerce-offers {
  display: grid;
  gap: 10px;
}

.ecommerce-offers h2,
.ecommerce-checkout-card h2,
.ecommerce-description-panel h2 {
  margin: 0;
  color: #061733;
}

.ecommerce-offers label {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) minmax(92px, auto);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid #c7dcff;
  border-radius: 10px;
  background: #f8fbff;
  cursor: pointer;
}

.ecommerce-offers label.selected {
  border-color: var(--ecom-orange);
  background: #fff7ed;
}

.ecommerce-offers input {
  accent-color: var(--ecom-orange);
}

.ecommerce-offers span,
.ecommerce-offers strong {
  min-width: 0;
  display: grid;
  gap: 3px;
  overflow-wrap: anywhere;
}

.ecommerce-offers small,
.ecommerce-checkout-card span {
  color: var(--ecom-orange);
  font-weight: 950;
}

.ecommerce-offers em {
  color: var(--ecom-blue);
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
  text-align: left;
}

.ecommerce-detail-qty {
  width: 132px;
  height: 44px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  overflow: hidden;
  border: 1px solid #c7dcff;
  border-radius: 999px;
  background: #fff;
}

.ecommerce-detail-qty button {
  border: 0;
  color: var(--ecom-blue);
  background: #edf5ff;
  font-size: 20px;
  cursor: pointer;
}

.ecommerce-detail-qty button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ecommerce-detail-qty strong {
  display: grid;
  place-items: center;
}

.ecommerce-cart-btn,
.ecommerce-submit,
.ecommerce-thankyou-card button {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--ecom-orange), #ff9f1c);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.ecommerce-cart-btn:disabled,
.ecommerce-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.ecommerce-checkout-card {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 14px;
}

.ecommerce-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ecommerce-checkout-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
}

.ecommerce-checkout-qty > span {
  color: #14213d;
  font-weight: 950;
}

.ecommerce-checkout-grid label {
  display: grid;
  gap: 6px;
  color: #14213d;
  font-weight: 900;
}

.ecommerce-checkout-grid input,
.ecommerce-checkout-grid select {
  min-height: 42px;
  border: 1px solid #c7dcff;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
}

.ecommerce-order-total {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fbff;
}

.ecommerce-order-total span,
.ecommerce-order-total strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ecommerce-order-total strong {
  padding-top: 8px;
  border-top: 1px solid #dbeafe;
  color: var(--ecom-blue);
  font-size: 18px;
}

.ecommerce-description-panel {
  display: grid;
  gap: 12px;
}

.ecommerce-description-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ecommerce-description-panel div span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 12px;
  color: #17315f;
  background: #edf5ff;
  font-weight: 900;
}

.ecommerce-thankyou-main {
  min-height: 74vh;
  place-items: center;
}

.ecommerce-thankyou-card {
  width: min(680px, 100%);
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 34px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .1);
  text-align: center;
}

.ecommerce-thankyou-card > span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #16a34a;
  font-size: 38px;
  font-weight: 950;
}

.ecommerce-storefront .store-footer {
  margin-top: 0;
}

.ecommerce-storefront .store-footer-logo img {
  max-width: 92px;
  object-fit: contain;
}

.ecommerce-storefront .sticky-order {
  bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ecom-orange), #ff9f1c);
  box-shadow: 0 18px 36px rgba(255, 122, 0, .28);
}

@media (max-width: 1120px) {
  .ecommerce-header,
  .ecommerce-hero,
  .ecommerce-contact,
  .ecommerce-detail-shell {
    grid-template-columns: 1fr;
  }
  .ecommerce-detail-gallery,
  .ecommerce-checkout-card {
    position: static;
  }
  .ecommerce-header nav,
  .ecommerce-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .ecommerce-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ecommerce-storefront main {
    padding: 18px 12px 36px;
  }
  .ecommerce-header {
    padding: 12px;
  }
  .ecommerce-brand img {
    width: 50px;
    height: 50px;
  }
  .ecommerce-hero {
    min-height: auto;
  }
  .ecommerce-hero-copy {
    padding: 24px 18px;
  }
  .ecommerce-hero-copy h1 {
    font-size: 34px;
  }
  .ecommerce-products-grid,
  .ecommerce-category-grid {
    grid-template-columns: 1fr;
  }
}
.professional-theme-card {
  border-color: #c7e5df;
}
.professional-theme-card.is-active {
  box-shadow: 0 16px 34px rgba(15, 118, 110, .18);
}
.professional-theme-preview {
  height: 162px;
  padding: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #0f766e);
}

@media (max-width: 640px) {
  .ecommerce-storefront main {
    gap: 18px;
    padding: 14px 10px 88px;
  }
  .ecommerce-header {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 8px 10px;
  }
  .ecommerce-brand {
    justify-content: center;
    font-size: 15px;
  }
  .ecommerce-brand img {
    width: 54px;
    height: 42px;
  }
  .ecommerce-search {
    min-height: 38px;
  }
  .ecommerce-header nav,
  .ecommerce-actions {
    justify-content: center;
    gap: 6px;
  }
  .ecommerce-header nav button,
  .ecommerce-actions button,
  .ecommerce-hero-actions button,
  .ecommerce-hero-card button,
  .ecommerce-product-card button:last-child,
  .ecommerce-contact button {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }
  .ecommerce-hero {
    gap: 12px;
  }
  .ecommerce-hero-copy {
    gap: 12px;
    padding: 22px 16px;
  }
  .ecommerce-hero-copy h1 {
    font-size: 28px;
  }
  .ecommerce-hero-copy p {
    font-size: 13px;
    line-height: 1.7;
  }
  .ecommerce-hero-card {
    grid-template-rows: 230px auto;
  }
  .ecommerce-categories,
  .ecommerce-products,
  .ecommerce-contact {
    padding: 12px;
  }
  .ecommerce-product-card {
    grid-template-rows: 232px 1fr;
  }
  .ecommerce-product-card > button:first-child {
    height: 232px;
  }
  .ecommerce-contact {
    grid-template-columns: 1fr;
  }
  .ecommerce-detail-main {
    padding-top: 12px;
  }
  .ecommerce-detail-info,
  .ecommerce-checkout-card,
  .ecommerce-description-panel,
  .ecommerce-related,
  .ecommerce-detail-gallery {
    padding: 12px;
  }
  .ecommerce-detail-info h1 {
    font-size: 24px;
  }
  .ecommerce-detail-price strong {
    font-size: 24px;
  }
  .ecommerce-offers label {
    grid-template-columns: 20px minmax(0, 1fr);
  }
  .ecommerce-offers em {
    grid-column: 2;
  }
  .ecommerce-thankyou-card {
    padding: 22px 14px;
  }
}
.pro-theme-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 14px;
}
.pro-theme-nav span {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
}
.pro-theme-hero {
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.pro-theme-hero b {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 24px;
  margin-bottom: 6px;
  border-radius: 999px;
  color: #0f766e;
  background: #fff;
  font-size: 12px;
}
.pro-theme-hero strong,
.pro-theme-hero small {
  display: block;
}
.pro-theme-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.pro-theme-products i {
  height: 20px;
  border-radius: 5px;
  background: rgba(255,255,255,.28);
}
.theme-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.theme-actions-row .btn {
  height: 42px;
  border-radius: 6px;
}
.design-preview .hero {
  min-height: 150px;
  align-content: center;
}
.design-preview .hero strong,
.design-preview .hero small {
  display: block;
}
.design-preview .hero strong {
  font-size: 22px;
  margin-bottom: 7px;
}
.one-col {
  grid-template-columns: 1fr;
}
.banner-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.banner-upload {
  min-height: 270px;
}
.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.banner-card {
  display: flex;
  flex-direction: column;
  min-height: 315px;
}
.banner-card p span {
  color: var(--muted);
}
.banner-card .actions {
  margin-top: auto;
}
.original-banners-page {
  display: block;
}
.original-banners-page .page-head {
  width: min(100%, 932px);
  margin: 0 auto 14px;
  padding: 0;
}
.original-banners-page .page-head h1 {
  font-size: 25px;
  font-weight: 900;
  text-align: right;
}
.original-banners-shell {
  width: min(100%, 932px);
  margin: 0 auto;
}
.original-banners-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 16px;
}
.original-banners-actions h2 {
  margin: 0;
  color: #050505;
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}
.original-banner-tabs {
  display: flex;
  gap: 10px;
  order: -1;
}
.original-banner-tabs button {
  min-width: 145px;
  height: 44px;
  border: 1px solid #c9d9ee;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #2075d6;
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.original-banner-tabs button.active {
  border-color: #2478e8;
  color: #fff;
  background: #2478e8;
}
.original-banner-tabs span {
  font-size: 20px;
  line-height: 1;
}
.original-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  gap: 16px;
  justify-content: end;
  direction: rtl;
}
.original-banner-tile {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 4px;
  overflow: hidden;
  background: #eef2f7;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}
.original-banner-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.original-banner-tile.is-muted img {
  filter: saturate(.75);
}
.original-banner-tools {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.original-banner-tools button,
.original-banner-tools a {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #2378e8;
  text-decoration: none;
  background: rgba(226, 238, 255, .92);
  box-shadow: 0 3px 9px rgba(15, 23, 42, .18);
  cursor: pointer;
  pointer-events: auto;
}
.original-banner-tools button.danger,
.original-banner-tools a.danger {
  color: #ef4444;
  background: rgba(255, 229, 229, .94);
}
.original-banner-active-line {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 4px;
  background: #ffdc3d;
}
.original-banner-upload {
  width: 300px;
  height: 300px;
  border: 1px dashed #86b7eb;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6b7280;
  background: rgba(248, 251, 255, .78);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.original-banner-upload span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2386fb;
  font-size: 24px;
}
.original-banner-upload b {
  color: #7a8292;
  font-size: 18px;
}
.original-banner-upload em {
  color: #111827;
  font-style: normal;
  font-weight: 700;
}
.original-banner-upload small {
  color: #8b95a7;
}
.banner-preview-card {
  position: relative;
  margin-bottom: 14px;
}
.banner-preview-card span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 24, 39, .76);
  font-size: 12px;
}
.small-banner {
  height: 160px;
  margin-bottom: 14px;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}
.preview-store .hero {
  min-height: 170px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1687ee, #06133a);
  text-align: center;
  padding: 22px;
}
.preview-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px; }
.preview-products img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.product-page-preview {
  display: grid;
  gap: 12px;
}
.product-page-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f7f9fc;
}
.product-page-preview h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}
.preview-price {
  color: #16b478;
  font-weight: 800;
  font-size: 20px;
}
.preview-price span {
  margin-right: 8px;
  color: #9aa3b2;
  font-size: 14px;
  text-decoration: line-through;
}
.preview-alert {
  padding: 10px 12px;
  border-radius: 8px;
  color: #b42318;
  background: #fff1f0;
  text-align: center;
  font-weight: 700;
}
.preview-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}
.preview-meter span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: #1687ee;
}
.storefront {
  min-height: 100vh;
  background: #fff;
  color: #111827;
  direction: rtl;
  font-weight: 600;
  --store-primary: #176be6;
  --store-button: #176be6;
  --store-button-text: #ffffff;
}
.storefront.service-no-select {
  user-select: none;
}
.storefront.service-protect-images img {
  -webkit-user-drag: none;
  user-drag: none;
}
.store-floating-service {
  position: fixed;
  right: 18px;
  z-index: 80;
  min-width: 104px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
}
.store-floating-service.whatsapp {
  bottom: 84px;
  background: #18b86b;
}
.store-floating-service.call {
  bottom: 138px;
  background: #1687ee;
}
.integration-log-panel {
  max-width: 1188px;
  margin: 24px auto 0;
}
.integration-log-panel table {
  min-width: 760px;
}
.store-header {
  height: 75px;
  display: grid;
  grid-template-columns: 150px 1fr 300px 118px;
  align-items: center;
  gap: 22px;
  padding: 0 14%;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.store-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.store-header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.store-header nav a,
.store-header nav button {
  border: 0;
  background: transparent;
  color: #050505;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}
.store-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  direction: ltr;
}
.store-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 22px;
}
.store-icon small {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1967d2;
  font-size: 10px;
}
.store-search {
  width: 200px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #d9dee8;
  border-radius: 999px;
  color: #111827;
  background: #fff;
  direction: rtl;
}
.store-search input {
  width: 100%;
  border: 0;
  outline: 0;
  text-align: right;
  color: #475467;
  background: transparent;
}
.store-back {
  min-height: 34px;
  border: 1px solid #d8e8ff;
  border-radius: 999px;
  color: #146fd1;
  background: #f3f9ff;
}
.store-hero {
  position: relative;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  overflow: hidden;
  padding: 46px 13%;
  background: var(--store-hero-bg, linear-gradient(90deg, #fff6ee 0%, #fbfbfd 42%, #9c3c1e 42%, #9c3c1e 100%));
}
.hero-copy {
  max-width: 460px;
  color: #fff;
  justify-self: start;
}
.hero-copy span {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255,255,255,.82);
  font-weight: 800;
  letter-spacing: .08em;
}
.hero-copy h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.25;
}
.hero-copy p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.85);
  line-height: 1.9;
  font-size: 16px;
}
.hero-copy button,
.offer-card button,
.store-product button {
  min-height: 36px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #1967d2;
  font-weight: 800;
}
.hero-products {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.hero-products img {
  width: 230px;
  height: 285px;
  object-fit: cover;
  border: 8px solid #fff;
  box-shadow: 0 18px 40px rgba(17,24,39,.18);
}
.hero-products img:nth-child(2) {
  width: 270px;
  height: 330px;
  z-index: 2;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  color: #111827;
  font-size: 22px;
  z-index: 3;
}
.hero-arrow.right { right: 12px; }
.hero-arrow.left { left: 12px; }
.store-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.store-dots button {
  width: 25px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #1b67d2;
  opacity: .35;
}
.store-dots button.active {
  opacity: 1;
}
.store-services {
  max-width: 960px;
  margin: 70px auto 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  text-align: center;
}
.store-services i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #1f6bdc;
  font-style: normal;
  font-size: 22px;
}
.store-services h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.store-services p {
  margin: 0;
  color: #111;
  line-height: 1.8;
  font-size: 16px;
}
.store-section {
  max-width: 1120px;
  margin: 0 auto 64px;
}
.store-section h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 32px;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer-card {
  min-height: 210px;
  display: grid;
  grid-template-columns: 148px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid #f0f1f4;
  border-radius: 8px;
  background: #fff;
}
.offer-card img {
  width: 148px;
  height: 148px;
  object-fit: cover;
}
.offer-card h3 {
  min-height: 56px;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.55;
}
.offer-card b {
  display: block;
  color: #ef4444;
  margin-bottom: 4px;
}
.offer-card p {
  margin: 0 0 14px;
  color: #111827;
}
.category-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}
.category-strip button {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 10px;
  grid-template-rows: 80px minmax(24px, auto);
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-weight: 800;
}
.original-store-category-strip button span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.category-strip button.active {
  border-color: #176be6;
  color: #176be6;
  box-shadow: 0 12px 28px rgba(23,107,230,.12);
}
.category-strip img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(17,24,39,.12);
}
.store-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.store-filter-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -8px 0 22px;
  padding: 10px 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
  color: #176be6;
  font-weight: 800;
}
.store-filter-bar button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #176be6;
  font-weight: 800;
}
.store-product {
  position: relative;
  min-height: 360px;
  padding: 12px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fff;
  text-align: right;
}
.store-product .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  font-size: 12px;
  z-index: 2;
}
.store-product-image {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #f6f7f9;
}
.store-product-image.borderless,
.store-product-image.borderless img {
  border-radius: 0;
  background: transparent;
}
.store-product img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 6px;
  background: #f6f7f9;
}
.store-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
}
.store-price b {
  font-size: 18px;
  color: #111827;
}
.store-price span {
  color: #a2a8b3;
  text-decoration: line-through;
}
.store-product h3 {
  height: 54px;
  margin: 0 0 14px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.7;
}
.store-product button {
  width: 100%;
}
.store-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.store-pagination button {
  width: 32px;
  height: 32px;
  border: 1px solid #d8dce5;
  border-radius: 6px;
  background: #fff;
}
.store-pagination .active {
  color: #fff;
  background: #1967d2;
  border-color: #1967d2;
}
.store-reviews article {
  max-width: 600px;
  min-height: 150px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  text-align: center;
}
.store-reviews p {
  margin: 0;
  color: #475467;
  line-height: 1.9;
}
.store-info {
  max-width: 760px;
  padding: 34px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  text-align: center;
}
.store-info p {
  margin: 0;
  color: #475467;
  line-height: 2;
}
.store-info form {
  display: grid;
  gap: 12px;
}
.store-info input,
.store-info textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  outline: 0;
}
.store-info textarea {
  min-height: 110px;
  resize: vertical;
}
.store-info button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #1967d2;
  font-weight: 800;
}
.store-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px dashed #d9dfe8;
  border-radius: 8px;
  color: #667085;
  text-align: center;
}
.store-cart {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(390px, 92vw);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
  box-shadow: -22px 0 60px rgba(15,23,42,.16);
  transform: translateX(100%);
  transition: transform .2s ease;
  z-index: 120;
  visibility: hidden;
}
.store-cart.open {
  transform: translateX(0);
  visibility: visible;
}
.store-cart-head,
.store-cart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #edf0f5;
}
.store-cart-head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f3f5f8;
  font-size: 20px;
}
.store-cart-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  overflow: auto;
}
.store-cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
}
.store-cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}
.store-cart-item b {
  height: 42px;
  display: block;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.6;
}
.store-cart-item span {
  color: #1967d2;
  font-size: 13px;
}
.store-cart-item > button {
  border: 0;
  color: #ef4444;
  background: transparent;
}
.store-cart-qty {
  width: 82px;
  height: 34px;
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  border-radius: 999px;
  background: #f4f7fb;
}
.store-cart-qty button {
  border: 0;
  color: #176be6;
  background: transparent;
  font-weight: 800;
}
.store-cart-qty strong {
  text-align: center;
  font-size: 13px;
}
.store-cart-foot {
  border-top: 1px solid #edf0f5;
  border-bottom: 0;
  flex-wrap: wrap;
}
.store-cart-foot button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #1967d2;
  font-weight: 800;
}
.store-cart-foot button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.store-cart-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(15,23,42,.18);
  z-index: 110;
}
.product-detail {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 500px 606px;
  gap: 46px;
  margin: 42px auto 130px;
  align-items: start;
}
.product-gallery {
  grid-column: 1;
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}
.product-buy {
  grid-column: 2;
  min-width: 0;
}
.product-detail-page.images-left .product-gallery {
  grid-column: 2;
}
.product-detail-page.images-left .product-buy,
.product-detail-page.images-left .product-description {
  grid-column: 1;
}
.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid #176be6;
  border-radius: 12px;
}
.product-thumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.product-thumbs button {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.product-thumbs .active {
  border-color: #176be6;
}
.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-buy h1 {
  margin: 8px 0 6px;
  font-size: 30px;
}
.product-subtitle {
  margin: 0 0 22px;
  color: #667085;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -10px 0 18px;
  color: #111827;
  font-size: 18px;
}
.product-rating b {
  color: #facc15;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}
.detail-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.detail-price b {
  color: #176be6;
  font-size: 30px;
}
.detail-price span {
  color: #454b57;
  font-size: 23px;
  text-decoration: line-through;
}
.detail-price em {
  min-height: 30px;
  padding: 4px 14px;
  border-radius: 999px;
  color: #fff;
  background: #176be6;
  font-style: normal;
}
.detail-qty {
  width: 106px;
  height: 50px;
  display: inline-grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  margin: 0 0 14px 12px;
  background: #f4f6f8;
}
.detail-qty button {
  border: 0;
  color: #176be6;
  background: transparent;
  font-size: 20px;
}
.detail-qty strong {
  text-align: center;
}
.detail-cart-btn {
  width: min(424px, 100%);
  min-height: 50px;
  margin-bottom: 26px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #176be6;
  font-size: 18px;
  font-weight: 800;
}
.detail-cart-btn:disabled,
.order-submit:disabled {
  opacity: .48;
  cursor: not-allowed;
}
.detail-stock {
  margin: -8px 0 16px;
  color: #667085;
}
.persuasion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.persuasion-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: #344054;
  background: #f4f7fb;
  font-size: 13px;
}
.persuasion-row span:first-child {
  color: #fff;
  background: var(--timer, #ef4444);
}
.persuasion-row span:last-child {
  border: 1px solid var(--bar, #1687ee);
}
.product-variants {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}
.variant-group h3 {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 15px;
}
.variant-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-group button {
  min-width: 58px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid #d9e3f0;
  border-radius: 8px;
  color: #344054;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}
.variant-group button.selected {
  border-color: #176be6;
  color: #176be6;
  background: #eef6ff;
  box-shadow: 0 0 0 2px rgba(23, 107, 230, .1);
}
.order-form {
  width: 100%;
  padding: 28px 18px 22px;
  border: 3px solid #050505;
  border-radius: 14px;
  background: #fff;
}
.order-form h2 {
  margin: -44px 0 18px;
  width: fit-content;
  padding: 0 10px;
  color: #176be6;
  background: #fff;
  font-size: 22px;
}
.order-form > p {
  margin: 0 0 20px;
  color: #176be6;
  text-align: center;
}
.order-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 14px;
}
.order-fields label {
  display: grid;
  gap: 8px;
  color: #262b35;
}
.order-fields input,
.order-fields select {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #d5dbe6;
  border-radius: 10px;
  outline: 0;
}
.order-fields input:invalid {
  border-color: #ff5656;
}
.offer-choice {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.offer-choice h3 {
  margin: 0;
  color: #176be6;
  font-size: 22px;
  text-align: right;
}
.offer-choice label {
  min-height: 64px;
  position: relative;
  display: grid;
  align-items: center;
  gap: 8px;
  padding: 20px 54px 13px 14px;
  border: 2px solid #176be6;
  border-radius: 2px;
  background: #eaf3ff;
  cursor: pointer;
}
.offer-choice label span {
  position: absolute;
  top: -17px;
  right: 26px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #176be6;
  font-weight: 800;
}
.offer-choice label span em {
  margin-right: 8px;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,.45);
  font-size: 12px;
  font-style: normal;
}
.offer-choice label strong {
  color: #1f2937;
  font-size: 17px;
  font-weight: 700;
}
.offer-choice label b {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 8px;
  color: #176be6;
  background: #fff;
}
.offer-choice input {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 24px;
  height: 24px;
  margin: 0;
  transform: translateY(-50%);
  accent-color: #176be6;
}
.offer-choice label:not(.selected) {
  background: #f7fbff;
}
.order-summary {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.order-summary button {
  min-height: 48px;
  border: 0;
  color: #176be6;
  background: #f7f9fc;
  font-size: 22px;
  font-weight: 800;
}
.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f5;
}
.order-summary span {
  color: #176be6;
  font-size: 18px;
  font-weight: 800;
}
.order-summary em {
  color: #8b95a5;
  font-style: italic;
}
.order-submit {
  width: min(445px, 100%);
  min-height: 50px;
  display: block;
  margin: 8px auto 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #176be6;
  font-size: 18px;
  font-weight: 800;
}
.product-description {
  grid-column: 2;
  width: 100%;
  margin: 10px 0 0;
  line-height: 2;
  font-size: 17px;
}
.product-description h2,
.product-description h3 {
  margin: 24px 0 10px;
}
.product-description button {
  min-height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #176be6;
  font-weight: 800;
}
.sticky-order {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  min-width: 174px;
  min-height: 50px;
  border: 0;
  border-radius: 18px 18px 0 0;
  color: #fff;
  background: #176be6;
  font-size: 18px;
  font-weight: 800;
  z-index: 70;
  box-shadow: 0 -1px 0 #176be6;
}
.store-thankyou {
  min-height: calc(100vh - 75px);
  display: grid;
  place-items: center;
  padding: 40px 16px;
  background: #f7f9fc;
}
.store-thankyou div {
  width: min(540px, 100%);
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 44px;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(15,23,42,.08);
}
.store-thankyou span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #16a34a;
  font-size: 38px;
}
.store-thankyou h1 {
  margin: 0;
  font-size: 30px;
}
.store-thankyou p {
  margin: 0;
  color: #667085;
  line-height: 1.9;
}
.store-thankyou button {
  min-height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #176be6;
  font-weight: 800;
}
.store-content {
  width: min(980px, calc(100% - 40px));
  min-height: 520px;
  margin: 54px auto 80px;
  text-align: right;
}
.store-content-page {
  overflow-x: clip;
}
.store-content-page .store-header {
  box-sizing: border-box;
  grid-template-columns: 90px minmax(340px, 1fr) 270px 112px;
  gap: 16px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}
.store-content-page .store-search {
  width: 190px;
}
.content-back {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  color: #176be6;
  text-decoration: none;
  font-weight: 800;
}
.store-content h1 {
  margin: 0 0 12px;
  color: #050816;
  font-size: 36px;
}
.store-content-lead {
  max-width: 720px;
  margin: 0 0 28px auto;
  color: #475467;
  font-size: 20px;
  line-height: 1.9;
}
.store-content-body {
  display: grid;
  gap: 14px;
}
.store-content-body article {
  padding: 20px 22px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.store-content-body p {
  margin: 0;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.9;
}
.store-content-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fff;
}
.store-content-form input,
.store-content-form textarea {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d5dbe6;
  border-radius: 8px;
  outline: 0;
  font: inherit;
}
.store-content-form textarea {
  min-height: 120px;
  resize: vertical;
}
.store-content-form button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #176be6;
  font-weight: 800;
}
.store-footer {
  margin-top: 70px;
  background: #fff;
  color: #fff;
}
.store-footer-logo {
  height: 82px;
  display: grid;
  place-items: center;
  border-top: 1px solid #edf0f5;
}
.store-footer-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.store-footer-dark {
  background: #03071d;
}
.store-footer-inner {
  width: min(1000px, calc(100% - 40px));
  min-height: 376px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.55fr repeat(3, .75fr);
  gap: 38px;
  align-content: start;
  margin: 0 auto;
  padding: 52px 0 42px;
  direction: rtl;
}
.footer-about {
  display: grid;
  align-content: start;
  gap: 22px;
  text-align: right;
}
.footer-about p {
  max-width: 440px;
  margin: 0;
  color: #f2f4f8;
  font-size: 19px;
  line-height: 1.85;
}
.footer-about strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.4;
}
.footer-about a {
  color: #1d7df2;
}
.footer-phone {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  white-space: nowrap;
}
.footer-phone span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #1d7df2;
  background: #fff;
  box-shadow: 0 4px 10px rgba(255,255,255,.15);
  font-size: 24px;
}
.footer-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-socials {
  display: flex;
  gap: 12px;
  direction: ltr;
}
.footer-socials a {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
}
.footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-column {
  display: grid;
  align-content: start;
  gap: 19px;
}
.footer-column h3 {
  width: fit-content;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 3px solid #fff;
  color: #fff;
  font-size: 22px;
}
.footer-column a {
  color: #f7f8fb;
  text-decoration: none;
  font-size: 20px;
}
.footer-column a:hover {
  color: #1d7df2;
}
.footer-line {
  grid-column: 1 / -1;
  height: 1px;
  margin-top: 34px;
  background: rgba(255,255,255,.75);
}
.footer-rights {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  color: #fff;
  font-size: 18px;
}
.footer-rights b {
  color: #1d7df2;
}

.storefront .store-footer {
  margin-top: 34px;
  background: #f6f9ff;
}

.storefront .store-footer-logo {
  height: 62px;
  border-top: 1px solid #dbeafe;
  background: #fff;
}

.storefront .store-footer-logo img {
  width: 84px;
  height: 44px;
}

.storefront .store-footer-dark {
  background:
    radial-gradient(circle at 10% 0%, rgba(255,122,0,.16), transparent 28%),
    linear-gradient(135deg, #020817, #031642 58%, #00112d);
}

.storefront .store-footer-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 0;
  grid-template-columns: minmax(280px, 1.25fr) minmax(260px, .95fr) repeat(3, minmax(130px, .62fr));
  gap: 24px;
  padding: 38px 0 28px;
}

.storefront .footer-brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.storefront .footer-brand-line img {
  width: 78px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
}

.storefront .footer-brand-line strong {
  font-size: 24px;
}

.storefront .footer-about {
  gap: 16px;
}

.storefront .footer-about p {
  max-width: 500px;
  color: #dce8ff;
  font-size: 17px;
  line-height: 1.75;
}

.footer-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-trust-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 4px 12px;
  color: #dce8ff;
  background: rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 900;
}

.footer-contact-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
}

.footer-contact-card > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
}

.footer-contact-card > span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-contact-card div {
  display: grid;
  gap: 3px;
}

.footer-contact-card small {
  color: #ff9f1c;
  font-weight: 950;
}

.footer-contact-card strong {
  color: #fff;
  font-size: 20px;
}

.footer-contact-card a {
  color: #58a6ff;
  font-size: 20px;
  font-weight: 950;
  text-decoration: none;
}

.storefront .footer-socials {
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.storefront .footer-socials a {
  width: 34px;
  height: 34px;
  transition: transform .16s ease;
}

.storefront .footer-socials a:hover {
  transform: translateY(-2px);
}

.storefront .footer-column {
  gap: 12px;
}

.storefront .footer-column h3 {
  margin-bottom: 4px;
  padding-bottom: 9px;
  border-bottom-color: rgba(255,255,255,.75);
  font-size: 18px;
}

.storefront .footer-column a {
  color: #dce8ff;
  font-size: 16px;
  font-weight: 800;
}

.storefront .footer-column a:hover {
  color: #ff9f1c;
}

.storefront .footer-line {
  margin-top: 18px;
  background: rgba(255,255,255,.22);
}

.storefront .footer-rights {
  justify-content: space-between;
  align-items: center;
  color: #dce8ff;
  font-size: 15px;
}

.ecommerce-storefront .footer-rights b {
  color: #ff9f1c;
}

.storefront .hero-copy button,
.storefront .offer-card button,
.storefront .store-product button,
.storefront .store-info button,
.storefront .store-cart-foot button,
.storefront .detail-cart-btn,
.storefront .order-submit,
.storefront .product-description button,
.storefront .sticky-order,
.storefront .store-thankyou button {
  background: var(--store-button);
  color: var(--store-button-text);
}
.storefront .store-dots span,
.storefront .store-services i,
.storefront .store-pagination .active,
.storefront .store-icon small {
  background: var(--store-primary);
}
.storefront .product-main-image,
.storefront .product-thumbs .active {
  border-color: var(--store-primary);
}
.storefront .detail-price b,
.storefront .order-form h2,
.storefront .order-form > p,
.storefront .order-summary button,
.storefront .order-summary span,
.storefront .detail-qty button {
  color: var(--store-primary);
}
.storefront .detail-price em {
  background: var(--store-primary);
}
.orders-screen .orders-table table {
  min-width: 1380px;
  table-layout: fixed;
}
.orders-screen .orders-table th,
.orders-screen .orders-table td {
  white-space: nowrap;
}
.orders-screen .orders-table th:nth-child(2),
.orders-screen .orders-table td:nth-child(2) {
  width: 94px;
}
.orders-screen .orders-table th:nth-child(3),
.orders-screen .orders-table td:nth-child(3) {
  width: 112px;
}
.orders-screen .orders-table th:nth-child(4),
.orders-screen .orders-table td:nth-child(4) {
  width: 110px;
}
.orders-screen .orders-table th:nth-child(5),
.orders-screen .orders-table td:nth-child(5) {
  width: 116px;
}
.orders-screen .orders-table th:nth-child(6),
.orders-screen .orders-table td:nth-child(6) {
  width: 170px;
}
.orders-screen .orders-table th:nth-child(7),
.orders-screen .orders-table td:nth-child(7) {
  width: 132px;
}
.orders-screen .orders-table th:nth-child(8),
.orders-screen .orders-table td:nth-child(8) {
  width: 188px;
}
.orders-screen .orders-table th:nth-child(9),
.orders-screen .orders-table td:nth-child(9) {
  width: 110px;
}
.orders-screen .orders-table th:nth-child(10),
.orders-screen .orders-table td:nth-child(10),
.orders-screen .orders-table th:nth-child(11),
.orders-screen .orders-table td:nth-child(11) {
  position: static;
  left: auto;
  z-index: auto;
}
.orders-screen .orders-table th:nth-child(10),
.orders-screen .orders-table td:nth-child(10) {
  width: 132px;
}
.orders-screen .orders-table th:nth-child(11),
.orders-screen .orders-table td:nth-child(11) {
  width: 142px;
}
.orders-screen .orders-table .ship-col,
.orders-screen .orders-table .print-col {
  width: 58px;
  text-align: center;
}
.orders-screen .orders-table .actions-col {
  width: 170px;
}
.original-order-actions.compact {
  min-width: 68px;
  justify-content: center;
}
.original-order-actions.exact {
  min-width: 126px;
  justify-content: center;
  gap: 8px;
}
.order-copy-phone {
  width: 22px;
  height: 22px;
  margin-inline-start: 6px;
  border: 1px solid #cfd7e3;
  border-radius: 5px;
  color: #8a94a6;
  background: #fff;
  font-size: 13px;
}
.phone-cell {
  direction: ltr;
}
.phone-content {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  direction: ltr;
  min-width: 156px;
}
.phone-content-whatsapp-left {
  justify-content: flex-start;
}
.order-whatsapp-phone {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #20c763;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(32, 199, 99, 0.22);
}
.order-call-phone {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #176be6;
  background: #eef6ff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.phone-value {
  direction: ltr;
  display: inline-block;
  min-width: 92px;
  text-align: left;
}
.order-row-arrow {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #2386fb;
  font-size: 13px;
  font-weight: 900;
}
.order-action-icon.print {
  color: #2386fb;
  background: #eaf4ff;
}
.order-action-icon.truck,
.original-detail-toolbar .truck {
  color: #1687ee;
  background: #e8f3ff;
  font-size: 15px;
}
.order-action-icon.truck.sent {
  position: relative;
  color: #15803d;
  background: #dcfce7;
}
.order-action-icon.truck.sent small {
  position: absolute;
  width: 14px;
  height: 14px;
  right: -4px;
  top: -5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #16a34a;
  font-size: 10px;
  line-height: 1;
}
.order-ship-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.order-action-icon.track,
.original-detail-toolbar .track {
  color: #7c3aed;
  background: #f3e8ff;
  font-size: 14px;
}
.order-action-icon.small-print,
.original-detail-toolbar .small-print {
  width: 24px;
  height: 24px;
  color: #2386fb;
  background: #eef6ff;
  font-size: 12px;
}
.tracking-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.tracking-summary-grid label {
  min-height: 62px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  color: #667085;
  background: #fff;
}
.tracking-summary-grid strong {
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tracking-events-title {
  margin: 18px 0 10px;
}
.fulfillment-screen .page-head {
  align-items: center;
}
.fulfillment-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.fulfillment-stat-grid article {
  min-height: 92px;
  padding: 16px;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  display: grid;
  align-content: center;
  gap: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .05);
}
.fulfillment-stat-grid article span {
  color: #667085;
  font-weight: 800;
}
.fulfillment-stat-grid article b {
  color: #111827;
  font-size: 28px;
}
.fulfillment-stat-grid article.warn {
  border-color: #fed7aa;
  background: #fff7ed;
}
.fulfillment-filter-panel {
  margin-bottom: 16px;
}
.fulfillment-table small {
  display: block;
  margin-top: 4px;
  color: #98a2b3;
  font-size: 12px;
}
.fulfillment-pill {
  min-width: 96px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.fulfillment-pill.shipping {
  color: #0369a1;
  background: #e0f2fe;
}
.fulfillment-pill.received {
  color: #15803d;
  background: #dcfce7;
}
.fulfillment-pill.returned {
  color: #b91c1c;
  background: #fee2e2;
}
.late-cell {
  color: #c2410c;
  font-weight: 900;
}
.order-action-icon.return {
  color: #b91c1c;
  background: #fee2e2;
}
.return-order-modal {
  width: min(620px, calc(100vw - 28px));
}

/* V1.34.1 sub-store create modal containment fix */
.substore-create-original-modal.modal {
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: min(1180px, calc(100vw - 48px)) !important;
  max-height: calc(100vh - 48px) !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}
.substore-create-original-modal .substore-modal-shell {
  grid-template-columns: 360px minmax(0, 1fr) !important;
  min-height: 0 !important;
  max-height: calc(100vh - 48px);
  overflow: hidden;
}
.substore-create-original-modal .substore-create-help {
  width: 360px;
  min-width: 0;
  padding: 30px 28px;
}
.substore-create-original-modal .substore-create-form-wrap {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.substore-create-original-modal .substore-create-form {
  min-width: 0;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 26px 24px !important;
}
.substore-create-original-modal .substore-create-section,
.substore-create-original-modal .substore-create-grid,
.substore-create-original-modal .substore-form-field,
.substore-create-original-modal .substore-create-options,
.substore-create-original-modal .substore-create-preview {
  min-width: 0;
  box-sizing: border-box;
}
.substore-create-original-modal .substore-form-field input,
.substore-create-original-modal .substore-form-field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.substore-create-original-modal .substore-form-field small {
  line-height: 1.45;
}
.substore-create-original-modal .substore-create-options label {
  min-width: 0;
  height: auto;
  min-height: 58px;
  line-height: 1.45;
}
.substore-create-original-modal .substore-create-actions {
  position: sticky;
  bottom: -1px;
  z-index: 2;
  padding: 12px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%);
}

@media (max-width: 1180px) {
  .substore-create-original-modal.modal {
    width: min(980px, calc(100vw - 28px)) !important;
    max-width: min(980px, calc(100vw - 28px)) !important;
  }
  .substore-create-original-modal .substore-modal-shell {
    grid-template-columns: 300px minmax(0, 1fr) !important;
  }
  .substore-create-original-modal .substore-create-help {
    width: 300px;
  }
}

@media (max-width: 900px) {
  .substore-create-original-modal .substore-modal-shell {
    grid-template-columns: 1fr !important;
  }
  .substore-create-original-modal .substore-create-help {
    width: auto;
    min-height: 180px;
    justify-content: flex-start;
  }
  .substore-create-original-modal .substore-create-grid,
  .substore-create-original-modal .substore-create-options {
    grid-template-columns: 1fr !important;
  }
}
.super-admin-toolbar {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 150px 150px auto;
  gap: 10px;
  align-items: center;
}
.super-admin-toolbar input,
.super-admin-toolbar select {
  min-height: 42px;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
}
.super-admin-table-v134 th,
.super-admin-table-v134 td {
  font-size: 13px;
}
.super-admin-health {
  min-width: 58px;
  min-height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.super-admin-health.good {
  color: #15803d;
  background: #dcfce7;
}
.super-admin-health.warn {
  color: #a16207;
  background: #fef3c7;
}
.super-admin-health.danger {
  color: #b91c1c;
  background: #fee2e2;
}
.super-admin-health-card {
  padding: 14px;
  border-radius: 10px;
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}
.super-admin-health-card strong {
  font-size: 28px;
}
.super-admin-health-card.good {
  color: #14532d;
  background: #dcfce7;
}
.super-admin-health-card.warn {
  color: #78350f;
  background: #fef3c7;
}
.super-admin-health-card.danger {
  color: #7f1d1d;
  background: #fee2e2;
}
.super-admin-v134 .super-admin-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.super-admin-live-card {
  position: sticky;
  top: 14px;
}
.production-ops-panel {
  padding: 16px;
  border: 1px solid #dfe9f6;
  background: #ffffff;
}
.production-ops-panel.good {
  border-color: #bbf7d0;
}
.production-ops-panel.warn {
  border-color: #fde68a;
}
.production-ops-panel.danger {
  border-color: #fecaca;
}
.production-ops-head {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.production-ops-head p {
  margin: 0 0 4px;
  color: #1687ee;
  font-size: 12px;
  font-weight: 900;
}
.production-ops-head h2 {
  margin: 0;
  font-size: 22px;
}
.production-ops-head span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}
.production-ops-score {
  min-height: 74px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f8fbff;
  border: 1px solid #e5eef8;
}
.production-ops-score strong {
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
}
.production-ops-score span {
  font-size: 11px;
  text-align: center;
}
.production-ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.production-readiness-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 10px;
}
.production-readiness-item {
  min-height: 92px;
  padding: 12px;
  border-radius: 8px;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid #e5edf7;
  background: #f8fbff;
}
.production-readiness-item span,
.production-readiness-item small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
.production-readiness-item strong {
  color: #0f172a;
  font-size: 18px;
}
.production-readiness-item.good {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.production-readiness-item.warn {
  border-color: #fde68a;
  background: #fffbeb;
}
.production-readiness-item.danger {
  border-color: #fecaca;
  background: #fff1f2;
}
.production-ops-bottom {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, .75fr) minmax(240px, 1fr);
  gap: 12px;
}
.production-issues,
.production-shipping-mini,
.production-errors-mini {
  border: 1px solid #e5edf7;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.production-issues h3,
.production-shipping-mini h3,
.production-errors-mini h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.production-issues p,
.production-shipping-mini p,
.production-errors-mini p {
  margin: 4px 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
.production-shipping-mini div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid #eef3f8;
}
.production-shipping-mini div:first-of-type {
  border-top: 0;
}
.production-shipping-mini b,
.production-shipping-mini span {
  font-size: 12px;
}
.production-shipping-mini .good span {
  color: #15803d;
}
.production-shipping-mini .warn span {
  color: #a16207;
}
.production-shipping-mini .danger span {
  color: #b91c1c;
}
.production-errors-mini div {
  display: grid;
  gap: 3px;
  padding: 8px 0;
  border-top: 1px solid #eef3f8;
}
.production-errors-mini div:first-of-type {
  border-top: 0;
}
.production-errors-mini b,
.production-errors-mini span,
.production-errors-mini small {
  font-size: 12px;
}
.production-errors-mini b {
  color: #b91c1c;
}
.production-errors-mini span {
  color: #334155;
  word-break: break-word;
}
.production-errors-mini small {
  color: #94a3b8;
  font-weight: 800;
}
.final-launch-page {
  display: grid;
  gap: 16px;
}
.final-launch-summary {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #dfe9f6;
  background: #fff;
}
.final-launch-summary.good {
  border-color: #bbf7d0;
}
.final-launch-summary.warn {
  border-color: #fde68a;
}
.final-launch-summary.danger {
  border-color: #fecaca;
}
.final-launch-summary p {
  margin: 0 0 5px;
  color: #1687ee;
  font-size: 12px;
  font-weight: 900;
}
.final-launch-summary h2 {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
}
.final-launch-summary span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}
.final-launch-score {
  min-height: 86px;
  border: 1px solid #e5eef8;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f8fbff;
}
.final-launch-score strong {
  color: #0f172a;
  font-size: 32px;
  line-height: 1;
}
.final-launch-score small {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}
.final-launch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.final-launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 12px;
}
.final-launch-group {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid #e5edf7;
}
.final-launch-group h3,
.final-launch-missing h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}
.final-launch-check {
  min-height: 74px;
  padding: 10px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f8fbff;
}
.final-launch-check div {
  display: grid;
  gap: 4px;
}
.final-launch-check b {
  color: #0f172a;
  font-size: 14px;
}
.final-launch-check small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  word-break: break-word;
}
.final-launch-check > span {
  min-width: 72px;
  padding: 7px 10px;
  border-radius: 999px;
  text-align: center;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  background: #e2e8f0;
}
.final-launch-check.good {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.final-launch-check.good > span {
  color: #166534;
  background: #dcfce7;
}
.final-launch-check.warn {
  border-color: #fde68a;
  background: #fffbeb;
}
.final-launch-check.warn > span {
  color: #92400e;
  background: #fef3c7;
}
.final-launch-check.danger {
  border-color: #fecaca;
  background: #fff1f2;
}
.final-launch-check.danger > span {
  color: #991b1b;
  background: #fee2e2;
}
.final-launch-missing {
  border: 1px solid #e5edf7;
}
.final-launch-missing p {
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid #eef3f8;
  display: grid;
  gap: 4px;
}
.final-launch-missing p:first-of-type {
  border-top: 0;
}
.final-launch-missing b {
  color: #0f172a;
  font-size: 14px;
}
.final-launch-missing span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}
.final-launch-empty {
  color: #64748b;
  font-weight: 900;
}
body.dark-mode .super-admin-toolbar input,
body.dark-mode .super-admin-toolbar select {
  color: #e5e7eb;
  border-color: #334155;
  background: #111827;
}
body.dark-mode .production-ops-panel,
body.dark-mode .production-issues,
body.dark-mode .production-shipping-mini,
body.dark-mode .production-errors-mini {
  border-color: #243146;
  background: #111827;
}
body.dark-mode .production-ops-score,
body.dark-mode .production-readiness-item {
  border-color: #243146;
  background: #0b1220;
}
body.dark-mode .production-ops-score strong,
body.dark-mode .production-readiness-item strong,
body.dark-mode .production-ops-head h2,
body.dark-mode .production-issues h3,
body.dark-mode .production-shipping-mini h3,
body.dark-mode .production-errors-mini h3 {
  color: #e5e7eb;
}
body.dark-mode .production-errors-mini span {
  color: #cbd5e1;
}
body.dark-mode .final-launch-summary,
body.dark-mode .final-launch-group,
body.dark-mode .final-launch-missing,
body.dark-mode .final-launch-empty {
  border-color: #243146;
  background: #111827;
}
body.dark-mode .final-launch-score,
body.dark-mode .final-launch-check {
  border-color: #243146;
  background: #0b1220;
}
body.dark-mode .final-launch-summary h2,
body.dark-mode .final-launch-score strong,
body.dark-mode .final-launch-group h3,
body.dark-mode .final-launch-missing h3,
body.dark-mode .final-launch-check b,
body.dark-mode .final-launch-missing b {
  color: #e5e7eb;
}
body.dark-mode .final-launch-check small,
body.dark-mode .final-launch-missing span {
  color: #cbd5e1;
}
body.dark-mode .final-launch-check.good {
  background: rgba(22, 163, 74, .14);
}
body.dark-mode .final-launch-check.warn {
  background: rgba(245, 158, 11, .13);
}
body.dark-mode .final-launch-check.danger {
  background: rgba(239, 68, 68, .14);
}
body.dark-mode .production-readiness-item.good {
  background: rgba(22, 163, 74, .14);
}
body.dark-mode .production-readiness-item.warn {
  background: rgba(245, 158, 11, .13);
}
body.dark-mode .production-readiness-item.danger {
  background: rgba(239, 68, 68, .14);
}

@media (max-width: 1100px) {
  .production-ops-head,
  .production-ops-bottom,
  .final-launch-summary {
    grid-template-columns: 1fr;
  }
  .production-ops-actions,
  .final-launch-actions {
    justify-content: flex-start;
  }
  .production-readiness-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .final-launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .production-readiness-grid,
  .final-launch-grid {
    grid-template-columns: 1fr;
  }
  .production-ops-head h2,
  .final-launch-summary h2 {
    font-size: 18px;
  }
}
.order-ship-modal {
  width: min(640px, calc(100vw - 28px));
}
.order-history-modal {
  width: min(780px, calc(100vw - 28px));
}
.order-history-modal .admin-table table {
  min-width: 680px;
}
.order-action-menu {
  min-width: 156px;
}
.order-action-menu button {
  justify-content: flex-start;
}
.order-ship-modal .modal-body {
  display: grid;
  gap: 14px;
}
.ship-order-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 12px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  color: #667085;
  background: #fbfcfe;
}
.ship-order-summary b {
  color: #101828;
}
.ship-provider-list {
  display: grid;
  gap: 14px;
}
.ship-provider-card {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
}
.ship-provider-card.disabled {
  opacity: .58;
}
.ship-provider-card legend {
  padding: 0 8px;
  color: #111827;
  font-weight: 800;
}
.ship-provider-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ship-provider-card img {
  width: 150px;
  max-height: 54px;
  object-fit: contain;
}
.ship-provider-badge {
  min-width: 96px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #2386fb;
  background: #eef6ff;
  font-weight: 800;
  text-align: center;
}
.ship-error {
  flex-basis: 100%;
  color: #dc2626;
  font-weight: 800;
}
.ship-provider-card .btn {
  min-width: 128px;
}
.orders-table tbody tr[data-order-row] td:not(:has(button)):not(:has(input)) {
  cursor: pointer;
}
.orders-table tbody tr[data-order-row]:hover td {
  background: #fbfdff;
}
.original-detail-modal {
  width: min(1220px, calc(100vw - 28px));
}
.exact-detail-modal {
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 0;
  background: #fff;
}
.original-detail-toolbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 6;
}
.original-detail-toolbar .icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.original-detail-toolbar .ship {
  color: #1687ee;
  background: #eaf4ff;
}
.detail-head-spacer {
  flex: 1;
}
.detail-save-btn {
  min-height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
}
.detail-wa,
.detail-call {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}
.detail-wa {
  color: #fff;
  background: #20c763;
}
.detail-call {
  color: #176be6;
  background: #eef6ff;
}
.detail-phone,
.detail-code {
  font-size: 15px;
  color: #111827;
}
.original-detail-layout {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  background: #fff;
  direction: rtl;
}
.original-detail-side,
.original-detail-main {
  display: grid;
  align-content: start;
  gap: 18px;
}
.original-detail-box {
  padding: 16px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(14, 23, 45, .04);
}
.original-detail-box h3,
.cart-detail-title h3 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  color: #111827;
  font-size: 18px;
}
.original-detail-box h3 span,
.cart-detail-title h3 span {
  color: #1687ee;
}
.mini-edit {
  margin-inline-start: auto;
  border: 0;
  color: #1687ee;
  background: transparent;
  font-size: 17px;
}
.agent-card {
  min-height: 44px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  text-align: center;
}
.agent-card img {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.agent-card small {
  overflow: hidden;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.original-detail-box input,
.original-detail-box select,
.original-detail-box textarea {
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
  margin: 4px 0 10px;
  padding: 8px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 7px;
  color: #273041;
  background: #eef1f4;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.original-detail-box textarea {
  min-height: 58px;
  resize: none;
}
.original-detail-box label {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}
.switch-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  margin: 4px 0 10px;
  padding: 0 8px;
  border: 1px solid #dfe5ee;
  border-radius: 7px;
  background: #f4f6f8;
}
.switch-row input {
  width: auto;
  min-height: auto;
  margin: 0;
}
.detail-original-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.detail-original-table th,
.detail-original-table td {
  height: 42px;
  border-bottom: 1px solid #e8edf4;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}
.detail-original-table th {
  color: #111827;
  background: #f7f8fa;
  font-size: 13px;
}
.cart-total-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: #111827;
  font-weight: 800;
}
.cart-total-line b {
  color: #1dbf73;
  font-size: 23px;
}
.cart-detail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.cart-product-thumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cart-product-thumb img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
}
.block-frame {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 32px 18px 14px;
  border: 1px dashed #9cc7ff;
  border-radius: 8px;
}
.solo-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  background: #ff5757;
  font-size: 11px;
}
.block-frame p {
  display: grid;
  grid-template-columns: 1fr 88px 1fr 1fr;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.block-frame em {
  color: #19b96d;
  font-style: normal;
  font-weight: 800;
}
.block-frame button {
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  color: #98a2b3;
  background: #e9edf2;
  font-weight: 800;
}
.exact-detail-modal .order-invoice {
  display: none;
}
.editable-detail-modal input:not([readonly]),
.editable-detail-modal select:not([disabled]),
.editable-detail-modal textarea:not([readonly]) {
  background: #fff;
  border-color: #cfd7e3;
}
.editable-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}
.editable-detail-grid label,
.editable-product-line label {
  display: grid;
  gap: 5px;
}
.editable-product-line {
  display: grid;
  grid-template-columns: 96px 1fr 110px 130px 36px;
  gap: 10px;
  align-items: end;
}
.abandoned-orders-screen .page-head {
  max-width: 1183px;
  margin: 0 auto 58px;
  align-items: center;
}
.abandoned-orders-screen .page-head h1 {
  font-size: 28px;
  font-weight: 900;
  color: #050505;
}
.abandoned-orders-screen .order-add-btn {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: none;
}
.abandoned-filter-panel {
  max-width: 1183px;
  min-height: 78px;
  margin: 0 auto 32px;
  padding: 18px 42px;
  border: 0;
  border-radius: 34px;
  box-shadow: 0 14px 35px rgba(14, 23, 45, .07);
}
.abandoned-toolbar {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 180px 80px 126px;
  gap: 12px;
  align-items: center;
  margin: 0;
  direction: rtl;
}
.abandoned-toolbar input,
.abandoned-toolbar select,
.abandoned-toolbar button {
  width: 100%;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}
.abandoned-toolbar input,
.abandoned-toolbar select {
  border: 1px solid #dfe5ee;
  color: #101828;
  background: #fff;
}
.abandoned-toolbar input {
  padding-inline: 14px;
}
.abandoned-filter-submit {
  padding-inline: 14px;
  color: #fff;
  background: #2378ee;
}
.abandoned-table-panel {
  max-width: 1183px;
  min-height: 492px;
  margin-inline: auto;
  padding: 18px 16px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(14, 23, 45, .05);
}
.abandoned-orders-table {
  border: 0;
  box-shadow: none;
}
.abandoned-orders-screen .orders-table table,
.abandoned-orders-table table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
}
.abandoned-orders-screen .orders-table th,
.abandoned-orders-screen .orders-table td {
  height: 56px;
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}
.abandoned-orders-screen .orders-table th {
  color: #111827;
  background: #fbfcfe;
  font-weight: 900;
}
.abandoned-orders-screen .orders-table td {
  color: #141b2d;
  border-top: 1px solid #eef1f5;
}
.abandoned-orders-screen .orders-table th:nth-child(1),
.abandoned-orders-screen .orders-table td:nth-child(1) { width: 148px; }
.abandoned-orders-screen .orders-table th:nth-child(2),
.abandoned-orders-screen .orders-table td:nth-child(2) { width: 96px; }
.abandoned-orders-screen .orders-table th:nth-child(3),
.abandoned-orders-screen .orders-table td:nth-child(3) { width: 96px; }
.abandoned-orders-screen .orders-table th:nth-child(4),
.abandoned-orders-screen .orders-table td:nth-child(4) { width: 120px; }
.abandoned-orders-screen .orders-table th:nth-child(5),
.abandoned-orders-screen .orders-table td:nth-child(5) { width: 124px; }
.abandoned-orders-screen .orders-table th:nth-child(6),
.abandoned-orders-screen .orders-table td:nth-child(6) { width: 120px; }
.abandoned-orders-screen .orders-table th:nth-child(7),
.abandoned-orders-screen .orders-table td:nth-child(7) { width: 86px; }
.abandoned-orders-screen .orders-table th:nth-child(8),
.abandoned-orders-screen .orders-table td:nth-child(8) { width: 104px; }
.abandoned-orders-screen .orders-table th:nth-child(9),
.abandoned-orders-screen .orders-table td:nth-child(9) { width: 116px; }
.abandoned-orders-screen .orders-table th:nth-child(10),
.abandoned-orders-screen .orders-table td:nth-child(10),
.abandoned-orders-screen .orders-table th:nth-child(11),
.abandoned-orders-screen .orders-table td:nth-child(11),
.abandoned-orders-screen .orders-table th:nth-child(12),
.abandoned-orders-screen .orders-table td:nth-child(12) {
  position: static;
  width: auto;
  box-shadow: none;
}
.abandoned-source {
  color: #111827;
  font-weight: 800;
}
.abandoned-phone {
  direction: ltr;
  font-weight: 800;
}
.abandoned-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #f59e0b;
  background: #fff7ed;
  font-weight: 900;
}
.complete-uncompleted-btn {
  min-width: 102px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  background: #2378ee;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: none;
}
.spam-orders-screen .page-head {
  max-width: 1183px;
  margin: 0 auto 26px;
  align-items: center;
}
.spam-orders-screen .page-head h1 {
  font-size: 28px;
  font-weight: 900;
  color: #050505;
}
.spam-top-actions {
  max-width: 1183px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 auto 72px;
}
.spam-top-actions button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #dbe6f2;
  border-radius: 8px;
  color: #1f2937;
  background: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(14, 23, 45, .045);
}
.spam-top-actions button.active {
  color: #fff;
  border-color: #2378ee;
  background: #2378ee;
}
.spam-filter-panel {
  margin-bottom: 32px;
}
.spam-table-panel {
  max-width: 1183px;
  min-height: 492px;
  margin-inline: auto;
  padding: 18px 16px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(14, 23, 45, .05);
}
.spam-orders-table {
  border: 0;
  box-shadow: none;
}
.spam-orders-screen .orders-table table,
.spam-orders-table table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
}
.spam-orders-screen .orders-table th,
.spam-orders-screen .orders-table td {
  height: 56px;
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}
.spam-orders-screen .orders-table th {
  color: #111827;
  background: #fbfcfe;
  font-weight: 900;
}
.spam-orders-screen .orders-table td {
  color: #141b2d;
  border-top: 1px solid #eef1f5;
}
.spam-orders-screen .orders-table th:nth-child(1),
.spam-orders-screen .orders-table td:nth-child(1) { width: 146px; }
.spam-orders-screen .orders-table th:nth-child(2),
.spam-orders-screen .orders-table td:nth-child(2) { width: 104px; }
.spam-orders-screen .orders-table th:nth-child(3),
.spam-orders-screen .orders-table td:nth-child(3) { width: 160px; }
.spam-orders-screen .orders-table th:nth-child(4),
.spam-orders-screen .orders-table td:nth-child(4) { width: 126px; }
.spam-orders-screen .orders-table th:nth-child(5),
.spam-orders-screen .orders-table td:nth-child(5) { width: 132px; }
.spam-orders-screen .orders-table th:nth-child(6),
.spam-orders-screen .orders-table td:nth-child(6) { width: 132px; }
.spam-orders-screen .orders-table th:nth-child(7),
.spam-orders-screen .orders-table td:nth-child(7) { width: 106px; }
.spam-orders-screen .orders-table th:nth-child(8),
.spam-orders-screen .orders-table td:nth-child(8) { width: 126px; }
.spam-orders-screen .orders-table th:nth-child(9),
.spam-orders-screen .orders-table td:nth-child(9),
.spam-orders-screen .orders-table th:nth-child(10),
.spam-orders-screen .orders-table td:nth-child(10),
.spam-orders-screen .orders-table th:nth-child(11),
.spam-orders-screen .orders-table td:nth-child(11),
.spam-orders-screen .orders-table th:nth-child(12),
.spam-orders-screen .orders-table td:nth-child(12) {
  position: static;
  width: auto;
  box-shadow: none;
}
.spam-detail-btn {
  min-width: 96px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  color: #fff;
  background: #2378ee;
  font-size: 13px;
  font-weight: 900;
  box-shadow: none;
}
.spam-block-panel {
  max-width: 1183px;
  margin: -48px auto 28px;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(14, 23, 45, .05);
}
.spam-block-panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
}
.spam-block-panel table {
  width: 100%;
  border-collapse: collapse;
}
.spam-block-panel th,
.spam-block-panel td {
  height: 48px;
  padding: 9px 12px;
  border-top: 1px solid #eef1f5;
  text-align: center;
}
.products-all-screen .page-head {
  max-width: 1183px;
  margin: 0 auto 22px;
  align-items: center;
}
.products-all-screen .page-head h1 {
  margin: 0;
  color: #050505;
  font-size: 28px;
  font-weight: 900;
}
.products-all-screen .product-add-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  background: #2378ee;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: none;
}
.products-all-panel {
  max-width: 1183px;
  min-height: 0;
  margin: 0 auto 18px;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(14, 23, 45, .05);
}
.products-all-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  direction: rtl;
}
.products-all-toolbar input,
.products-all-toolbar button {
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}
.products-all-toolbar input {
  border: 1px solid #dfe5ee;
  padding: 8px 14px;
  color: #101828;
  background: #fff;
}
.products-all-toolbar .product-search-btn {
  color: #fff;
  background: #2378ee;
  box-shadow: none;
}
.products-all-table {
  border: 0;
  box-shadow: none;
}
.products-all-screen .products-table table,
.products-all-table table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
}
.products-all-screen .products-table th,
.products-all-screen .products-table td {
  height: 50px;
  padding: 7px 8px;
  font-size: 12.5px;
  text-align: center;
  white-space: nowrap;
}
.products-all-screen .products-table th {
  color: #111827;
  background: #fbfcfe;
  font-weight: 900;
}
.products-all-screen .products-table td {
  border-top: 1px solid #eef1f5;
  color: #141b2d;
}
.products-all-screen .products-table th:nth-child(1),
.products-all-screen .products-table td:nth-child(1) { width: 82px; }
.products-all-screen .products-table th:nth-child(2),
.products-all-screen .products-table td:nth-child(2) { width: 214px; }
.products-all-screen .products-table th:nth-child(3),
.products-all-screen .products-table td:nth-child(3) { width: 92px; }
.products-all-screen .products-table th:nth-child(4),
.products-all-screen .products-table td:nth-child(4) { width: 88px; }
.products-all-screen .products-table th:nth-child(5),
.products-all-screen .products-table td:nth-child(5) { width: 78px; }
.products-all-screen .products-table th:nth-child(6),
.products-all-screen .products-table td:nth-child(6) { width: 104px; }
.products-all-screen .products-table th:nth-child(7),
.products-all-screen .products-table td:nth-child(7) { width: 104px; }
.products-all-screen .products-table th:nth-child(8),
.products-all-screen .products-table td:nth-child(8) { width: 94px; }
.products-all-screen .products-table th:nth-child(9),
.products-all-screen .products-table td:nth-child(9) { width: 94px; }
.products-all-screen .products-table th:nth-child(10),
.products-all-screen .products-table td:nth-child(10) { width: 70px; }
.products-all-screen .products-table th:nth-child(11),
.products-all-screen .products-table td:nth-child(11) {
  width: 70px;
  position: static;
  left: auto;
  z-index: auto;
  box-shadow: none;
}
.products-all-screen .products-table .product-name-col {
  width: 214px;
}
.products-all-screen .products-table td.product-name-col {
  max-width: 214px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}
.products-all-screen .table-wrap {
  max-height: min(720px, calc(100vh - 240px));
  overflow: auto;
}
.products-all-screen .metric-chip {
  min-width: 52px;
  min-height: 28px;
  padding: 4px 8px;
  font-size: 12px;
}
.original-product-thumb {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  border: 1px solid #d7dee9;
  object-fit: cover;
}
.products-all-screen .product-dots {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid #dfe5ee;
  color: #667085;
  background: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.products-all-screen .product-dots::-webkit-details-marker {
  display: none;
}
.products-all-screen .native-product-menu {
  position: relative;
  display: inline-block;
}
.products-all-screen .product-row-menu {
  display: none;
  position: absolute;
  left: 8px;
  right: auto;
  top: 34px;
  width: 128px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(14, 23, 45, .12);
  background: #fff;
  z-index: 20;
}
.products-all-screen .product-menu-wrap.open .product-row-menu {
  display: grid;
}
.products-all-screen .product-row-menu button {
  min-height: 34px;
  font-size: 13px;
  font-weight: 800;
}
.products-all-screen .products-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.products-all-screen .products-pagination button {
  width: 26px;
  height: 26px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #344054;
  background: #fff;
  font-weight: 900;
}
.products-all-screen .products-pagination button.active {
  color: #fff;
  border-color: #2386fb;
  background: #2386fb;
}
.orders-screen .orders-table th:nth-child(10),
.orders-screen .orders-table td:nth-child(10),
.orders-screen .orders-table th:nth-child(11),
.orders-screen .orders-table td:nth-child(11),
.orders-screen .orders-table th:nth-child(12),
.orders-screen .orders-table td:nth-child(12) {
  position: sticky;
  background: #fff;
  box-shadow: -1px 0 0 #eef1f5;
}
.orders-screen .orders-table th:nth-child(10),
.orders-screen .orders-table th:nth-child(11),
.orders-screen .orders-table th:nth-child(12) {
  background: #fbfcfe;
  z-index: 7;
}
.orders-screen .orders-table td:nth-child(10),
.orders-screen .orders-table td:nth-child(11),
.orders-screen .orders-table td:nth-child(12) {
  z-index: 6;
}
.orders-screen .orders-table th:nth-child(12),
.orders-screen .orders-table td:nth-child(12) {
  left: 0;
  width: 170px;
}
.orders-screen .orders-table th:nth-child(11),
.orders-screen .orders-table td:nth-child(11) {
  left: 170px;
  width: 150px;
}
.orders-screen .orders-table th:nth-child(10),
.orders-screen .orders-table td:nth-child(10) {
  left: 320px;
  width: 145px;
}
.orders-screen .orders-table table {
  min-width: 1460px;
}
.original-detail-head h2 {
  margin: 0;
  font-size: 24px;
}
.original-detail-head p {
  margin: 5px 0 0;
  color: #667085;
}
.original-detail-head p span {
  margin-inline-start: 8px;
}
.original-detail-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.original-detail-status b,
.original-detail-status span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  color: #2386fb;
  background: rgba(35, 134, 251, .08);
  font-weight: 900;
}
.original-detail-status b {
  color: #111827;
  background: #f6f8fb;
}
.original-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.original-detail-grid fieldset,
.original-cart-detail,
.original-block-detail {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}
.original-detail-grid fieldset {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
  margin: 0;
  padding: 14px;
}
.original-detail-grid legend {
  padding: 0 8px;
  color: #111827;
  font-weight: 900;
}
.original-detail-grid label {
  color: #667085;
  font-size: 13px;
}
.original-detail-grid strong,
.original-detail-grid p {
  margin: 0 0 4px;
  color: #101828;
  font-size: 14px;
}
.original-cart-detail,
.original-block-detail {
  margin-top: 14px;
  padding: 14px;
}
.cart-detail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.original-cart-detail table {
  width: 100%;
  border-collapse: collapse;
}
.original-cart-detail th,
.original-cart-detail td {
  padding: 10px;
  border-top: 1px solid #edf1f7;
  text-align: center;
}
.original-block-detail h3 {
  margin: 0 0 12px;
}
.original-block-detail h3 span {
  margin-inline-start: 8px;
  color: #2386fb;
  font-size: 13px;
}
.original-block-detail div {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 120px 120px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #edf1f7;
}
.original-block-detail b {
  color: #16a34a;
}
.mobile-menu { display: none; }
@media (max-width: 1320px) {
  .sidebar { width: 224px; }
  .workspace { width: calc(100% - 224px); margin-right: 224px; }
  .topbar { height: 86px; grid-template-columns: 190px minmax(0, 1fr) 172px; gap: 8px; padding-inline: 10px; }
  .welcome { width: 172px; padding-left: 12px; }
  .welcome strong { font-size: 21px; }
  .welcome .circle { left: -14px; top: 20px; }
  .top-cards { gap: 6px; overflow: hidden; }
  .top-cards > .btn { width: 88px; min-height: 42px; height: 42px; font-size: 14px; padding-inline: 8px; }
  .top-card { width: 118px; min-width: 118px; height: 62px; padding-inline: 8px; grid-template-columns: 34px 1fr; column-gap: 6px; }
  .top-card.ai { width: 118px; min-width: 118px; }
  .wallet-card { width: 126px; min-width: 126px; }
  .wallet-open-card i { left: 7px; top: 10px; width: 22px; height: 22px; }
  .top-card.plan { width: 128px; min-width: 128px; grid-template-columns: 64px 1fr; }
  .top-card span:not(.mini-pill):not(.top-card-icon) { font-size: 12px; }
  .top-card strong { font-size: 17px; }
  .top-card img { width: 34px; }
  .top-card-icon { width: 32px; height: 32px; font-size: 18px; }
  .tools { gap: 7px; padding-right: 8px; }
  .lang { height: 34px; min-width: 50px; padding-inline: 7px; gap: 3px; font-size: 14px; }
  .avatar-menu { min-width: 54px; height: 62px; gap: 5px; }
  .avatar { width: 34px; height: 34px; }
  .tool-icon { min-width: 22px; min-height: 22px; font-size: 18px; }
  .tool-icon.moon { font-size: 21px; }
  .stats, .cards-grid, .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .order-toolbar { grid-template-columns: repeat(2, 118px) minmax(190px, 1fr) 118px 128px 74px 100px; }
  .bulk-actions .btn { min-height: 38px; padding-inline: 10px; font-size: 13px; }
  .orders-table table { min-width: 1100px; }
  .banner-layout { grid-template-columns: 1fr; }
  .product-create-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .ai-tool-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .sidebar {
    right: 0;
    left: auto;
    width: min(224px, calc(100vw - 54px));
    max-width: calc(100vw - 54px);
    transform: translateX(calc(100% + 18px));
    visibility: hidden;
    pointer-events: none;
    transition: transform .2s ease, visibility .2s ease;
  }
  .sidebar.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .workspace { width: 100%; max-width: 100%; margin-right: 0; overflow-x: hidden; }
  .topbar { height: auto; min-height: 88px; display: flex; flex-wrap: wrap; gap: 12px; padding: 14px 18px; direction: rtl; overflow: visible; }
  .welcome { flex: 1 1 180px; width: auto; }
  .tools { order: 2; border-right: 0; padding-right: 0; }
  .top-cards { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; }
  .content { padding: 18px 14px 40px; }
  .page-head {
    align-items: flex-start;
    gap: 10px;
  }
  .page-head h1 {
    font-size: 24px;
    line-height: 1.25;
  }
  .original-categories-screen .page-head,
  .original-category-list {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
  .original-categories-screen {
    transform: none;
  }
  .original-category-card {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .original-category-card h3 {
    min-width: 0;
  }
  .original-category-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .original-category-actions .btn {
    flex: 1 1 190px;
  }
  .category-original-backdrop {
    padding: 12px;
  }
  .category-original-modal,
  .category-original-submit {
    width: 100%;
  }
  .category-original-form {
    padding: 56px 14px 14px;
  }
  .category-slug-input {
    grid-template-columns: 1fr;
  }
  .category-slug-input input,
  .category-slug-input span {
    border-radius: 8px !important;
    border: 1px solid #ced4da;
  }
  .page-head .actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .topbar .top-card {
    flex: 0 0 124px;
  }
  .topbar .btn {
    flex: 0 0 auto;
  }
  .order-toolbar {
    grid-template-columns: 1fr;
  }
  .bulk-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .bulk-actions span {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .bulk-actions .btn {
    width: 100%;
    min-height: 38px;
    padding-inline: 8px;
    font-size: 12px;
  }
  .orders-table table {
    min-width: 1080px;
  }
  .table-wrap {
    max-width: 100%;
  }
  .orders-table th,
  .orders-table td {
    height: 58px;
    font-size: 12px;
  }
  .orders-table .actions-col {
    width: 154px;
  }
  .order-actions .icon-btn {
    min-width: 27px;
    width: 27px;
    height: 27px;
    font-size: 12px;
  }
  .modal {
    width: min(100% - 24px, 760px);
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
  .modal-head,
  .modal-foot {
    padding: 14px 16px;
  }
  .modal-body {
    padding: 16px;
  }
  .wallet-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ai-stars-balance-panel,
  .ai-stars-packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wallet-balance-panel {
    padding: 16px;
  }
  .wallet-balance-panel strong {
    font-size: 25px;
  }
  .wallet-balance-panel img {
    width: 58px;
    height: 58px;
  }
  .order-detail-header,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
  .filters, .dashboard-grid, .settings-grid, .cards-grid, .form-grid, .ratio-grid, .compact-toggles, .product-create-layout, .theme-grid, .banner-grid { grid-template-columns: 1fr; }
  .product-create-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-create-screen .product-create-main {
    grid-template-columns: 1fr;
    grid-column: 1;
  }
  .product-create-side {
    grid-column: 1;
  }
  .product-create-screen .product-create-main > .create-panel:first-child,
  .product-create-screen .product-create-main > .create-panel:nth-child(2),
  .product-create-screen .product-create-main > .upload-panel,
  .product-create-screen .product-create-main > .create-panel:not(:first-child):not(:nth-child(2)):not(.upload-panel) {
    grid-column: 1;
    grid-row: auto;
  }
  .product-create-screen .product-create-main > .upload-panel {
    position: static;
  }
  .support-layout,
  .affiliate-layout,
  .affiliate-intro {
    grid-template-columns: 1fr;
  }
  .support-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .affiliate-copy,
  .catalog-filter .toolbar {
    grid-template-columns: 1fr;
  }
  .support-video-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .support-video-play,
  .support-icon {
    margin-inline: auto;
  }
  .support-original-form {
    max-width: 100%;
  }
  .admin-card {
    min-height: auto;
  }
  .order-create-modal {
    width: min(100% - 24px, 760px);
  }
  .order-cart-preview {
    align-items: stretch;
    flex-direction: column;
  }
  .sticky-panel { position: static; }
  .detail-grid, .mini-stats { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .stats { grid-template-columns: 1fr; }
  .banner { height: 145px; }
  .mobile-menu {
    display: grid;
    place-items: center;
    position: fixed;
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 8px 22px rgba(22,135,238,.35);
    z-index: 10;
  }
  .store-header {
    height: auto;
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }
  .store-header nav,
  .store-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .store-hero {
    grid-template-columns: 1fr;
    padding: 28px 18px 48px;
    background: linear-gradient(180deg, #9c3c1e, #f7f8fb);
  }
  .hero-copy {
    text-align: center;
    justify-self: center;
  }
  .hero-products {
    height: auto;
    margin-top: 22px;
  }
  .hero-products img {
    width: 30%;
    height: 150px;
  }
  .hero-products img:nth-child(2) {
    width: 36%;
    height: 180px;
  }
  .store-services,
  .offer-grid,
  .store-products {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }
  .category-strip {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 16px;
  }
  .store-filter-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .offer-card {
    grid-template-columns: 120px 1fr;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 22px 16px 80px;
    max-width: calc(100vw - 32px);
    overflow: hidden;
  }
  .product-gallery {
    grid-column: 1 / -1 !important;
    position: static;
    width: 100%;
    max-width: 100%;
  }
  .product-buy,
  .product-description {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
  }
  .product-main-image {
    max-width: 100%;
  }
  .product-thumbs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .order-fields {
    grid-template-columns: 1fr;
  }
  .order-form {
    padding-inline: 14px;
  }
  .offer-choice h3 {
    text-align: center;
  }
  .offer-choice label {
    padding-inline: 48px 12px;
  }
  .product-buy h1 {
    font-size: 24px;
  }
  .detail-price {
    flex-wrap: wrap;
  }
  .store-content {
    width: min(100% - 28px, 520px);
    margin: 34px auto 54px;
  }
  .store-content h1 {
    font-size: 28px;
  }
  .store-content-lead,
  .store-content-body p {
    font-size: 16px;
  }
  .store-content-form {
    padding: 16px;
  }
  .store-footer {
    margin-top: 42px;
  }
  .store-footer-logo {
    height: 70px;
  }
  .store-footer-inner {
    width: min(100% - 28px, 520px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 0;
    text-align: center;
  }
  .footer-about {
    justify-items: center;
    text-align: center;
  }
  .footer-about p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.8;
  }
  .footer-about strong {
    font-size: 18px;
  }
  .footer-phone {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-phone span {
    width: 44px;
    height: 44px;
  }
  .footer-socials {
    justify-content: center;
    flex-wrap: wrap;
  }
  .ecommerce-storefront .store-footer-inner {
    width: min(100% - 24px, 560px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0 20px;
  }
  .ecommerce-storefront .footer-brand-line,
  .footer-trust-row {
    justify-content: center;
  }
  .footer-contact-card {
    grid-template-columns: 46px 1fr;
    padding: 12px;
    text-align: right;
  }
  .footer-contact-card > span {
    width: 46px;
    height: 46px;
  }
  .footer-contact-card a,
  .footer-contact-card strong {
    font-size: 17px;
  }
  .ecommerce-storefront .footer-socials {
    justify-content: flex-start;
  }
  .footer-column {
    justify-items: center;
    gap: 9px;
  }
  .footer-column h3 {
    margin-bottom: 3px;
    font-size: 17px;
  }
  .footer-column a {
    font-size: 15px;
  }
  .footer-line,
  .footer-rights {
    grid-column: auto;
  }
  .footer-line {
    width: 100%;
    margin-top: 8px;
  }
  .footer-rights {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .pro-store-header {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    text-align: center;
  }
  .pro-store-brand,
  .pro-store-header nav,
  .pro-store-actions {
    justify-content: center !important;
    flex-wrap: wrap;
  }
  .pro-store-search {
    width: 100% !important;
    max-width: 330px;
  }
  .pro-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    gap: 22px !important;
    padding: 34px 14px 42px !important;
  }
  .pro-hero-copy {
    max-width: 100% !important;
    text-align: center !important;
  }
  .pro-hero-copy h1 {
    font-size: 34px !important;
    line-height: 1.25 !important;
  }
  .pro-hero-copy p {
    font-size: 15px !important;
    line-height: 1.8 !important;
  }
  .pro-hero-actions {
    justify-content: center !important;
  }
  .pro-hero-actions button {
    min-width: 135px !important;
  }
  .pro-hero-feature {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .pro-hero-feature article img {
    height: 230px !important;
  }
  .pro-mini-stack {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .pro-mini-stack button {
    min-height: 78px !important;
  }
  .pro-trust-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin: 18px 14px 0 !important;
  }
  .pro-category-wall,
  .pro-about-section {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: calc(100% - 28px) !important;
    margin: 34px auto !important;
  }
  .pro-products-section,
  .pro-contact-section {
    width: calc(100% - 28px) !important;
    margin: 34px auto !important;
  }
  .pro-category-wall h2,
  .pro-section-head h2,
  .pro-about-section h2,
  .pro-contact-section h2 {
    font-size: 27px !important;
  }
  .pro-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .pro-products-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .pro-product-card.featured {
    grid-row: auto !important;
  }
  .pro-product-card.featured .pro-product-image,
  .pro-product-image {
    height: 240px !important;
  }
  .pro-section-head {
    display: block !important;
    text-align: right !important;
  }
  .pro-section-head::after {
    display: inline-block;
    margin-top: 10px;
  }
}

/* Restore previous professional product layout; only product order is adjusted in JS. */
.pro-products-grid {
  grid-template-columns: 1.08fr 1fr 1fr !important;
  align-items: start !important;
}
.pro-product-card.featured {
  grid-column: auto !important;
  grid-row: span 2 !important;
  display: block !important;
}
.pro-product-card.featured .pro-product-image {
  height: 438px !important;
  min-height: 0 !important;
}
.pro-product-card.featured .pro-product-content {
  display: block !important;
}
@media (max-width: 1100px) {
  .pro-products-grid {
    grid-template-columns: 1fr !important;
  }
  .pro-product-card.featured {
    grid-row: auto !important;
  }
  .pro-product-card.featured .pro-product-image {
    height: 260px !important;
  }
}

/* Original-like extensions page */
.extensions-original-page {
  padding: 34px 34px 48px !important;
  background: #f8fafc !important;
}
.extensions-original-head {
  max-width: 1188px;
  margin: 0 auto 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.extensions-original-head h1 {
  margin: 0;
  color: #0f172a;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}
.services-activate-btn {
  min-height: 42px;
  border-radius: 7px !important;
  background: #1687ee !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 24px rgba(22, 135, 238, 0.18);
}

/* Original-like apps page */
.apps-original-page {
  padding: 34px 34px 54px !important;
  background: #f6f8fb !important;
}
.apps-original-head {
  max-width: 1188px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.apps-original-head h1 {
  margin: 0;
  color: #050816;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}
.apps-original-summary,
.apps-original-tabs {
  max-width: 1188px;
  margin-inline: auto;
}
.apps-original-summary {
  margin-bottom: 16px;
}
.apps-original-tabs {
  margin-bottom: 18px;
  justify-content: center;
}
.apps-original-grid {
  max-width: 1188px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}
.original-app-card {
  min-height: 350px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.035);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.original-app-cover {
  height: 80px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  overflow: hidden;
}
.original-app-cover.facebook,
.original-app-cover.domain {
  background: linear-gradient(135deg, #37559f, #5272b8);
}
.original-app-cover.tag {
  background: linear-gradient(135deg, #4285f4, #4f8ef7);
  font-size: 48px;
}
.original-app-cover.analytics {
  background: linear-gradient(135deg, #fff7e7, #ffb000 70%);
  color: #7a4c00;
  font-size: 19px;
}
.original-app-cover.sheets {
  background: #18a85e;
  font-size: 23px;
}
.original-app-cover.tiktok-api,
.original-app-cover.tiktok {
  background: #050505;
  color: #fff;
  font-size: 26px;
  text-shadow: 2px 0 #00f2ea, -2px 0 #ff0050;
}
.original-app-cover.conversion {
  background: #1167f4;
  font-size: 27px;
}
.original-app-status-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.original-app-status-row .status {
  min-width: 78px;
  font-size: 12px;
}
.original-app-card h3 {
  margin: 12px 0 8px;
  color: #050816;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}
.original-app-card p {
  margin: 0 auto;
  min-height: 50px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
  text-align: center;
}
.original-app-plan {
  align-self: center;
  margin-top: 12px;
  min-height: 27px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff5a5f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.original-app-limit {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #050816;
  font-size: 13px;
  font-weight: 800;
}
.original-app-progress {
  margin-top: 9px;
  height: 6px;
  border-radius: 999px;
  background: #edf1f6;
  overflow: hidden;
}
.original-app-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1687ee;
}
.original-app-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}
.original-app-meta b {
  color: #111827;
}
.original-app-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf1f6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.original-app-settings,
.original-app-toggle {
  min-height: 42px;
  border-radius: 7px;
  border: 1px solid #dfe7f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.original-app-settings {
  background: #1687ee;
  border-color: #1687ee;
  color: #fff;
}
.original-app-toggle {
  background: #fff;
  color: #111827;
}
.original-app-toggle .extension-original-switch {
  color: #b8c1cf;
}
.original-app-toggle.active .extension-original-switch {
  color: #1687ee;
}
.original-app-settings:disabled,
.original-app-toggle:disabled {
  background: #edf0f4;
  border-color: #edf0f4;
  color: #a5adba;
  cursor: not-allowed;
}
.original-app-card.locked {
  outline: 1px dashed rgba(22, 135, 238, 0.6);
  outline-offset: 3px;
}
.integration-real-modal {
  max-width: 760px !important;
}
.integration-real-note {
  padding: 13px 15px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}
.integration-real-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Original-like sub stores page */
.substores-original-page {
  padding: 30px 0 58px !important;
  background: #f6f8fb !important;
}
.substores-original-head {
  width: calc(100% - 60px);
  max-width: 1188px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.substores-original-head h1 {
  margin: 0;
  color: #050816;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.25;
}
.substore-create-main {
  min-height: 43px;
  border-radius: 7px !important;
  background: #1687ee !important;
  color: #fff !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}
.substores-original-layout {
  width: calc(100% - 60px);
  max-width: 1188px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  direction: ltr;
}
.substores-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  direction: rtl;
}
.substore-help-card,
.substore-original-card {
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
}
.substore-help-card {
  padding: 23px 18px 16px;
  text-align: right;
  direction: rtl;
}
.substore-help-card h2 {
  margin: 0 0 20px;
  color: #2f86ed;
  font-size: 24px;
  font-weight: 800;
}
.substore-help-card p {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.85;
}
.substore-video-card {
  margin-top: 20px;
  width: 100%;
  min-height: 172px;
  border: 0;
  border-radius: 6px;
  padding: 14px;
  background: #4a89e5;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  font-family: inherit;
  text-align: right;
  cursor: pointer;
}
.substore-video-card small {
  font-size: 15px;
  font-weight: 800;
}
.substore-video-card strong {
  width: 100%;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.substore-video-card span {
  align-self: flex-end;
  font-size: 26px;
}
.substore-original-card {
  min-height: 220px;
  padding: 18px 18px 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.substore-kebab {
  position: absolute;
  top: 22px;
  left: 20px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 27px;
  cursor: pointer;
}
.substore-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
}
.substore-logo {
  width: 54px;
  height: 54px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1687ee;
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}
.substore-logo.custom {
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
  font-size: 10px;
  line-height: 1.1;
}

.substore-logo.image {
  padding: 4px;
  background: #fff;
  border: 1px solid #dbeafe;
  box-shadow: 0 8px 18px rgba(0, 91, 215, .12);
}

.substore-logo.image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.substore-title-row h3 {
  margin: 0 0 5px;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
.substore-open-icon {
  color: #1687ee;
  font-size: 19px;
}
.substore-title-row time {
  display: block;
  color: #1687ee;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.substore-meta {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  text-align: right;
}
.substore-meta li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}
.substore-meta span {
  color: #111827;
  opacity: 0.75;
}
.substore-card-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.substore-preview-btn {
  min-height: 42px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  color: #1687ee;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.substore-dashboard-btn {
  min-width: 122px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #eaf3ff;
  color: #1687ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.substore-switch input {
  display: none;
}
.substore-switch i {
  width: 40px;
  height: 21px;
  border-radius: 999px;
  background: #d9e3ef;
  display: block;
  position: relative;
  cursor: pointer;
}
.substore-switch i::after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  right: 3px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
}
.substore-switch input:checked + i {
  background: #1687ee;
}
.substore-switch input:checked + i::after {
  right: 22px;
}
.substore-menu {
  position: absolute;
  left: 18px;
  top: 54px;
  min-width: 118px;
  padding: 7px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  display: none;
  z-index: 5;
}
.substore-menu.open {
  display: grid;
  gap: 4px;
}
.substore-menu button {
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 9px 10px;
  text-align: right;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}
.substore-menu button:hover {
  background: #f1f5f9;
}
.substore-original-modal {
  max-width: 720px !important;
}
.substore-create-original-modal {
  max-width: 980px !important;
  padding: 0 !important;
  overflow: hidden;
}
.substore-modal-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 620px;
  background: #fff;
  direction: ltr;
}
.substore-create-help {
  padding: 34px 28px;
  background: linear-gradient(180deg, #1687ee, #0b66cf);
  color: #fff;
  text-align: right;
  direction: rtl;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.substore-create-badge {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-right: auto;
  margin-bottom: 22px;
}
.substore-create-help h3 {
  margin: 0 0 14px;
  font-size: 29px;
  font-weight: 900;
}
.substore-create-help p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}
.substore-create-help ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.substore-create-help li {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 14px;
  font-weight: 800;
}
.substore-create-form-wrap {
  direction: rtl;
  min-width: 0;
}
.substore-create-head {
  padding: 24px 28px 18px !important;
  border-bottom: 1px solid #eef2f7;
}
.substore-create-head span {
  display: block;
  color: #1687ee;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 5px;
}
.substore-create-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 27px;
  font-weight: 900;
}
.substore-create-form {
  padding: 22px 28px 24px !important;
  display: grid;
  gap: 18px;
}
.substore-create-section {
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: 16px;
  background: #fbfdff;
}
.substore-create-section h4 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
}
.substore-create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.substore-form-field {
  display: grid;
  gap: 7px;
}
.substore-form-field span {
  color: #1f2937;
  font-size: 13px;
  font-weight: 900;
}
.substore-form-field span i {
  color: #ef4444;
  font-style: normal;
  margin-right: 4px;
}
.substore-form-field input,
.substore-form-field select {
  min-height: 44px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  padding: 0 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  outline: none;
}
.substore-form-field input:focus,
.substore-form-field select:focus {
  border-color: #1687ee;
  box-shadow: 0 0 0 3px rgba(22, 135, 238, 0.12);
}
.substore-form-field small {
  color: #8a94a6;
  font-size: 12px;
  font-weight: 700;
}
.substore-create-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.substore-create-options label {
  min-height: 44px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #f8fbff;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}
.substore-create-preview {
  min-height: 78px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 12px 16px;
}
.substore-create-preview b,
.substore-create-preview span {
  display: block;
  text-align: right;
}
.substore-create-preview b {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}
.substore-create-preview span {
  color: #1687ee;
  font-size: 13px;
  font-weight: 900;
}
.substore-create-actions {
  margin-top: 0 !important;
  padding-top: 2px;
}
.substore-create-actions .btn {
  min-width: 142px;
}
.substore-team-page {
  padding-bottom: 54px;
}
.substore-team-hero {
  min-height: 112px;
  border: 1px solid #e8eef6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  margin-bottom: 18px;
}
.substore-team-hero > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.substore-team-hero span,
.substore-team-hero p {
  color: #8b96a8;
  font-weight: 800;
}
.substore-team-hero h2 {
  margin: 2px 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
}
.substore-team-hero p {
  margin: 0;
}
.substore-team-hero button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: #eaf3ff;
  color: #1687ee;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}
.substore-team-tabs {
  margin-top: 6px;
}
.substore-team-filter .toolbar {
  grid-template-columns: minmax(240px, 1fr) 180px 150px;
}
.substore-team-table th,
.substore-team-table td {
  white-space: nowrap;
}
.substore-permission-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 190px;
}
.substore-permission-chips span {
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1687ee;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
}
.substore-user-modal {
  max-width: 760px !important;
}
.team-original-page {
  padding-bottom: 54px;
}
.team-original-hero {
  min-height: 112px;
  border: 1px solid #e8eef6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  margin-bottom: 18px;
}
.team-original-hero span,
.team-original-hero p {
  color: #8b96a8;
  font-weight: 800;
}
.team-original-hero h2 {
  margin: 2px 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
}
.team-original-hero p {
  margin: 0;
}
.team-original-hero button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: #eaf3ff;
  color: #1687ee;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}
.team-original-tabs {
  margin-top: 6px;
}
.team-original-filter .toolbar {
  grid-template-columns: minmax(240px, 1fr) 180px 150px;
}
.team-original-table th,
.team-original-table td {
  white-space: nowrap;
}
.team-user-modal {
  max-width: 800px !important;
}
.team-permissions-box {
  border: 1px solid #e8eef6;
  border-radius: 8px;
  background: #fbfdff;
  padding: 16px;
}
.team-permissions-box h4 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}
.team-original-verified {
  padding-bottom: 50px;
}
.team-verified-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 4px 0 22px;
}
.team-verified-tabs a {
  min-width: 128px;
  min-height: 42px;
  border-radius: 8px;
  background: #eef6ff;
  color: #1687ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
}
.team-verified-tabs a.active {
  background: #1687ee;
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 135, 238, 0.18);
}
.team-verified-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}
.team-verified-title-row h2 {
  margin: 0;
  color: #050816;
  font-size: 28px;
  font-weight: 900;
}
.team-verified-title-row > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-verified-filter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 0 18px;
}
.team-verified-filter input,
.team-verified-filter select {
  min-height: 44px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
}
.team-verified-filter input {
  min-width: 320px;
}
.team-verified-filter select {
  min-width: 172px;
}
.team-verified-table-panel {
  padding: 0 !important;
  overflow: hidden;
}
.team-verified-table table {
  min-width: 980px;
}
.team-verified-table th {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}
.team-verified-table td {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.team-verified-switch input {
  display: none;
}
.team-verified-switch i {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #d9e3ef;
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.team-verified-switch i::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  right: 3px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.24);
}
.team-verified-switch input:checked + i {
  background: #1687ee;
}
.team-verified-switch input:checked + i::after {
  right: 21px;
}
.team-verified-pagination {
  min-height: 60px;
  border-top: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.team-verified-pagination button {
  min-width: 34px;
  height: 34px;
  border: 1px solid #dfe7f1;
  border-radius: 7px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-weight: 900;
}
.team-verified-pagination button.active {
  background: #1687ee;
  color: #fff;
  border-color: #1687ee;
}
.upgrade-original-page {
  padding: 34px 30px 58px !important;
  background: #f6f8fb !important;
}
.upgrade-original-head {
  text-align: center;
  margin: 0 auto 28px;
}
.upgrade-original-head h1 {
  margin: 0 0 12px;
  color: #050816;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
}
.upgrade-original-head p {
  margin: 0;
  color: #8b96a8;
  font-size: 17px;
  font-weight: 800;
}
.upgrade-original-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.upgrade-original-card {
  min-height: 760px;
  border: 1px solid #e9eef6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  text-align: right;
  position: relative;
}
.upgrade-original-card.current {
  border-color: #1687ee;
  box-shadow: 0 18px 36px rgba(22, 135, 238, 0.12);
}
.upgrade-original-card.current::before {
  content: "STARTER *";
  position: absolute;
  top: 16px;
  left: 16px;
  min-height: 29px;
  border-radius: 999px;
  padding: 5px 12px;
  background: #1687ee;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.upgrade-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  direction: rtl;
  margin-bottom: 18px;
}
.upgrade-price strong {
  color: #0f172a;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}
.upgrade-price del {
  color: #9aa4b2;
  font-size: 15px;
  font-weight: 800;
}
.upgrade-price em {
  border-radius: 999px;
  background: #ecfdf5;
  color: #10b981;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  padding: 4px 8px;
}
.upgrade-price span {
  color: #8b96a8;
  font-size: 15px;
  font-weight: 800;
}
.upgrade-original-card h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 25px;
  font-weight: 900;
}
.upgrade-original-card > p {
  min-height: 76px;
  margin: 0 0 22px;
  color: #6b7280;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.8;
}
.upgrade-original-card h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}
.upgrade-original-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}
.upgrade-original-card li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  color: #1f2937;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.55;
}
.upgrade-original-card li.locked {
  color: #9aa4b2;
}
.upgrade-original-card li span {
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eaf8f0;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  margin-top: 1px;
}
.upgrade-original-card li.locked span {
  background: #fff1f2;
  color: #ef4444;
}
.upgrade-action {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #1687ee;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  margin-top: 24px;
}
.upgrade-action.renew {
  background: #0f172a;
}
.upgrade-checkout-modal {
  max-width: 560px !important;
}
.upgrade-checkout-body {
  display: grid;
  gap: 18px;
}
.upgrade-payment-box,
.upgrade-duration-box,
.upgrade-summary-box {
  border: 1px solid #e8eef6;
  border-radius: 8px;
  background: #fbfdff;
  padding: 18px;
}
.upgrade-payment-box h3,
.upgrade-duration-box h3,
.upgrade-summary-box h3 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}
.upgrade-duration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.upgrade-duration-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.upgrade-duration-option span {
  min-height: 94px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 5px;
  padding: 12px;
  cursor: pointer;
}
.upgrade-duration-option b {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}
.upgrade-duration-option small {
  color: #8b96a8;
  font-size: 12px;
  font-weight: 800;
}
.upgrade-duration-option strong {
  color: #1687ee;
  font-size: 17px;
  font-weight: 900;
}
.upgrade-duration-option input:checked + span {
  border-color: #1687ee;
  background: #eff6ff;
  box-shadow: 0 8px 18px rgba(22, 135, 238, 0.12);
}
.upgrade-payment-option {
  min-height: 58px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  cursor: pointer;
}
.upgrade-payment-option input {
  width: 18px;
  height: 18px;
  accent-color: #1687ee;
}
.upgrade-payment-option b {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}
.upgrade-payment-option small {
  color: #1687ee;
  font-weight: 900;
}
.upgrade-summary-box div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  border-bottom: 1px solid #edf2f7;
  color: #6b7280;
  font-weight: 900;
}
.upgrade-summary-box div:last-child {
  border-bottom: 0;
}
.upgrade-summary-box b {
  color: #0f172a;
  font-size: 17px;
}
.upgrade-confirm-btn {
  min-height: 48px;
  width: 100%;
}
.wallet-modal {
  max-width: 620px !important;
}
.wallet-topup-body {
  display: grid;
  gap: 16px;
}
.wallet-balance-panel {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #eef7ff);
}
.wallet-balance-panel span {
  display: block;
  color: #7c8496;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 8px;
}
.wallet-balance-panel strong {
  color: #21c579;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
}
.wallet-balance-panel img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.wallet-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.wallet-amount-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wallet-amount-chip span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  color: #1d74e8;
  font-weight: 950;
  cursor: pointer;
}
.wallet-amount-chip input:checked + span {
  background: #1687ee;
  border-color: #1687ee;
  color: #fff;
  box-shadow: 0 8px 18px rgba(22, 135, 238, .22);
}
.wallet-form-grid {
  padding: 16px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fbfdff;
}
.wallet-required-field label b,
.wallet-proof-field label b {
  color: #ef4444;
  font-size: 16px;
}
.wallet-required-field small,
.wallet-proof-field p {
  margin: 7px 0 0;
  color: #8b93a6;
  font-size: 12.5px;
  font-weight: 800;
}
.wallet-proof-field {
  padding-top: 4px;
}
.wallet-proof-field .upload-control {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 0 18px;
  border: 1px dashed #9cc8ff;
  border-radius: 8px;
  background: #eef7ff;
  color: #1687ee;
  font-weight: 950;
}
.wallet-proof-field .upload-control span {
  pointer-events: none;
}
.wallet-proof-preview {
  width: 126px;
  height: 82px;
  margin-top: 10px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8fafc;
}
.wallet-proof-preview:not(.is-loaded) {
  display: none;
}
.wallet-actions-row {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}
.wallet-history-box {
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.wallet-history-head,
.wallet-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wallet-history-head {
  margin-bottom: 8px;
  color: #0f172a;
  font-weight: 950;
}
.wallet-history-head span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #1687ee;
  background: #edf5ff;
}
.wallet-history-item {
  min-height: 52px;
  border-top: 1px solid #f1f5f9;
}
.wallet-history-item div {
  display: grid;
  gap: 2px;
}
.wallet-history-item b {
  color: #21c579;
  font-size: 16px;
  font-weight: 950;
}
.wallet-history-item span,
.wallet-history-item small {
  color: #7c8496;
  font-weight: 800;
}
.billing-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.billing-summary-card {
  min-height: 116px;
  display: grid;
  gap: 8px;
  align-content: center;
}
.billing-summary-card span,
.billing-summary-card small {
  color: #7c8496;
  font-weight: 850;
}
.billing-summary-card strong {
  color: #0f172a;
  font-size: 25px;
  font-weight: 950;
}
.billing-renewal-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}
.billing-effective-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  border-right: 5px solid #22c55e;
}
.billing-effective-panel.expired {
  border-right-color: #f97316;
  background: #fff8f1;
}
.billing-effective-panel span,
.billing-effective-panel p,
.billing-effective-panel small {
  color: #7c8496;
  font-weight: 850;
}
.billing-effective-panel strong {
  display: block;
  color: #0f172a;
  font-size: 28px;
  font-weight: 950;
  margin: 4px 0;
}
.billing-auto-renew-box {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.billing-auto-renew-box label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0f172a;
  font-weight: 950;
}
.billing-auto-renew-box input {
  width: 18px;
  height: 18px;
  accent-color: #1687ee;
}
.billing-renewal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.billing-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.billing-filter-tabs button {
  border: 1px solid #dbe7f5;
  background: #f8fbff;
  color: #64748b;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}
.billing-filter-tabs button.active {
  background: #1687ee;
  border-color: #1687ee;
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 135, 238, .18);
}
.billing-empty-state {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  border: 1px dashed #bfd7f5;
  background: #f8fbff;
  border-radius: 14px;
  padding: 26px;
  margin: 12px 0 16px;
}
.billing-empty-state b {
  color: #0f172a;
  font-size: 20px;
  font-weight: 950;
}
.billing-empty-state span {
  color: #7c8496;
  font-weight: 850;
  max-width: 620px;
}
.billing-empty-state div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.billing-table td,
.billing-table th {
  white-space: nowrap;
}
.ai-stars-modal {
  max-width: 620px !important;
}
.ai-stars-body {
  display: grid;
  gap: 16px;
}
.ai-stars-balance-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ai-stars-balance-panel div {
  min-height: 98px;
  padding: 18px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fff;
  display: grid;
  align-content: center;
  gap: 8px;
}
.ai-stars-balance-panel span {
  color: #8b93a6;
  font-size: 13px;
  font-weight: 900;
}
.ai-stars-balance-panel strong {
  color: #f2b414;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}
.ai-stars-balance-panel div:last-child strong {
  color: #21c579;
}
.ai-stars-packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ai-stars-package input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ai-stars-package span {
  min-height: 82px;
  border: 1px solid #f3e8b0;
  border-radius: 8px;
  background: #fffdf5;
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}
.ai-stars-package b {
  color: #f2b414;
  font-size: 22px;
  font-weight: 950;
}
.ai-stars-package small {
  color: #6b7280;
  font-weight: 900;
}
.ai-stars-package input:checked + span {
  border-color: #f2b414;
  background: #fff7cc;
  box-shadow: 0 8px 18px rgba(242, 180, 20, .18);
}
.ai-stars-note {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  display: grid;
  gap: 4px;
}
.ai-stars-note b {
  color: #0f172a;
  font-weight: 950;
}
.ai-stars-note span {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}
.ai-stars-submit {
  min-height: 48px;
}
.notifications-modal {
  max-width: 620px !important;
}
.notifications-body {
  display: grid;
  gap: 14px;
}
.notifications-summary {
  min-height: 74px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}
.notifications-summary strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #1687ee;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
}
.notifications-summary span {
  color: #667085;
  font-weight: 900;
}
.notifications-list {
  display: grid;
  gap: 8px;
}
.notification-item {
  min-height: 68px;
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
  text-align: start;
  font-family: inherit;
  cursor: pointer;
}
.notification-item:hover {
  border-color: #cfe5ff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}
.notification-item i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #edf5ff;
  color: #1687ee;
  font-style: normal;
  font-weight: 950;
}
.notification-item.ai i {
  background: #fff7cc;
  color: #f2b414;
}
.notification-item.wallet i {
  background: #eaf8f0;
  color: #21c579;
}
.notification-item.stock i {
  background: #fff1f2;
  color: #ef4444;
}
.notification-item span {
  display: grid;
  gap: 4px;
}
.notification-item b {
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
}
.notification-item small,
.notification-item em {
  color: #7c8496;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.notifications-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}
body.dark-mode {
  --bg: #0b1020;
  --text: #eef4ff;
  --line: #1e293b;
  --muted: #9aa7bd;
  background: #0b1020;
  color: #eef4ff;
}
body.dark-mode .workspace,
body.dark-mode .content {
  background: #0b1020;
}
body.dark-mode .topbar,
body.dark-mode .panel,
body.dark-mode .card,
body.dark-mode .filter-card,
body.dark-mode .stat-card,
body.dark-mode .top-card,
body.dark-mode .modal,
body.dark-mode .login-card,
body.dark-mode .create-panel,
body.dark-mode .table-wrap,
body.dark-mode .notifications-summary,
body.dark-mode .notification-item,
body.dark-mode .billing-summary-card,
body.dark-mode .billing-effective-panel,
body.dark-mode .billing-empty-state,
body.dark-mode .wallet-history-box,
body.dark-mode .wallet-form-grid,
body.dark-mode .upgrade-payment-box,
body.dark-mode .upgrade-duration-box,
body.dark-mode .upgrade-summary-box,
body.dark-mode .ai-stars-balance-panel div,
body.dark-mode .ai-stars-note {
  background: #111827;
  border-color: #223047;
  color: #eef4ff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}
body.dark-mode .upgrade-duration-option span,
body.dark-mode .upgrade-payment-option {
  background: #0f172a;
  border-color: #223047;
}
body.dark-mode .upgrade-duration-option input:checked + span {
  background: #102744;
  border-color: #38a3ff;
}
body.dark-mode .upgrade-duration-option b,
body.dark-mode .upgrade-duration-option strong,
body.dark-mode .upgrade-price strong,
body.dark-mode .upgrade-summary-box b,
body.dark-mode .upgrade-payment-option b {
  color: #eef4ff;
}

body.dark-mode .billing-summary-card strong {
  color: #eef4ff;
}
body.dark-mode .billing-effective-panel.expired {
  background: #1f1a13;
  border-right-color: #fb923c;
}
body.dark-mode .billing-effective-panel strong,
body.dark-mode .billing-auto-renew-box label {
  color: #eef4ff;
}
body.dark-mode .billing-filter-tabs button {
  background: #0f172a;
  border-color: #223047;
  color: #b6c2d6;
}
body.dark-mode .billing-filter-tabs button.active {
  background: #1687ee;
  border-color: #1687ee;
  color: #fff;
}
body.dark-mode .billing-empty-state b {
  color: #eef4ff;
}
body.dark-mode .topbar {
  border-bottom-color: #1e293b;
}
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode .page-head h1,
body.dark-mode .welcome strong,
body.dark-mode .notification-item b,
body.dark-mode .modal-head h2,
body.dark-mode .panel-title h2,
body.dark-mode table th,
body.dark-mode table td,
body.dark-mode label,
body.dark-mode .field label,
body.dark-mode .detail-grid strong {
  color: #eef4ff;
}
body.dark-mode p,
body.dark-mode small,
body.dark-mode .page-head p,
body.dark-mode .welcome span,
body.dark-mode .top-card span:not(.mini-pill):not(.top-card-icon),
body.dark-mode .notification-item small,
body.dark-mode .notification-item em,
body.dark-mode .notifications-summary span,
body.dark-mode .ai-stars-note span,
body.dark-mode .wallet-history-item span,
body.dark-mode .wallet-history-item small {
  color: #9aa7bd;
}
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background: #0b1220;
  border-color: #29364e;
  color: #eef4ff;
}
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #6f7f98;
}
body.dark-mode table,
body.dark-mode thead,
body.dark-mode tbody,
body.dark-mode tr {
  border-color: #223047;
}
body.dark-mode table th {
  background: #0f172a;
}
body.dark-mode .tool-icon.notification-tool small {
  border-color: #111827;
}
body.dark-mode .tool-icon:hover,
body.dark-mode .tool-icon.active,
body.dark-mode .top-card-icon,
body.dark-mode .notification-item i,
body.dark-mode .wallet-open-card i {
  background: #183354;
}
body.dark-mode .modal-backdrop {
  background: rgba(0, 0, 0, .58);
}
body.dark-mode .btn.light,
body.dark-mode .btn.secondary {
  background: #172033;
  color: #dbeafe;
  border-color: #29364e;
}
.substore-permissions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.substore-permissions-grid label {
  min-height: 42px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #f8fbff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 900;
}
.substore-dashboard-page .substore-mini-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.substore-mini-products article {
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  display: grid;
  gap: 8px;
}
.substore-mini-products img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 7px;
}
.substore-mini-products b,
.substore-mini-products span {
  font-weight: 800;
}
.substore-front {
  min-height: 100vh;
  background: #f8fafc;
  color: #0f172a;
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}
.substore-front-head {
  min-height: 76px;
  padding: 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #edf2f7;
  position: sticky;
  top: 0;
  z-index: 4;
}
.substore-front-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
}
.substore-front-head nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.substore-front-head button,
.substore-front-hero button,
.substore-front-products button {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 18px;
  background: var(--store-primary);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}
.substore-front-head nav button {
  background: #eef6ff;
  color: var(--store-primary);
}
.substore-front-hero {
  padding: 80px 46px;
  background: linear-gradient(135deg, var(--store-primary), #07112f);
  color: #fff;
  text-align: center;
}
.substore-front-hero h1 {
  margin: 0 0 16px;
  font-size: 56px;
  line-height: 1.1;
}
.substore-front-hero p {
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 18px;
  line-height: 1.8;
}
.substore-front-products {
  max-width: 1188px;
  margin: 46px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.substore-front-products article {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}
.substore-front-products img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 7px;
}
.substore-front-products h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}
.substore-front-products b {
  color: var(--store-primary);
  font-size: 18px;
}
.substore-front-contact {
  max-width: 1188px;
  margin: 0 auto 60px;
  padding: 34px 24px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
@media (max-width: 1100px) {
  .substores-original-layout {
    grid-template-columns: 1fr;
  }
  .substores-card-grid {
    grid-template-columns: 1fr;
  }
  .substore-front-products,
  .substore-dashboard-page .substore-mini-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .substore-modal-shell {
    grid-template-columns: 1fr;
  }
  .substore-create-help {
    min-height: 240px;
  }
  .substore-create-grid,
  .substore-create-options {
    grid-template-columns: 1fr;
  }
  .substore-team-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .substore-team-filter .toolbar,
  .team-original-filter .toolbar,
  .substore-permissions-grid {
    grid-template-columns: 1fr;
  }
  .team-original-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .team-verified-title-row,
  .team-verified-filter {
    flex-direction: column;
    align-items: stretch;
  }
  .team-verified-title-row > div,
  .team-verified-tabs {
    flex-wrap: wrap;
  }
  .team-verified-filter input,
  .team-verified-filter select {
    min-width: 0;
    width: 100%;
  }
  .upgrade-original-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1250px) {
  .apps-original-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .apps-original-page {
    padding: 24px 16px 38px !important;
  }
  .apps-original-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .apps-original-grid {
    grid-template-columns: 1fr;
  }
}
.extensions-original-grid {
  max-width: 1188px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.extension-original-card {
  min-height: 286px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.extension-original-body {
  flex: 1;
  padding: 20px 18px 18px;
  text-align: right;
}
.extension-original-plan {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 7px;
  background: #ff5a5f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.extension-original-plan.free {
  background: #12b981;
}
.extension-original-card h3 {
  margin: 23px 0 12px;
  color: #111827;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}
.extension-original-card p {
  margin: 0;
  color: #8a94a6;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.85;
  text-align: right;
}
.extension-original-actions {
  min-height: 67px;
  padding: 13px 16px;
  border-top: 1px solid #eef2f7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  direction: rtl;
}
.extension-original-toggle,
.extension-original-settings {
  border: 0;
  border-radius: 7px;
  min-height: 41px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.extension-original-toggle {
  background: #e8f2ff;
  color: #1885ef;
}
.extension-original-toggle.active,
.extension-original-settings {
  background: #1f8fff;
  color: #fff;
}
.extension-original-toggle:disabled,
.extension-original-settings:disabled {
  background: #edf0f4;
  color: #a5adba;
  cursor: not-allowed;
  opacity: 1;
}
.extension-original-switch {
  width: 21px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid currentColor;
  position: relative;
  display: inline-block;
}
.extension-original-switch::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  position: absolute;
  top: 1px;
  right: 2px;
}
.extension-original-toggle.active .extension-original-switch::after {
  right: 9px;
}
@media (max-width: 1250px) {
  .extensions-original-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .extensions-original-page {
    padding: 24px 16px 36px !important;
  }
  .extensions-original-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .extensions-original-grid {
    grid-template-columns: 1fr;
  }
}

/* V1.8.5 dark-mode contrast refinements */
body.dark-mode .app-shell,
body.dark-mode .admin-screen,
body.dark-mode .orders-screen,
body.dark-mode .products-screen,
body.dark-mode .category-screen,
body.dark-mode .upgrade-original-page,
body.dark-mode .settings-original-page,
body.dark-mode .apps-original-page,
body.dark-mode .extensions-original-page,
body.dark-mode .substores-original-page,
body.dark-mode .substore-front {
  background: #0b1020 !important;
  color: #eef4ff !important;
}

body.dark-mode .topbar,
body.dark-mode .avatar-menu,
body.dark-mode .panel,
body.dark-mode .card,
body.dark-mode .stat-card,
body.dark-mode .top-card,
body.dark-mode .filter-card,
body.dark-mode .table-wrap,
body.dark-mode .admin-table,
body.dark-mode .status-tabs,
body.dark-mode .order-tabs,
body.dark-mode .order-filter-panel,
body.dark-mode .product-filter-panel,
body.dark-mode .coupon-filter-panel,
body.dark-mode .toolbar,
body.dark-mode .mini-stat,
body.dark-mode .side-metrics p,
body.dark-mode .visit-sources li,
body.dark-mode .upgrade-original-card,
body.dark-mode .settings-original-card,
body.dark-mode .settings-original-help,
body.dark-mode .settings-stock-switch,
body.dark-mode .original-app-card,
body.dark-mode .extension-original-card,
body.dark-mode .substore-help-card,
body.dark-mode .substore-original-card,
body.dark-mode .substore-permissions-grid label,
body.dark-mode .substore-mini-products article,
body.dark-mode .drawer,
body.dark-mode .dropdown,
body.dark-mode .product-row-menu,
body.dark-mode .order-action-menu,
body.dark-mode .action-popover {
  background: #111827 !important;
  border-color: #223047 !important;
  color: #eef4ff !important;
}

body.dark-mode table,
body.dark-mode thead,
body.dark-mode tbody,
body.dark-mode tr,
body.dark-mode th,
body.dark-mode td,
body.dark-mode .dashboard-products,
body.dark-mode .dashboard-products table,
body.dark-mode .dashboard-products tbody,
body.dark-mode .dashboard-products tr,
body.dark-mode .dashboard-products td,
body.dark-mode .dashboard-products th {
  background: #111827 !important;
  border-color: #223047 !important;
  color: #eef4ff !important;
}

body.dark-mode thead th,
body.dark-mode table th {
  background: #0f172a !important;
  color: #dbeafe !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode label,
body.dark-mode table b,
body.dark-mode td b,
body.dark-mode .phone-value,
body.dark-mode .code-col,
body.dark-mode .text,
body.dark-mode .order-product,
body.dark-mode .product-name,
body.dark-mode .customer-name,
body.dark-mode .orders-screen .order-tabs button span,
body.dark-mode .orders-screen .order-tabs button b,
body.dark-mode .dashboard-products b,
body.dark-mode .dashboard-products strong,
body.dark-mode .side-metrics b,
body.dark-mode .visit-sources li b,
body.dark-mode .ratio-values,
body.dark-mode .ratio-values b,
body.dark-mode .order-legend,
body.dark-mode .order-legend span,
body.dark-mode .upgrade-original-card h2,
body.dark-mode .upgrade-original-card h3,
body.dark-mode .upgrade-price strong,
body.dark-mode .upgrade-original-card li,
body.dark-mode .settings-original-card h2,
body.dark-mode .settings-original-field,
body.dark-mode .settings-original-field span,
body.dark-mode .settings-original-label,
body.dark-mode .settings-stock-switch span,
body.dark-mode .settings-original-help h2,
body.dark-mode .original-app-card h3,
body.dark-mode .original-app-limit,
body.dark-mode .original-app-limit b,
body.dark-mode .original-app-limit span,
body.dark-mode .extension-original-card h3,
body.dark-mode .substore-help-card h2,
body.dark-mode .substore-original-card h3,
body.dark-mode .substore-title-row h3,
body.dark-mode .substore-meta,
body.dark-mode .substore-meta li,
body.dark-mode .substore-meta b,
body.dark-mode .substore-meta span,
body.dark-mode .substore-mini-products b,
body.dark-mode .substore-mini-products span {
  color: #f8fbff !important;
}

body.dark-mode p,
body.dark-mode small,
body.dark-mode .page-head p,
body.dark-mode .welcome span,
body.dark-mode .top-card span:not(.mini-pill):not(.top-card-icon),
body.dark-mode .stat-card span,
body.dark-mode .visit-sources li,
body.dark-mode .upgrade-original-card p,
body.dark-mode .upgrade-price span,
body.dark-mode .settings-original-help p,
body.dark-mode .settings-original-card small,
body.dark-mode .original-app-card p,
body.dark-mode .extension-original-card p,
body.dark-mode .substore-help-card p {
  color: #b9c4d6 !important;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea,
body.dark-mode .order-search,
body.dark-mode .order-native-select,
body.dark-mode .order-native-select.tone-blue,
body.dark-mode .order-native-select.tone-green,
body.dark-mode .order-native-select.tone-red,
body.dark-mode .order-native-select.tone-amber,
body.dark-mode .order-native-select.tone-purple,
body.dark-mode .order-native-select.tone-cyan,
body.dark-mode .toolbar select,
body.dark-mode .filters select,
body.dark-mode .order-filter-panel select,
body.dark-mode .product-filter-panel select {
  background: #0b1220 !important;
  border-color: #29364e !important;
  color: #eef4ff !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #8ea0bb !important;
}

body.dark-mode .sidebar .nav-section-toggle.active,
body.dark-mode .sidebar .nav-item.active,
body.dark-mode .sidebar .nav-item:hover,
body.dark-mode .nav-section.direct.open .nav-item,
body.dark-mode .status-tabs button,
body.dark-mode .order-tabs button,
body.dark-mode .pill,
body.dark-mode .segmented button,
body.dark-mode .orders-screen .order-tabs button,
body.dark-mode .order-state-btn,
body.dark-mode .order-action-icon.ship,
body.dark-mode .order-action-icon.light,
body.dark-mode .order-action-icon.print,
body.dark-mode .order-action-icon.truck,
body.dark-mode .order-action-icon.small-print,
body.dark-mode .order-copy-phone,
body.dark-mode .substore-preview-btn,
body.dark-mode .substore-dashboard-btn {
  background: #183354 !important;
  border-color: #2563eb !important;
  color: #93c5fd !important;
}

body.dark-mode .btn,
body.dark-mode .services-activate-btn,
body.dark-mode .upgrade-action,
body.dark-mode .order-row-arrow,
body.dark-mode .substore-create-main,
body.dark-mode .status-tabs button.active,
body.dark-mode .order-tabs button.active,
body.dark-mode .orders-screen .order-tabs button.active,
body.dark-mode .pill.selected,
body.dark-mode .segmented button.active,
body.dark-mode .original-app-settings,
body.dark-mode .original-app-toggle.active,
body.dark-mode .extension-original-settings,
body.dark-mode .extension-original-toggle.active,
body.dark-mode .editor-upload-btn,
body.dark-mode .pagination button.active,
body.dark-mode .substore-logo,
body.dark-mode .substore-video-card,
body.dark-mode .theme-save-side {
  background: #0f4fb8 !important;
  border-color: #164eab !important;
  color: #fff !important;
}

body.dark-mode .btn.light,
body.dark-mode .btn.secondary,
body.dark-mode .original-app-toggle:not(.active),
body.dark-mode .extension-original-toggle:not(.active):not(:disabled) {
  background: #172033 !important;
  border-color: #29364e !important;
  color: #dbeafe !important;
}

body.dark-mode .sidebar .nav-item small,
body.dark-mode .sidebar .nav-section-toggle small,
body.dark-mode .tool-icon.notification-tool small {
  background: #0f4fb8 !important;
  border-color: rgba(255,255,255,.3) !important;
  color: #fff !important;
}

body.dark-mode .tool-icon,
body.dark-mode .tool-icon.moon,
body.dark-mode .avatar-menu,
body.dark-mode .avatar-menu span,
body.dark-mode .substore-kebab,
body.dark-mode .order-copy-phone,
body.dark-mode .eye-mark {
  color: #dbeafe !important;
}

body.dark-mode .tool-icon:hover,
body.dark-mode .tool-icon.active,
body.dark-mode .top-card-icon,
body.dark-mode .wallet-open-card i {
  background: #183354 !important;
  color: #93c5fd !important;
}

body.dark-mode .orders-screen .order-tabs button::before {
  background: #172033 !important;
  color: #7dd3fc !important;
}

body.dark-mode .orders-screen .order-tabs button[data-order-tab="noanswer"]::before,
body.dark-mode .orders-screen .order-tabs button[data-order-tab="delayed"]::before,
body.dark-mode .status.shipping,
body.dark-mode .metric-chip.orange {
  background: #3b2a12 !important;
  color: #fbbf24 !important;
}

body.dark-mode .orders-screen .order-tabs button[data-order-tab="canceled"]::before,
body.dark-mode .orders-screen .order-tabs button[data-order-tab="returned"]::before,
body.dark-mode .status.canceled {
  background: #3b1620 !important;
  color: #fca5a5 !important;
}

body.dark-mode .orders-screen .order-tabs button[data-order-tab="confirmed"]::before,
body.dark-mode .orders-screen .order-tabs button[data-order-tab="received"]::before,
body.dark-mode .status.confirmed,
body.dark-mode .metric-chip.green,
body.dark-mode .upgrade-original-card li span,
body.dark-mode .stat-icon {
  background: #123524 !important;
  color: #34d399 !important;
}

body.dark-mode .status.new,
body.dark-mode .source-badge,
body.dark-mode .icon-btn.view,
body.dark-mode .icon-btn.copy {
  background: #183354 !important;
  color: #93c5fd !important;
}

body.dark-mode .upgrade-original-card li.locked {
  color: #94a3b8 !important;
}

body.dark-mode .upgrade-original-card li.locked span {
  background: #3b1620 !important;
  color: #fca5a5 !important;
}

body.dark-mode .order-whatsapp-phone,
body.dark-mode .original-app-cover.sheets {
  background: #047857 !important;
  color: #fff !important;
}

body.dark-mode .circle,
body.dark-mode .pagination button.active {
  background: #0f4fb8 !important;
  border-color: #164eab !important;
  color: #fff !important;
}

body.dark-mode .extension-original-toggle:disabled,
body.dark-mode .extension-original-settings:disabled,
body.dark-mode .original-app-settings:disabled,
body.dark-mode .original-app-toggle:disabled {
  background: #1f2937 !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

body.dark-mode .settings-original-help,
body.dark-mode .settings-original-help h2,
body.dark-mode .settings-original-help p {
  background: #111827 !important;
}

body.dark-mode .original-category-count {
  background: #183354 !important;
  border-color: #2563eb !important;
  color: #93c5fd !important;
}

body.dark-mode .pagination .active,
body.dark-mode .pagination button.active,
body.dark-mode button.active:not(.order-native-select):not(.order-row-arrow) {
  background: #0f4fb8 !important;
  border-color: #164eab !important;
  color: #fff !important;
}

body.dark-mode em {
  color: #dbeafe !important;
}

.app-shell.sidebar-collapsed .sidebar {
  transform: translateX(100%) !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.app-shell.sidebar-collapsed .workspace {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
}

body.dark-mode .original-app-cover.analytics {
  background: linear-gradient(135deg, #3b2a12, #9a6700 80%) !important;
  color: #fff7ed !important;
}

body.dark-mode .original-app-plan,
body.dark-mode .extension-original-plan,
body.dark-mode .settings-business-badge {
  background: #8b2f37 !important;
  color: #fff !important;
}

body.dark-mode .original-app-plan.free,
body.dark-mode .extension-original-plan.free {
  background: #065f46 !important;
  color: #fff !important;
}

body.dark-mode .side-metrics p,
body.dark-mode .ratio-bars,
body.dark-mode .original-app-progress {
  background: #172033 !important;
  border-color: #223047 !important;
}

body.dark-mode .donut span {
  background: #111827 !important;
}

body.dark-mode input[type="checkbox"],
body.dark-mode input[type="radio"] {
  accent-color: #3b82f6;
}

.super-admin-page {
  display: grid;
  gap: 18px;
}

.super-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #061a44, #0a8fe8);
  color: #fff;
  box-shadow: 0 18px 40px rgba(21, 118, 228, 0.18);
}

.super-admin-head p,
.super-admin-head span {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.super-admin-head h1 {
  margin: 4px 0 6px;
  font-size: 34px;
  line-height: 1.1;
}

.super-admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.super-admin-metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

.super-admin-metric span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px;
}

.super-admin-metric strong {
  font-size: 28px;
  color: var(--text);
}

.super-admin-metric.blue strong { color: #1687ee; }
.super-admin-metric.green strong { color: #16b36b; }
.super-admin-metric.amber strong { color: #f59e0b; }
.super-admin-metric.violet strong { color: #7c3aed; }

.super-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.super-admin-table-panel {
  overflow: hidden;
}

.super-admin-table th,
.super-admin-table td {
  white-space: nowrap;
  vertical-align: middle;
}

.super-admin-table tr.selected td {
  background: #f0f7ff;
}

.super-admin-store-link {
  display: grid;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: right;
  cursor: pointer;
  font: inherit;
}

.super-admin-store-link b,
.super-admin-table td > b {
  font-weight: 900;
}

.super-admin-store-link small,
.super-admin-table small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 3px;
}

.super-admin-status,
.plan-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}

.plan-pill {
  color: #fff;
  background: linear-gradient(135deg, #1177ec, #08a8d8);
}

.super-admin-status.active {
  color: #087a45;
  background: #dcfce7;
}

.super-admin-status.paused {
  color: #b42318;
  background: #fee2e2;
}

.super-admin-status.expired {
  color: #92400e;
  background: #fef3c7;
}

.super-admin-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-start;
  min-width: 300px;
}

.super-admin-actions .ghost-btn,
.super-admin-detail-actions .ghost-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
}

.ghost-btn.success {
  color: #087a45;
  border-color: #9be7bd;
  background: #ecfdf5;
}

.ghost-btn.danger {
  color: #d92d20;
  border-color: #ffc9c9;
  background: #fff5f5;
}

.super-admin-detail-card {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.super-admin-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.super-admin-detail-head small,
.super-admin-detail-head p {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
}

.super-admin-detail-head h2 {
  margin: 3px 0;
  font-size: 24px;
}

.super-admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.super-admin-detail-grid span {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--muted);
  font-weight: 800;
  min-width: 0;
}

.super-admin-detail-grid b {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
}

.super-admin-account-control {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.super-admin-account-control h3 {
  margin: 0;
  font-size: 18px;
}

.super-admin-account-control .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.super-admin-account-control .field {
  min-width: 0;
}

.super-admin-account-control .field input,
.super-admin-account-control .field select {
  width: 100%;
}

.super-admin-account-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.super-admin-account-meta span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.super-admin-account-meta b {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
}

.super-admin-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.super-admin-mini-list {
  display: grid;
  gap: 8px;
}

.super-admin-mini-list h3 {
  margin: 0;
  font-size: 16px;
}

.super-admin-mini-list button,
.super-admin-mini-list div {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: right;
  color: var(--text);
}

.super-admin-mini-list span,
.super-admin-mini-list p {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}

.super-admin-modal .form-grid {
  grid-template-columns: 1fr 1fr;
}

.super-admin-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.super-admin-full-open {
  height: 44px;
  padding: 0 18px;
  border-color: rgba(255,255,255,.42);
  color: #fff;
  background: rgba(255,255,255,.12);
}

.super-admin-store-detail .panel h2 {
  margin: 0;
}

.super-admin-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
}

.super-admin-control-panel {
  padding: 20px;
}

.super-admin-control-form {
  display: grid;
  gap: 14px;
}

.super-admin-control-form .form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.super-admin-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.super-admin-sections-grid .panel {
  min-width: 0;
  overflow: hidden;
}

.super-admin-sections-grid .data-table th,
.super-admin-sections-grid .data-table td {
  white-space: nowrap;
}

.super-admin-subtitle {
  margin: 4px 0 0;
  font-size: 16px;
}

.super-admin-permissions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.super-admin-permissions label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  font-weight: 800;
  color: var(--text);
}

.super-admin-permissions input {
  width: 16px;
  height: 16px;
}

.plan-switch-panel {
  display: grid;
  gap: 14px;
}

.plan-switch-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-switch-toolbar button {
  min-height: 36px;
  border: 1px solid #d8e4f4;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-weight: 900;
  padding: 0 12px;
  cursor: pointer;
}

.plan-switch-toolbar button.active {
  border-color: #1687ee;
  background: #1687ee;
  color: #fff;
}

.super-admin-plan-box {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.super-admin-plan-box h3 {
  margin: 0;
  font-size: 15px;
}

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

.plan-feature-mini-grid span {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 850;
}

.plan-feature-mini-grid span b {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.plan-feature-mini-grid span.enabled b {
  background: #eaf8f0;
  color: #10b981;
}

.plan-feature-mini-grid span.locked {
  color: #94a3b8;
}

.plan-feature-mini-grid span.locked b {
  background: #fff1f2;
  color: #ef4444;
}

.plan-feature-mini-grid small {
  color: #64748b;
  font-weight: 900;
}

body.dark-mode .super-admin-head {
  border-color: #1d4ed8;
  background: linear-gradient(135deg, #071225, #075a9b);
}

body.dark-mode .super-admin-table tr.selected td,
body.dark-mode .super-admin-detail-grid span,
body.dark-mode .super-admin-account-meta span {
  background: #172033 !important;
}

body.dark-mode .super-admin-mini-list button,
body.dark-mode .super-admin-mini-list div,
body.dark-mode .super-admin-metric,
body.dark-mode .super-admin-detail-card,
body.dark-mode .super-admin-plan-box,
body.dark-mode .super-admin-account-control,
body.dark-mode .plan-feature-mini-grid span,
body.dark-mode .plan-switch-toolbar button {
  background: #111827 !important;
  border-color: #243244 !important;
  color: #eef4ff !important;
}

body.dark-mode .plan-switch-toolbar button.active {
  background: #1687ee !important;
  border-color: #38a3ff !important;
  color: #fff !important;
}

body.dark-mode .super-admin-status.active {
  background: #064e3b !important;
  color: #bbf7d0 !important;
}

body.dark-mode .super-admin-status.paused {
  background: #7f1d1d !important;
  color: #fecaca !important;
}

body.dark-mode .super-admin-status.expired {
  background: #78350f !important;
  color: #fde68a !important;
}

@media (max-width: 1180px) {
  .super-admin-layout,
  .super-admin-detail-layout,
  .super-admin-sections-grid {
    grid-template-columns: 1fr;
  }
  .super-admin-detail-card {
    position: static;
  }
  .super-admin-control-form .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .super-admin-account-control .form-grid,
  .super-admin-account-meta {
    grid-template-columns: 1fr;
  }
  .super-admin-permissions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .super-admin-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .super-admin-metrics,
  .super-admin-detail-grid,
  .super-admin-detail-actions,
  .super-admin-control-form .form-grid,
  .super-admin-account-control .form-grid,
  .super-admin-account-meta,
  .super-admin-permissions {
    grid-template-columns: 1fr;
  }
  .super-admin-head h1 {
    font-size: 28px;
  }
}

/* V1.16.0 pixel polish: denser audit pages and cleaner mobile tables */
.toast {
  top: 92px;
  bottom: auto;
  max-width: min(360px, calc(100vw - 32px));
}
.dashboard-products .table-wrap,
.products-all-screen .table-wrap,
.orders-screen .table-wrap {
  scrollbar-width: thin;
  scrollbar-color: #b8c4d6 #eef2f7;
}
.dashboard-products .table-wrap::-webkit-scrollbar,
.products-all-screen .table-wrap::-webkit-scrollbar,
.orders-screen .table-wrap::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
.dashboard-products .table-wrap::-webkit-scrollbar-thumb,
.products-all-screen .table-wrap::-webkit-scrollbar-thumb,
.orders-screen .table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #b8c4d6;
}
.orders-screen .order-table-panel,
.products-all-panel {
  overflow: hidden;
}
.orders-screen .order-tabs,
.orders-screen .order-filter-panel,
.orders-screen .order-table-panel,
.products-all-screen .page-head,
.products-all-panel,
.shipping-screen .page-head,
.shipping-import-screen .page-head,
.shipping-settings-screen .page-head,
.shipping-companies-screen .page-head {
  max-width: 1128px;
}
.orders-screen .order-table-panel {
  min-height: 0;
  padding: 16px;
}
.orders-screen .table-wrap {
  max-height: min(620px, calc(100vh - 330px));
  overflow: auto;
}
.orders-screen .orders-table td {
  height: 54px;
}
.products-all-panel {
  min-height: 0;
  padding: 14px;
}
.products-all-toolbar {
  margin-bottom: 18px;
}
.products-all-toolbar input,
.products-all-toolbar button {
  height: 40px;
  min-height: 40px;
}
.products-all-screen .table-wrap {
  max-height: min(720px, calc(100vh - 240px));
  overflow: auto;
}
.products-all-screen .products-table th,
.products-all-screen .products-table td,
.orders-screen .orders-table th,
.orders-screen .orders-table td {
  line-height: 1.35;
}
.products-all-screen .products-table th,
.products-all-screen .products-table td {
  height: 50px;
  padding: 7px 8px;
}

@media (max-width: 760px) {
  .content {
    padding: 18px 14px 72px;
  }
  .page-head,
  .orders-screen .page-head,
  .products-all-screen .page-head {
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }
  .page-head h1,
  .orders-screen .page-head h1,
  .products-all-screen .page-head h1 {
    font-size: 24px;
    line-height: 1.25;
  }
  .filters,
  .stats {
    gap: 10px;
  }
  .filter-card,
  .stat-card,
  .panel {
    border-radius: 8px;
  }
  .banner {
    height: 118px;
  }
  .chart-panel {
    min-height: 224px;
  }
  .line-chart {
    height: 160px;
  }
  .orders-screen .order-tabs {
    margin: 0 -14px 16px;
    padding: 0 14px 4px;
    gap: 10px;
    scroll-padding-inline: 14px;
  }
  .orders-screen .order-tabs button {
    flex-basis: 156px;
    min-width: 156px;
    min-height: 70px;
    grid-template-columns: 44px 1fr;
    padding: 9px 9px 9px 12px;
  }
  .orders-screen .order-tabs button::before {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }
  .orders-screen .order-filter-panel {
    margin: 0 0 16px;
    padding: 14px;
    border-radius: 24px;
    overflow-x: auto;
  }
  .orders-screen .order-toolbar {
    width: max-content;
    min-width: 680px;
    grid-template-columns: 190px 126px 112px 58px 42px 82px 104px 104px;
    gap: 8px;
    margin-top: 0;
    justify-content: start;
  }
  .orders-screen .order-toolbar input,
  .orders-screen .order-toolbar select,
  .orders-screen .order-filter-btn,
  .orders-screen .order-advanced-filter {
    min-height: 42px;
    height: 42px;
    font-size: 13px;
  }
  .orders-screen .order-table-panel {
    padding: 14px;
  }
  .orders-screen .table-wrap {
    max-height: 560px;
    padding-bottom: 4px;
  }
  .orders-screen .orders-table table {
    min-width: 590px;
  }
  .orders-screen .orders-table th,
  .orders-screen .orders-table td {
    height: 48px;
    padding: 7px 8px;
    font-size: 12px;
  }
  .orders-screen .orders-table th:nth-child(n+2):nth-child(-n+7),
  .orders-screen .orders-table td:nth-child(n+2):nth-child(-n+7),
  .orders-screen .orders-table th:nth-child(9),
  .orders-screen .orders-table td:nth-child(9) {
    display: none;
  }
  .orders-screen .orders-table th:nth-child(8),
  .orders-screen .orders-table td:nth-child(8) {
    width: 124px;
  }
  .orders-screen .orders-table th:nth-child(10),
  .orders-screen .orders-table td:nth-child(10),
  .orders-screen .orders-table th:nth-child(11),
  .orders-screen .orders-table td:nth-child(11) {
    position: static;
    width: 132px;
  }
  .orders-screen .orders-table th:nth-child(12),
  .orders-screen .orders-table td:nth-child(12) {
    width: 126px;
  }
  .orders-screen .order-native-select-wrap {
    width: 116px;
    height: 32px;
  }
  .orders-screen .order-native-select {
    height: 32px;
    padding: 0 8px 0 22px;
    font-size: 12px;
  }
  .orders-screen .order-native-select-wrap::after {
    left: 7px;
  }
  .products-all-panel {
    padding: 12px;
  }
  .products-all-toolbar {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 10px;
    margin-bottom: 14px;
  }
  .products-all-toolbar input,
  .products-all-toolbar button {
    height: 38px;
    min-height: 38px;
    font-size: 13px;
  }
  .products-all-screen .table-wrap {
    max-height: 680px;
    padding-bottom: 4px;
  }
  .products-all-screen .products-table table,
  .products-all-table table {
    min-width: 620px !important;
  }
  .products-all-screen .products-table th,
  .products-all-screen .products-table td {
    height: 48px;
    padding: 7px 8px;
    font-size: 12px;
  }
  .products-all-screen .products-table th:nth-child(n+3):nth-child(-n+9),
  .products-all-screen .products-table td:nth-child(n+3):nth-child(-n+9) {
    display: none;
  }
  .products-all-screen .products-table th:nth-child(1),
  .products-all-screen .products-table td:nth-child(1) {
    width: 72px;
  }
  .products-all-screen .products-table th:nth-child(2),
  .products-all-screen .products-table td:nth-child(2),
  .products-all-screen .products-table .product-name-col,
  .products-all-screen .products-table td.product-name-col {
    width: 286px;
    max-width: 286px;
  }
  .products-all-screen .products-table th:nth-child(10),
  .products-all-screen .products-table td:nth-child(10) {
    width: 68px;
  }
  .products-all-screen .products-table th:nth-child(11),
  .products-all-screen .products-table td:nth-child(11) {
    width: 72px;
  }
  .original-product-thumb {
    width: 34px;
    height: 34px;
  }
}

/* V1.17.0 domains original match */
.original-domains-screen .page-head {
  max-width: 1188px;
  margin-inline: auto;
  align-items: center;
}
.original-domain-tabs,
.domain-summary,
.domains-original-layout {
  max-width: 1188px;
  margin-inline: auto;
}
.domain-summary {
  margin-bottom: 16px;
}
.domain-summary .mini-stat strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  font-size: 18px;
}
.domains-original-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  direction: ltr;
}
.domains-original-main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: grid;
  gap: 16px;
  direction: rtl;
}
.domains-original-side {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  direction: rtl;
}
.domain-connect-panel {
  padding: 18px;
}
.domain-connect-grid {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(240px, 1fr) 180px;
  gap: 12px;
  align-items: end;
}
.domain-connect-grid .field {
  margin-bottom: 0;
}
.domain-confirm-btn {
  min-height: 42px;
}
.domain-list-panel {
  padding: 16px;
}
.domains-table {
  border: 0;
  box-shadow: none;
  max-width: 100%;
  overflow-x: auto;
}
.domains-table table {
  min-width: 820px;
  table-layout: fixed;
}
.domains-table th,
.domains-table td {
  height: 58px;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}
.domains-table th {
  background: #fbfcfe;
  font-weight: 900;
}
.domain-name-cell {
  min-width: 0;
  text-align: right !important;
}
.domain-name-cell b {
  display: block;
  direction: ltr;
  font-size: 14px;
}
.domain-name-cell small {
  display: block;
  margin-top: 4px;
  color: #8790a4;
  font-size: 12px;
}
.domain-dns-records {
  display: grid;
  gap: 6px;
}
.domain-record {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 34px minmax(0, 1fr) 44px 26px;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid #e7edf6;
  border-radius: 8px;
  background: #f8fbff;
  direction: ltr;
}
.domain-record span,
.domain-record em {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #1769d1;
  background: #e8f3ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.domain-record b,
.domain-record code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: inherit;
  font-size: 12px;
}
.domain-record button {
  width: 26px;
  height: 26px;
  border: 1px solid #dbe6f5;
  border-radius: 7px;
  color: #1687ee;
  background: #fff;
}
.domain-default-btn {
  min-width: 68px;
  min-height: 32px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  color: #1687ee;
  background: #eff6ff;
  font-weight: 900;
}
.domain-default-btn.active {
  color: #fff;
  border-color: #16a34a;
  background: #16a34a;
}
.domain-actions {
  flex-wrap: nowrap;
}
.domain-help-panel {
  display: grid;
  gap: 12px;
}
.domain-help-panel h2 {
  margin-bottom: 0;
}
.domain-help-panel ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 20px 0 0;
  color: #475467;
  line-height: 1.8;
}
.domain-help-panel p {
  line-height: 1.85;
}

@media (max-width: 1100px) {
  .domains-original-layout,
  .domain-connect-grid {
    grid-template-columns: 1fr;
  }
  .domains-original-main,
  .domains-original-side {
    grid-column: auto;
  }
  .domains-original-side .sticky-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .original-domains-screen {
    overflow: hidden;
  }
  .original-domains-screen .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .domain-main-add {
    width: 100%;
  }
  .original-domain-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
  }
  .original-domain-tabs button {
    flex: 0 0 auto;
  }
  .domain-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .domain-summary .mini-stat {
    min-width: 0;
  }
  .domain-summary .mini-stat strong {
    font-size: 14px;
  }
  .domain-connect-panel,
  .domain-list-panel,
  .domain-help-panel {
    padding: 14px;
  }
  .domains-table table {
    min-width: 640px;
  }
  .domains-table th,
  .domains-table td {
    height: 50px;
    padding: 8px;
    font-size: 12px;
  }
  .domains-table th:nth-child(2),
  .domains-table td:nth-child(2),
  .domains-table th:nth-child(5),
  .domains-table td:nth-child(5) {
    display: none;
  }
  .domain-record {
    grid-template-columns: 38px 30px minmax(0, 1fr) 28px;
  }
  .domain-record em {
    display: none;
  }
}

.onboarding-page {
  display: grid;
  gap: 18px;
}
.onboarding-hero {
  min-height: 250px;
  padding: 28px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 24px;
  color: #fff;
  background: linear-gradient(135deg, #061124, #0b6ed3);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}
.onboarding-hero small {
  color: #bfdbfe;
  font-weight: 900;
}
.onboarding-hero h1 {
  margin: 10px 0 8px;
  font-size: 36px;
  line-height: 1.2;
}
.onboarding-hero p {
  max-width: 660px;
  color: #dbeafe;
  line-height: 1.85;
}
.onboarding-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.onboarding-store-card {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  background: rgba(255,255,255,.1);
}
.onboarding-store-card span {
  width: max-content;
  min-height: 28px;
  padding: 3px 12px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-weight: 900;
}
.onboarding-store-card b {
  direction: ltr;
  font-size: 20px;
}
.onboarding-store-card em {
  color: #dbeafe;
  font-style: normal;
}
.onboarding-store-card strong {
  font-size: 42px;
  line-height: 1;
}
.onboarding-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}
.onboarding-progress {
  height: 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #eaf1fb;
}
.onboarding-progress i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #16a34a, #1687ee);
}
.onboarding-checklist {
  padding: 18px;
}
.onboarding-checklist article {
  min-height: 78px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f7;
}
.onboarding-checklist article:last-child {
  border-bottom: 0;
}
.onboarding-checklist article.done h3 {
  color: #16a34a;
}
.onboarding-checklist h3 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 16px;
}
.onboarding-checklist p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}
.onboarding-check {
  width: 38px;
  height: 38px;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  color: #1687ee;
  background: #eff6ff;
  font-weight: 900;
  cursor: pointer;
}
.onboarding-checklist article.done .onboarding-check {
  color: #fff;
  border-color: #16a34a;
  background: #16a34a;
}
.onboarding-summary {
  padding: 18px;
  display: grid;
  gap: 12px;
}
.onboarding-summary h2 {
  margin: 0;
}
.onboarding-summary span {
  min-height: 48px;
  padding: 10px;
  border: 1px solid #edf1f7;
  border-radius: 10px;
  display: grid;
  gap: 4px;
  color: #667085;
  background: #fbfdff;
}
.onboarding-summary b {
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
}
.onboarding-mini {
  min-height: 74px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(170px, .8fr) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: #eff6ff;
}
.onboarding-mini b {
  display: block;
  color: #0f172a;
}
.onboarding-mini span {
  color: #64748b;
  font-size: 13px;
}
.onboarding-mini .onboarding-progress {
  margin: 0;
}
.onboarding-progress-pill {
  width: 76px;
  height: 28px;
  margin: 0 auto;
  padding: 3px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: #1769d1;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 12px;
  font-weight: 900;
}
.onboarding-progress-pill i {
  position: absolute;
  inset: 3px auto 3px 3px;
  border-radius: 999px;
  background: rgba(22, 135, 238, .18);
}
.onboarding-progress-pill b {
  position: relative;
  z-index: 1;
}
.onboarding-progress-pill.done {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.onboarding-progress-pill.done i {
  background: rgba(22, 163, 74, .22);
}
.substore-product-link {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.substore-product-public {
  min-height: 100vh;
}
.substore-product-detail {
  width: min(1120px, calc(100% - 32px));
  margin: 34px auto;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.substore-product-media,
.substore-product-info {
  border: 1px solid #e5edf8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}
.substore-product-media {
  padding: 18px;
}
.substore-product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
  background: #f8fafc;
}
.substore-product-info {
  padding: 24px;
  display: grid;
  gap: 14px;
}
.substore-product-info small {
  color: var(--store-primary, #1687ee);
  font-weight: 900;
}
.substore-product-info h1 {
  margin: 0;
  color: #111827;
  font-size: 34px;
  line-height: 1.25;
}
.substore-product-info p {
  margin: 0;
  color: #667085;
  line-height: 1.85;
}
.substore-order-box {
  margin-top: 8px;
  padding: 16px;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  background: #f8fbff;
}
.substore-order-box h2 {
  margin: 0;
}
.substore-order-box input,
.substore-order-box select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dbe6f5;
  border-radius: 9px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
}
.substore-checkout-total {
  padding: 11px 12px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  display: grid;
  gap: 7px;
  color: #475467;
  background: #fff;
}
.substore-checkout-total span,
.substore-checkout-total strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.substore-checkout-total b {
  color: #111827;
}
.substore-order-box button {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--store-primary, #1687ee);
  font-weight: 900;
  cursor: pointer;
}
.substore-front-products.related {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 48px;
}
.substore-front-products.related h2 {
  grid-column: 1 / -1;
}
.public-order-thankyou .substore-front-hero {
  min-height: 100vh;
  display: grid;
  align-content: center;
}
.public-receipt-card {
  width: min(620px, 100%);
  margin: 18px auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: rgba(255,255,255,.12);
}
.public-receipt-card span {
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 10px;
  display: grid;
  gap: 5px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.1);
}
.public-receipt-card b {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.impersonation-banner {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #eff6ff;
  color: #1e3a8a;
}
.impersonation-banner div {
  display: grid;
  gap: 3px;
}
.impersonation-banner b {
  color: #0f172a;
}
.impersonation-banner span {
  color: #475569;
  font-weight: 700;
}

.wallet-review-list h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wallet-review-list h3 small {
  color: #2563eb;
  font-size: 12px;
}
.wallet-review-item {
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: grid;
  gap: 10px;
  background: #fff;
}
.wallet-review-item.pending {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.wallet-review-item.accepted {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.wallet-review-item.rejected {
  border-color: #fecaca;
  background: #fef2f2;
}
.wallet-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wallet-review-page {
  display: grid;
  gap: 16px;
}
.wallet-review-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.wallet-review-metric {
  min-height: 96px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: #fff;
}
.wallet-review-metric span {
  color: #64748b;
  font-weight: 800;
}
.wallet-review-metric strong {
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
}
.wallet-review-metric.pending {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.wallet-review-metric.accepted {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.wallet-review-metric.rejected {
  border-color: #fecaca;
  background: #fef2f2;
}
.wallet-review-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wallet-review-toolbar input {
  flex: 1;
  min-height: 44px;
  border: 1px solid #dbe3ef;
  border-radius: 9px;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
}
.wallet-review-tabs {
  display: inline-flex;
  gap: 8px;
}
.wallet-review-tabs button {
  min-height: 40px;
  border: 1px solid #dbe3ef;
  border-radius: 9px;
  padding: 0 12px;
  color: #475569;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}
.wallet-review-tabs button.active {
  border-color: #2563eb;
  color: #fff;
  background: #2563eb;
}
.wallet-review-table td small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .onboarding-hero,
  .onboarding-grid {
    grid-template-columns: 1fr;
  }
  .onboarding-checklist article {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .onboarding-checklist article .ghost-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .onboarding-mini {
    grid-template-columns: 1fr;
  }
  .substore-product-detail {
    grid-template-columns: 1fr;
  }
  .substore-product-info h1 {
    font-size: 27px;
  }
  .public-receipt-card {
    grid-template-columns: 1fr;
  }
  .impersonation-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .wallet-review-metrics {
    grid-template-columns: 1fr;
  }
  .wallet-review-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .wallet-review-tabs {
    flex-wrap: wrap;
  }
}
