/* AL EDARI V12 – styles for checkout, track order, account, reviews, compare, mobile menu … */
.aed-dis{opacity:.45!important;cursor:not-allowed!important;pointer-events:none}
.aed-in{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;font-size:13px;background:#fff;color:#0f172a;outline:none;font-family:inherit}
.aed-in:focus{border-color:#059669;box-shadow:0 0 0 2px rgba(5,150,105,.15)}
.aed-num{width:90px}
.aed-field{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:#334155}
.aed-form{display:flex;flex-direction:column;gap:10px}
.aed-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.aed-row{display:flex;gap:8px;align-items:center}
.aed-row>.aed-in{flex:1}
.aed-wrap{flex-wrap:wrap}
.aed-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#059669;color:#fff;border:0;border-radius:8px;padding:9px 16px;font-size:13px;font-weight:800;cursor:pointer;text-decoration:none;white-space:nowrap}
.aed-btn:hover{background:#047857}
.aed-btn:disabled{opacity:.5;cursor:not-allowed}
.aed-btn-light{background:#f1f5f9;color:#0f172a;border:1px solid #cbd5e1}
.aed-btn-light:hover{background:#e2e8f0}
.aed-btn-sm{padding:5px 10px;font-size:11px}
.aed-btn-big{width:100%;padding:12px;font-size:14px;margin-bottom:6px}
.aed-btn-wa{background:#25d366}.aed-btn-wa:hover{background:#1fb457}
.aed-link{background:none;border:0;color:#047857;font-weight:700;font-size:12px;text-decoration:underline;cursor:pointer;padding:0}
.aed-muted{color:#64748b;font-size:13px}
.aed-note{color:#047857;font-weight:700;font-size:13px}
.aed-err{color:#be123c;font-weight:700;font-size:13px;margin:4px 0}
.aed-green{color:#047857}
.aed-small{font-size:12px;color:#475569}
.aed-grow{flex:1;min-width:0}
.aed-center{text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center}
.aed-big-ok{width:56px;height:56px;border-radius:50%;background:#d1fae5;color:#047857;font-size:30px;font-weight:900;display:flex;align-items:center;justify-content:center}
.aed-modal-bg{position:fixed;inset:0;background:rgba(2,6,23,.6);z-index:100;display:flex;align-items:center;justify-content:center;padding:12px}
.aed-modal{background:#fff;border-radius:14px;width:100%;max-width:560px;max-height:92vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.aed-modal.aed-wide{max-width:980px}
.aed-modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e2e8f0;background:#f8fafc;border-radius:14px 14px 0 0}
.aed-modal-head h3{font-size:15px;font-weight:900;color:#0f172a;margin:0}
.aed-modal-body{padding:16px;overflow:auto}
.aed-x{background:none;border:0;font-size:24px;line-height:1;color:#64748b;cursor:pointer;padding:0 4px}
.aed-sum{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:4px}
.aed-sum-row{display:flex;justify-content:space-between;gap:10px;font-size:13px}
.aed-total{font-weight:900;font-size:15px;color:#047857;border-top:1px solid #e2e8f0;padding-top:6px;margin-top:2px}
.aed-page{background:#f8fafc;min-height:70vh;padding:28px 14px}
.aed-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;max-width:1000px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.aed-card h1{font-size:20px;font-weight:900;color:#0f172a;margin:0}
.aed-card h2{font-size:15px;font-weight:900;color:#0f172a;margin:10px 0 0}
.aed-narrow{max-width:520px}
.aed-order{border:1px solid #e2e8f0;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;background:#fff}
.aed-order-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.aed-order-h small{color:#64748b;margin-inline-start:auto}
.aed-badge{font-size:11px;font-weight:800;padding:2px 8px;border-radius:999px;background:#e2e8f0;color:#334155}
.aed-st-processing{background:#dbeafe;color:#1d4ed8}.aed-st-completed{background:#d1fae5;color:#047857}.aed-st-cancelled,.aed-st-failed,.aed-st-refunded{background:#ffe4e6;color:#be123c}.aed-st-on-hold,.aed-st-pending{background:#fef3c7;color:#92400e}
.aed-list{margin:0;padding-inline-start:18px;font-size:13px;color:#334155;display:flex;flex-direction:column;gap:3px;list-style:disc}
.aed-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.aed-stats>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:2px}
.aed-stats small{font-size:11px;color:#64748b;font-weight:700}
.aed-stats strong{font-size:16px;color:#0f172a}
.aed-table{width:100%;border-collapse:collapse;font-size:13px}
.aed-table td{border-bottom:1px solid #e2e8f0;padding:8px 6px}
.aed-table a{color:#047857;font-weight:800}
.aed-tab{padding:16px 20px;display:flex;flex-direction:column;gap:12px;font-size:13px;color:#334155;line-height:1.6}
.aed-tab h3{font-size:14px;font-weight:900;color:#0f172a;margin:0}
.aed-pre{white-space:pre-line}
.aed-video{position:relative;padding-top:56.25%;border-radius:12px;overflow:hidden;background:#000}
.aed-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.aed-qa{border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;background:#f8fafc}
.aed-qa p{margin:4px 0 0}
.aed-stars{display:inline-flex;gap:1px}
.aed-star{color:#cbd5e1;font-size:15px;background:none;border:0;padding:0;cursor:default;line-height:1}
.aed-star.on{color:#f59e0b}
.aed-rate-pick .aed-star{font-size:26px;cursor:pointer}
.aed-rev-sum{display:flex;align-items:center;gap:8px;font-size:15px}
.aed-rev{border-bottom:1px solid #e2e8f0;padding-bottom:8px}
.aed-rev-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.aed-rev-h small{color:#94a3b8}
.aed-rev p{margin:4px 0 0}
.aed-rev-form{border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#f8fafc;max-width:520px}
.aed-rev-form h4{margin:0;font-size:14px;font-weight:900;color:#0f172a}
.aed-notify{width:100%;border:1px solid #fecdd3;background:#fff1f2;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;font-size:12px;color:#334155}
.aed-notify p{margin:0}
.aed-oos{color:#be123c;font-weight:800;font-size:11px}
.aed-cross{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px 16px;margin-bottom:24px}
.aed-cross h3{font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin:0 0 10px;color:#0f172a}
.aed-cross-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}
.aed-cross-item{border:1px solid #e2e8f0;border-radius:10px;padding:8px;display:flex;flex-direction:column;gap:6px;font-size:12px}
.aed-cross-item a{display:flex;flex-direction:column;gap:6px;color:#0f172a;font-weight:700;text-decoration:none}
.aed-cross-item .aed-thumb{width:100%;height:110px}
.aed-thumb{width:56px;height:56px;flex-shrink:0;border-radius:8px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:11px;font-weight:800;color:#047857}
.aed-thumb img{width:100%;height:100%;object-fit:contain}
.aed-lines{display:flex;flex-direction:column;gap:8px}
.aed-line{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e2e8f0;padding-bottom:8px;font-size:13px}
.aed-line a{color:#0f172a;font-weight:700;text-decoration:none}
.aed-scroll{overflow:auto}
.aed-cmp{border-collapse:collapse;font-size:12px;min-width:100%}
.aed-cmp th,.aed-cmp td{border:1px solid #e2e8f0;padding:8px;vertical-align:top;text-align:start;min-width:150px}
.aed-cmp th{background:#f8fafc;min-width:110px;font-weight:800}
.aed-cmp td>div{display:flex;flex-direction:column;gap:6px}
.aed-cmp .aed-thumb{width:100%;height:100px}
.aed-cmp a{color:#0f172a;font-weight:800;text-decoration:none}
.aed-cmpbar{position:fixed;bottom:90px;right:22px;z-index:45;background:#0e2a47;color:#fff;border:0;border-radius:999px;padding:10px 16px;font-size:13px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.3);cursor:pointer}
[dir=rtl] .aed-cmpbar{right:auto;left:22px}
.aed-sdrop{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:#fff;border-radius:10px;box-shadow:0 14px 40px rgba(0,0,0,.25);z-index:60;max-height:70vh;overflow:auto;border:1px solid #e2e8f0}
.aed-sitem{display:flex;align-items:center;gap:10px;padding:8px 10px;color:#0f172a;text-decoration:none;font-size:12px;border-bottom:1px solid #f1f5f9}
.aed-sitem:hover{background:#f0fdf4}
.aed-sitem .aed-thumb{width:40px;height:40px}
.aed-sitem strong{color:#047857;white-space:nowrap}
.aed-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;font-size:12px;color:#334155;margin-bottom:12px}
.aed-filters .aed-in{padding:6px 8px;font-size:12px}
.aed-check{display:inline-flex;align-items:center;gap:5px;font-weight:700;cursor:pointer}
.aed-chip{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:800;cursor:pointer}
.aed-chip:hover{background:#d1fae5}
.aed-packs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#fff;border:1px dashed #a7f3d0;border-radius:12px;padding:10px 12px;font-size:12px}
.aed-hint{display:block;margin-top:6px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:700}
.aed-map{width:100%;height:220px;border:0;border-radius:12px}
.aed-forgot{display:inline-block;margin-top:6px;font-size:11px;font-weight:700;color:#b45309;text-decoration:underline}
.aed-acc-btn{width:100%;text-align:start;padding:8px;border-radius:8px;background:none;border:0;color:#34d399;font-weight:800;font-size:12px;cursor:pointer;margin-bottom:4px}
.aed-acc-btn:hover{background:#171717}
.aed-drawer{position:fixed;top:0;bottom:0;left:0;width:86%;max-width:360px;background:#fff;display:flex;flex-direction:column;box-shadow:0 0 40px rgba(0,0,0,.4)}
[dir=rtl] .aed-drawer{left:auto;right:0}
.aed-drawer-body{overflow:auto;padding:8px 0 80px}
.aed-dtitle{font-size:11px;font-weight:900;text-transform:uppercase;color:#64748b;padding:12px 16px 4px;letter-spacing:.05em}
.aed-drow{display:flex;align-items:center;border-bottom:1px solid #f1f5f9}
.aed-drow>button:first-child{flex:1;text-align:start;background:none;border:0;padding:11px 16px;font-size:14px;font-weight:700;color:#0f172a;cursor:pointer}
.aed-dtoggle{background:#f1f5f9!important;border:0;width:44px;align-self:stretch;font-size:18px;font-weight:900;color:#047857;cursor:pointer}
.aed-dsubs{display:flex;flex-direction:column;background:#f8fafc}
.aed-dsubs button{background:none;border:0;text-align:start;padding:9px 30px;font-size:13px;color:#334155;cursor:pointer;border-bottom:1px solid #eef2f7}
.aed-mbar{display:none}
@media (max-width:639px){
  .aed-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:48;background:#0e2a47;border-top:1px solid #1d4370;padding:4px 2px calc(4px + env(safe-area-inset-bottom))}
  .aed-mbar>button,.aed-mbar>a{flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;background:none;border:0;color:#e2e8f0;font-size:10px;font-weight:700;text-decoration:none;padding:4px 0;cursor:pointer}
  .aed-mbar b{font-size:18px;line-height:1.1;position:relative;font-weight:400}
  .aed-mbar b i{position:absolute;top:-4px;right:-10px;background:#dc2626;color:#fff;border-radius:999px;font-size:9px;font-style:normal;font-weight:800;padding:0 4px}
  .aed-mwa{color:#4ade80!important}
  .aed-wa-float{display:none!important}
  body{padding-bottom:58px}
  .aed-cmpbar{bottom:72px}
  .aed-grid2,.aed-stats{grid-template-columns:1fr}
  .aed-modal-bg{align-items:flex-end;padding:0}
  .aed-modal{max-height:94vh;border-radius:14px 14px 0 0}
}
/* V13 */
@media (min-width:768px){
  .aed-mainnav{flex-wrap:wrap!important;overflow:visible!important;white-space:nowrap;row-gap:2px;max-width:100%!important}
}
@media (min-width:768px) and (max-width:1680px){
  .aed-mainnav{gap:0!important;padding-left:4px!important;padding-right:4px!important}
  .aed-mainnav button{padding-left:7px!important;padding-right:7px!important;font-size:10.5px!important}
}
.aed-free{background:#ecfdf5;border:1px dashed #6ee7b7;color:#047857;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:800;text-align:center;margin:0 0 6px}
.aed-tabs{display:flex;gap:6px;border-bottom:1px solid #e2e8f0}
.aed-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:8px 12px;font-weight:800;font-size:13px;color:#64748b;cursor:pointer}
.aed-tabs button.on{border-color:#059669;color:#047857}
.aed-rel{position:relative}
.aed-dq{display:flex;flex-direction:column;gap:10px;border:1px solid #e2e8f0;border-radius:14px;padding:14px;background:#fcfdfe}
.aed-dq h2{margin:0}
.aed-dq .aed-sdrop{top:auto}
.aed-dq .aed-sitem{width:100%;border:0;background:#fff;text-align:start;cursor:pointer}
.aed-dq-table td{vertical-align:middle}
.aed-num2{width:120px}
.aed-bad{border-color:#e11d48!important;background:#fff1f2}
.aed-red{color:#be123c!important}
.aed-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.aed-actions a{color:#047857;font-weight:800;font-size:12px}
.aed-sr-new{background:#fef3c7;color:#92400e}.aed-sr-assigned,.aed-sr-progress{background:#dbeafe;color:#1d4ed8}.aed-sr-parts{background:#ffedd5;color:#9a3412}.aed-sr-done{background:#d1fae5;color:#047857}.aed-sr-cancel{background:#ffe4e6;color:#be123c}
.aed-st-out-delivery{background:#e0e7ff;color:#3730a3}
.aed-bc{background:#ecfdf5;border:2px solid #10b981;border-radius:14px;padding:12px 14px;margin:0 0 16px;font-size:13px;color:#064e3b;transition:box-shadow .3s}
.aed-bc-title{font-weight:700;margin-bottom:8px}
.aed-bc-row{display:flex;gap:8px;flex-wrap:wrap}
.aed-bc-row .aed-in{flex:1 1 180px}
.aed-bc-row .aed-btn{min-width:90px}
.aed-bc-err{color:#be123c;font-weight:600;margin-top:6px}
.aed-bc-done{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 14px}
.aed-bc-flash{box-shadow:0 0 0 4px rgba(244,63,94,.45);border-color:#f43f5e}
/* ===== V16 ===== */
/* products: "Load more" */
.aed-more{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 0 4px;font-size:12px}
.aed-more .aed-btn-big{max-width:340px}
/* mobile: categories & brands panel */
.aed-side-btn,.aed-side-close{display:none}
@media (max-width:1023px){
  .aed-side-btn{display:inline-flex;align-items:center;gap:6px;width:100%;justify-content:center;background:#0f172a;color:#fff;border:0;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:800;cursor:pointer}
  .aed-side{display:none}
  body.aed-side-open{overflow:hidden}
  body.aed-side-open .aed-side{display:block;position:fixed;inset:0;z-index:70;background:#f8fafc;overflow-y:auto;padding:64px 16px 90px}
  body.aed-side-open .aed-side-close{display:inline-flex;position:fixed;top:12px;right:16px;z-index:71;background:#0f172a;color:#fff;border:0;border-radius:999px;padding:9px 16px;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 6px 20px rgba(15,23,42,.25)}
  [dir=rtl] body.aed-side-open .aed-side-close,html[dir=rtl] body.aed-side-open .aed-side-close{right:auto;left:16px}
}
/* mobile homepage: each row scrolls sideways */
@media (max-width:639px){
  .aed-rows .aed-hgrid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding:2px 2px 8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .aed-rows .aed-hgrid::-webkit-scrollbar{display:none}
  .aed-rows .aed-hgrid>*{flex:0 0 46%;scroll-snap-align:start}
}
/* small round WhatsApp button (icon only) */
.aed-wa-float{padding:12px!important;gap:0!important}
.aed-wa-float span{display:none!important}
.aed-wa-float svg{width:26px!important;height:26px!important}
/* ===== V17 ===== */
.aed-badges{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:14px 0 4px}
.aed-badge{display:flex;align-items:center;gap:8px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:700;color:#065f46;line-height:1.3}
.aed-badge-i{font-size:17px;line-height:1}
.aed-box{margin:14px 16px 4px;padding:12px 14px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;font-size:12px;color:#334155}
.aed-box h4{margin:0 0 6px;font-size:13px;font-weight:800;color:#0f172a}
.aed-box ul{margin:0;padding:0 18px;list-style:disc;columns:2;column-gap:24px}
.aed-box li{margin:2px 0}
.aed-filters .aed-attr{width:auto;min-width:120px;padding:6px 8px;font-size:12px}
@media (max-width:639px){.aed-box ul{columns:1}.aed-filters .aed-attr{flex:1 1 45%}}
