.flash-wrap{position:fixed;z-index:140;top:92px;left:50%;width:min(520px,calc(100% - 28px));transform:translateX(-50%)}
.flash{padding:12px 15px;border-radius:13px;box-shadow:var(--shadow);font-size:10px;font-weight:800;background:#fff}
.flash.success{background:#e5f2e8;color:#2f7046;border:1px solid #c8e2cf}
.flash.error{background:#f9e5e2;color:#913b32;border:1px solid #efcbc5}
.field-error{color:var(--danger);font-size:8px}
.server-product-form{display:flex;align-items:center;gap:8px}
.server-product-form select{height:37px;max-width:130px}
.server-product-form .quick-add{white-space:nowrap}
.product-media.sold-out img{filter:grayscale(.75);opacity:.65}
.sold-out-label{position:absolute;inset:0;display:grid;place-items:center;background:#2230294f;color:#fff;font-weight:900;font-size:13px}
.mini-order-summary{display:grid;gap:8px}
.checkout-product{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}
.checkout-product img{width:52px;height:48px;object-fit:cover;border-radius:10px}
.checkout-product-copy{display:grid;line-height:1.45}.checkout-product-copy strong{font-size:9px}.checkout-product-copy small{font-size:7px;color:var(--muted)}
.account-mobile-title{display:none}
.table-responsive{overflow:auto}
.data-table{width:100%;border-collapse:collapse;min-width:650px}
.data-table th,.data-table td{padding:12px;text-align:start;border-bottom:1px solid var(--line);font-size:9px}
.data-table th{background:#faf8f4;color:var(--muted);font-size:8px}
.auth-alert{margin:12px 0;padding:11px;border-radius:12px;background:#f9e5e2;color:#8d352d;font-size:9px}
.payment-disabled{opacity:.55;pointer-events:none}
.legal-note{padding:14px;border-inline-start:4px solid var(--gold);background:#fff7e7;border-radius:10px;font-size:9px}
.product-stock{font-size:8px;color:var(--success)}
.product-stock.low{color:var(--warning)}
.footer-admin-link{opacity:.75}
button[disabled],.btn[disabled]{opacity:.55;cursor:not-allowed;transform:none!important}
@media(max-width:620px){
  .server-product-form{align-items:stretch;flex-direction:column}.server-product-form select,.server-product-form .quick-add{width:100%;max-width:none}
  .flash-wrap{top:15px}.account-mobile-title{display:block}
}

/* Readable typography scale and language-aware font stacks. */
:root{
  --font-arabic:"Droid Arabic Kufi",Tahoma,Arial,sans-serif;
  --font-english:Tahoma,Arial,sans-serif;
  --font-fallback:Tahoma,Arial,sans-serif;
}
body{font-family:var(--font-fallback);font-size:15px;line-height:1.75}
html[dir="rtl"] body{font-family:var(--font-arabic)}
html[dir="ltr"] body,
[lang="en"],[dir="ltr"],input[dir="ltr"],textarea[dir="ltr"],
input[name$="_en"],textarea[name$="_en"]{font-family:var(--font-english)}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3{letter-spacing:0}

.small,.top-note,.brand-copy small,.language-btn,.proof-copy,.float-card,
.hero-label span,.strip-location small,.strip-time small,.kicker,.text-link,
.category-card small,.product-badge,.product-topline,.tag,.price-block small,
.promo-pills span,.review-author small,.breadcrumb,.hero-stat span,.detail-kicker,
.option-chip small,.detail-total small,.field-hint,.plan-label,.plan-price span,
.timeline-year,.auth-divider,.account-user small,.stat-card span,.order-copy span,
.cart-item-copy span,.cart-item-copy button,.checkout-step,.payment-logo,
.payment-copy small,.activity-copy small,.legal-nav a,.footer-bottom,.drawer-head p,
.drawer-copy small,.product-stock,.field-error{font-size:12px!important}

.main-nav a,.mobile-nav-links a,.btn,.link-btn,.eyebrow,.float-card strong,
.segment,.strip-location strong,.strip-time strong,.category-card strong,.filter-btn,
.search-box input,.product-desc,.quick-add,.feature-card p,.review-card p,
.review-author strong,.page-hero p,.detail-rating,.notice,.option-label,.option-chip,
.extra-row,.qty span,.detail-tab summary,.detail-tab p,.detail-tab ul,.field label,
.checkbox-line,.plan-card>p,.check-list li,.timeline-item p,.faq-item summary,
.faq-item p,.auth-quote p,.auth-card>p,.account-user strong,.account-nav a,
.account-main>p,.order-copy strong,.order-side strong,.status,.address-head strong,
.address-card p,.cart-item-copy strong,.cart-item-side>strong,.summary-line,
.payment-copy strong,.success-card>p,.order-code,.activity-copy strong,
.legal-content p,.legal-content li,.footer-about p,.footer-col h3,.footer-col a,
.drawer-copy strong,.drawer-copy b,.drawer-empty,.flash,.auth-alert,.legal-note,
.checkout-product-copy strong,.checkout-product-copy small,.data-table th,
.data-table td{font-size:14px!important}

.brand-copy strong{font-size:21px}
.btn-sm{font-size:13px!important}
.hero-lead{font-size:17px!important}
.section-subtitle,.detail-desc{font-size:15px!important}
.product-title{font-size:18px!important}
.feature-card strong{font-size:15px!important}
.panel-title h2,.panel-title h3{font-size:18px!important}
.field .input,.field .select,.field .textarea,.input,.select,.textarea{
  min-height:48px;font-size:15px!important;line-height:1.6
}
.textarea{min-height:120px}
.sold-out-label{font-size:16px}
.summary-line.total{font-size:16px!important}
.empty-state p{font-size:14px!important}
.footer-col h3{font-size:15px!important}

/* Administration remains compact, but no operational text falls below 12px. */
.admin-shell{grid-template-columns:280px minmax(0,1fr)}
.admin-brand-copy strong{font-size:17px!important}
.admin-brand-copy small,.admin-store small,.admin-nav-label,.admin-help p,
.admin-profile-copy small,.admin-stat-copy small,.admin-panel-head p,.chart-bar span,
.legend span,.table-product small,.activity-copy small,.activity-time,.pagination,
.ticket-head time,.ticket-customer,.ticket-items,.setting-group>p,.switch-copy small,
.setup-head p,.setup-step{font-size:12px!important}
.admin-store strong,.admin-nav a,.admin-help strong,.admin-search input,
.admin-profile-copy strong,.admin-page-head p,.admin-date,.admin-stat-copy span,
.admin-table th,.table-avatar,.table-product strong,.activity-copy strong,
.page-btn,.kitchen-column-head span,.settings-nav button,.switch-copy strong{
  font-size:13px!important
}
.admin-nav .nav-badge{min-width:22px;height:22px;font-size:11px!important}
.admin-profile-avatar{font-size:13px!important}
.admin-panel-head h2,.admin-panel-head h3,.setting-group h3{font-size:16px!important}
.admin-table td{font-size:14px!important}
.kitchen-column-head strong,.ticket-head strong{font-size:14px!important}
.admin-page-head h1{font-size:30px}
.admin-stat-copy strong{font-size:24px}
.admin-panel-head{min-height:62px}
.admin-table th{padding-block:13px}
.admin-table td{padding-block:15px}

/* Installer typography is deliberately larger for shared-hosting setup screens. */
body .installer-head h1{font-size:29px!important}
body .installer-head p,body .requirement,body .alert{font-size:14px!important}
body .step-chip{font-size:12px!important}
body .installer .panel-title h2{font-size:21px!important}
body .installer .muted.small{font-size:13px!important}

@media(max-width:1080px){.admin-shell{grid-template-columns:235px minmax(0,1fr)}}
@media(max-width:790px){.admin-shell{display:block}.admin-sidebar{width:280px}}
@media(max-width:620px){
  body{font-size:14px}
  .top-note{font-size:12px!important}
  .brand-copy strong{font-size:18px}
  .hero-lead{font-size:15px!important}
  .product-title{font-size:16px!important}
  .product-desc{font-size:13px!important}
  .btn{font-size:13px!important}
  .checkout-step{font-size:0!important}
}
