/* سعرلي سوريا — طبقة بصرية فقط.
   لا تغيّر أي وظيفة أو منطق أو بيانات؛ مهمتها توحيد الصور والأيقونات والواجهة بصرياً. */
:root{
  --saree-bg:#eef8fc;
  --saree-surface:#ffffff;
  --saree-surface-2:#f7fbfd;
  --saree-border:#dbeaf2;
  --saree-text:#173042;
  --saree-muted:#66808e;
  --saree-primary:#267db4;
  --saree-primary-2:#27ad97;
  --saree-primary-soft:#e7f5fb;
  --saree-success:#1b9c78;
  --saree-shadow:0 10px 30px rgba(36,92,117,.10);
  --saree-shadow-lg:0 18px 50px rgba(36,92,117,.14);
  --saree-radius:20px;
}
html{background:var(--saree-bg)}
body{background:radial-gradient(circle at 50% -10%,#ffffff 0,#eef8fc 44%,#e8f4f9 100%) !important;color:var(--saree-text) !important;font-family:Tahoma,Arial,sans-serif !important;letter-spacing:.05px}
.app{max-width:980px;padding:14px 14px 104px}
.top{position:sticky;top:0;z-index:20;margin:0 -2px 14px;padding:10px 12px;border:1px solid rgba(255,255,255,.75);background:rgba(255,255,255,.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:20px;box-shadow:0 8px 26px rgba(33,84,107,.07)}
.logo{display:flex;align-items:center;gap:9px;font-size:24px;color:#1f658e !important;line-height:1.1}
.logo:before{content:"";width:36px;height:36px;display:inline-block;flex:none;background:url("brand.svg") center/contain no-repeat}
.verse{color:#78929f !important;display:inline-block;transform:scaleX(1.08);transform-origin:center}
.status,.muted{color:var(--saree-muted) !important}
.card,.hero,.stat{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%) !important;border:1px solid var(--saree-border) !important;border-radius:var(--saree-radius) !important;box-shadow:var(--saree-shadow);color:var(--saree-text) !important}
.hero{padding:18px;margin-bottom:14px;position:relative;overflow:hidden}
.hero:before{content:"";position:absolute;inset:-90px auto auto -60px;width:220px;height:220px;background:radial-gradient(circle,rgba(39,173,151,.14),transparent 68%);pointer-events:none}
h1{font-size:25px;color:#173042 !important;position:relative}
h2{font-size:20px;color:#214962 !important}
.btn{min-height:42px;border-radius:13px !important;padding:11px 15px !important;box-shadow:0 5px 15px rgba(33,84,107,.06);transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
.btn:hover{filter:brightness(1.02);box-shadow:0 8px 20px rgba(33,84,107,.12)}
.primary{background:linear-gradient(135deg,#2a8bd2,#24a98e) !important;color:#fff !important}
.secondary{background:#edf6fb !important;color:#28536b !important;border:1px solid #d4e8f1 !important}
.danger{background:#fff0f0 !important;color:#b0434b !important;border:1px solid #f0d0d3 !important}
.notice{background:#eaf8f4 !important;color:#17785e !important;border:1px solid #caebe2}
.pending{background:#fff6df !important;color:#966b11 !important}
.dangerbox{background:#fff0f0 !important;color:#ae4249 !important}
.pill{background:#e7f5fb !important;color:#1f6f9d !important;border:1px solid #d0e9f3}
.companyBadge{background:#edf3ff !important;color:#54709d !important;border-color:#dde8fa !important}
.price{color:#1c9675 !important}
.old{color:#8a9aa3 !important}
.meta{color:#728b98 !important}
.grid{gap:12px}
.stat{padding:15px 16px;position:relative;overflow:hidden;font-size:14px;color:#55717f !important}
.stat b{display:inline-block;margin-inline-end:5px;font-size:23px;color:#1c628e !important}
.searchbar{background:rgba(238,248,252,.93) !important;border-bottom:1px solid #dbeaf2;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
input,select{background:#fff !important;color:#1e3a49 !important;border:1px solid #d4e6ee !important;border-radius:13px !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);outline:none}
input:focus,select:focus{border-color:#7bb9d4 !important;box-shadow:0 0 0 4px rgba(42,139,210,.10) !important}
input::placeholder{color:#8ea3ad}
label{color:#55717f}
.nav{background:rgba(255,255,255,.92) !important;border-top:1px solid #d8e9f1 !important;box-shadow:0 -10px 30px rgba(36,92,117,.10);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.navin{max-width:980px;padding:5px 7px}
.nav button{position:relative;color:#78919e !important;padding:8px 4px 9px !important;font-size:10.5px !important;font-weight:700;line-height:1.15}
.nav button:before{content:"";display:block;width:23px;height:23px;margin:0 auto 4px;background-color:currentColor;background-repeat:no-repeat;background-position:center;background-size:contain;opacity:.85}
.nav button:nth-child(1):before{content:"";display:block;width:23px;height:23px;margin:0 auto 4px;background-image:url("home.svg");background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain;mask:none;-webkit-mask:none;opacity:.9}
.nav button:nth-child(2):before{content:"";display:block;width:23px;height:23px;margin:0 auto 4px;background-image:url("store.svg");background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain;mask:none;-webkit-mask:none;opacity:.9}
.nav button:nth-child(3):before{content:"";display:block;width:23px;height:23px;margin:0 auto 4px;background-image:url("company.svg");background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain;mask:none;-webkit-mask:none;opacity:.9}
.nav button:nth-child(4):before{content:"";display:block;width:23px;height:23px;margin:0 auto 4px;background-image:url("categories.svg");background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain;mask:none;-webkit-mask:none;opacity:.9}
.nav button:nth-child(5):before{content:"";display:block;width:23px;height:23px;margin:0 auto 4px;background-image:url("heart.svg");background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain;mask:none;-webkit-mask:none;opacity:.9}
.nav button:nth-child(6):before{content:"";display:block;width:23px;height:23px;margin:0 auto 4px;background-image:url("basket.svg");background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain;mask:none;-webkit-mask:none;opacity:.9}
.nav button.active{background:#e8f6fb !important;color:#1e759f !important;border-radius:15px !important;box-shadow:inset 0 2px 0 #39a6bf !important}
.nav button.active:before{opacity:1}
.pageCloseBtn button{min-height:42px;border-radius:13px !important}
.priceRow{background:#fff !important;border:1px solid #deebf1 !important;border-radius:14px !important;box-shadow:0 5px 16px rgba(36,92,117,.06)}
.img{background:#f7fbfd !important;border:1px solid #e4eff4;border-radius:15px !important;object-fit:contain !important}
.storeLogo,.storeDetailLogo,.adImage{object-fit:cover !important}
.storeLogo{height:150px !important}.storeDetailLogo{height:220px !important}
.storeLogoPlaceholder{height:150px;border-radius:15px;background:linear-gradient(135deg,#eaf7fb,#effaf7) !important;border:1px dashed #b9d9e6 !important;color:#2f7b93 !important;font-weight:800;display:flex;align-items:center;justify-content:center;position:relative}
.storeLogoPlaceholder:before{content:"";width:38px;height:38px;margin-inline-end:8px;background:url("store.svg") center/contain no-repeat}
.adCard{background:#fff !important;border:1px solid #dceaf1 !important;border-radius:17px !important;box-shadow:var(--saree-shadow)}
.adImage{border-radius:13px !important}
.adLabel{background:#edf6fb !important;color:#4c7182 !important}
.qrbox{border:1px solid #dceaf1;box-shadow:0 5px 15px rgba(36,92,117,.06)}
.company-card,.storeCard,.company-modal-inner,.company-detail,.company-toolbar{background:#fff !important}
.saree-medium-card{background:#fff !important;border:1px solid var(--saree-border) !important;border-radius:18px !important;box-shadow:var(--saree-shadow);overflow:hidden}
.saree-medium-card .img{background:#f7fbfd !important}
.saree-category-card{background:linear-gradient(180deg,#fff,#f9fdff) !important;border:1px solid #dcecf2 !important;box-shadow:var(--saree-shadow)}
.saree-category-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(36,92,117,.12)}
.saree-modal{background:rgba(18,48,64,.42) !important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.saree-modal-inner{background:#fff !important;color:var(--saree-text) !important;border:1px solid #dcecf2 !important;border-radius:22px !important;box-shadow:var(--saree-shadow-lg) !important}
.saree-store-cart{background:#f7fbfd !important;border-color:#dcecf2 !important}
.saree-qty button{background:#fff !important;color:#2b647f !important;border-color:#d6e8ef !important}
.saree-cart-total{color:#1c9675 !important}
.rememberRow{color:#587381 !important}
.rememberRow input{accent-color:#2a8bd2 !important}
.saree-ocs-modal{background:rgba(18,48,64,.42) !important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.saree-ocs-box{background:#fff !important;color:var(--saree-text) !important;border:1px solid #dcecf2 !important;box-shadow:var(--saree-shadow-lg) !important}
.saree-ocs-box input,.saree-ocs-box textarea,.saree-ocs-box select{background:#fff !important;color:#1e3a49 !important;border-color:#d4e6ee !important}
.saree-ocs-primary{background:linear-gradient(135deg,#2a8bd2,#24a98e) !important}
.saree-ocs-secondary{background:#edf6fb !important;color:#28536b !important}
.saree-ocs-danger{background:#fff0f0 !important;color:#b0434b !important}
.saree-ocs-admin-row{background:#f9fcfe !important;border-color:#deebf1 !important}
.saree-ocs-sponsor{background:#fff !important;border-color:#dcecf2 !important;box-shadow:0 8px 24px rgba(36,92,117,.08)}
.barcodeSearch button:first-of-type,#storeBarcodeCamera{min-width:44px !important;width:44px !important;padding:0 !important;font-size:0 !important}
.barcodeSearch button:first-of-type:before,#storeBarcodeCamera:before{content:"";display:block;width:21px;height:21px;margin:auto;background:url("camera.svg") center/contain no-repeat}
.barcodeBox .actions .btn{display:inline-flex;align-items:center;gap:8px}
.barcodeBox .actions .btn:before{content:"";display:inline-block;width:19px;height:19px;background:url("barcode.svg") center/contain no-repeat;opacity:.95}
#admin>.btn:first-child{display:inline-flex;align-items:center;gap:8px}
#admin>.btn:first-child:before{content:"";display:inline-block;width:19px;height:19px;background:url("megaphone.svg") center/contain no-repeat}
@media(max-width:650px){
  .app{padding-left:10px;padding-right:10px}
  .top{border-radius:18px}
  .logo{font-size:22px}
  .logo:before{width:33px;height:33px}
  .card,.hero,.stat{border-radius:17px !important}
  .nav button{font-size:9.5px !important}
  .nav button:before{width:21px;height:21px}
}
@media(prefers-reduced-motion:reduce){.btn,.nav button{transition:none!important}.saree-category-card{transition:none!important}}

.barcode-product-identity{margin:0 0 15px;padding:14px 12px;background:#fff !important;color:#173042 !important;border:1px solid #dbeaf2;border-radius:16px;box-shadow:0 8px 22px rgba(36,92,117,.10)}
.barcode-product-image{width:110px;height:110px;display:block;margin:0 auto 10px;object-fit:cover;border-radius:15px;background:#f7fbfd;border:1px solid #e4eff4}
.barcode-product-image-empty{display:flex;align-items:center;justify-content:center;color:#66808e;font-weight:700;object-fit:initial}
.barcode-product-name{margin:0 !important;color:#173042 !important;font-size:21px !important;line-height:1.5}
.storeProductCard .name{background:#fff !important;color:#173042 !important;border-radius:10px;padding:6px 8px}

/* تحسينات محدودة للشاشة الرئيسية فقط — لا تغيّر وظائف الصفحات الأخرى */
#home .homeHero{padding:14px 16px 12px;margin-bottom:10px}
#home .homeHero h1{font-size:clamp(21px,4.5vw,25px);line-height:1.35;margin-bottom:6px}
#home .homeHero>p{margin:0;line-height:1.65}
#home .homeHero #roleActions{gap:8px;margin-top:10px}
#home .homeHero #roleActions .btn{padding:9px 12px !important;min-height:39px}
#home .homeSearch{position:relative;top:auto;z-index:1;margin:0 0 10px;padding:0 0 8px;background:transparent !important;border:0;backdrop-filter:none;-webkit-backdrop-filter:none}
#home .homeSearch>input{margin-top:0}
#home .homeSearch .two{gap:8px}
#home .homeSearch select{margin-top:8px}
#home .homeStatsGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
#home .homeStatsGrid .stat{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:10px 8px;font-size:13px;white-space:nowrap;text-align:center}
#home .homeStatsGrid .stat b{margin:0;font-size:21px}
#home .homeProductsHeading{margin:2px 0 10px}
@media(max-width:650px){
  #home .homeStatsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #home .homeStatsGrid .stat{padding:10px 8px}
  #home .homeHero #roleActions .btn{padding:9px 10px !important}
}

/* إبراز السعر داخل بطاقات منتجات الصفحة الرئيسية فقط؛ بقية التصميم والوظائف كما هي */
#home #products > .card{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:7px;
}
#home #products > .card > .img{
  width:100%;
  max-height:150px;
  object-fit:contain;
  margin-bottom:3px;
}
#home #products > .card > .name{
  font-size:18px;
  font-weight:800;
  line-height:1.45;
  margin:2px 0 0;
}
#home #products > .card > .price{
  display:block;
  margin:7px 0 0;
  padding:11px 8px;
  border-radius:14px;
  background:linear-gradient(135deg,#e8f8f1,#f2fbf7);
  border:1px solid #ccefe1;
  color:#118260 !important;
  font-size:clamp(23px,5.3vw,29px);
  font-weight:900;
  line-height:1.35;
  text-align:center;
  letter-spacing:0;
  overflow-wrap:anywhere;
}
#home #products > .card > .old{
  margin-top:-3px;
  font-size:13px;
  text-align:center;
  color:#82949d !important;
}
#home #products > .card > .meta{
  display:flex;
  justify-content:space-between;
  gap:7px;
  font-size:12px;
  line-height:1.6;
}
#home #products > .card > .actions{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-top:7px;
}
#home #products > .card > .actions .btn{
  width:100%;
  min-height:39px;
  padding:9px 10px !important;
  margin:0;
}
@media(max-width:380px){
  #home #products > .card > .price{font-size:22px;padding:9px 5px}
  #home #products > .card > .meta{font-size:11px}
}

/* تحسين بصري لصفحة المتاجر فقط — يحافظ على وظائف المتاجر وبقية الصفحات كما هي */
#stores #storesList > .card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:13px;
  min-width:0;
  overflow:hidden;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%) !important;
  border-color:#d9eaf1 !important;
  box-shadow:0 8px 22px rgba(36,92,117,.08);
}
#stores #storesList > .card > div[onclick]{
  display:block;
  min-width:0;
  border-radius:14px;
}
#stores #storesList .img{
  display:block;
  width:100%;
  height:118px;
  margin:0 0 10px;
  padding:8px;
  object-fit:contain !important;
  background:linear-gradient(135deg,#f1f9fc,#f7fcfb) !important;
  border:1px solid #e1edf2 !important;
  border-radius:14px !important;
}
/* مساحة شعار لطيفة للمتاجر التي لا تملك صورة */
#stores #storesList > .card > div[onclick]:not(:has(.img))::before{
  content:"";
  display:block;
  width:100%;
  height:88px;
  margin:0 0 10px;
  border:1px dashed #c9e1e9;
  border-radius:14px;
  background:url("store.svg") center/38px 38px no-repeat,linear-gradient(135deg,#edf8fc,#f0faf7);
}
#stores #storesList .name{
  margin:0 0 7px;
  font-size:17px;
  font-weight:800;
  line-height:1.55;
  overflow-wrap:anywhere;
  color:#173b50 !important;
}
#stores #storesList .companyBadge{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  margin:0 0 8px;
  padding:5px 9px;
  font-size:11px;
  line-height:1.5;
  white-space:normal;
}
#stores #storesList .muted{
  font-size:12.5px;
  line-height:1.8;
  overflow-wrap:anywhere;
}
#stores #storesList .actions{
  display:flex;
  gap:8px;
  margin:9px 0 0;
}
#stores #storesList .actions .btn{
  flex:1 1 auto;
  justify-content:center;
  min-height:38px;
  padding:9px 12px !important;
  box-shadow:none;
}
#stores #storesList > .card > .btn{
  width:100%;
  min-height:42px;
  margin-top:auto;
  padding:10px 12px !important;
  font-size:14px;
  box-shadow:0 5px 13px rgba(36,92,117,.08);
}
#stores #storesList > .card > .btn.secondary{
  background:linear-gradient(135deg,#edf7fc,#e9f8f4) !important;
  border-color:#d3e8ef !important;
  color:#22627e !important;
}
@media(max-width:650px){
  #stores #storesList > .card{padding:12px;gap:9px}
  #stores #storesList .img{height:108px}
  #stores #storesList > .card > div[onclick]:not(:has(.img))::before{height:78px}
  #stores #storesList .name{font-size:16px}
}

/* تحسين صفحة التصنيفات فقط — مع الحفاظ على بقية الواجهات كما هي */
#categories > .hero{
  padding:22px 18px !important;
  margin-bottom:16px !important;
  background:linear-gradient(135deg,#ffffff 0%,#f0f9fc 58%,#e8f7f2 100%) !important;
  border-color:#d6eaf1 !important;
}
#categories > .hero h1{margin:0;font-size:27px !important;line-height:1.5}
#categories > .hero h1:after{
  content:"تصفّح المنتجات حسب النوع";
  display:block;
  margin-top:5px;
  color:#6a8795;
  font-size:13px;
  font-weight:500;
}
#categories #cats{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  align-items:stretch;
}
#categories #cats > .card{
  position:relative;
  display:flex !important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:12px;
  min-width:0;
  min-height:126px;
  padding:17px 14px !important;
  overflow:hidden;
  border:1px solid #d8eaf1 !important;
  border-radius:19px !important;
  background:linear-gradient(155deg,#fff 0%,#f8fcfe 72%,#eff9f6 100%) !important;
  box-shadow:0 7px 20px rgba(36,92,117,.075) !important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
#categories #cats > .card:before{
  content:"";
  display:block;
  width:38px;height:38px;flex:none;
  border-radius:13px;
  background:#e5f4f9 url("categories.svg") center/23px 23px no-repeat;
  border:1px solid #d5eaf2;
}
#categories #cats > .card:after{
  content:"";
  position:absolute;
  width:82px;height:82px;
  inset:auto -32px -36px auto;
  border-radius:50%;
  background:rgba(39,173,151,.07);
  pointer-events:none;
}
#categories #cats .pill{
  max-width:100%;
  padding:7px 11px !important;
  border-radius:11px !important;
  font-size:14px !important;
  font-weight:800;
  line-height:1.5;
  white-space:normal;
  overflow-wrap:anywhere;
}
#categories #cats .name{
  margin:0 !important;
  color:#587584 !important;
  font-size:12px !important;
  font-weight:700;
}
#categories #cats > .card:hover{
  transform:translateY(-2px);
  border-color:#b8dce8 !important;
  box-shadow:0 12px 25px rgba(36,92,117,.12) !important;
}
#categories #cats > .card.muted{grid-column:1/-1;min-height:90px;align-items:center;text-align:center}
@media(min-width:600px){#categories #cats{grid-template-columns:repeat(3,minmax(0,1fr)) !important}#categories #cats > .card{min-height:138px;padding:19px !important}}
@media(max-width:360px){#categories #cats{gap:9px !important}#categories #cats > .card{padding:13px 10px !important;min-height:116px}#categories #cats .pill{font-size:12px !important}}
@media(prefers-reduced-motion:reduce){#categories #cats > .card{transition:none}}


/* Admin dashboard refinement — scoped only to the manager panel */
#admin { padding-bottom: 26px; }
#admin > .btn:first-child {
  width: 100%; min-height: 48px; justify-content: center; border-radius: 15px;
  margin: 0 0 14px; font-weight: 800; box-shadow: 0 7px 18px rgba(26, 96, 128, .12);
}
#adminPanel { display: flex; flex-direction: column; gap: 14px; }
#adminPanel > .grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin: 0;
}
#adminPanel > .grid > .card {
  min-width: 0; margin: 0; padding: 15px 10px; text-align: center;
  border: 1px solid #dce9ef; border-radius: 17px;
  background: linear-gradient(155deg, #fff 0%, #f5fafc 100%);
  box-shadow: 0 6px 18px rgba(28, 67, 87, .055);
}
#adminPanel > .grid > .card .name {
  font-size: clamp(22px, 5vw, 30px); line-height: 1.2; font-weight: 900;
  color: #176b85; margin-bottom: 6px; overflow-wrap: anywhere;
}
#adminPanel > .grid > .card .muted { font-size: 12px; line-height: 1.5; }
#adminPanel > .card, #adminPanel > #companyFullAdminBox {
  margin: 0; padding: 16px; border: 1px solid #dce8ee; border-radius: 18px;
  background: #fff; box-shadow: 0 7px 22px rgba(28, 67, 87, .055);
}
#adminPanel > .card > h2, #adminPanel .accordionHead h2 {
  margin: 0; font-size: 18px; line-height: 1.45; font-weight: 850; color: #183e50;
}
#adminPanel > .card > h2 { padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #edf2f5; }
#adminPanel .accordionHead {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 13px; border-radius: 13px; background: #f3f8fa;
  border: 1px solid #e1edf1; cursor: pointer;
}
#adminPanel .accordionHead > span { flex: 0 0 auto; color: #28788d; font-size: 18px; }
#adminPanel .accordionBody { padding: 12px 2px 2px; }
#adminPanel .priceRow, #adminPanel .admin-store-row, #adminPanel .admin-company-row,
#adminPanel .company-account-row {
  min-width: 0; padding: 13px; margin: 9px 0; border: 1px solid #e1ebef;
  border-radius: 14px; background: #fbfdfe;
}
#adminPanel input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
#adminPanel select, #adminPanel textarea {
  width: 100%; min-width: 0; min-height: 44px; margin: 5px 0 9px;
  border: 1px solid #d5e3e9; border-radius: 11px; background: #fff;
  padding: 10px 12px; font: inherit; box-sizing: border-box;
}
#adminPanel input[type="file"] { max-width: 100%; margin: 7px 0 12px; }
#adminPanel label { line-height: 1.7; }
#adminPanel .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#adminPanel .actions .btn, #adminPanel .priceRow > .btn {
  min-height: 42px; border-radius: 11px; font-weight: 750; flex: 1 1 145px;
  margin: 0; white-space: normal;
}
#adminPanel .pill { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 12px; }
#adminPanel .qrbox, #adminPanel .company-qr-box { margin: 12px auto; max-width: 180px; }
#adminPanel .muted { line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  #adminPanel > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #adminPanel > .grid > .card { padding: 13px 8px; border-radius: 14px; }
  #adminPanel > .card, #adminPanel > #companyFullAdminBox { padding: 12px; border-radius: 15px; }
  #adminPanel > .card > h2, #adminPanel .accordionHead h2 { font-size: 16px; }
  #adminPanel .accordionHead { padding: 11px; }
  #adminPanel .actions .btn, #adminPanel .priceRow > .btn { flex-basis: 100%; width: 100%; }
}


/* واجهة رئيسية جديدة لسعرلي سوريا: البحث أولاً ثم الإعلان والمتاجر القريبة والأسعار */
#home .homeHero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(20px,4vw,34px);margin-bottom:16px;border:1px solid #c9e3ef !important;background:linear-gradient(125deg,#f7fcff 0%,#e4f6fa 55%,#e6f7f1 100%) !important;box-shadow:0 16px 40px rgba(28,103,133,.13) !important}
#home .homeHero:after{content:"";position:absolute;z-index:-1;left:-54px;bottom:-102px;width:250px;height:250px;border-radius:50%;border:35px solid rgba(38,125,180,.08);box-shadow:0 0 0 24px rgba(39,173,151,.045)}
#home .homeHeroBadge{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;background:rgba(255,255,255,.72);border:1px solid rgba(39,132,154,.16);border-radius:999px;color:#2b7f91;font-size:12px;font-weight:800;margin-bottom:13px}
#home .homeHeroDot{width:8px;height:8px;border-radius:50%;background:#26ad8d;box-shadow:0 0 0 4px rgba(38,173,141,.12)}
#home .homeHero h1{max-width:670px;font-size:clamp(25px,5vw,35px);line-height:1.34;letter-spacing:-.6px;color:#154e6b !important;margin-bottom:9px}
#home .homeHero>p{max-width:660px;line-height:1.9;font-size:14px;margin:0;color:#5d7c8c !important}
#home .homeHero #roleActions{position:relative;z-index:1;gap:8px;margin-top:16px}
#home .homeHero #roleActions .btn{min-height:42px;border-radius:13px;box-shadow:0 5px 14px rgba(34,117,148,.08)}
#home .homeSearchBlock,#home .homeNearbySection,#home .homeProductsSection{margin:16px 0 20px}
#home .homeSectionTitle,#home .homeProductsTop{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 11px}
#home .homeSectionTitle h2,#home .homeProductsTop h2{margin:2px 0 0;font-size:clamp(19px,3.4vw,23px);color:#194f6b !important;line-height:1.45}
#home .homeSectionTitle .muted{margin:3px 0 0;line-height:1.65}
#home .homeSectionKicker{display:block;color:#269b91;font-weight:800;font-size:11px;letter-spacing:.2px}
#home .homeSectionIcon{display:flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;border-radius:15px;background:linear-gradient(145deg,#e4f7fa,#ecfbf3);border:1px solid #d0e9ed;color:#2b8d9d;font-size:30px;line-height:1}
#home .homeSearchBlock{padding:16px;border:1px solid #d9eaf1;border-radius:22px;background:linear-gradient(180deg,#fff,#f9fdff);box-shadow:0 10px 28px rgba(37,90,114,.07)}
#home .homeSearch{position:relative;top:auto;z-index:1;margin:0;padding:0;background:transparent !important;border:0;backdrop-filter:none;-webkit-backdrop-filter:none}
#home .homeSearchInputWrap{position:relative}
#home .homeSearchGlyph{position:absolute;right:14px;top:50%;transform:translateY(-53%);font-size:27px;line-height:1;color:#267db4;pointer-events:none}
#home .homeSearchInputWrap input{height:54px;padding:13px 48px 13px 13px;margin:0;border-radius:15px;background:#fff !important;color:#173042 !important;border:1.5px solid #b9d9e8 !important;box-shadow:inset 0 1px 2px rgba(27,86,113,.025);font-size:15px}
#home .homeSearchInputWrap input:focus{outline:3px solid rgba(38,125,180,.12);border-color:#388fba !important}
#home .homeSearch .two{gap:9px;margin-top:9px}
#home .homeSearch select{min-height:43px;margin-top:0;border-radius:12px;background:#f7fbfd !important;color:#285064 !important;border-color:#d8e8ef !important}
#home #adsHome{margin:17px 0 20px}
#home #adsHome:empty{display:none}
#home .homeLocationPanel{display:flex;flex-direction:column;gap:9px;padding:11px;border-radius:16px;border:1px solid #d6e9ed;background:linear-gradient(120deg,#f5fcff,#f0fbf7);margin-bottom:9px}
#home .homeLocationText{display:flex;align-items:center;gap:8px;color:#4e6f80;font-size:12px;line-height:1.5}
#home .homeLocationPin{flex:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#fff;border:1px solid #d7e9ed;border-radius:10px;font-size:16px}
#home .homeLocationControls{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
#home .homeLocationControls>.btn{flex:none;min-height:40px;padding:9px 13px}
#home .homeManualLocation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:6px;flex:1;min-width:min(100%,420px)}
#home .homeManualLocation select{margin:0;min-width:0;min-height:40px;padding:8px;border-radius:10px;background:#fff !important;color:#31596a !important;border-color:#d4e6eb !important;font-size:12px}
#home .homeManualLocation .btn{min-height:40px;padding:8px 10px;font-size:12px;white-space:nowrap}
#home .homeNearbyGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#home .homeNearCard{padding:0;overflow:hidden;border-radius:17px;background:#fff;border:1px solid #dceaf0;box-shadow:0 8px 21px rgba(34,91,113,.06);min-width:0;transition:transform .2s,box-shadow .2s}
#home .homeNearCard:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(34,91,113,.11)}
#home .homeNearMain{display:flex;flex-direction:column;width:100%;height:100%;padding:0;border:0;background:transparent;text-align:right;cursor:pointer;color:inherit;min-width:0}
#home .homeNearImage{display:flex;width:100%;height:96px;object-fit:cover;background:#edf8fb;align-items:center;justify-content:center;color:#337e91}
#home .homeNearPlaceholder{font-size:28px}
#home .homeNearInfo{display:flex;flex-direction:column;gap:5px;width:100%;min-width:0;padding:10px}
#home .homeNearInfo b{font-size:13px;color:#214d63;line-height:1.5;overflow-wrap:anywhere}
#home .homeNearInfo small{display:block;color:#79909b;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
#home .homeNearDistance{display:inline-flex;align-self:flex-start;padding:4px 7px;border-radius:999px;background:#e9f8f1;color:#148469;font-size:10px;font-weight:800;line-height:1.5}
#home .homeNearbyEmpty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:20px 16px;border:1px dashed #c7e2e9;border-radius:18px;background:linear-gradient(145deg,#f5fcff,#f2fbf6);color:#527483}
#home .homeNearbyEmpty>span{font-size:25px}
#home .homeNearbyEmpty>b{color:#214f68;font-size:16px}
#home .homeNearbyEmpty p{max-width:390px;margin:0;font-size:12px;line-height:1.8}
#home .homeNearbyEmptyCompact{padding:10px 12px;border-radius:12px;font-size:12px}
#home .homeNearbyFooter{display:flex;justify-content:center;margin-top:12px}
#home .homeNearbyFooter .btn{border-radius:12px;border-color:#cfe3eb;background:#fff;color:#2e728d}
#home .homeNearbyFooter .btn span{margin-inline-start:8px}
#home .homeStatsGrid{margin-top:18px}
#home .homeProductsTop{align-items:end;margin-top:24px}
#home .homeProductsBadge{flex:none;padding:6px 9px;border-radius:999px;background:#e6f8ef;color:#19896e;font-size:10px;font-weight:800}
#home .homeProductsHeading{margin:0}
#home #products>.card{border-radius:18px !important;box-shadow:0 9px 23px rgba(31,81,103,.07) !important}
#home .adCard{border-color:#d7e9f0;box-shadow:0 9px 27px rgba(31,81,103,.08)}
#home .adCard video.adVideo{display:block;width:100%;max-height:360px;aspect-ratio:16/9;object-fit:contain;background:#07131b;border-radius:13px;flex:1 1 100%;min-width:0}
@media(max-width:760px){
  #home .homeNearbySection{margin:12px 0 16px}
  #home .homeSectionTitle{margin-bottom:8px;gap:8px}
  #home .homeNearbyGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  #home .homeNearImage{height:105px}
  #home .homeLocationPanel{gap:8px;padding:10px;margin-bottom:8px}
  #home .homeLocationControls{align-items:stretch;gap:7px}
  #home .homeLocationControls>.btn{width:100%;min-height:39px}
  #home .homeManualLocation{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;min-width:0;width:100%;gap:6px}
  #home .homeManualLocation select{min-height:39px;padding:7px 6px;font-size:11px}
  #home .homeManualLocation .btn{grid-column:auto;width:auto;min-height:39px;padding:7px 9px;font-size:11px}
  #home .homeNearbyFooter{margin-top:8px}
  #home .homeNearbyFooter .btn{min-height:40px;padding:9px 14px}
}
@media(max-width:420px){
  #home .homeHero{padding:20px 16px}
  #home .homeHero h1{font-size:25px}
  #home .homeSearchBlock{padding:12px}
  #home .homeSectionIcon{width:40px;height:40px;border-radius:13px}
  #home .homeNearImage{height:90px}
  #home .homeNearInfo{padding:8px}
  #home .homeNearInfo b{font-size:12px}
  #home .homeNearInfo small{font-size:10px}
  #home .homeLocationText{font-size:11px}
  #home .homeLocationPin{width:28px;height:28px}
  #home .homeLocationControls>.btn{font-size:12px}
  #home .homeManualLocation .btn{padding-inline:7px}
}
@media(prefers-reduced-motion:reduce){#home .homeNearCard{transition:none}#home .homeNearCard:hover{transform:none}}

/* زر البحث داخل صفحة المتجر فقط */
.storeMaterialSearchRow{display:flex;align-items:center;gap:8px;margin-top:9px}
.storeMaterialSearchRow input{flex:1;min-width:0;width:auto;margin-top:0}
.storeMaterialSearchRow .btn{flex:none;min-width:68px;min-height:43px;white-space:nowrap}
@media(max-width:480px){.storeMaterialSearchRow{gap:7px}.storeMaterialSearchRow .btn{min-width:62px;padding:11px 13px}}

/* نافذة تفاصيل طلب واتساب داخل الموقع */
.saree-customer-order-modal{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(14,44,59,.56);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.saree-customer-order-box{width:min(100%,480px);max-height:92vh;max-height:min(92dvh,760px);overflow:auto;background:#fff;border:1px solid #d8e9ef;border-radius:23px;padding:20px;box-shadow:0 24px 70px rgba(18,69,92,.25);color:#173042}
.saree-customer-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:6px}
.saree-customer-order-head h2{margin:0;color:#194f6b;font-size:21px}
.saree-customer-order-close{width:39px;height:39px;flex:none;border:1px solid #dceaf0;border-radius:12px;background:#f5fafc;color:#406578;font-size:22px}
.saree-customer-order-box .muted{line-height:1.8}
.saree-customer-order-box label{margin-top:12px;color:#4a6b7b;font-size:12px;font-weight:700}
.saree-customer-order-box input,.saree-customer-order-box textarea{width:100%;margin-top:6px;padding:12px;border:1px solid #cfe1e9;border-radius:12px;background:#fbfdfe;color:#173042;font:inherit;font-size:14px}
.saree-customer-order-box textarea{min-height:82px;resize:vertical}
.saree-customer-order-box input:focus,.saree-customer-order-box textarea:focus{outline:3px solid rgba(38,125,180,.12);border-color:#4a9ab9}
.saree-customer-order-actions{display:flex;gap:9px;margin-top:17px}
.saree-customer-order-actions button{flex:1;min-height:45px}
.saree-customer-order-submit{background:linear-gradient(135deg,#1ebd65,#0b9b5a)!important;color:white!important;border:0!important}
@media(max-width:480px){.saree-customer-order-box{padding:16px;border-radius:20px}.saree-customer-order-actions{position:sticky;bottom:-1px;padding-top:10px;background:#fff}}

/* فيديو الإعلان: مساحة مريحة على الهاتف والكمبيوتر دون تشغيل تلقائي. */
.adCardVideo{flex-wrap:wrap;align-items:flex-start}
.adCardVideo video.adVideo{display:block;width:100%;max-width:680px;max-height:360px;aspect-ratio:16/9;object-fit:contain;background:#07131b;border-radius:13px;flex:1 1 100%;min-width:0}
@media(max-width:600px){.adCardVideo video.adVideo{max-height:260px}}

/* تقليل ارتفاع الترحيب والبحث والإحصائيات على الصفحة الرئيسية فقط؛ دون تغيير الألوان أو الوظائف أو قسم المتاجر القريبة */
#home .homeHero{
  padding:16px 16px 13px;
  margin-bottom:11px;
}
#home .homeHeroBadge{padding:6px 10px;margin-bottom:9px}
#home .homeHero h1{font-size:clamp(22px,4.7vw,29px);line-height:1.3;margin-bottom:7px}
#home .homeHero>p{font-size:13px;line-height:1.65}
#home .homeHero #roleActions{gap:7px;margin-top:11px}
#home .homeHero #roleActions .btn{min-height:39px;padding:9px 11px !important}
#home .homeSearchBlock{padding:12px;margin:12px 0 14px}
#home .homeSearchBlock .homeSectionTitle{gap:8px;margin-bottom:8px}
#home .homeSearchBlock .homeSectionTitle h2{font-size:clamp(18px,3.5vw,21px);line-height:1.35}
#home .homeSearchBlock .homeSectionIcon{width:40px;height:40px;border-radius:13px;font-size:27px}
#home .homeSearchInputWrap input{height:49px;padding-top:10px;padding-bottom:10px}
#home .homeSearch .two{gap:7px;margin-top:7px}
#home .homeSearch select{min-height:39px;padding-top:8px;padding-bottom:8px}
#home .homeStatsGrid{margin-top:12px;margin-bottom:9px;gap:8px}
#home .homeStatsGrid .stat{min-height:59px;padding:8px;font-size:12px}
#home .homeStatsGrid .stat b{font-size:20px}

@media(max-width:650px){
  #home .homeHero{padding:12px 13px 11px;margin-bottom:9px}
  #home .homeHeroBadge{padding:5px 9px;margin-bottom:7px;font-size:11px}
  #home .homeHero h1{font-size:23px;line-height:1.3;margin-bottom:6px}
  #home .homeHero>p{font-size:12px;line-height:1.6}
  #home .homeHero #roleActions{margin-top:8px;gap:6px}
  #home .homeHero #roleActions .btn{min-height:36px;padding:8px 10px !important}
  #home .homeSearchBlock{padding:10px;margin:10px 0 12px}
  #home .homeSearchBlock .homeSectionTitle{margin-bottom:6px}
  #home .homeSearchBlock .homeSectionTitle h2{font-size:19px;line-height:1.32}
  #home .homeSearchBlock .homeSectionIcon{width:36px;height:36px;border-radius:12px;font-size:25px}
  #home .homeSearchInputWrap input{height:46px;padding-top:9px;padding-bottom:9px;font-size:14px}
  #home .homeSearch .two{gap:6px;margin-top:6px}
  #home .homeSearch select{min-height:37px;padding-top:7px;padding-bottom:7px;font-size:12px}
  #home .homeStatsGrid{margin-top:10px;margin-bottom:7px;gap:7px}
  #home .homeStatsGrid .stat{min-height:53px;padding:7px 6px;font-size:11px}
  #home .homeStatsGrid .stat b{font-size:19px}
}


/* تحسينات مطلوبة فقط: تحديد الموقع والخريطة وثلاثة متاجر في الصف */
#home .homeNearbyLocateIcon{appearance:none;-webkit-appearance:none;cursor:pointer;font-family:inherit;padding:0;line-height:1;position:relative;z-index:2}
#home .homeNearbyLocateIcon:hover{filter:brightness(.97);box-shadow:0 0 0 3px rgba(38,141,157,.12)}
#home .homeNearbyLocateIcon:focus-visible{outline:3px solid rgba(38,125,180,.35);outline-offset:3px}
#home .homeNearbyLocateIcon:disabled,#home #homeLocationBtn:disabled{opacity:.65;cursor:wait}
#home .homeLocationExtraControls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:2px}
#home .homeLocationMapBtn,#home .homeLocationClearBtn{appearance:none;-webkit-appearance:none;border:1px solid #cfe3e9;border-radius:9px;background:#fff;color:#326b7c;padding:7px 10px;font:inherit;font-size:11px;line-height:1.45;cursor:pointer}
#home .homeLocationMapBtn:hover,#home .homeLocationClearBtn:hover{background:#f0fafb;border-color:#add6df}
#home .homeLocationClearBtn{color:#96534a;border-color:#ead5d0;background:#fffafa}
#home .homeNearbyFooter{align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
#home .homeNearbyMoreBtn{appearance:none;-webkit-appearance:none;border:1px solid #cfe3eb;border-radius:999px;padding:4px 10px;min-height:26px;background:#f5fbfd;color:#31748b;font:inherit;font-size:10px;line-height:1.3;font-weight:700;cursor:pointer}
#home .homeNearbyMoreBtn:hover{background:#e9f7fa;border-color:#9ccdd8}
#home .homeNearbyFooter #homeAllStoresBtn{min-height:32px;padding:6px 10px !important;font-size:12px;box-shadow:none}
#home .homeNearCard{min-width:0}
#home .homeNearImage{height:92px}
#home .homeNearInfo{padding:8px;gap:4px}
#home .homeNearInfo b{font-size:12px}
#home .homeNearInfo small{font-size:10px;overflow-wrap:anywhere}
#home .homeNearDistance{font-size:9px;padding:3px 6px}
@media(max-width:760px){
  #home .homeNearbyGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  #home .homeNearImage{height:76px}
  #home .homeNearInfo{padding:6px;gap:4px}
  #home .homeNearInfo b{font-size:11px}
  #home .homeNearInfo small{font-size:9px;line-height:1.4}
  #home .homeNearDistance{font-size:8px;padding:3px 5px}
  #home .homeLocationExtraControls{gap:6px}
  #home .homeLocationMapBtn,#home .homeLocationClearBtn{padding:6px 8px;font-size:10px}
  #home .homeNearbyFooter{margin-top:7px;gap:7px}
  #home .homeNearbyFooter #homeAllStoresBtn{min-height:28px;padding:5px 8px !important;font-size:11.5px}
  #home .homeNearbyMoreBtn{min-height:24px;padding:3px 9px;font-size:10px}
}
@media(max-width:360px){
  #home .homeNearbyGrid{gap:4px}
  #home .homeNearImage{height:65px}
  #home .homeNearInfo{padding:5px}
  #home .homeNearInfo b{font-size:10px}
  #home .homeNearInfo small{font-size:8px}
  #home .homeNearDistance{font-size:8px}
}
.homeLocationMapModal{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(7,25,35,.68);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.homeLocationMapModal.hidden{display:none!important}
.homeLocationMapDialog{width:min(900px,100%);max-height:calc(100dvh - 28px);overflow:auto;background:#fff;border:1px solid #d5e8ed;border-radius:18px;box-shadow:0 24px 90px rgba(0,0,0,.3);padding:15px;color:#23465a}
.homeLocationMapHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.homeLocationMapHeader h3{margin:0;color:#174e68;font-size:19px;line-height:1.45}
.homeLocationMapHeader p{margin:4px 0 0;color:#64808e;font-size:12px;line-height:1.7}
.homeLocationMapClose{flex:none;width:34px;height:34px;border:1px solid #d9e8ed;border-radius:10px;background:#f8fcfd;color:#315c6f;font-size:25px;line-height:1;cursor:pointer}
.homeLocationMapStatus{margin:10px 0;padding:8px 10px;background:#f2fafb;border-radius:9px;color:#357386;font-size:12px;line-height:1.6}
.homeLocationMapCanvas{height:min(56vh,560px);min-height:290px;border:1px solid #d5e6eb;border-radius:13px;overflow:hidden;background:#edf4f6;direction:ltr}
.homeLocationMapCoords{margin:9px 0;color:#567887;font-size:11px;line-height:1.6;overflow-wrap:anywhere;direction:ltr;text-align:left}
.homeLocationMapActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.homeLocationMapActions .btn{min-height:38px;padding:8px 12px!important;font-size:12px}
.homeLocationMapActions #homeLocationMapApply{margin-inline-start:auto}
.homeLocationMapActions button:disabled{opacity:.5;cursor:not-allowed}
.homeLocationMapAttribution{margin-top:8px;font-size:10px;color:#8297a0;text-align:left;direction:ltr}
.homeLocationMapFallback{padding:12px;border:1px dashed #d7e7eb;border-radius:12px;background:#f8fcfd}
.homeLocationMapFallback p{margin:0 0 8px;font-size:12px;color:#567887}
.homeLocationMapCoordsInputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.homeLocationMapCoordsInputs input{min-width:0;width:100%;margin:0;padding:10px;border:1px solid #d2e4e9;border-radius:9px;font-size:13px;direction:ltr}
@media(max-width:520px){
  .homeLocationMapModal{padding:7px}
  .homeLocationMapDialog{padding:11px;border-radius:14px;max-height:calc(100dvh - 14px)}
  .homeLocationMapHeader h3{font-size:16px}
  .homeLocationMapCanvas{height:48dvh;min-height:260px}
  .homeLocationMapActions{gap:6px}
  .homeLocationMapActions .btn{min-height:35px;padding:7px 9px!important;font-size:11px}
}


/* تعديل محدد: إظهار زر المزيد بوضوح وتكبير كتابة عرض جميع المتاجر قليلًا */
#home .homeNearbyFooter{justify-content:space-between;gap:8px}
#home .homeNearbyMoreBtn{min-height:34px;padding:7px 13px;font-size:12px;white-space:nowrap}
#home .homeNearbyFooter #homeAllStoresBtn{min-height:36px;padding:7px 12px !important;font-size:13.5px;white-space:nowrap}
@media(max-width:760px){
  #home .homeNearbyFooter{justify-content:space-between;gap:7px}
  #home .homeNearbyMoreBtn{min-height:32px;padding:6px 11px;font-size:12px}
  #home .homeNearbyFooter #homeAllStoresBtn{min-height:34px;padding:6px 10px !important;font-size:13px}
}


/* تصغير صف الشعار وأزرار الرأس على الهواتف فقط، دون تغيير الوظائف أو نسخة الكمبيوتر */
@media (max-width:650px){
  .top{
    display:grid !important;
    grid-template-columns:minmax(0,1.15fr) repeat(3,minmax(0,.9fr));
    align-items:center;
    gap:6px;
    padding:8px;
    margin-bottom:10px;
  }
  .top > div:first-child{min-width:0}
  .top .logo{
    font-size:19px !important;
    line-height:1.08;
    gap:5px;
  }
  .top .logo:before{width:27px;height:27px}
  .top .verse{
    display:block;
    margin-top:3px;
    font-size:10px !important;
    line-height:1.3;
    transform:none;
  }
  .top .status{font-size:10px !important;line-height:1.3}
  .top > button{
    display:flex !important;
    align-items:center;
    justify-content:center;
    width:100%;
    min-width:0 !important;
    max-width:100%;
    min-height:68px !important;
    margin:0 !important;
    padding:7px 4px !important;
    font-size:clamp(11px,3vw,12.5px) !important;
    line-height:1.3 !important;
    text-align:center;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
  }
}
