/* Tijara feature hubs + compare dock — match design/tijara.html surfaces */
.tj-tools .crumbs,.tj-gbs .crumbs,.tj-plan .crumbs{display:flex;gap:8px;align-items:center;font-size:13px;margin:18px 0 8px;color:var(--muted)}
.tj-tools .crumbs a,.tj-gbs .crumbs a,.tj-plan .crumbs a{color:var(--ink);font-weight:600;text-decoration:none}
.tj-tools .toolbar,.tj-gbs .toolbar,.tj-plan .toolbar{margin-bottom:18px}
.tj-tools h1,.tj-gbs h1,.tj-plan h1{font-family:var(--f-display);font-size:clamp(22px,3vw,28px);margin:0 0 6px}
.tj-tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-bottom:28px}
.tj-tool-card{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:16px;background:var(--surface);border:1px solid var(--line);text-decoration:none;color:var(--ink);min-height:110px;transition:border-color .15s,transform .15s}
.tj-tool-card:hover{border-color:var(--brand);transform:translateY(-2px)}
.tj-tool-card b{font-size:15px}
.tj-tool-card .muted{font-size:13px;color:var(--muted)}
.tj-lc-panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px;margin-bottom:20px}
.tj-lc-panel h2{font-family:var(--f-display);font-size:18px;margin:0 0 6px}
.tj-lc-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;align-items:end;margin-top:12px}
.tj-lc-form label{display:grid;gap:6px;font-size:12.5px;font-weight:600;color:var(--muted)}
.tj-lc-form label.full{grid-column:1/-1}
.tj-lc-form input,.tj-lc-form select,.tj-lc-form textarea{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--bg);color:var(--ink);font:inherit}
.tj-lc-out{margin-top:14px;font-size:14px}
.tj-lc-out .row{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line)}
.tj-lc-out .row.tot{font-weight:700;border-top:2px solid var(--ink);border-bottom:0;margin-top:6px;padding-top:10px}
.tj-lc-out .note{font-size:12px;color:var(--muted);margin-top:10px}
.tj-empty.panel{padding:28px;border-radius:18px;background:var(--surface);border:1px solid var(--line);display:grid;gap:14px;justify-items:start}
.gbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.gb{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:14px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.gb .thumb{border-radius:12px;overflow:hidden;background:var(--surface-2);aspect-ratio:1;display:block}
.gb .thumb img{width:100%;height:100%;object-fit:cover}
.gb-body{display:grid;gap:6px;align-content:start;min-width:0}
.gb-body b a{color:var(--ink);text-decoration:none}
.gb .cp{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.gbbar{height:8px;border-radius:999px;background:var(--surface-2);overflow:hidden}
.gbbar i{display:block;height:100%;background:var(--brand);border-radius:inherit}
.tj-plan-form textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--bg);color:var(--ink);font:inherit}
.tj-plan-form,.tj-plan-out{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:16px}
.tj-plan-out{white-space:pre-wrap;line-height:1.55;font-size:14.5px}

html.theme-tijara #tjQuickLayer:not([hidden]){display:grid!important;pointer-events:auto;background:color-mix(in oklab,var(--dark) 35%,transparent)}
html.theme-tijara #tjQuickLayer .mbox{margin:auto}

html.theme-tijara #tjQuickLayer:not([hidden]){display:grid!important;pointer-events:auto;background:color-mix(in oklab,var(--dark) 35%,transparent)}
html.theme-tijara #tjQuickLayer .mbox{margin:auto}

/* Compare dock */
.tj-cmpdock{position:fixed;inset-inline:0;bottom:64px;z-index:1035;pointer-events:none}
.tj-cmpdock .inner{pointer-events:auto;display:flex;gap:12px;align-items:center;justify-content:space-between;background:color-mix(in oklab,var(--surface) 92%,transparent);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:18px;padding:10px 12px;box-shadow:var(--shadow);margin:0 auto 10px;max-width:1100px}
.tj-cmpdock .slots{display:flex;gap:8px;flex:1;min-width:0}
.tj-cmpdock .slot{width:64px;height:64px;border-radius:12px;border:1px dashed var(--line);background:var(--surface-2);display:grid;place-items:center;overflow:hidden;position:relative}
.tj-cmpdock .slot.filled{border-style:solid}
.tj-cmpdock .slot img{width:100%;height:100%;object-fit:cover}
.tj-cmpdock .slot .nm{display:none}
.tj-cmpdock .slot .plus{color:var(--muted);font-size:22px;font-weight:600}
.tj-cmpdock .acts{display:flex;gap:8px;flex-shrink:0}
.tj-cmpdock .btn.disabled{opacity:.45;pointer-events:none}
@media (max-width:720px){
  .tj-cmpdock{bottom:72px}
  .tj-cmpdock .slot{width:48px;height:48px}
}

/* Subnav AI + live dot */
.subnav .aink{display:inline-flex;align-items:center;gap:6px;background:none;border:0;color:var(--ink);font:inherit;font-weight:600;padding:8px 10px;border-radius:999px;cursor:pointer;text-decoration:none}
.subnav .aink:hover{background:var(--surface-2)}
.subnav .spark{width:14px;height:14px;fill:var(--ai)}
.subnav .live-dot{display:inline-flex;width:8px;height:8px;margin-inline-end:6px;position:relative;vertical-align:middle}
.subnav .live-dot i{position:absolute;inset:0;border-radius:50%;background:var(--bad);box-shadow:0 0 0 0 rgba(192,53,44,.5);animation:tj-live 1.6s infinite}
@keyframes tj-live{0%{box-shadow:0 0 0 0 rgba(192,53,44,.45)}70%{box-shadow:0 0 0 8px rgba(192,53,44,0)}100%{box-shadow:0 0 0 0 rgba(192,53,44,0)}}

/* AI strip (design home) */
html.theme-tijara .aistrip{position:relative;border-radius:24px;padding:22px 24px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:center;background:var(--surface);border:1px solid var(--line);overflow:hidden}
html.theme-tijara .aistrip::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:linear-gradient(110deg,var(--ai),var(--ai-2),var(--brand));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
html.theme-tijara .aistrip .lead{display:flex;gap:12px;align-items:center}
html.theme-tijara .aistrip .lead .orb2{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--ai),var(--ai-2));color:var(--ai-ink);flex:none}
html.theme-tijara .aistrip .lead .orb2 .spark{width:22px;height:22px}
html.theme-tijara .aistrip h3{font-size:17px;margin:0;font-family:var(--f-display)}
html.theme-tijara .aiform{display:flex;gap:8px;min-width:0;flex-wrap:wrap}
html.theme-tijara .aiform input{flex:1;min-width:200px;border:1px solid var(--line);border-radius:999px;padding:11px 16px;background:var(--surface-2);outline:none;color:var(--ink)}
html.theme-tijara .aiform input:focus{border-color:var(--ai);background:var(--surface)}
html.theme-tijara .aiform .btn.ai{background:linear-gradient(135deg,var(--ai),var(--ai-2));border:0;color:var(--ai-ink);border-radius:999px;padding:10px 18px;font-weight:700}
html.theme-tijara .aiex{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}
html.theme-tijara .aiex button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:5px 12px;font-size:12.5px;color:var(--muted);cursor:pointer}
html.theme-tijara .aiex button:hover{border-color:var(--ai);color:var(--ai)}
@media (max-width:900px){html.theme-tijara .aistrip{grid-template-columns:1fr}}

/* Hide metro floating chrome that the design mock does not have */
html.theme-tijara .aiz-cookie-alert,
html.theme-tijara #news-letter-modal,
html.theme-tijara #news-letter-modal.show,
html.theme-tijara .whatsapp-chat-widget,
html.theme-tijara a.masdar-wa-float,
html.theme-tijara .floating-buttons,
html.theme-tijara body > a.whatsapp-float,
html.theme-tijara .tj-wa,
html.theme-tijara #live-chat,
html.theme-tijara .lc-root{display:none!important}

/* Product rails (AJAX home sections) */
html.theme-tijara .tj-section .ph h2{font-family:var(--f-display);font-size:clamp(18px,2.2vw,24px);margin:0}
html.theme-tijara .tj-rail,html.theme-tijara .rail.tj-rail{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,220px);gap:12px;
  overflow-x:auto;scrollbar-width:thin;padding-bottom:8px;
}
html.theme-tijara .tj-rail .rail-item{min-width:0}

/* Beat aiz-core leftovers on tijara pages */
html.theme-tijara .aiz-main-wrapper{background:var(--bg)!important}
html.theme-tijara .bg-white:not(.modal-content):not(.dropdown-menu){background:transparent!important}
html.theme-tijara .container{max-width:var(--tj-container,1200px)}
html.theme-tijara .btn-primary{background:var(--brand)!important;border-color:var(--brand)!important}
html.theme-tijara .text-primary,html.theme-tijara .text-blue{color:var(--brand)!important}
html.theme-tijara .shadow-sm{box-shadow:var(--shadow-sm)!important}
html.theme-tijara .rounded,html.theme-tijara .rounded-0{border-radius:14px!important}

/* Hide leftover floaters if any slip through */
html.theme-tijara .masdar-wa-float,
html.theme-tijara .floating-buttons-section,
html.theme-tijara #news-letter-modal,
html.theme-tijara .website-popup{display:none!important}

/*
 * Cart offcanvas — custom-style.css is skipped under tijara, so without these
 * #rightOffcanvasOverlay stays a full-screen click sink and nothing is clickable.
 */
html.theme-tijara #rightOffcanvas{
  box-shadow:rgba(50,50,93,.16) 0 0 40px;transition:right .4s ease;min-height:100vh;z-index:1045;
}
html.theme-tijara .right-offcanvas-md{width:450px;right:-450px}
html.theme-tijara .right-offcanvas-sm{width:240px;right:-240px}
html.theme-tijara .right-offcanvas-lg{width:648px;right:-648px}
html.theme-tijara #rightOffcanvas.active{right:0}
html.theme-tijara #rightOffcanvasOverlay{
  background:rgba(0,0,0,.2);opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .3s ease;z-index:1040;
}
html.theme-tijara #rightOffcanvasOverlay.active{
  opacity:1;visibility:visible;pointer-events:auto;
}
html.theme-tijara .body-no-scroll{overflow:hidden}
@media (max-width:575.98px){
  html.theme-tijara #rightOffcanvas{right:-90%;width:90%!important}
  html.theme-tijara #rightOffcanvas.active{right:0}
}

/* Auth pages */
html.theme-tijara.auth-tijara body,
html.theme-tijara body.auth-tijara{background:var(--bg)!important;font-family:var(--f-body)!important}
html.theme-tijara .auth-card,
html.theme-tijara .form-card,
html.theme-tijara .card.login-card{
  background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:20px!important;
  box-shadow:var(--shadow)!important
}
