@font-face { font-family: "SF Arabic"; src: url("https://fdn.fontcdn.ir/Fonts/SFArabic/bdf4c12c9c03148b6b478bd0162592e1e997303d00c64f67ec1e26a0c0e52ea7.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "SF Arabic"; src: url("https://fdn.fontcdn.ir/Fonts/SFArabic/bf086dbbb83a41d4b9f74b7a36213d7e7af501d25f15a55c988fb774f24a6e38.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "SF Arabic"; src: url("https://fdn.fontcdn.ir/Fonts/SFArabic/e6248f03ceeb70b0233822c35e700545679c4384ee7dee4c2092e74ca2b7059d.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "SF Arabic"; src: url("https://fdn.fontcdn.ir/Fonts/SFArabic/aaf74dbcf6abd6752bfb2653e1d2cab6bfae1e900e356ff6931e271bd82f4ee4.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #17211d;
  --muted: #65716b;
  --line: #e6ebe8;
  --paper: #fbfcfb;
  --green: #1e7a55;
  --green-dark: #12543a;
  --green-soft: #eaf6ef;
  --orange: #f3a94a;
  --red: #d84f4f;
  --shadow: 0 24px 60px rgba(24, 48, 37, .14);
  font-family: "SF Arabic", "Tahoma", system-ui, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
h1, h2, h3, h4, h5, h6 { font-family: "SF Arabic", "Tahoma", system-ui, sans-serif; font-weight: 700; }
button, select { font: inherit; }
input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .04em; }

.landing-page { display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 15% 15%, #dff3e9 0, transparent 35%), radial-gradient(circle at 90% 85%, #fff0d8 0, transparent 32%), #f7faf8; }
.landing-shell { width: min(900px, calc(100% - 40px)); padding: 70px 0; text-align: center; position: relative; }
.landing-shell h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.06; letter-spacing: -.05em; margin: 18px 0; }
.landing-shell h1 span { color: var(--green); }
.lead { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 42px; line-height: 1.8; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.role-card { color: inherit; text-decoration: none; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; align-items: center; gap: 16px; text-align: right; box-shadow: 0 12px 36px rgba(40,70,55,.07); transition: .2s ease; }
.role-card:hover { transform: translateY(-4px); border-color: #c9dacf; box-shadow: var(--shadow); }
.role-icon, .dashboard-brand span, .brand span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 16px; background: var(--green); color: white; font-weight: 900; }
.customer-card .role-icon { background: #ef9f3b; }
.role-card div { flex: 1; }
.role-card strong { display: block; font-size: 20px; margin-bottom: 4px; }
.role-card small { color: var(--muted); }
.arrow { font-size: 24px; }
.privacy-note { color: var(--muted); font-size: 13px; margin-top: 24px; }
.privacy-note a, .login-legal a, .legal-footer a { color: var(--green); font-weight: 700; text-decoration: none; }.privacy-note a:hover, .login-legal a:hover, .legal-footer a:hover { text-decoration: underline; }.login-legal { margin: 18px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.legal-page { min-height: 100vh; background: #f5f7f6; color: var(--ink); }.legal-shell { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 56px; }.legal-card { margin-top: 26px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }.legal-card h1 { margin: 10px 0 24px; font-size: clamp(32px, 5vw, 48px); }.legal-card h2 { margin: 28px 0 8px; font-size: 19px; }.legal-card p { margin: 0; color: var(--muted); line-height: 1.9; }.legal-footer { display: flex; justify-content: center; gap: 20px; padding: 24px 0; font-size: 13px; }

.store-page { background: #fff; }
.store-header { height: 82px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 50px; border-bottom: 1px solid #edf0ee; }
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; }
.brand span { width: 38px; height: 38px; border-radius: 12px; }
.store-header nav { display: flex; gap: 28px; flex: 1; }
.store-header nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.cart { font-size: 14px; font-weight: 700; }
.product-shell { width: min(1180px, calc(100% - 48px)); margin: 58px auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.product-visual { aspect-ratio: 1.1; background: #eef3f0; border-radius: 34px; display: grid; place-items: center; position: relative; overflow: hidden; color: #718078; font-size: 13px; }
.product-orb { width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #93bca8, #1a6246 62%, #0d3526); box-shadow: 0 40px 80px rgba(16,75,51,.25); position: absolute; }
.product-visual span { position: absolute; bottom: 24px; z-index: 1; }
.product-info h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.04em; margin: 12px 0; }
.product-kicker { color: var(--green); font-weight: 800; font-size: 13px; }
.stars { color: #e9a437; letter-spacing: 2px; }
.stars small { color: var(--muted); letter-spacing: 0; }
.description { color: var(--muted); font-size: 17px; line-height: 1.85; }
.price { display: block; font-size: 30px; margin: 24px 0; }
.add-button { width: 100%; border: 0; border-radius: 15px; padding: 16px; background: var(--ink); color: white; font-weight: 800; cursor: pointer; }
.call-launcher { position: fixed; left: 28px; bottom: 28px; min-width: 248px; border: 0; border-radius: 20px; padding: 13px 16px; background: var(--green); color: white; box-shadow: 0 16px 36px rgba(18,84,58,.3); display: flex; gap: 12px; align-items: center; text-align: right; cursor: pointer; z-index: 5; }
.call-launcher:disabled { cursor: default; opacity: .82; }
.call-launcher.offline { background: #52615a; box-shadow: none; }
.call-launcher strong, .call-launcher small { display: block; }
.call-launcher small { opacity: .8; margin-top: 2px; font-size: 11px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #7bf0ae; box-shadow: 0 0 0 6px rgba(123,240,174,.15); }
.offline .pulse-dot { background: #b3bcb7; box-shadow: none; }
.phone-icon { margin-right: auto; font-size: 22px; }
.featured-product { width: min(1180px, calc(100% - 48px)); margin: 22px auto -28px; padding: 14px; border: 1px solid #dceae2; border-radius: 18px; background: var(--green-soft); display: grid; grid-template-columns: 68px 1fr auto auto; align-items: center; gap: 16px; box-shadow: 0 10px 26px rgba(18,84,58,.08); }
.featured-product img { width: 68px; height: 68px; object-fit: cover; border-radius: 13px; background: white; }
.featured-product div span, .featured-product div strong, .featured-product div small { display: block; }.featured-product div span { color: var(--green); font-size: 10px; font-weight: 900; }.featured-product div strong { margin: 5px 0; }.featured-product div small { color: var(--muted); }
.featured-product > strong { white-space: nowrap; }.featured-product a { padding: 10px 14px; border-radius: 11px; background: var(--green); color: white; text-decoration: none; font-size: 12px; font-weight: 900; white-space: nowrap; }
.in-call-product { width: 100%; margin: 18px 0; grid-template-columns: 54px 1fr auto; gap: 10px; padding: 11px; text-align: right; border-radius: 15px; }
.in-call-product img { width: 54px; height: 54px; }.in-call-product div strong { font-size: 13px; }.in-call-product div small { font-size: 10px; }.in-call-product > strong { font-size: 13px; }.in-call-product a { grid-column: 1 / -1; text-align: center; padding: 9px; }

.overlay { position: fixed; inset: 0; z-index: 20; background: rgba(12,26,20,.55); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; }
.call-panel { width: min(430px, 100%); min-height: 510px; padding: 38px; border-radius: 30px; background: white; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; justify-content: center; }
.icon-button { border: 0; background: #f2f5f3; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.close-button { position: absolute; left: 20px; top: 20px; font-size: 22px; }
.available-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--green); background: var(--green-soft); padding: 8px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.available-badge i, .connection-badge i { width: 7px; height: 7px; background: #35a76f; border-radius: 50%; }
.call-panel h2 { font-size: 30px; margin: 20px 0 8px; }
.call-panel p { color: var(--muted); line-height: 1.7; margin-top: 0; }
.call-panel label { display: block; font-weight: 800; font-size: 13px; margin: 24px 0 8px; }
.call-panel select { width: 100%; border: 1px solid var(--line); background: #fafcfb; padding: 14px; border-radius: 13px; color: var(--ink); }
.primary-button, .secondary-button, .danger-button { width: 100%; border: 0; border-radius: 14px; padding: 15px; font-weight: 800; cursor: pointer; }
.primary-button { margin-top: 16px; background: var(--green); color: white; }
.secondary-button { background: var(--ink); color: white; margin-top: 20px; }
.danger-button { color: var(--red); background: #fff0f0; margin-top: 24px; }
.consent { display: block; text-align: center; color: #88928d; line-height: 1.6; margin-top: 13px; }
.call-state, .result-view { text-align: center; }
.state-orb { width: 106px; height: 106px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 32px; position: relative; }
.state-orb.ringing { background: var(--orange); animation: breathe 1.6s infinite; }
.state-orb.connecting { background: #5584a4; }
.state-orb.active { background: var(--green); box-shadow: 0 0 0 14px var(--green-soft); }
@keyframes breathe { 50% { box-shadow: 0 0 0 18px rgba(243,169,74,.12); transform: scale(1.04); } }
.state-label { font-size: 12px; font-weight: 800; color: var(--green); }
.call-timer { font-variant-numeric: tabular-nums; direction: ltr; letter-spacing: .08em; }
.call-controls { display: grid; place-items: center; margin-top: 24px; }
.call-control { min-width: 88px; border: 0; background: transparent; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; cursor: pointer; }
.mute-control-icon { width: 64px; height: 64px; border-radius: 50%; background: #eef1ef; display: grid; place-items: center; transition: background .18s ease, color .18s ease, transform .18s ease; }
.mute-control-icon svg { width: 27px; height: 27px; }.mute-control-icon .mic-off { display: none; }
.call-control > strong { font-size: 12px; }.call-control:active .mute-control-icon { transform: scale(.94); }
.call-control.selected .mute-control-icon { background: var(--red); color: white; }.call-control.selected .mic-on { display: none; }.call-control.selected .mic-off { display: block; }
.call-control:disabled { cursor: default; opacity: .55; }
.result-icon { width: 90px; height: 90px; margin: 0 auto; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 36px; font-weight: 900; }
.toast { position: fixed; z-index: 50; right: 50%; transform: translateX(50%); bottom: 24px; padding: 13px 18px; background: #15231d; color: white; border-radius: 12px; box-shadow: var(--shadow); font-size: 14px; }

.dashboard-page { background: #f5f7f6; display: grid; grid-template-columns: 230px 1fr; }
.salla-embedded-page { display: block; min-height: auto; background: transparent; }
.salla-embedded-page .dashboard-main { width: 100%; max-width: none; padding: 18px; }
.embedded-status-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.salla-embedded-page .active-call-bar { right: 24px; }
.salla-auth-error { max-width: 520px; margin: 80px auto; padding: 28px; border: 1px solid #ffd2d2; border-radius: 18px; background: #fff5f5; color: #8f2929; text-align: center; }
.salla-auth-error p { margin-bottom: 0; color: #a25858; }
html[data-theme="dark"] .salla-embedded-page { color-scheme: dark; background: #171b19; }
html[data-theme="dark"] .salla-embedded-page .availability-card,
html[data-theme="dark"] .salla-embedded-page .stats-grid article,
html[data-theme="dark"] .salla-embedded-page .queue-card,
html[data-theme="dark"] .salla-embedded-page .history-card { background: #202623; border-color: #343c38; color: #f1f5f3; }
.salla-call-only .store-header, .salla-call-only .product-shell { display: none; }
.salla-call-only { background: #f5f7f6; }
.sidebar { position: fixed; right: 0; top: 0; bottom: 0; width: 230px; padding: 28px 18px; background: #13231c; color: white; display: flex; flex-direction: column; }
.dashboard-brand { color: white; text-decoration: none; display: flex; gap: 11px; align-items: center; padding: 0 8px; font-size: 20px; }
.dashboard-brand span { width: 38px; height: 38px; border-radius: 12px; background: #2f946a; }
.sidebar nav { margin-top: 55px; display: grid; gap: 7px; }
.sidebar nav a { color: #9db0a7; text-decoration: none; padding: 12px 14px; border-radius: 11px; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.sidebar nav a.active { color: white; background: rgba(255,255,255,.09); }
.store-chip { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; }
.store-chip > span { width: 34px; height: 34px; display: grid; place-items: center; background: #2f946a; border-radius: 10px; font-weight: 900; }
.store-chip strong, .store-chip small { display: block; }
.store-chip strong { font-size: 12px; }.store-chip small { color: #8fa198; font-size: 10px; margin-top: 3px; }
.dashboard-main { grid-column: 2; width: min(1100px, calc(100% - 60px)); margin: 0 auto; padding: 48px 0 100px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.dashboard-header-actions { display: flex; align-items: center; gap: 12px; }
.dashboard-header h1 { font-size: 32px; margin: 7px 0; }.dashboard-header p { color: var(--muted); margin: 0; }
.connection-badge { background: #e7ece9; color: #6f7d76; border-radius: 999px; padding: 9px 13px; font-size: 12px; display: flex; align-items: center; gap: 7px; }
.connection-badge i { background: #9aa6a0; }.connection-badge.connected { background: var(--green-soft); color: var(--green); }.connection-badge.connected i { background: #35a76f; }
.availability-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 8px 24px rgba(36,65,51,.04); }
.availability-copy { display: flex; align-items: center; gap: 17px; }
.availability-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; transition: .2s; }
.availability-icon.offline { background: #eef1ef; color: #85918b; }.availability-icon.online { background: var(--green-soft); color: var(--green); }
.availability-card h2 { font-size: 17px; margin: 0 0 6px; }.availability-card p { color: var(--muted); font-size: 13px; margin: 0; }
.switch input { display: none; }.switch span { display: block; width: 52px; height: 30px; background: #cfd6d2; border-radius: 999px; padding: 3px; cursor: pointer; transition: .2s; }
.switch span::after { content: ""; display: block; width: 24px; height: 24px; border-radius: 50%; background: white; box-shadow: 0 2px 7px rgba(0,0,0,.15); transition: .2s; }
.switch input:checked + span { background: var(--green); }.switch input:checked + span::after { transform: translateX(-22px); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.stats-grid article { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.stats-grid span, .stats-grid small { display: block; color: var(--muted); font-size: 12px; }.stats-grid strong { display: block; font-size: 30px; margin: 13px 0 8px; }
.history-card { background: white; border: 1px solid var(--line); border-radius: 22px; min-height: 310px; padding: 26px; }
.queue-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 26px; margin-bottom: 18px; }
.product-share-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 26px; margin: 18px 0; }
.product-catalog { margin-top: 20px; }
.product-search-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 15px; font-weight: 800; }
.product-search-box { position: relative; }
.product-search-box input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 44px 11px 13px; color: var(--ink); background: #fbfcfb; font: inherit; }
.product-search-box input:focus { outline: 2px solid #cce8d9; border-color: var(--green); }
.product-search-box span { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: var(--muted); font-size: 24px; pointer-events: none; }
.product-results-status { display: block; margin: 10px 0 14px; color: var(--muted); font-size: 13px; }
.product-picker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.product-picker-card { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfb; display: grid; grid-template-rows: 125px 1fr auto; gap: 10px; transition: border-color .2s, box-shadow .2s; }
.product-picker-card.is-shared { border-color: var(--green); box-shadow: 0 0 0 2px #dff2e8; }
.product-picker-media { overflow: hidden; border-radius: 11px; background: #edf3f0; display: grid; place-items: center; color: var(--green); font-size: 34px; font-weight: 900; }
.product-picker-media img { width: 100%; height: 100%; object-fit: cover; }
.product-picker-copy { min-width: 0; }
.product-picker-copy strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.55; font-size: 15px; }
.product-picker-copy small { display: block; margin-top: 5px; color: var(--green); font-size: 13px; font-weight: 800; }
.product-show-button { width: 100%; border: 0; border-radius: 10px; padding: 10px 8px; font: inherit; font-weight: 800; cursor: pointer; }
.product-show-button:disabled { cursor: default; }
.product-share-form { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.product-share-form label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 800; }.product-share-form .wide { grid-column: 1 / -1; }.product-share-form input, .product-share-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; color: var(--ink); background: #fbfcfb; resize: vertical; }.product-share-form input:focus, .product-share-form textarea:focus { outline: 2px solid #cce8d9; border-color: var(--green); }
.product-share-form select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; color: #17251f; background: #fbfcfb; direction: rtl; }.product-share-form select:focus { outline: 2px solid #cce8d9; border-color: var(--green); }.product-share-form select option { color: #17251f; background: #fff; }
.product-share-actions { display: flex; align-items: center; gap: 9px; }.product-share-actions button { border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 800; }.product-share-actions small { color: var(--muted); margin-right: auto; }
.discount-share-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.selected-product-preview { display: flex; align-items: center; gap: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfb; }.selected-product-preview img { width: 58px; height: 58px; border-radius: 11px; object-fit: cover; }.selected-product-preview strong, .selected-product-preview small { display: block; }.selected-product-preview small { color: var(--muted); margin-top: 5px; }
.queue-count { display: inline-grid; place-items: center; min-width: 25px; height: 25px; padding: 0 7px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 12px; vertical-align: middle; }
.queue-empty { color: var(--muted); text-align: center; padding: 28px 10px 10px; font-size: 13px; }
.queue-list { margin-top: 18px; display: grid; gap: 10px; }
.queue-row { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid #edf1ef; border-radius: 14px; }
.queue-position { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #fff5e6; color: #a96616; font-weight: 900; direction: ltr; }
.queue-copy strong, .queue-copy small { display: block; }.queue-copy strong { font-size: 13px; }.queue-copy small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.queue-meta { text-align: left; }.queue-meta time, .queue-meta small { display: block; color: var(--muted); font-size: 10px; }.queue-meta .online { color: var(--green); }
.queue-actions { display: flex; gap: 7px; }.queue-actions button { border: 0; border-radius: 10px; padding: 9px 11px; cursor: pointer; font-weight: 800; font-size: 11px; }
.queue-call { background: var(--green); color: white; }.queue-call:disabled { background: #a9b7b0; cursor: default; }.queue-skip { background: #f1f3f2; color: var(--muted); }
.queue-row.offered { border-color: #f0c98e; background: #fffaf2; }
.section-heading { display: flex; justify-content: space-between; align-items: center; }.section-heading h2 { margin: 0 0 5px; font-size: 19px; }.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.text-button { border: 0; background: transparent; color: var(--green); font-weight: 800; cursor: pointer; }
.empty-state { text-align: center; color: var(--muted); padding: 55px 0; }.empty-state > span { width: 48px; height: 48px; border-radius: 50%; background: #f0f3f1; display: grid; place-items: center; margin: auto; }.empty-state h3 { color: var(--ink); margin: 15px 0 5px; font-size: 15px; }.empty-state p { margin: 0; font-size: 12px; }
.history-list { margin-top: 20px; }.history-row { display: grid; grid-template-columns: 38px 1fr auto auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #f0f2f1; }.history-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--green-soft); color: var(--green); font-weight: 900; }.history-row strong, .history-row small { display: block; }.history-row strong { font-size: 13px; }.history-row small, .history-row time { color: var(--muted); font-size: 11px; margin-top: 3px; }.status-pill { padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; }.status-complete { background: var(--green-soft); color: var(--green); }.status-missed { background: #fff0f0; color: var(--red); }.status-ringing { background: #fff5e6; color: #a96616; }.status-active { background: #eaf2ff; color: #356aaf; }
.incoming-card { width: min(390px, 100%); border-radius: 30px; padding: 38px; background: white; text-align: center; box-shadow: var(--shadow); }
.permission-card { width: min(430px, 100%); border-radius: 24px; padding: 32px; background: white; color: var(--ink); text-align: center; box-shadow: var(--shadow); }.permission-icon { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 22px; background: var(--green-soft); display: grid; place-items: center; font-size: 30px; }.permission-card h2 { margin: 0 0 10px; }.permission-card > p { color: var(--muted); line-height: 1.7; }.permission-status { padding: 10px 12px; border-radius: 10px; background: #f3f7f5; font-size: 12px; }.permission-actions { display: grid; gap: 8px; margin-top: 18px; }.permission-actions .primary-button { margin: 0; }.permission-cancel { border: 0; padding: 11px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; }
.settings-card { width: min(560px, 100%); border-radius: 24px; padding: 28px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }.settings-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }.settings-heading h2 { margin: 4px 0 0; }.settings-heading .icon-button { position: static; flex: 0 0 auto; }.settings-loading { padding: 28px 0; color: var(--muted); text-align: center; }.settings-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.settings-details > div { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #f8faf9; }.settings-details span, .settings-details strong { display: block; }.settings-details span { margin-bottom: 7px; color: var(--muted); font-size: 12px; }.settings-details strong { overflow-wrap: anywhere; }.embedded-status-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 560px) { .settings-card { width: calc(100% - 28px); padding: 22px 18px; }.settings-details { grid-template-columns: 1fr; } }
.incoming-label { color: var(--green); font-size: 12px; font-weight: 900; }.incoming-orb { width: 96px; height: 96px; border-radius: 50%; margin: 24px auto; background: var(--green); color: white; display: grid; place-items: center; font-size: 28px; font-weight: 900; position: relative; animation: breathe 1.5s infinite; }.incoming-orb i { position: absolute; inset: -10px; border: 1px solid rgba(30,122,85,.2); border-radius: 50%; }.incoming-orb i:last-child { inset: -22px; opacity: .5; }
.incoming-card h2 { margin: 0; font-size: 23px; }.incoming-card p { color: var(--ink); margin: 12px 0 4px; font-weight: 800; }.incoming-card small { color: var(--muted); }
.incoming-actions { display: flex; justify-content: center; gap: 58px; margin-top: 30px; }.round-action { border: 0; background: transparent; display: grid; gap: 8px; place-items: center; cursor: pointer; font-size: 12px; }.round-action span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 25px; }.round-action.reject span { background: var(--red); }.round-action.accept span { background: var(--green); }
.active-call-bar { position: fixed; z-index: 15; bottom: 24px; left: 24px; right: 254px; max-width: 850px; margin: auto; display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 14px; padding: 14px 18px; background: #15261e; color: white; border-radius: 18px; box-shadow: var(--shadow); }.caller-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #2f946a; font-weight: 900; }.active-call-bar span, .active-call-bar strong { display: block; }.active-call-bar span { color: #86c9aa; font-size: 10px; }.active-call-bar strong { font-size: 13px; margin-top: 3px; }.active-call-actions { display: flex; gap: 8px; }.end-call-button, .bar-control-button { border: 0; border-radius: 11px; padding: 10px 14px; color: white; cursor: pointer; font-weight: 800; font-size: 12px; white-space: nowrap; }.end-call-button { background: var(--red); }.bar-control-button { background: rgba(255,255,255,.12); }.bar-control-button.selected { background: #fff0f0; color: var(--red); }
.customer-mute-status { display: inline-flex; width: fit-content; margin-top: 6px; padding: 4px 8px; border-radius: 999px; background: #fff0f0; color: #ff9b9b; font-size: 11px; font-weight: 700; }
.call-activity { display: block; width: fit-content; max-width: min(420px, 100%); margin-top: 8px; padding: 6px 9px; border: 1px solid rgba(127, 240, 189, .22); border-radius: 8px; background: rgba(255, 255, 255, .08); color: #b9e7d0; font-size: 11px; line-height: 1.45; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 85% 10%, #e3f4eb 0, transparent 34%), #f5f7f6; }
.login-shell { width: min(440px, 100%); }
.login-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 22px; margin-bottom: 22px; }
.login-brand span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--green); color: white; font-weight: 900; }
.login-card { background: white; border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); }
.login-card h1 { margin: 8px 0 7px; font-size: 30px; }.login-card > p { color: var(--muted); line-height: 1.7; margin: 0 0 24px; }
.salla-login-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border-radius: 13px; background: #17251f; color: white; text-decoration: none; font-weight: 800; }
.salla-login-button span { padding: 3px 7px; border-radius: 7px; background: #79e3bd; color: #123329; }
.login-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 22px 0; }.login-divider::before, .login-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.login-form { display: grid; gap: 15px; }.login-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }.login-form input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px; font: inherit; direction: ltr; text-align: right; }.login-form input:focus { outline: 2px solid #cce8d9; border-color: var(--green); }
.login-form .primary-button { margin-top: 2px; }.login-form button:disabled { opacity: .6; cursor: wait; }.login-error { color: #a32d2d; background: #fff0f0; padding: 11px; border-radius: 10px; margin: 0; font-size: 12px; text-align: center; }
.login-notice { color: #176343 !important; background: #eaf7f0; padding: 11px; border-radius: 10px; margin: 0 0 18px !important; font-size: 12px; text-align: center; }

@media (max-width: 800px) {
  .role-grid, .product-shell, .stats-grid { grid-template-columns: 1fr; }
  .landing-shell { padding: 40px 0; }.landing-shell h1 { font-size: 42px; }
  .store-header nav { display: none; }.store-header { padding: 0 20px; }.cart { margin-right: auto; }
  .product-shell { margin: 26px auto 120px; gap: 30px; }.product-visual { aspect-ratio: 1; }.product-info h1 { font-size: 34px; }
  .featured-product { grid-template-columns: 54px 1fr; margin-bottom: 0; }.featured-product img { width: 54px; height: 54px; }.featured-product > strong, .featured-product a { grid-column: auto; }.product-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.product-share-form { grid-template-columns: 1fr; }.product-share-form label, .product-share-form .wide { grid-column: 1; }.product-share-actions { align-items: stretch; flex-wrap: wrap; }.product-share-actions small { width: 100%; margin: 4px 0 0; }
  .call-launcher { left: 16px; right: 16px; bottom: 16px; width: calc(100% - 32px); }
  .call-panel { min-height: 500px; padding: 30px 24px; }
  .dashboard-page { display: block; }.sidebar { display: none; }.dashboard-main { width: calc(100% - 28px); padding: 28px 0 100px; }.dashboard-header { align-items: flex-start; gap: 15px; }.dashboard-header-actions { align-items: flex-end; flex-direction: column; }.dashboard-header h1 { font-size: 25px; }.dashboard-header p { display: none; }
  .availability-card { padding: 20px; }.availability-copy { gap: 12px; }.availability-card p { max-width: 190px; }.availability-icon { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }.stats-grid article { padding: 15px 12px; }.stats-grid strong { font-size: 22px; }.stats-grid small { display: block; font-size: 9px; }
  .active-call-bar { left: 14px; right: 14px; bottom: 14px; grid-template-columns: 44px 1fr; }.active-call-bar .call-timer { grid-column: 1 / -1; display: block; text-align: center; font-size: 20px; }.active-call-actions { grid-column: 1 / -1; width: 100%; }.active-call-actions button { flex: 1; padding: 12px 8px; }
  .history-row { grid-template-columns: 36px 1fr auto; }.history-row time { display: none; }
}

/* Larger merchant-dashboard typography for comfortable Arabic reading. */
.dashboard-page { font-size: 16px; }
.dashboard-page .eyebrow { font-size: 15px; }
.dashboard-page .dashboard-brand { font-size: 23px; }
.dashboard-page .sidebar nav a { font-size: 16px; }
.dashboard-page .store-chip strong { font-size: 14px; }
.dashboard-page .store-chip small { font-size: 12px; }
.dashboard-page .dashboard-header h1 { font-size: 36px; }
.dashboard-page .dashboard-header p { font-size: 16px; line-height: 1.7; }
.dashboard-page .connection-badge { font-size: 14px; }
.dashboard-page .availability-card h2 { font-size: 21px; }
.dashboard-page .availability-card p { font-size: 15px; line-height: 1.7; }
.dashboard-page .section-heading h2 { font-size: 23px; }
.dashboard-page .section-heading p { font-size: 15px; line-height: 1.7; }
.dashboard-page .product-share-form label { font-size: 15px; }
.dashboard-page .product-share-form select,
.dashboard-page .product-share-form input,
.dashboard-page .product-share-form textarea { font-size: 16px; }
.dashboard-page .product-share-actions button,
.dashboard-page .text-button { font-size: 15px; }
.dashboard-page .product-share-actions small { font-size: 14px; line-height: 1.6; }
.dashboard-page .selected-product-preview strong { font-size: 16px; }
.dashboard-page .selected-product-preview small { font-size: 14px; }
.dashboard-page .stats-grid span,
.dashboard-page .stats-grid small { font-size: 14px; line-height: 1.5; }
.dashboard-page .stats-grid strong { font-size: 36px; }
.dashboard-page .queue-count { font-size: 14px; }
.dashboard-page .queue-empty { font-size: 15px; }
.dashboard-page .queue-copy strong { font-size: 16px; }
.dashboard-page .queue-copy small { font-size: 13px; }
.dashboard-page .queue-meta time,
.dashboard-page .queue-meta small { font-size: 12px; }
.dashboard-page .queue-actions button { font-size: 13px; }
.dashboard-page .empty-state h3 { font-size: 18px; }
.dashboard-page .empty-state p { font-size: 14px; }
.dashboard-page .history-row strong { font-size: 15px; }
.dashboard-page .call-activity { font-size: 13px; }

/* Apple-inspired interaction layer: restrained surfaces, pill controls and
   quiet motion while keeping the existing layout and functionality intact. */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --paper: #f5f5f7;
  --green: #007a4d;
  --green-dark: #00633f;
  --green-soft: #e8f5ef;
  --shadow: 0 18px 48px rgba(0, 0, 0, .08);
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, a, input, select, textarea { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(0, 122, 77, .28); outline-offset: 2px; }
.role-card, .availability-card, .stats-grid article, .history-card, .queue-card, .product-share-card, .login-card { border-color: rgba(210, 210, 215, .75); box-shadow: 0 8px 30px rgba(0, 0, 0, .04); }
.role-card:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0, 0, 0, .08); }
.primary-button, .add-button, .product-show-button, .queue-call, .salla-login-button { background: #007a4d; border-radius: 980px; }
.primary-button:hover, .add-button:hover, .product-show-button:hover, .queue-call:hover, .salla-login-button:hover { background: #00633f; transform: translateY(-1px); }
.secondary-button { background: #1d1d1f; border-radius: 980px; }
.danger-button { border-radius: 980px; }
.call-launcher { border-radius: 980px; background: rgba(0, 122, 77, .96); box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.call-launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, .18); }
.featured-product, .product-picker-card, .selected-product-preview { border-color: rgba(210, 210, 215, .75); box-shadow: 0 8px 24px rgba(0, 0, 0, .04); }
.featured-product a { border-radius: 980px; background: #007a4d; }
.call-panel, .incoming-card, .permission-card { border: 1px solid rgba(210, 210, 215, .7); border-radius: 24px; box-shadow: 0 24px 70px rgba(0, 0, 0, .16); }
.call-panel select, .product-search-box input, .product-share-form input, .product-share-form textarea, .product-share-form select, .login-form input { background: #fff; border-color: #d2d2d7; border-radius: 12px; }
.call-panel select:focus, .product-search-box input:focus, .product-share-form input:focus, .product-share-form textarea:focus, .product-share-form select:focus, .login-form input:focus { outline: none; border-color: #007a4d; box-shadow: 0 0 0 4px rgba(0, 122, 77, .14); }
.availability-card, .stats-grid article, .history-card, .queue-card, .product-share-card { border-radius: 18px; }
.switch span { background: #d2d2d7; }
.switch input:checked + span { background: #007a4d; }
.text-button { color: #007a4d; }
.dashboard-page .history-row small,
.dashboard-page .history-row time { font-size: 13px; }
.dashboard-page .status-pill { font-size: 12px; }
.dashboard-page .incoming-label { font-size: 14px; }
.dashboard-page .incoming-card h2 { font-size: 27px; }
.dashboard-page .incoming-card p { font-size: 17px; }
.dashboard-page .incoming-card small { font-size: 14px; }
.dashboard-page .round-action { font-size: 14px; }
.dashboard-page .active-call-bar span { font-size: 13px; }
.dashboard-page .active-call-bar strong { font-size: 16px; }
.dashboard-page .customer-mute-status { font-size: 13px; }
.dashboard-page .active-call-bar .call-timer { font-size: 24px; }
.dashboard-page .end-call-button,
.dashboard-page .bar-control-button { font-size: 14px; }

@media (max-width: 800px) {
  .dashboard-page .dashboard-header h1 { font-size: 29px; }
  .dashboard-page .availability-card h2 { font-size: 19px; }
  .dashboard-page .stats-grid strong { font-size: 28px; }
  .dashboard-page .stats-grid small { font-size: 12px; }
}

/* Hatif marketing site */
.landing-page { display: block; overflow-x: hidden; overflow-y: auto; background: #fff; color: #17231d; }
.marketing-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.marketing-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(222,230,226,.8); background: rgba(255,255,255,.88); backdrop-filter: blur(18px); }
.marketing-nav { min-height: 76px; display: flex; align-items: center; gap: 42px; }
.marketing-brand { display: inline-flex; align-items: center; gap: 10px; color: #17231d; text-decoration: none; font-size: 22px; }
.marketing-brand span { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 13px; background: #08734c; color: #fff; font-weight: 900; box-shadow: 0 8px 20px rgba(8,115,76,.18); }
.marketing-nav nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.marketing-nav nav a { color: #526159; text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.marketing-nav nav a:hover { color: #08734c; }
.marketing-nav-actions { display: flex; flex-shrink: 0; align-items: center; gap: 18px; }
.marketing-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 25px; border-radius: 999px; background: #08734c; color: #fff; text-decoration: none; font-size: 15px; font-weight: 800; box-shadow: 0 12px 26px rgba(8,115,76,.18); }
.marketing-button:hover { transform: translateY(-2px); background: #056341; box-shadow: 0 16px 30px rgba(8,115,76,.24); }
.marketing-button-small { min-height: 43px; flex-shrink: 0; padding-inline: 20px; border-radius: 13px; font-size: 13px; white-space: nowrap; }
.marketing-button-ghost { border: 1px solid #d8e2dd; background: #fff; color: #17231d; box-shadow: none; }
.marketing-button-ghost:hover { border-color: #a8c4b6; background: #f8fbf9; color: #08734c; box-shadow: none; }

.marketing-hero { position: relative; padding: 86px 0 92px; overflow: hidden; background: radial-gradient(circle at 15% 8%, rgba(255,224,180,.45), transparent 28%), radial-gradient(circle at 93% 12%, rgba(169,231,204,.48), transparent 30%), linear-gradient(180deg,#f8fbf9 0%,#fff 82%); }
.marketing-hero::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(7,74,49,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(7,74,49,.05) 1px,transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom,#000,transparent 82%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid #cae2d6; border-radius: 999px; background: rgba(255,255,255,.82); color: #08734c; font-size: 12px; font-weight: 800; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: #23a36d; box-shadow: 0 0 0 5px rgba(35,163,109,.12); }
.hero-copy h1 { max-width: 690px; margin: 24px 0 22px; font-size: clamp(48px,5.5vw,76px); line-height: 1.1; letter-spacing: -.045em; }
.hero-copy h1 em { color: #08734c; font-style: normal; }
.hero-copy > p { max-width: 630px; margin: 0; color: #5c6962; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 27px; color: #66736c; font-size: 12px; font-weight: 700; }
.hero-assurances span { display: flex; align-items: center; gap: 7px; }
.hero-assurances b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #e5f5ed; color: #08734c; font-size: 11px; }
.hero-product { position: relative; min-height: 520px; display: grid; place-items: center; direction: rtl; }
.hero-product::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: linear-gradient(145deg,#d7f0e4,#fff2df); filter: blur(2px); }
.demo-window { position: relative; z-index: 2; width: min(540px,100%); overflow: hidden; border: 1px solid rgba(193,208,200,.9); border-radius: 27px; background: #fff; box-shadow: 0 35px 90px rgba(24,61,44,.18); transform: rotate(-1.5deg); }
.demo-browser-bar { height: 49px; display: flex; align-items: center; gap: 6px; padding: 0 18px; border-bottom: 1px solid #e7ece9; background: #f7f9f8; direction: ltr; }
.demo-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d1d8d4; }.demo-browser-bar i:first-child { background: #efa347; }.demo-browser-bar i:nth-child(2) { background: #73b993; }.demo-browser-bar span { margin-inline: auto; color: #849089; font-size: 10px; }
.demo-store { position: relative; min-height: 385px; padding: 24px; }
.demo-store-head { display: flex; align-items: center; gap: 9px; font-size: 12px; }.demo-logo { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: #17231d; color: #fff; }.demo-cart { margin-right: auto; color: #7d8882; font-size: 10px; }
.demo-product-card { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; align-items: center; margin-top: 27px; }
.demo-product-image { height: 220px; display: grid; place-items: center; border-radius: 19px; background: #edf3f0; }.demo-product-image span { width: 108px; height: 145px; border-radius: 49% 49% 20px 20px; background: linear-gradient(145deg,#8fc4aa,#176444); box-shadow: 0 20px 35px rgba(23,100,68,.2); transform: rotate(7deg); }
.demo-product-copy { display: grid; gap: 9px; }.demo-product-copy small { color: #08734c; font-size: 9px; font-weight: 800; }.demo-product-copy strong { font-size: 17px; }.demo-product-copy i { display: block; width: 100%; height: 7px; border-radius: 10px; background: #e9eeeb; }.demo-product-copy i:nth-of-type(2) { width: 65%; }.demo-product-copy button { margin-top: 11px; border: 0; border-radius: 999px; padding: 10px; background: #17231d; color: #fff; font: 700 10px inherit; }
.demo-call-button { position: absolute; left: 19px; bottom: 19px; display: flex; align-items: center; gap: 9px; min-width: 218px; padding: 11px 14px; border-radius: 999px; background: #08734c; color: #fff; box-shadow: 0 12px 28px rgba(8,115,76,.3); }.demo-call-button > i { width: 9px; height: 9px; border-radius: 50%; background: #7af0b3; box-shadow: 0 0 0 5px rgba(122,240,179,.15); }.demo-call-button span { flex: 1; }.demo-call-button strong,.demo-call-button small { display: block; }.demo-call-button strong { font-size: 10px; }.demo-call-button small { margin-top: 2px; opacity: .72; font-size: 8px; }.demo-call-button b { font-size: 18px; }
.demo-incoming { position: absolute; z-index: 3; right: -24px; bottom: 26px; width: 300px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 11px; padding: 15px; border: 1px solid #d8e5de; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 20px 48px rgba(27,65,47,.16); }.demo-phone { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #e8f6ef; color: #08734c; font-size: 20px; }.demo-incoming small,.demo-incoming strong,.demo-incoming div span { display: block; }.demo-incoming small { color: #08734c; font-size: 9px; font-weight: 800; }.demo-incoming strong { margin: 3px 0; font-size: 12px; }.demo-incoming div span,.demo-incoming > i { color: #89928d; font-size: 9px; font-style: normal; }

.marketing-trust { border-block: 1px solid #e8eeeb; background: #fbfcfb; }.trust-row { min-height: 100px; display: flex; align-items: center; gap: 40px; }.trust-row p { margin: 0; color: #7c8881; font-size: 12px; font-weight: 800; }.trust-row div { display: flex; justify-content: space-between; gap: 34px; flex: 1; }.trust-row span { color: #34443c; font-size: 14px; font-weight: 800; }
.marketing-section { padding: 112px 0; scroll-margin-top: 80px; }
.section-intro { max-width: 700px; margin-bottom: 50px; }.section-kicker { color: #08734c; font-size: 12px; font-weight: 900; letter-spacing: .02em; }.section-intro h2,.experience-copy h2,.security-card h2 { margin: 12px 0 15px; font-size: clamp(36px,4.5vw,56px); line-height: 1.2; letter-spacing: -.035em; }.section-intro p,.experience-copy > p,.security-card > div > p { margin: 0; color: #68746e; font-size: 17px; line-height: 1.85; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }.feature-card { min-height: 270px; padding: 30px; border: 1px solid #e1e8e4; border-radius: 24px; background: #fbfcfb; }.feature-card-wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 25px; background: linear-gradient(135deg,#edf8f2,#fff); }.feature-card-wide .mini-launcher { grid-column: 1/-1; }.feature-number { align-self: start; color: #9bb4a8; font-size: 12px; font-weight: 900; }.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 36px; border-radius: 14px; background: #e6f4ed; color: #08734c; font-size: 20px; font-weight: 900; }.feature-card h3 { margin: 0 0 10px; font-size: 21px; }.feature-card p { margin: 0; color: #69756f; line-height: 1.8; font-size: 14px; }.feature-card-dark { border-color: #17231d; background: #17231d; color: #fff; }.feature-card-dark .feature-icon { background: rgba(255,255,255,.1); color: #8fe2b8; }.feature-card-dark p { color: #aebdb5; }
.mini-launcher { width: min(370px,100%); display: flex; align-items: center; gap: 11px; padding: 14px 17px; border-radius: 999px; background: #08734c; color: #fff; box-shadow: 0 15px 28px rgba(8,115,76,.2); }.mini-launcher > i { width: 9px; height: 9px; border-radius: 50%; background: #83efb7; box-shadow: 0 0 0 5px rgba(131,239,183,.14); }.mini-launcher span { display: grid; }.mini-launcher strong { font-size: 12px; }.mini-launcher small { opacity: .7; font-size: 9px; }

.how-section { background: #10271d; color: #fff; }.section-intro-light .section-kicker { color: #74dba6; }.section-intro-light { max-width: 780px; }.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 50px 0 42px; }.steps-grid article { position: relative; min-width: 0; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.035); }.steps-grid span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #74dba6; color: #10271d; font-weight: 900; }.steps-grid h3 { margin: 24px 0 9px; font-size: 21px; line-height: 1.5; }.steps-grid p { max-width: 280px; margin: 0; color: #aebdb5; font-size: 14px; line-height: 1.8; }.marketing-button-light { background: #fff; color: #10271d; box-shadow: none; }.marketing-button-light:hover { background: #eaf7f0; color: #08734c; box-shadow: none; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }.experience-panel { padding: 28px; border: 1px solid #dfe7e3; border-radius: 28px; background: linear-gradient(145deg,#f7faf8,#edf5f1); box-shadow: 0 28px 70px rgba(27,65,47,.11); }.experience-top { display: flex; justify-content: space-between; align-items: center; color: #08734c; font-size: 12px; font-weight: 800; }.experience-top span { display: flex; align-items: center; gap: 8px; }.experience-top i { width: 8px; height: 8px; border-radius: 50%; background: #2db278; box-shadow: 0 0 0 5px rgba(45,178,120,.12); }.experience-top b { color: #17231d; font-size: 17px; }
.experience-call { display: grid; grid-template-columns: 58px 1fr; gap: 14px; margin-top: 28px; padding: 23px; border: 1px solid #e1e7e4; border-radius: 21px; background: #fff; box-shadow: 0 16px 38px rgba(27,65,47,.08); }.experience-avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: #e5f5ed; color: #08734c; font-size: 20px; font-weight: 900; }.experience-call small { color: #08734c; font-size: 10px; font-weight: 900; }.experience-call strong { display: block; margin-top: 3px; }.experience-call p { margin: 5px 0 0; color: #7b8680; font-size: 11px; }.experience-actions { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }.experience-actions button { border: 0; border-radius: 999px; padding: 12px; background: #08734c; color: #fff; font: 800 12px inherit; }.experience-actions button:last-child { background: #f3f5f4; color: #765b5b; }
.experience-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }.experience-stats > span { padding: 18px; border: 1px solid #e1e7e4; border-radius: 17px; background: rgba(255,255,255,.76); }.experience-stats small,.experience-stats strong { display: block; }.experience-stats small { color: #79847e; font-size: 10px; }.experience-stats strong { margin-top: 5px; font-size: 25px; }.experience-copy ul { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }.experience-copy li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }.experience-copy li span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #e7f5ee; color: #08734c; font-size: 11px; }

.security-section { padding-top: 40px; }.security-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 64px; border-radius: 34px; background: #f1f7f4; }.security-card > div > a { display: inline-block; margin-top: 23px; color: #08734c; font-size: 13px; font-weight: 900; text-decoration: none; }.security-points { display: grid; gap: 11px; }.security-points article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 19px; border: 1px solid #dce8e2; border-radius: 17px; background: rgba(255,255,255,.8); }.security-points article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #0c3b2a; color: #91e2b9; font-size: 10px; font-weight: 900; }.security-points strong,.security-points small { display: block; }.security-points strong { margin-bottom: 5px; }.security-points small { color: #707d76; line-height: 1.7; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }.faq-intro { position: sticky; top: 120px; }.faq-list { border-top: 1px solid #dfe6e2; }.faq-list details { border-bottom: 1px solid #dfe6e2; }.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 25px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { color: #08734c; font-size: 22px; font-weight: 400; transition: transform .2s ease; }.faq-list details[open] summary span { transform: rotate(45deg); }.faq-list details p { max-width: 650px; margin: -8px 0 24px; color: #69756f; line-height: 1.85; font-size: 14px; }
.marketing-cta { padding: 10px 0 110px; }.cta-card { padding: 72px; border-radius: 34px; background: linear-gradient(135deg,#08734c,#0b5038); color: #fff; text-align: center; box-shadow: 0 30px 70px rgba(8,115,76,.2); }.cta-card > span { color: #8fe1b7; font-size: 13px; font-weight: 900; }.cta-card h2 { max-width: 790px; margin: 14px auto 30px; font-size: clamp(34px,4.6vw,56px); line-height: 1.25; }.cta-card > div { display: flex; justify-content: center; align-items: center; gap: 22px; }.cta-login { color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.marketing-footer { padding: 65px 0 24px; border-top: 1px solid #e4ebe7; background: #f8faf9; }.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }.footer-grid > div { display: grid; align-content: start; gap: 11px; }.footer-grid > div:first-child p { max-width: 320px; margin: 10px 0 0; color: #748079; line-height: 1.8; font-size: 13px; }.footer-grid > div > strong { margin-bottom: 5px; font-size: 13px; }.footer-grid > div > a:not(.marketing-brand) { width: fit-content; color: #68746e; text-decoration: none; font-size: 13px; }.footer-grid > div > a:hover { color: #08734c; }.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid #e1e8e4; color: #89938e; font-size: 11px; }

@media (max-width: 1080px) {
  .marketing-nav nav { display: none; }
  .hero-grid,.experience-grid,.security-card,.faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }.hero-copy { text-align: center; }.hero-copy h1,.hero-copy > p { margin-inline: auto; }.hero-actions,.hero-assurances { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr 1fr; }.feature-card-wide { grid-column: span 2; }
  .experience-grid { gap: 52px; }.experience-panel { order: 2; }.security-card { gap: 38px; }.faq-grid { gap: 30px; }.faq-intro { position: static; margin-bottom: 10px; }
}
@media (max-width: 680px) {
  .marketing-container { width: min(100% - 30px,1180px); }
  .marketing-nav { min-height: 66px; gap: 12px; }.marketing-brand { font-size: 19px; }.marketing-brand span { width: 36px; height: 36px; }.marketing-nav-actions { margin-right: auto; }.marketing-button-small { min-height: 39px; padding-inline: 15px; }
  .marketing-hero { padding: 60px 0 72px; }.hero-copy h1 { font-size: 43px; }.hero-copy > p { font-size: 16px; }.hero-actions { flex-direction: column; }.hero-actions .marketing-button { width: 100%; }.hero-assurances { align-items: flex-start; flex-direction: column; width: fit-content; margin-inline: auto; }
  .hero-product { min-height: 410px; }.hero-product::before { width: 330px; height: 330px; }.demo-window { border-radius: 20px; }.demo-store { min-height: 300px; padding: 17px; }.demo-product-image { height: 165px; }.demo-product-image span { width: 75px; height: 105px; }.demo-call-button { left: 10px; bottom: 12px; min-width: 185px; }.demo-incoming { right: 3px; bottom: -24px; width: 255px; }
  .trust-row { align-items: flex-start; flex-direction: column; padding-block: 26px; gap: 18px; }.trust-row div { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 14px; }
  .marketing-section { padding: 78px 0; }.section-intro h2,.experience-copy h2,.security-card h2 { font-size: 36px; }.feature-grid { grid-template-columns: 1fr; }.feature-card,.feature-card-wide { grid-column: auto; min-height: auto; }.feature-card-wide { grid-template-columns: 1fr; }.feature-card-wide .mini-launcher { grid-column: auto; }.feature-icon { margin-bottom: 25px; }
  .steps-grid { grid-template-columns: 1fr; }.steps-grid article { padding: 24px; }
  .experience-panel { padding: 17px; }.experience-call { padding: 17px; }.security-card { padding: 35px 23px; border-radius: 25px; }.security-points article { padding: 15px; }
  .cta-card { padding: 48px 22px; border-radius: 25px; }.cta-card h2 { font-size: 34px; }.cta-card > div { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > div:first-child { grid-column: 1/-1; }.footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Mobile merchant workspace: a thumb-friendly control surface rather than a
   squeezed desktop dashboard. The active call bar stays above the bottom nav
   so audio controls remain reachable while the merchant scrolls. */
@media (max-width: 800px) {
  .dashboard-page {
    display: block;
    min-height: 100dvh;
    padding-bottom: 82px;
    overflow-x: hidden;
  }
  .dashboard-page .sidebar {
    position: fixed;
    z-index: 40;
    inset: auto 0 0;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-radius: 18px 18px 0 0;
    background: rgba(29, 29, 31, .97);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, .16);
    backdrop-filter: blur(18px);
  }
  .dashboard-page .sidebar .dashboard-brand,
  .dashboard-page .sidebar .store-chip { display: none; }
  .dashboard-page .sidebar nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .dashboard-page .sidebar nav a {
    min-height: 56px;
    padding: 5px 3px;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    color: #b7b7bd;
    text-align: center;
    font-size: 11px;
    line-height: 1.2;
  }
  .dashboard-page .sidebar nav a span { font-size: 20px; line-height: 1; }
  .dashboard-page .sidebar nav a.active { color: #fff; background: rgba(255, 255, 255, .13); }
  .dashboard-page .dashboard-main {
    width: 100%;
    max-width: none;
    padding: 18px 14px 180px;
  }
  .dashboard-page .dashboard-header {
    display: block;
    margin-bottom: 14px;
  }
  .dashboard-page .dashboard-header h1 { margin: 5px 0 0; font-size: 27px; line-height: 1.25; }
  .dashboard-page .dashboard-header p { display: block; margin-top: 7px; font-size: 13px; line-height: 1.6; }
  .dashboard-page .dashboard-header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
  }
  .dashboard-page .connection-badge { min-height: 42px; padding: 10px 13px; font-size: 13px; }
  .dashboard-page .text-button { min-height: 44px; padding: 9px 4px; font-size: 14px; }
  .dashboard-page .availability-card {
    min-height: 96px;
    padding: 17px;
    border-radius: 18px;
    gap: 12px;
  }
  .dashboard-page .availability-copy { min-width: 0; gap: 10px; }
  .dashboard-page .availability-icon { display: grid; width: 42px; height: 42px; border-radius: 13px; font-size: 18px; }
  .dashboard-page .availability-card h2 { font-size: 17px; line-height: 1.35; }
  .dashboard-page .availability-card p { max-width: none; font-size: 12px; line-height: 1.55; }
  .dashboard-page .switch span { width: 56px; height: 34px; padding: 4px; }
  .dashboard-page .switch span::after { width: 26px; height: 26px; }
  .dashboard-page .switch input:checked + span::after { transform: translateX(-22px); }
  .dashboard-page .product-share-card,
  .dashboard-page .queue-card,
  .dashboard-page .history-card {
    padding: 17px;
    margin-top: 14px;
    border-radius: 18px;
  }
  .dashboard-page .section-heading { align-items: flex-start; gap: 10px; }
  .dashboard-page .section-heading > div { min-width: 0; }
  .dashboard-page .section-heading h2 { font-size: 20px; line-height: 1.35; }
  .dashboard-page .section-heading p { font-size: 12px; line-height: 1.6; }
  .dashboard-page .section-heading > .text-button { flex: 0 0 auto; }
  .dashboard-page .product-catalog { margin-top: 16px; }
  .dashboard-page .product-search-label { font-size: 14px; }
  .dashboard-page .product-search-box input { min-height: 52px; padding-top: 13px; padding-bottom: 13px; font-size: 16px; }
  .dashboard-page .product-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .dashboard-page .product-picker-card { grid-template-rows: 108px 1fr auto; padding: 9px; border-radius: 14px; gap: 8px; }
  .dashboard-page .product-picker-copy strong { font-size: 13px; line-height: 1.45; }
  .dashboard-page .product-picker-copy small { font-size: 12px; }
  .dashboard-page .product-show-button { min-height: 44px; padding: 10px 6px; font-size: 13px; }
  .dashboard-page .product-share-actions { align-items: stretch; flex-wrap: wrap; gap: 8px; }
  .dashboard-page .product-share-actions button { min-height: 46px; flex: 1 1 45%; padding: 10px 9px; font-size: 13px; }
  .dashboard-page .product-share-actions small { width: 100%; margin: 2px 0 0; font-size: 12px; }
  .dashboard-page .product-share-form { display: block; margin-top: 16px; }
  .dashboard-page .product-share-form label { gap: 8px; margin-bottom: 10px; font-size: 14px; }
  .dashboard-page .product-share-form input { min-height: 52px; font-size: 16px; }
  .dashboard-page .product-share-form .product-share-actions { margin-top: 8px; }
  .dashboard-page .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
  .dashboard-page .stats-grid article { min-height: 112px; padding: 14px 12px; border-radius: 15px; }
  .dashboard-page .stats-grid span { font-size: 12px; line-height: 1.45; }
  .dashboard-page .stats-grid strong { margin: 9px 0 5px; font-size: 26px; }
  .dashboard-page .stats-grid small { font-size: 11px; line-height: 1.4; }
  .dashboard-page .queue-list { margin-top: 14px; }
  .dashboard-page .queue-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }
  .dashboard-page .queue-position { width: 34px; height: 34px; }
  .dashboard-page .queue-copy strong { font-size: 14px; line-height: 1.4; }
  .dashboard-page .queue-copy small { font-size: 12px; }
  .dashboard-page .queue-meta { grid-column: 2; display: flex; justify-content: space-between; gap: 8px; text-align: right; }
  .dashboard-page .queue-actions { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dashboard-page .queue-actions button { min-height: 46px; font-size: 13px; }
  .dashboard-page .history-list { margin-top: 12px; }
  .dashboard-page .history-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 9px; padding: 14px 0; }
  .dashboard-page .history-row strong { font-size: 14px; line-height: 1.4; }
  .dashboard-page .history-row small { font-size: 11px; line-height: 1.4; }
  .dashboard-page .history-row time { display: none; }
  .dashboard-page .status-pill { padding: 7px 8px; font-size: 11px; }
  .dashboard-page .active-call-bar {
    left: 10px;
    right: 10px;
    bottom: 82px;
    width: auto;
    max-width: none;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 11px 12px;
    border-radius: 17px;
  }
  .dashboard-page .active-call-bar .call-timer { grid-column: auto; font-size: 20px; }
  .dashboard-page .active-call-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 8px; }
  .dashboard-page .active-call-actions button { min-height: 46px; padding: 10px 7px; font-size: 13px; }
  .dashboard-page .call-activity { max-width: 100%; font-size: 11px; }
  .dashboard-page .incoming-card,
  .dashboard-page .permission-card { width: calc(100% - 28px); padding: 26px 20px; border-radius: 22px; }
  .dashboard-page .incoming-actions { gap: 44px; }
}

@media (max-width: 430px) {
  .dashboard-page .dashboard-main { padding-inline: 10px; }
  .dashboard-page .product-picker-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .dashboard-page .product-picker-card { grid-template-rows: 94px 1fr auto; padding: 8px; }
  .dashboard-page .product-picker-copy strong { font-size: 12px; }
  .dashboard-page .product-show-button { font-size: 12px; }
  .dashboard-page .availability-card { padding-inline: 13px; }
  .dashboard-page .availability-icon { display: none; }
  .dashboard-page .stats-grid strong { font-size: 23px; }
  .dashboard-page .active-call-bar { left: 7px; right: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-page *, .dashboard-page *::before, .dashboard-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Super-admin workspace */
.admin-page { min-height: 100vh; background: #f5f5f7; color: #1d1d1f; }
.admin-header { max-width: 1240px; margin: 0 auto; padding: 34px 24px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.admin-header h1, .admin-section h2 { margin: 4px 0 0; letter-spacing: -.03em; }
.admin-header p { color: #6e6e73; margin: 8px 0 0; }
.admin-main { max-width: 1240px; margin: 0 auto; padding: 0 24px 48px; display: grid; gap: 20px; }
.admin-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.admin-stat, .admin-section { background: #fff; border: 1px solid #e5e5e7; border-radius: 18px; box-shadow: 0 8px 30px #1d1d1f08; }
.admin-stat { padding: 17px; display: grid; gap: 8px; }
.admin-stat span, .admin-header .eyebrow { color: #6e6e73; font-size: 12px; font-weight: 700; }
.admin-stat strong { font-size: 28px; letter-spacing: -.04em; }
.admin-stat.good strong { color: #16804b; }.admin-stat.warn strong { color: #b45309; }
.admin-section { padding: 22px; min-width: 0; }.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-width: 0; }
.admin-table-wrap { overflow-x: auto; } .admin-table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.admin-table-wrap th, .admin-table-wrap td { text-align: right; padding: 12px 10px; border-bottom: 1px solid #f0f0f2; white-space: nowrap; font-size: 13px; }
.admin-table-wrap th { color: #6e6e73; font-weight: 700; }.status-badge { border-radius: 999px; padding: 4px 9px; background: #f1f1f3; }.status-badge.active { color: #16804b; background: #e8f7ef; }.status-badge.suspended { color: #b42318; background: #fff0ee; }
.admin-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }.admin-form input, .admin-form select { border: 1px solid #d2d2d7; border-radius: 10px; min-height: 42px; padding: 0 12px; font: inherit; }.admin-form button { min-height: 42px; }
.link-button { border: 0; background: transparent; color: #06c; cursor: pointer; font: inherit; padding: 4px; }.link-button:disabled { opacity: .5; }
.admin-link-button { text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }.admin-back-link { color: #06c; text-decoration: none; }.admin-error-cell { color: #b42318; max-width: 260px; white-space: normal !important; }.admin-table-wrap details { min-width: 180px; }.admin-table-wrap details summary { color: #06c; cursor: pointer; }.admin-table-wrap pre { max-width: 520px; max-height: 300px; overflow: auto; padding: 12px; background: #f5f5f7; border-radius: 10px; text-align: left; font-size: 11px; }
@media (max-width: 900px) { .admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }.admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .admin-header { padding: 22px 16px 12px; }.admin-main { padding: 0 16px 32px; }.admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }.admin-section { padding: 16px; }.admin-form { grid-template-columns: 1fr; }.admin-header h1 { font-size: 24px; } }

/* Refined admin UI */
.admin-page { background: linear-gradient(180deg, #f8faf9 0, #f4f5f7 260px); }
.admin-header { position: relative; max-width: 1320px; padding: 42px 28px 26px; }
.admin-header::before { content: "هاتف  /  الإدارة"; position: absolute; top: 18px; right: 28px; color: #8a8f98; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.admin-header h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; }
.admin-header p { font-size: 14px; }
.admin-main { max-width: 1320px; gap: 24px; }
.admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.admin-stat { position: relative; overflow: hidden; min-height: 102px; padding: 19px 20px; border-color: #e4e8e6; }
.admin-stat::after { content: ""; position: absolute; left: -28px; bottom: -38px; width: 104px; height: 104px; border-radius: 50%; background: #147d5312; }
.admin-stat span { font-size: 13px; }.admin-stat strong { font-size: 31px; }
.admin-section { border-color: #e4e8e6; border-radius: 20px; padding: 24px; box-shadow: 0 12px 35px #1831260b; }
.section-heading { margin-bottom: 20px; }.section-heading h2 { font-size: 20px; font-weight: 800; }
.admin-table-wrap { border: 1px solid #edf0ee; border-radius: 14px; background: #fff; }
.admin-table-wrap table { min-width: 760px; }.admin-table-wrap thead { background: #f7f9f8; }.admin-table-wrap th { font-size: 12px; letter-spacing: .01em; }.admin-table-wrap td { color: #34383e; }.admin-table-wrap tbody tr { transition: background .18s ease; }.admin-table-wrap tbody tr:hover { background: #f7fbf9; }
.admin-table-wrap th:first-child, .admin-table-wrap td:first-child { padding-right: 18px; }.admin-table-wrap th:last-child, .admin-table-wrap td:last-child { padding-left: 18px; }
.admin-table-wrap small { color: #8a8f98; font-size: 11px; }.status-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }.status-badge.processed { color: #117a4b; background: #e7f7ee; }.status-badge.failed { color: #b42318; background: #fff0ee; }.status-badge.received { color: #996000; background: #fff7df; }
.admin-form { padding: 14px; border: 1px solid #edf0ee; background: #fafcfb; border-radius: 14px; }.admin-form input, .admin-form select { background: #fff; }.admin-form .primary-button { border-radius: 10px; }
.admin-link-button { color: #116b49; border-color: #cfe6da; background: #f1faf5; }
.admin-back-link { display: inline-flex; margin-bottom: 8px; }
@media (max-width: 900px) { .admin-header::before { right: 18px; }.admin-header { padding-top: 40px; }.admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .admin-header { padding: 36px 16px 18px; }.admin-header::before { right: 16px; top: 14px; }.admin-main { gap: 16px; }.admin-stats { gap: 9px; }.admin-stat { min-height: 84px; padding: 14px; }.admin-stat strong { font-size: 25px; }.admin-stat span { font-size: 11px; }.admin-section { padding: 15px; border-radius: 16px; }.section-heading { align-items: flex-start; }.section-heading h2 { font-size: 18px; }.admin-table-wrap { margin-inline: -2px; }.admin-table-wrap table { min-width: 720px; } }

/* Admin is a standalone workspace: do not inherit the merchant dashboard grid. */
.admin-page { display: block; min-height: 100vh; background: #f6f8f7; }
.admin-page .admin-header { max-width: 1320px; margin: 0 auto; padding: 22px 28px 28px; display: block; }
.admin-page .admin-header::before { display: none; }
.admin-header-top { display: flex; align-items: center; gap: 24px; min-height: 48px; }
.admin-brand { display: inline-flex; align-items: center; gap: 10px; color: #17211d; text-decoration: none; font-size: 20px; font-weight: 800; }
.admin-brand span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #1e7a55; color: #fff; font-weight: 900; }
.admin-nav { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.admin-nav a { color: #65716b; text-decoration: none; padding: 9px 13px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.admin-nav a:hover, .admin-nav a.active { color: #12543a; background: #eaf6ef; }
.admin-page .admin-header-top .secondary-button { width: auto; min-width: 0; margin: 0; padding: 10px 16px; border-radius: 10px; background: #17211d; font-size: 13px; }
.admin-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 40px; }
.admin-hero h1 { margin: 5px 0 6px; color: #17211d; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; letter-spacing: -.045em; }
.admin-hero p { max-width: 650px; margin: 0; color: #65716b; font-size: 15px; line-height: 1.8; }
.admin-identity { min-width: 210px; padding: 14px 16px; border: 1px solid #dfe8e3; border-radius: 14px; background: #fff; text-align: right; }
.admin-identity span, .admin-identity strong { display: block; }.admin-identity span { color: #8a948e; font-size: 11px; font-weight: 700; }.admin-identity strong { margin-top: 5px; color: #17211d; font-size: 13px; direction: ltr; text-align: right; }
.admin-page .admin-main { max-width: 1320px; margin: 0 auto; padding: 0 28px 56px; gap: 22px; }
.admin-page .admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.admin-page .admin-stat { min-height: 106px; padding: 20px; border-radius: 16px; }
.admin-page .admin-section { border-radius: 18px; padding: 22px; }
.admin-page .section-heading { align-items: center; margin-bottom: 16px; }
.admin-page .section-heading h2 { font-size: 21px; line-height: 1.35; }
.admin-page .section-heading .secondary-button, .admin-page .admin-link-button { width: auto; min-width: 0; margin: 0; padding: 10px 15px; border-radius: 10px; font-size: 13px; white-space: nowrap; }
.admin-page .section-heading .secondary-button { background: #17211d; }
.admin-page .admin-link-button { background: #eaf6ef; color: #12543a; border: 1px solid #cde5d8; }
.admin-page .admin-table-wrap { border-radius: 12px; }
.admin-page .admin-table-wrap th, .admin-page .admin-table-wrap td { padding-top: 13px; padding-bottom: 13px; }
.admin-page .admin-table-wrap th { font-size: 12px; }
.admin-page .admin-table-wrap td { font-size: 13px; }
.admin-page .admin-form .primary-button { width: auto; min-width: 140px; margin: 0; border-radius: 10px; }
.admin-page .admin-form { align-items: center; }
.admin-page .link-button { color: #147a52; font-weight: 700; }
@media (max-width: 900px) {
  .admin-page .admin-header { padding-inline: 20px; }
  .admin-page .admin-main { padding-inline: 20px; }
  .admin-hero { align-items: stretch; flex-direction: column; margin-top: 30px; }
  .admin-identity { width: 100%; }
}
@media (max-width: 560px) {
  .admin-page .admin-header { padding: 16px 16px 22px; }
  .admin-header-top { gap: 10px; }
  .admin-nav { order: 3; width: 100%; margin: 4px 0 0; }
  .admin-nav a { flex: 1; text-align: center; padding-inline: 7px; }
  .admin-header-top { flex-wrap: wrap; }
  .admin-page .admin-header-top .secondary-button { margin-inline-start: auto; padding: 9px 12px; }
  .admin-page .admin-main { padding: 0 16px 34px; }
  .admin-page .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .admin-page .admin-stat { min-height: 86px; padding: 14px; }
  .admin-page .admin-stat strong { font-size: 26px; }
  .admin-page .admin-section { padding: 16px; }
  .admin-page .section-heading { align-items: flex-start; }
  .admin-page .section-heading h2 { font-size: 19px; }
  .admin-page .section-heading .secondary-button, .admin-page .admin-link-button { padding: 9px 10px; font-size: 12px; }
}

/* Admin action palette */
.admin-page .admin-nav a { border: 1px solid #dbe8e1; background: #fff; color: #315247; box-shadow: 0 2px 7px rgba(23, 33, 29, .04); }
.admin-page .admin-nav a:hover { border-color: #9bcbb3; background: #f1faf5; color: #12543a; }
.admin-page .admin-nav a.active { border-color: #1e7a55; background: #1e7a55; color: #fff; box-shadow: 0 5px 14px rgba(30, 122, 85, .2); }
.admin-page .section-heading .secondary-button { border: 1px solid #1e7a55; background: #1e7a55; color: #fff; box-shadow: 0 5px 14px rgba(30, 122, 85, .16); }
.admin-page .section-heading .secondary-button:hover { background: #12543a; border-color: #12543a; }
.admin-page .admin-header-top .secondary-button { border: 1px solid #26332d; background: #26332d; color: #fff; }
.admin-page .admin-header-top .secondary-button:hover { background: #17211d; border-color: #17211d; }
.admin-page .admin-form .primary-button { background: #1e7a55; color: #fff; border: 1px solid #1e7a55; box-shadow: 0 5px 14px rgba(30, 122, 85, .14); }
.admin-page .admin-form .primary-button:hover { background: #12543a; border-color: #12543a; }
.admin-subscription-stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.subscription-type { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.subscription-type.paid { background: #e7f7ee; color: #117a4b; }
.subscription-type.trial { background: #fff4dc; color: #9a5b00; }
.admin-empty-cell { padding: 28px !important; text-align: center !important; color: #8a948e; }
@media (max-width: 900px) { .admin-subscription-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* Marketing rhythm and responsive spacing polish. */
.landing-page { line-height: 1.65; }
.marketing-container { width: min(1120px, calc(100% - 64px)); }
.marketing-nav { gap: 48px; }
.marketing-nav nav { gap: 32px; }
.marketing-hero { padding-block: 82px 96px; }
.hero-grid { grid-template-columns: 1fr 1fr; gap: 54px; }
.hero-copy h1 { max-width: 620px; margin-block: 25px 22px; font-size: clamp(46px, 5vw, 66px); line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.hero-copy > p { max-width: 580px; font-size: 17px; line-height: 1.95; text-wrap: pretty; }
.hero-actions { margin-top: 34px; }
.marketing-section { padding-block: clamp(84px, 8vw, 108px); scroll-margin-top: 88px; }
.section-intro { max-width: 680px; margin-bottom: 46px; }
.section-intro h2, .experience-copy h2, .security-card h2 { margin-block: 14px 17px; font-size: clamp(36px, 4.2vw, 52px); line-height: 1.28; letter-spacing: -.025em; text-wrap: balance; }
.section-intro p, .experience-copy > p, .security-card > div > p { font-size: 16px; line-height: 1.95; text-wrap: pretty; }
.feature-grid { gap: 20px; }
.feature-card { min-height: 260px; padding: 32px; }
.feature-card-wide { gap: 28px; }
.feature-icon { margin-bottom: 34px; }
.feature-card h3 { margin-bottom: 12px; line-height: 1.45; }
.feature-card p { line-height: 1.9; }
.experience-grid { gap: 76px; }
.experience-panel { padding: 30px; }
.security-section { padding-top: 52px; }
.security-card { gap: 64px; padding: 60px; }
.faq-grid { gap: 76px; }
.faq-list summary { line-height: 1.6; }
.faq-list details p { line-height: 1.95; }

@media (max-width: 1080px) {
  .marketing-container { width: min(100% - 48px, 760px); }
  .hero-grid, .experience-grid, .security-card, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 58px; }
  .experience-grid { gap: 56px; }
  .security-card { padding: 50px; }
}
@media (max-width: 680px) {
  .marketing-container { width: min(100% - 32px, 1120px); }
  .marketing-hero { padding-block: 44px 58px; }
  .hero-grid { gap: 34px; }
  .hero-badge { padding: 7px 11px; font-size: 11px; }
  .hero-copy h1 { max-width: 360px; margin-block: 19px 16px; font-size: clamp(34px, 9.5vw, 39px); line-height: 1.27; letter-spacing: -.02em; }
  .hero-copy > p { max-width: 355px; font-size: 15px; line-height: 1.85; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 25px; }
  .hero-actions .marketing-button { min-height: 48px; padding-inline: 12px; font-size: 13px; white-space: nowrap; }
  .hero-assurances { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 14px; width: 100%; margin-top: 22px; text-align: right; }
  .hero-assurances span { min-width: 0; }
  .hero-assurances span:last-child { grid-column: 1 / -1; }
  .hero-product { min-height: 0; display: block; padding: 0 2px 26px; }
  .hero-product::before { top: 4px; left: 50%; width: 280px; height: 280px; transform: translateX(-50%); }
  .demo-window { width: 100%; border-radius: 20px; transform: none; box-shadow: 0 24px 55px rgba(24,61,44,.16); }
  .demo-browser-bar { height: 39px; padding-inline: 14px; }
  .demo-store { min-height: 260px; padding: 15px; }
  .demo-product-card { grid-template-columns: 1fr .9fr; gap: 14px; margin-top: 18px; }
  .demo-product-image { height: 145px; border-radius: 15px; }
  .demo-product-image span { width: 66px; height: 92px; }
  .demo-product-copy { gap: 7px; }
  .demo-product-copy strong { font-size: 14px; }
  .demo-call-button { left: 11px; bottom: 11px; min-width: 174px; padding: 10px 12px; }
  .demo-incoming { position: relative; right: auto; bottom: auto; width: calc(100% - 28px); margin: -19px auto 0; grid-template-columns: 42px 1fr auto; padding: 12px; border-radius: 16px; }
  .demo-phone { width: 42px; height: 42px; border-radius: 12px; }
  .marketing-section { padding-block: 72px; }
  .section-intro { margin-bottom: 38px; }
  .section-intro h2, .experience-copy h2, .security-card h2 { margin-block: 12px 15px; font-size: 34px; line-height: 1.34; }
  .feature-grid { gap: 14px; }
  .feature-card { padding: 26px; }
  .experience-grid { gap: 44px; }
  .security-section { padding-top: 28px; }
  .security-card { gap: 32px; padding: 34px 24px; }
  .faq-grid { gap: 22px; }
  .faq-list summary { padding-block: 22px; font-size: 16px; }
}
@media (max-width: 390px) {
  .hero-actions { grid-template-columns: 1fr; }
  .hero-assurances { grid-template-columns: 1fr; width: fit-content; text-align: right; }
  .hero-assurances span:last-child { grid-column: auto; }
}
