/* Professional administration workspace — v2.4 */
.admin-body .admin-sidebar .crest.crest-logo,.admin-login-body .crest.crest-logo{padding:3px;border-color:#e4bd72;background:#fff8ee;box-shadow:0 10px 24px rgba(21,0,5,.25)}.admin-login-body .login-shield{overflow:hidden;padding:6px;border:1px solid #e3c07c;background:#fff8ec}.admin-login-body .login-shield img{width:100%;height:100%;display:block;object-fit:contain;filter:drop-shadow(0 3px 5px rgba(69,11,23,.18))}
.whatsapp-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.admin-body{grid-template-columns:270px minmax(0,1fr)!important;background:#f6f3f1!important;color:#2d2427}
.admin-body .admin-sidebar{position:sticky;top:0;height:100dvh;padding:25px 18px;border:0;background:radial-gradient(circle at 25% 0,rgba(230,55,83,.32),transparent 30%),linear-gradient(165deg,#701027,#3e0a18 75%,#27070e);color:#fff;box-shadow:-10px 0 40px rgba(65,9,23,.13)}
.admin-body .admin-sidebar .brand{padding:4px 5px 24px;border-bottom:1px solid rgba(255,255,255,.11)}.admin-body .admin-sidebar .brand b{color:#fff}.admin-body .admin-sidebar .brand small{color:#ddb9c1!important}.admin-body .admin-sidebar .crest{width:44px;height:47px;border-color:#eccd8d;box-shadow:inset 0 0 0 3px #ad1736,0 10px 25px rgba(21,0,5,.25)}.nav-label{display:block;margin:25px 11px 9px;color:#c79da7;font-size:10px;font-weight:700}.admin-body .admin-sidebar nav{display:grid;gap:7px;margin:0}.admin-body .admin-sidebar nav a{height:48px;display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:9px;padding:0 12px;border-radius:12px;color:#e7cbd1;font-size:13px!important;font-weight:700;transition:.2s}.admin-body .admin-sidebar nav a>span{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.07);color:#f0cf8d;font-size:15px}.admin-body .admin-sidebar nav a>b{min-width:25px;height:21px;display:grid;place-items:center;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font:700 10px Arial}.admin-body .admin-sidebar nav a:hover{background:rgba(255,255,255,.08);color:#fff}.admin-body .admin-sidebar nav a.active{background:linear-gradient(110deg,#b91739,#e03253);color:#fff;box-shadow:0 12px 26px rgba(20,0,5,.2),inset 0 1px rgba(255,255,255,.15)}.admin-body .admin-sidebar nav a.active>span{background:rgba(255,255,255,.15);color:#ffe6ad}.admin-body .db-card{margin-top:30px;padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.06);box-shadow:inset 0 1px rgba(255,255,255,.06)}.admin-body .db-card i{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#2fa269;color:#fff}.admin-body .db-card b{margin:9px 0 4px;color:#fff;font-size:12px!important}.admin-body .db-card p{color:#c8a8af;font-size:10px!important}.admin-body .logout{right:18px;bottom:22px;padding:9px 12px;border-radius:9px;color:#eacbd2;font-size:12px;font-weight:700}.admin-body .logout:hover{background:rgba(255,255,255,.07);color:#fff}
.admin-body .admin-main{min-width:0;padding:34px clamp(20px,4vw,55px) 80px!important}.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:24px}.admin-topbar h1{margin:5px 0 4px;font-size:clamp(32px,4vw,47px)!important;letter-spacing:-.04em!important}.admin-topbar>div>p{margin:0;color:#84777b;font-size:13px}.admin-body .admin-profile{display:flex;align-items:center;gap:10px;padding:9px 12px 9px 16px;border:1px solid #e7ded9;border-radius:14px;background:#fff;box-shadow:0 8px 25px rgba(70,30,20,.05)}.admin-body .admin-profile>i{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:var(--gradient);color:#fff;font-style:normal;font-size:18px;font-weight:900}.admin-body .admin-profile>b{display:grid;gap:2px;font-size:12px}.admin-body .admin-profile small{color:#91858a;font-size:9px;font-weight:500}
.admin-body .admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 22px}.admin-body .admin-stats article{min-height:92px;display:flex;align-items:center;gap:13px;padding:16px;border:1px solid #e8ded9;border-radius:16px;background:linear-gradient(145deg,#fff,#fffbf7);box-shadow:0 10px 30px rgba(73,33,22,.045);transition:.2s}.admin-body .admin-stats article:hover{transform:translateY(-2px);box-shadow:0 15px 35px rgba(73,33,22,.075)}.admin-body .admin-stats i{width:44px;height:44px;flex:0 0 auto;border-radius:13px;background:linear-gradient(145deg,#fff0f3,#f6d8df);font-size:19px}.admin-body .admin-stats article:nth-child(3) i{background:#e6f5eb;color:#2d8050}.admin-body .admin-stats article:nth-child(4) i{background:#fff1d5;color:#986925}.admin-body .admin-stats span{gap:2px}.admin-body .admin-stats small{font-size:10px!important}.admin-body .admin-stats b{font-size:20px;line-height:1.3}
.admin-body .flash.static{margin:0 0 18px;padding:13px 16px;border-radius:12px}.admin-body .admin-editor{margin-bottom:18px;padding:22px;border:1px solid #e7dcd6;border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(72,32,21,.045)}.admin-body .admin-editor>div{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #eee5df}.admin-body .admin-editor>div i{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#fde8ed;font-size:22px}.admin-body .admin-editor form{gap:13px}.admin-body .admin-editor input,.admin-body .admin-editor select,.admin-body .admin-editor textarea{border-color:#e4d9d3;border-radius:10px;background:#fffcfa}.admin-body .admin-editor input:focus,.admin-body .admin-editor select:focus,.admin-body .admin-editor textarea:focus{border-color:#b61535;box-shadow:0 0 0 4px rgba(182,21,53,.08)}.admin-body .admin-save{height:43px;padding:0 20px;border-radius:10px;font-size:12px!important;box-shadow:0 10px 22px rgba(156,10,40,.16)}.admin-body .editor-actions a{height:43px;border-radius:10px}
.admin-body .admin-table-wrap{overflow:auto;border:1px solid #e6dcd7;border-radius:17px;background:#fff;box-shadow:0 12px 35px rgba(72,32,21,.04)}.admin-body .admin-table-wrap th{padding:14px 16px;background:#faf6f3;color:#807378;font-size:11px!important}.admin-body .admin-table-wrap td{padding:13px 16px;border-color:#eee6e1;color:#655b5e;font-size:12px!important}.admin-body .table-product .product-photo{width:54px;height:54px;border-radius:10px}.admin-body .stock-pill{display:inline-grid;place-items:center;min-width:31px;height:25px;padding:0 7px}.admin-body .table-actions a,.admin-body .table-actions button{width:34px;height:34px;border-radius:9px}
.orders-workspace{overflow:hidden;border:1px solid #e7dcd6;border-radius:19px;background:#fff;box-shadow:0 16px 45px rgba(73,31,20,.055)}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 22px 15px}.workspace-head h2{margin:0;font-size:21px}.workspace-head p{margin:3px 0 0;color:#897d80;font-size:11px}.workspace-head>span{padding:7px 10px;border-radius:999px;background:#f8ecef;color:#9d1530;font-size:10px;font-weight:800}.orders-toolbar{display:flex;align-items:end;gap:10px;padding:0 22px 18px;border-bottom:1px solid #ece3df}.admin-search{height:44px;min-width:280px;flex:1;display:grid;grid-template-columns:22px 1fr;align-items:center;gap:8px;padding:0 13px;border:1px solid #e3d8d2;border-radius:11px;background:#fffdfa;color:#9c1731}.admin-search input{min-width:0;border:0;outline:0;background:none;font-size:12px}.admin-filter{display:grid;gap:5px;color:#83777a;font-size:9px;font-weight:700}.admin-filter select{height:44px;min-width:145px;padding:0 11px;border:1px solid #e3d8d2;border-radius:11px;background:#fffdfa;font-size:11px}.orders-toolbar>button{height:44px;padding:0 18px;border:0;border-radius:11px;background:var(--gradient);color:#fff;font-size:11px;font-weight:800}.orders-toolbar>a{height:44px;display:grid;place-items:center;padding:0 11px;color:#8e6e75;font-size:10px;font-weight:700}.admin-body .orders-table{border:0;border-radius:0;box-shadow:none}.admin-body .orders-table table{min-width:900px}.admin-body .orders-table tbody tr{transition:.18s}.admin-body .orders-table tbody tr:hover{background:#fffbf8}.order-number{display:grid;gap:4px;color:#641526;font:800 11px Arial}.order-number small{color:#9a8e91!important;font:500 9px Tajawal!important}.customer-cell{display:flex;align-items:center;gap:9px}.customer-cell>i{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#fde9ed,#f7d1d9);color:#a31130;font-style:normal;font-size:15px;font-weight:900}.customer-cell>b{display:grid;gap:3px;color:#372c2f;font-size:12px}.customer-cell small{color:#94878b!important;font:500 10px Arial!important;text-align:right}.items-count{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:4px;font-size:10px}.items-count>b{color:#7c1a2e;font-size:15px}.items-count small{grid-column:1/-1;color:#95898c!important;font-size:9px!important}.order-total{color:#731629;font-size:12px}.admin-body .status-form select{height:36px;min-width:125px;padding:0 10px;border:1px solid #ead7aa;border-radius:999px;background:#fff6df;color:#89601f;font-size:10px!important;font-weight:800}.admin-body .status-form[data-status="جديد"] select{border-color:#e7ccd2;background:#fff0f3;color:#a21331}.admin-body .status-form[data-status="قيد التجهيز"] select{border-color:#ead7aa;background:#fff6df;color:#89601f}.admin-body .status-form[data-status="جاهز للاستلام"] select{border-color:#bddfc9;background:#ecf8f0;color:#287248}.admin-body .status-form[data-status="تم التسليم"] select{border-color:#cdd8e5;background:#f1f5f9;color:#496278}.admin-body .status-form[data-status="ملغي"] select{border-color:#e0d9da;background:#f4f1f1;color:#7b6c70}.order-actions{display:flex;align-items:center;gap:7px}.whatsapp-button{height:35px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border-radius:9px;background:#e9f8ee;color:#197c45;font-size:10px;font-weight:900;transition:.2s}.whatsapp-button span{font-size:15px}.whatsapp-button:hover{background:#1f9d58;color:#fff;box-shadow:0 9px 20px rgba(31,157,88,.2);transform:translateY(-1px)}.admin-body .delete-order{width:35px;height:35px;border-radius:9px}.orders-table .empty{min-height:320px;border:0;border-radius:0}.orders-table .empty .primary-button{min-height:42px}
.admin-login-body .admin-login{max-width:490px}.admin-login-body .admin-login form{padding:24px;border:1px solid #e7dcd6;border-radius:18px;background:#fff;box-shadow:0 20px 55px rgba(78,28,19,.1)}.admin-login-body .admin-login input{border-radius:10px}.admin-login-body .login-shield{border-radius:22px}
.appearance-workspace{overflow:hidden;border:1px solid #e7dcd6;border-radius:20px;background:#fff;box-shadow:0 18px 50px rgba(73,31,20,.055)}
.appearance-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 25px;border-bottom:1px solid #eee5e0;background:linear-gradient(135deg,#fff 58%,#fff7f0)}.appearance-head>div{display:flex;align-items:center;gap:13px}.appearance-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#a40e2d,#dc2547);color:#fff;font-size:25px;font-weight:900;box-shadow:0 12px 25px rgba(166,14,45,.2)}.appearance-head h2{margin:0;color:#352a2d;font-size:21px}.appearance-head p{margin:4px 0 0;color:#8e8185;font-size:11px}.folder-badge{display:grid;gap:3px;padding:9px 13px;border:1px solid #ead9b8;border-radius:11px;background:#fff9eb}.folder-badge b{color:#9d6e24;font-size:9px}.folder-badge code{direction:ltr;color:#6f5b36;font:600 11px Consolas,monospace}
.font-settings-form{padding:24px}.font-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.font-card{position:relative;min-height:185px;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:0;padding:19px!important;overflow:hidden;border:1px solid #e8ddd7;border-radius:16px;background:linear-gradient(145deg,#fff,#fffbf8);cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s}.font-card:hover{transform:translateY(-3px);border-color:#dcb8c1;box-shadow:0 15px 35px rgba(92,30,43,.09)}.font-card:has(input:checked){border-color:#b20f30;background:linear-gradient(145deg,#fff,#fff4f5);box-shadow:0 0 0 3px rgba(178,15,48,.08),0 15px 35px rgba(92,30,43,.1)}.font-card input{position:absolute;opacity:0;pointer-events:none}.font-check{position:absolute;top:14px;left:14px;width:25px;height:25px;display:grid;place-items:center;border:1px solid #ddd0cb;border-radius:50%;background:#fff;color:transparent;font-family:Arial,sans-serif!important;font-size:13px;transition:.2s}.font-card input:checked~.font-check{border-color:#b20f30;background:#b20f30;color:#fff;box-shadow:0 6px 14px rgba(178,15,48,.22)}.font-sample{width:100%;display:block;margin:auto 0;padding:19px 0 24px;color:#5b1424;font-size:clamp(24px,2.3vw,33px);line-height:1.35;white-space:nowrap;text-align:center}.font-meta{width:100%;display:flex;align-items:end;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid #eee4df}.font-meta b{max-width:70%;overflow:hidden;color:#3f3336;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.font-meta small{direction:ltr;color:#9a8e91;font:600 9px Arial,sans-serif!important}.font-card em{position:absolute;top:15px;right:15px;padding:5px 8px;border-radius:999px;background:#f9e8ec;color:#9f1430;font-size:8px;font-style:normal;font-weight:800}.font-save-bar{position:sticky;bottom:12px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:15px 17px;border:1px solid #eadfd9;border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 12px 35px rgba(74,24,34,.11);backdrop-filter:blur(14px)}.font-save-bar b{color:#46383c;font-size:12px}.font-save-bar p{margin:3px 0 0;color:#91858a;font-size:9px}.font-save-bar .admin-save{min-width:190px;border:0;background:linear-gradient(110deg,#a70e2d,#df2448);color:#fff}.font-empty{min-height:340px;display:grid;place-items:center;align-content:center;gap:7px;padding:35px;text-align:center}.font-empty>span{width:60px;height:60px;display:grid;place-items:center;border-radius:18px;background:#fae9ed;color:#a5102f;font-size:29px;font-weight:900}.font-empty h3{margin:5px 0 0}.font-empty p{max-width:540px;margin:0;color:#8f8286;font-size:11px;line-height:1.9}.font-empty code{direction:ltr;display:inline-block;padding:1px 6px;border-radius:5px;background:#f3ece8;color:#7c172c;font:600 10px Consolas,monospace}
@media(max-width:1150px){.admin-body .admin-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.admin-body{grid-template-columns:1fr!important}.admin-body .admin-sidebar{position:static;height:auto;padding:12px 14px;border-radius:0}.admin-body .admin-sidebar>.brand,.admin-body .nav-label,.admin-body .db-card,.admin-body .logout{display:none}.admin-body .admin-sidebar nav{display:flex;gap:6px;overflow-x:auto}.admin-body .admin-sidebar nav a{height:43px;min-width:max-content;display:flex;flex:1;justify-content:center;padding:0 8px}.admin-body .admin-sidebar nav a>span{width:23px;height:23px}.admin-body .admin-main{padding:24px 14px 65px!important}.admin-topbar{align-items:flex-start}.admin-topbar>div>p{font-size:11px}.admin-body .admin-profile{display:none}.orders-workspace{border-radius:15px}.orders-toolbar{flex-wrap:wrap}.admin-search{min-width:100%}.admin-filter{flex:1}.admin-filter select{width:100%}.font-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.admin-body .admin-stats{grid-template-columns:1fr 1fr;gap:8px}.admin-body .admin-stats article{min-height:78px;padding:11px}.admin-body .admin-stats i{width:38px;height:38px}.admin-body .admin-stats b{font-size:17px}.workspace-head,.orders-toolbar{padding-right:14px;padding-left:14px}.admin-body .orders-table{overflow:visible}.admin-body .orders-table table,.admin-body .orders-table tbody,.admin-body .orders-table tr,.admin-body .orders-table td{display:block;width:100%;min-width:0}.admin-body .orders-table thead{display:none}.admin-body .orders-table tr{padding:15px;border-bottom:8px solid #f6f3f1}.admin-body .orders-table td{display:grid;grid-template-columns:95px 1fr;align-items:center;padding:9px 0;border:0}.admin-body .orders-table td:before{content:attr(data-label);color:#94878b;font-size:10px;font-weight:700}.customer-cell>i{width:33px;height:33px}.order-actions{justify-content:flex-start}.whatsapp-button{height:39px;padding:0 15px}.admin-body .status-form select{height:39px}.admin-body .admin-editor{padding:15px}.admin-body .admin-editor form{grid-template-columns:1fr!important}.admin-body .admin-editor .wide{grid-column:1!important}.admin-body .admin-table-wrap:not(.orders-table){border-radius:13px}.admin-topbar h1{font-size:30px!important}.appearance-head{align-items:flex-start;padding:18px}.folder-badge{display:none}.font-settings-form{padding:14px}.font-grid{grid-template-columns:1fr}.font-card{min-height:165px}.font-sample{font-size:30px}.font-save-bar{bottom:8px}.font-save-bar>div{display:none}.font-save-bar .admin-save{width:100%;min-width:0}}

/* Product media and category management — v2.7 */
.product-editor .media-editor{min-height:190px;display:grid;grid-template-columns:155px 1fr;gap:18px;align-items:center;padding:15px;border:1px dashed #ddcfc7;border-radius:15px;background:linear-gradient(145deg,#fffcfa,#fff7f2)}.media-preview{position:relative;width:155px;height:160px;border:1px solid #e6d9d2;border-radius:13px;background-color:#f2ece7;box-shadow:0 8px 22px rgba(72,32,21,.06)}.media-preview>span{position:absolute;right:9px;bottom:9px;padding:5px 7px;border-radius:7px;background:rgba(49,26,30,.7);color:#fff;font-size:8px;backdrop-filter:blur(7px)}.media-controls{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.media-controls>b{color:#392e31;font-size:13px}.media-controls>p{margin:4px 0 13px;color:#8f8286;font-size:10px}.upload-button{height:42px!important;display:inline-flex!important;align-items:center!important;padding:0 15px!important;border:1px solid #d7aeb8;border-radius:10px!important;background:#fff;color:#99132e!important;font-size:11px!important;font-weight:900!important;cursor:pointer;transition:.2s}.upload-button:hover{border-color:#a71130;background:#fff4f6;box-shadow:0 8px 20px rgba(163,16,46,.09)}.upload-button input{display:none}.media-controls>[data-file-name]{max-width:100%;margin-top:8px;overflow:hidden;color:#94878b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.remove-media{display:flex!important;align-items:center!important;gap:7px!important;margin-top:12px;color:#806f73!important;font-size:9px!important;cursor:pointer}.remove-media input{width:15px!important;height:15px!important;margin:0;accent-color:#ad1231}
.categories-workspace{overflow:hidden;border:1px solid #e7dcd6;border-radius:19px;background:#fff;box-shadow:0 16px 45px rgba(73,31,20,.055)}.category-create{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px;padding:0 22px 20px;border-bottom:1px solid #ece3df}.category-create label{display:grid;gap:7px;color:#74676b;font-size:10px;font-weight:800}.category-create input{height:45px;padding:0 13px;border:1px solid #e1d5cf;border-radius:11px;background:#fffdfa;outline:0;font-size:12px}.category-create input:focus{border-color:#b61535;box-shadow:0 0 0 4px rgba(182,21,53,.08)}.category-create .admin-save{height:45px;min-width:150px;border-radius:11px}.category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:22px}.category-list article{min-height:78px;display:grid;grid-template-columns:43px 1fr auto;align-items:center;gap:12px;padding:14px;border:1px solid #e9dfda;border-radius:14px;background:linear-gradient(145deg,#fff,#fffbf8);transition:.2s}.category-list article:hover{border-color:#ddbdc4;box-shadow:0 10px 25px rgba(72,25,36,.06);transform:translateY(-1px)}.category-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#fae8ec;color:#a41230;font-size:19px;font-weight:900}.category-list article>div{display:grid;gap:4px}.category-list article>div b{color:#3d3134;font-size:12px}.category-list article>div small{color:#94878b;font-size:9px}.category-delete{height:34px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #ecd3d8;border-radius:9px;background:#fff5f6;color:#a71431;font-size:9px;font-weight:800;cursor:pointer}.category-delete:hover{border-color:#b71735;background:#b71735;color:#fff}.category-locked{padding:7px 9px;border-radius:999px;background:#f3efed;color:#96898c;font-size:8px;font-weight:800}
@media(max-width:700px){.product-editor .media-editor{grid-template-columns:105px 1fr;padding:11px}.media-preview{width:105px;height:120px}.category-create{grid-template-columns:1fr;padding:0 14px 16px}.category-create .admin-save{width:100%}.category-list{grid-template-columns:1fr;padding:14px}.category-delete span{display:none}}

/* Hero image management — v2.8 */
.hero-appearance-workspace{margin-bottom:18px;overflow:hidden;border:1px solid #e7dcd6;border-radius:20px;background:#fff;box-shadow:0 18px 50px rgba(73,31,20,.055)}.hero-setting-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 24px;border-bottom:1px solid #eee3dd;background:linear-gradient(135deg,#fff 54%,#fff4f0)}.hero-setting-head>div{display:flex;align-items:center;gap:13px}.hero-setting-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#8f0a27,#d92347);color:#ffe3a3;font-size:21px;box-shadow:0 12px 25px rgba(166,14,45,.2)}.hero-setting-head h2{margin:0;color:#352a2d;font-size:21px}.hero-setting-head p{margin:4px 0 0;color:#8e8185;font-size:11px}.hero-setting-head>a{height:38px;display:inline-flex;align-items:center;padding:0 13px;border:1px solid #e5d5cd;border-radius:10px;background:#fff;color:#8d1830;font-size:10px;font-weight:900;transition:.2s}.hero-setting-head>a:hover{border-color:#c9909d;background:#fff5f6}.hero-setting-form{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(300px,1.1fr);gap:0}.hero-admin-stage{position:relative;min-height:385px;display:grid;place-items:center;overflow:hidden;padding:34px;background:radial-gradient(circle at 50% 48%,rgba(255,149,163,.32),transparent 36%),linear-gradient(145deg,#65071b,#a90d31 58%,#d72045)}.hero-admin-stage:before{content:"";position:absolute;width:310px;height:310px;border:1px solid rgba(255,227,171,.23);border-radius:50%;box-shadow:0 0 0 40px rgba(255,255,255,.025)}.hero-admin-card{position:relative;z-index:1;width:min(320px,100%);height:305px;overflow:hidden;border:1px solid rgba(255,255,255,.31);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(67,0,15,.15));box-shadow:0 25px 60px rgba(49,0,11,.25),inset 0 1px rgba(255,255,255,.18);backdrop-filter:blur(10px)}.hero-admin-card>small,.hero-admin-card>b,.hero-admin-card>em{position:absolute;z-index:4;right:18px;left:18px;text-align:center}.hero-admin-card>small{top:18px;color:#ffe2a2;font:800 8px Arial;letter-spacing:.15em}.hero-admin-card>b{top:38px;color:#fff;font-size:21px}.hero-admin-card>em{bottom:13px;color:#f0c9d0;font:700 7px Arial;font-style:normal;letter-spacing:.1em}.hero-admin-card>img,.hero-admin-fallback{position:absolute;z-index:2;top:77px;right:18px;width:calc(100% - 36px);height:184px;display:block;border-radius:17px;background-color:#fff8f1;object-fit:contain;box-shadow:0 14px 30px rgba(51,0,11,.2)}.hero-admin-card.has-upload .hero-admin-fallback{display:none}.hero-setting-controls{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:34px 36px}.setting-badge{display:inline-flex;padding:7px 10px;border-radius:999px;background:#e9f6ed;color:#28764a;font-size:9px;font-weight:900}.hero-setting-controls h3{margin:15px 0 7px;color:#451e28;font-size:25px;line-height:1.35}.hero-setting-controls>p{max-width:520px;margin:0 0 19px;color:#85777b;font-size:11px;line-height:1.9}.hero-upload-button{min-width:180px;justify-content:center}.hero-setting-controls>[data-hero-file-name]{max-width:100%;margin-top:9px;overflow:hidden;color:#94878b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.hero-setting-controls .remove-media{margin-top:13px}.hero-save{min-width:180px;margin-top:20px;border:0;background:linear-gradient(110deg,#970b2a,#df2449);color:#fff}.hero-save:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(156,10,40,.22)}
@media(max-width:900px){.hero-setting-form{grid-template-columns:1fr}.hero-admin-stage{min-height:340px}.hero-setting-controls{padding:27px}.hero-setting-head{padding:18px}}
@media(max-width:600px){.hero-setting-head{align-items:flex-start;padding:15px}.hero-setting-head>a{display:none}.hero-setting-icon{width:42px;height:42px}.hero-setting-head h2{font-size:18px}.hero-admin-stage{min-height:315px;padding:20px}.hero-admin-stage:before{width:260px;height:260px}.hero-admin-card{width:275px;height:274px;border-radius:20px}.hero-admin-card>img,.hero-admin-fallback{top:70px;height:160px}.hero-setting-controls{padding:22px 17px}.hero-setting-controls h3{font-size:21px}.hero-upload-button,.hero-save{width:100%}}

/* Product display ordering — v2.9 */
.product-order-workspace{margin-bottom:18px;overflow:hidden;border:1px solid #e7dcd6;border-radius:19px;background:#fff;box-shadow:0 16px 45px rgba(73,31,20,.055)}
.product-order-form{padding:0 22px 20px}.product-order-list{display:grid;gap:8px}
.product-order-item{min-height:76px;display:grid;grid-template-columns:38px 58px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e9dfda;border-radius:14px;outline:0;background:linear-gradient(145deg,#fff,#fffbf8);cursor:grab;transition:transform .18s,border-color .18s,box-shadow .18s,opacity .18s}
.product-order-item:hover,.product-order-item:focus-within{border-color:#d9b6bf;box-shadow:0 9px 24px rgba(92,30,43,.07);transform:translateY(-1px)}.product-order-item:focus-visible{outline:3px solid rgba(180,20,52,.14);outline-offset:2px}.product-order-item.is-dragging{z-index:2;opacity:.55;border-color:#b41434;box-shadow:0 15px 34px rgba(145,17,43,.16);cursor:grabbing}
.order-drag-handle{width:34px;height:42px;border:0;border-radius:9px;background:#f6efeb;color:#9a7f84;font-size:19px;line-height:1;cursor:grab}.order-drag-handle:active{cursor:grabbing}.product-order-photo{width:58px;height:58px;display:block;border-radius:11px}
.product-order-copy{display:grid;min-width:0;gap:2px}.product-order-copy small{color:#aa1732;font-size:9px;font-weight:900}.product-order-copy b{overflow:hidden;color:#392e31;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.product-order-copy em{overflow:hidden;color:#93868a;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.product-order-actions{display:flex;gap:6px}.product-order-actions button{width:36px;height:36px;border:1px solid #e6d9d3;border-radius:9px;background:#fff;color:#82162c;font-size:16px;font-weight:900;cursor:pointer;transition:.18s}.product-order-actions button:hover:not(:disabled){border-color:#b41434;background:#fff2f4;color:#b41434;transform:translateY(-1px)}.product-order-actions button:disabled{opacity:.3;cursor:not-allowed}
.product-order-save{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:14px 15px;border:1px solid #eadfd9;border-radius:13px;background:linear-gradient(145deg,#fffdfa,#faf2ee)}.product-order-save>span{display:grid;gap:3px}.product-order-save b{color:#46383c;font-size:11px}.product-order-save small{color:#91858a;font-size:9px}.product-order-save .admin-save{min-width:175px;border:0;background:linear-gradient(110deg,#a70e2d,#df2448);color:#fff}
@media(max-width:700px){.product-order-form{padding:0 13px 14px}.product-order-item{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:8px}.order-drag-handle{display:none}.product-order-photo{width:48px;height:48px}.product-order-actions{display:grid;grid-template-columns:1fr 1fr}.product-order-actions button{width:32px;height:32px}.product-order-save{display:grid}.product-order-save .admin-save{width:100%;min-width:0}}

/* Administration security center — v3.0 */
.admin-body .admin-sidebar{padding-bottom:82px;overflow-y:auto}.admin-body .logout-form{margin:0}.admin-body .logout{border:0;background:transparent;white-space:nowrap;cursor:pointer}.login-security-note{display:block;margin:-8px 0 19px;padding:8px 11px;border:1px solid #dfd3cd;border-radius:999px;background:rgba(255,255,255,.65);color:#7e6f73;font-size:9px;font-weight:800}
.security-overview{margin-bottom:16px;overflow:hidden;border:1px solid #e5dad4;border-radius:20px;background:#fff;box-shadow:0 16px 45px rgba(73,31,20,.055)}.security-head{display:flex;align-items:center;gap:13px;padding:21px 23px;border-bottom:1px solid #eee4df;background:linear-gradient(135deg,#fff 56%,#f1fbf5)}.security-head-icon{width:47px;height:47px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#176d43,#2fa269);color:#fff;font-size:23px;box-shadow:0 12px 25px rgba(31,139,86,.19)}.security-head>span:nth-child(2){display:grid;gap:3px}.security-head h2{margin:0;color:#352a2d;font-size:21px}.security-head p{margin:0;color:#8a7e82;font-size:10px}.security-head>em{margin-inline-start:auto;padding:7px 10px;border-radius:999px;background:#e8f7ed;color:#237146;font-size:9px;font-style:normal;font-weight:900}
.security-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:18px}.security-status-grid article{min-height:118px;display:flex;align-items:flex-start;gap:11px;padding:15px;border:1px solid #e9dfda;border-radius:14px;background:linear-gradient(145deg,#fff,#fffbf8)}.security-status-grid article>i{width:35px;height:35px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;background:#f5e8eb;color:#a31330;font-style:normal;font-size:16px}.security-status-grid article.secure>i{background:#e8f6ed;color:#25764a}.security-status-grid article>span{display:grid;min-width:0;gap:4px}.security-status-grid small{color:#94878b;font-size:8px;font-weight:700}.security-status-grid b{color:#3c3134;font-size:11px;line-height:1.55}.security-status-grid em{color:#8e8185;font-size:8px;font-style:normal;line-height:1.55}
.security-settings-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(310px,.92fr);gap:16px}.security-card{padding:22px;border:1px solid #e5dad4;border-radius:19px;background:#fff;box-shadow:0 14px 40px rgba(73,31,20,.045)}.security-card>header{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #eee5e0}.security-card>header>span{width:40px;height:40px;flex:0 0 auto;display:grid;place-items:center;border-radius:12px;background:#f8e9ed;color:#a2122f;font-size:20px}.security-card h3{margin:0;color:#3b3033;font-size:17px}.security-card header p{margin:4px 0 0;color:#8e8185;font-size:9px;line-height:1.7}
.security-password-form{display:grid;gap:12px}.security-password-form>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.security-password-form label{display:grid;gap:7px;color:#74676b;font-size:10px;font-weight:800}.security-password-form input{height:45px;padding:0 13px;border:1px solid #e1d5cf;border-radius:11px;background:#fffdfa;outline:0}.security-password-form input:focus{border-color:#b61535;box-shadow:0 0 0 4px rgba(182,21,53,.08)}.password-guidance{display:flex;align-items:flex-start;gap:7px;margin:0;padding:11px;border-radius:10px;background:#f1f8f3;color:#4f725c;font-size:9px;line-height:1.7}.password-guidance span{color:#238050;font-weight:900}.security-password-form .admin-save{height:45px;justify-self:start;min-width:220px;border:0;background:linear-gradient(110deg,#8d0a26,#db2145);color:#fff}
.current-session{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid #cde7d6;border-radius:13px;background:#f1faf4}.current-session>i{width:11px;height:11px;border:3px solid #c7ead2;border-radius:50%;background:#2a995e;box-shadow:0 0 0 4px #e1f4e7}.current-session>span{display:grid;gap:3px}.current-session b{color:#285d3d;font-size:11px}.current-session small{color:#70907b;font-size:8px}.sessions-card form{margin:12px 0}.terminate-sessions{width:100%;height:42px;border:1px solid #e3c6cc;border-radius:10px;background:#fff5f6;color:#a51330;font-size:10px;font-weight:900;cursor:pointer;transition:.18s}.terminate-sessions:hover{border-color:#af1532;background:#af1532;color:#fff}.sessions-card ul{display:grid;gap:9px;margin:17px 0 0;padding:0;list-style:none}.sessions-card li{position:relative;padding-inline-start:17px;color:#7f7276;font-size:9px;line-height:1.7}.sessions-card li:before{content:"✓";position:absolute;inset-inline-start:0;color:#278252;font-weight:900}
@media(max-width:1120px){.security-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.security-settings-grid{grid-template-columns:1fr}}
@media(max-width:900px){.admin-body .admin-sidebar{padding-bottom:12px;overflow:visible}.admin-body .logout-form{display:none}}
@media(max-width:600px){.security-head{align-items:flex-start;padding:16px}.security-head-icon{width:42px;height:42px}.security-head h2{font-size:18px}.security-head>em{display:none}.security-status-grid{grid-template-columns:1fr;padding:12px}.security-status-grid article{min-height:92px}.security-card{padding:16px}.security-password-form>div{grid-template-columns:1fr}.security-password-form .admin-save{width:100%;min-width:0}.login-security-note{font-size:8px}}

/* Expandable order details — v3.1 */
.order-summary-row{cursor:pointer}.order-summary-row>td{transition:background .18s,border-color .18s}.order-summary-row:hover>td{background:#fffaf6}.order-summary-row.is-expanded>td{border-top-color:#ead6da;background:#fff7f8}.order-summary-row.is-expanded+tr+tr{border-top-color:#eee6e1}.order-expand-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;border:0;background:transparent;color:inherit;text-align:right}.order-expand-button>i{width:29px;height:29px;flex:0 0 auto;display:grid;place-items:center;border:1px solid #eadcd6;border-radius:9px;background:#fff;color:#951b33;font-style:normal;font-size:15px;transition:transform .22s,background .22s,color .22s}.order-expand-button:hover>i{border-color:#c99ba5;background:#fff0f3}.order-expand-button[aria-expanded="true"]>i{border-color:#a71331;background:#a71331;color:#fff;transform:rotate(180deg)}.order-expand-button:focus-visible{outline:2px solid #b31534;outline-offset:5px;border-radius:5px}
.order-detail-row[hidden]{display:none!important}.admin-body .orders-table .order-detail-row:hover{background:transparent}.admin-body .orders-table .order-detail-row>td{padding:0 12px 14px;border-top:0;background:#fff}.order-expand-panel{overflow:hidden;border:1px solid #e7d9d3;border-radius:16px;background:linear-gradient(145deg,#fffcfa,#f9f3ee);box-shadow:inset 0 1px #fff;animation:order-panel-in .24s ease both}.order-expand-panel>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 17px;border-bottom:1px solid #e9ddd7;background:rgba(255,255,255,.72)}.order-expand-panel>header>span{display:flex;align-items:baseline;gap:8px}.order-expand-panel>header small{color:#96898c;font-size:9px}.order-expand-panel>header b{direction:ltr;color:#71172a;font:900 12px Arial}.order-expand-panel>header em{padding:6px 9px;border-radius:999px;background:#f6e8eb;color:#99152f;font-size:9px;font-style:normal;font-weight:900}
.order-detail-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:14px;padding:15px}.order-products-panel,.order-facts-panel{min-width:0;padding:16px;border:1px solid #ebe0da;border-radius:13px;background:#fff}.order-products-panel h3,.order-facts-panel h3{margin:0 0 13px;color:#403437;font-size:13px}.order-item-list{display:grid;gap:8px}.order-item-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;padding:9px;border:1px solid #eee4df;border-radius:12px;background:#fffdfb}.order-item-photo{width:58px;height:58px;display:block;overflow:hidden;border-radius:10px}.order-item-photo img{width:100%;height:100%;display:block;object-fit:cover}.order-item-info{display:grid;min-width:0;gap:3px}.order-item-info>small{color:#9a8d90;font-size:8px}.order-item-info>b{overflow:hidden;color:#3e3235;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.order-item-info>em{display:flex;flex-wrap:wrap;gap:6px;margin-top:3px;font-style:normal}.order-item-info>em>span{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;background:#f6f0ec;color:#7e7175;font-size:8px}.order-item-info>em strong{color:#8e1730;font:900 9px Arial}.order-item-info>em>span:first-child{border:1px solid #e8cc94;background:#fff7df;color:#876129}.order-item-price{display:grid;justify-items:end;gap:4px;white-space:nowrap}.order-item-price small{color:#9a8d90;font-size:8px}.order-item-price b{color:#7d172b;font-size:11px}.order-items-empty{padding:25px;border:1px dashed #dfd2cb;border-radius:11px;color:#8d7f83;font-size:10px;text-align:center}
.order-facts-panel dl{display:grid;gap:0;margin:0}.order-facts-panel dl>div{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #f0e8e4}.order-facts-panel dt{color:#918489;font-size:9px}.order-facts-panel dd{max-width:65%;margin:0;color:#44373a;font-size:10px;font-weight:800;text-align:left}.order-facts-panel footer{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-top:14px;padding:13px;border-radius:11px;background:linear-gradient(110deg,#751126,#a71634);color:#fff}.order-facts-panel footer span{font-size:9px}.order-facts-panel footer b{font-size:14px}.orders-workspace .workspace-head p:after{content:" · طلب واحد مفتوح في كل مرة";color:#ad1b37;font-weight:800}
@keyframes order-panel-in{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.order-expand-panel{animation:none}.order-expand-button>i{transition:none}}
@media(max-width:900px){.order-detail-layout{grid-template-columns:1fr}.order-facts-panel dd{text-align:right}}
@media(max-width:700px){.admin-body .orders-table .order-summary-row{padding:13px 14px 11px}.admin-body .orders-table .order-summary-row.is-expanded{border-bottom:0;background:#fff7f8}.admin-body .orders-table .order-detail-row{padding:0 9px 13px;border-bottom:8px solid #f6f3f1;background:#fff7f8}.admin-body .orders-table .order-detail-row>td{display:block;padding:0;border:0}.admin-body .orders-table .order-detail-row>td:before{display:none}.order-expand-button{gap:8px}.order-expand-button>i{width:31px;height:31px}.order-expand-panel{border-radius:13px}.order-expand-panel>header{padding:12px}.order-expand-panel>header em{font-size:8px}.order-detail-layout{gap:9px;padding:9px}.order-products-panel,.order-facts-panel{padding:12px}.order-item-card{grid-template-columns:52px minmax(0,1fr);gap:9px}.order-item-photo{width:52px;height:52px}.order-item-price{grid-column:2;display:flex;align-items:center;justify-content:space-between;width:100%;padding-top:7px;border-top:1px solid #f0e7e2}.order-item-info>b{white-space:normal}.order-facts-panel dl>div{padding:9px 0}.orders-workspace .workspace-head p:after{display:none}}

/* Order contact state */
.admin-body .status-form[data-status="تم التواصل"] select{border-color:#c7dbea;background:#edf7ff;color:#27658c}
