/* Price Catalogue (/price-list) + catalog bar — reuses the Gifts design system (gf-*), headings use the same family/weight feel as the «طلب عرض سعر» button */
.ph .ph-title,.ph .ph-bc-name,.ph .ph-works-name,.ph-gate-h b{font-family:Ebdaa,Arial,sans-serif;font-weight:800;letter-spacing:-.005em}
.ph .ph-title{font-size:clamp(28px,4.2vw,42px);line-height:1.18;margin:6px 0 8px}
.ph .ph-head{padding-bottom:6px}
.ph .ph-lead{margin:0 0 16px;color:var(--gf-mut,#5b5b63);max-width:62ch;line-height:1.7;font-size:15.5px}
/* currency gate */
.ph-gate{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:6px 0 16px;padding:16px 18px;border:1px solid #ead9dc;border-radius:16px;background:linear-gradient(135deg,#fff,#fbf3f4)}
.ph-gate[hidden]{display:none}
.ph-gate-h{display:grid;gap:4px;max-width:46ch}.ph-gate-h b{font-size:18px}.ph-gate-h small{color:#6a6a72;font-size:13px;line-height:1.5}
.ph-gate-b{display:flex;gap:10px;flex-wrap:wrap}
.ph-cur{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;min-width:132px;padding:10px 16px;border:1.5px solid #d9d6cf;border-radius:14px;background:#fff;cursor:pointer;text-align:start;font:inherit;color:#1b1b1f;transition:border-color .15s,box-shadow .15s,transform .15s}
.ph-cur b{grid-row:1/3;font-size:24px;line-height:1;color:#c8102e;font-family:Ebdaa,Arial,sans-serif}.ph-cur span{font-weight:800;font-size:15px}.ph-cur small{font-size:12px;color:#6a6a72}
.ph-cur:hover,.ph-cur:focus-visible{border-color:#c8102e;box-shadow:0 6px 18px #c8102e1f;transform:translateY(-1px);outline:0}
.ph.ph-gated .ph-bar,.ph.ph-gated .ph-chips{opacity:.45;pointer-events:none}
/* chips */
.ph-chips,.ph-cats{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.ph-cats{padding-top:0}
.ph-chip,.ph-cat{flex:0 0 auto;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid #d9d6cf;background:#fff;color:#1b1b1f;font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.ph-chip:hover,.ph-cat:hover{border-color:#c8102e}
.ph-chip.is-on{background:#c8102e;color:#fff;border-color:#c8102e}
.ph-cat{min-height:34px;font-size:13px;font-weight:600;background:#f6f4ef}
.ph-cat.is-on{background:#1b1b1f;color:#fff;border-color:#1b1b1f}
.ph-chips{position:sticky;top:0;z-index:3;background:linear-gradient(#faf8f4 80%,transparent)}
/* toolbar: search + AI on one line, options below */
.ph-tools{display:grid;gap:10px}
.ph-searchrow{display:flex;gap:10px;align-items:stretch}
.ph-search{flex:1 1 auto;min-width:0}
.ph-search input{width:100%}
.ph-ai{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 16px;border-radius:12px;border:1.5px solid #1b1b1f;background:#1b1b1f;color:#fff;font:inherit;font-weight:700;font-size:14px;cursor:pointer;transition:background .15s,transform .15s}
.ph-ai svg{width:24px;height:24px;flex:0 0 auto}
.ph-ai:hover{background:#c8102e;border-color:#c8102e;transform:translateY(-1px)}
.ph-ai.is-busy{opacity:.6;pointer-events:none}
.ph-optrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ph-copy{display:inline-flex;align-items:center;gap:6px;min-height:40px;min-width:44px;padding:0 12px;border-radius:10px;border:1px solid #d9d6cf;background:#fff;font:inherit;font-weight:700;font-size:13px;color:#1b1b1f;cursor:pointer;transition:border-color .15s,background .15s}
.ph-copy svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ph-copy:hover{border-color:#c8102e;color:#c8102e}.ph-copy.is-done{background:#0f7a4a;border-color:#0f7a4a;color:#fff}
.ph-back{margin:4px 0 10px}.ph-back button{background:none;border:0;color:#c8102e;font-weight:800;cursor:pointer;padding:6px 0;font-size:15px;font-family:inherit}
/* section blocks */
.ph-blocks{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:8px}
.ph-block{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:#fff;border:1px solid #e8e5de;color:#1b1b1f;text-decoration:none;transition:box-shadow .2s,transform .2s,border-color .2s}
.ph-block:hover{box-shadow:0 14px 34px #0000001a;transform:translateY(-3px);border-color:#c8102e66}
.ph-bc-media{display:block;aspect-ratio:16/10;background:#efece6;overflow:hidden}.ph-bc-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.ph-block:hover .ph-bc-media img{transform:scale(1.04)}
.ph-bc-body{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;flex:1}
.ph-bc-name{font-size:19px;line-height:1.25}
.ph-bc-desc{font-size:13.5px;line-height:1.6;color:#5b5b63;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ph-bc-cats{display:flex;flex-wrap:wrap;gap:6px}.ph-bc-cat{padding:4px 10px;border-radius:999px;background:#f3f0ea;font-size:12px;font-weight:600;color:#3b3b42;transition:background .15s,color .15s}.ph-bc-cat:hover{background:#c8102e;color:#fff}
.ph-bc-go{margin-top:auto;display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:14px;color:#c8102e}.ph-bc-go .gf-arr{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
[dir=rtl] .ph-bc-go .gf-arr,.ph-bc-go .gf-arr:dir(rtl){transform:scaleX(-1)}
.ph-feature{grid-column:span 2;flex-direction:row}.ph-feature .ph-bc-media{flex:1 1 50%;aspect-ratio:auto;min-height:260px}.ph-feature .ph-bc-body{flex:1 1 50%;justify-content:center;padding:24px}.ph-feature .ph-bc-name{font-size:26px}.ph-feature .ph-bc-desc{-webkit-line-clamp:4;font-size:14.5px}
/* works portal */
.ph-works{display:flex;align-items:stretch;gap:0;margin-top:18px;border-radius:20px;overflow:hidden;background:#17171a;color:#fff;text-decoration:none;transition:box-shadow .2s,transform .2s}
.ph-works:hover{box-shadow:0 16px 38px #00000033;transform:translateY(-3px)}
.ph-works-imgs{display:flex;flex:0 0 46%;min-height:170px}.ph-works-imgs img{flex:1 1 0;min-width:0;width:33.3%;height:100%;object-fit:cover;display:block}
.ph-works-body{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:22px 26px}.ph-works-name{font-size:24px;line-height:1.2}.ph-works-desc{font-size:14px;line-height:1.65;color:#d3d3d9;max-width:52ch}.ph-works .ph-bc-go{color:#ff6b7d}
.ph-more{text-align:center;margin:18px 0}
.ph-cta{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:26px 0 8px}
.ph.ph-in .gf-grid,.ph.ph-in .ph-overview,.ph.ph-in .ph-ext,.ph.ph-in .ph-head{animation:ph-fade .28s ease both}
@keyframes ph-fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ph.ph-in .gf-grid,.ph.ph-in .ph-overview,.ph.ph-in .ph-ext,.ph.ph-in .ph-head{animation:none}.ph-block,.ph-bc-media img,.ph-works,.ph-cur,.ph-ai{transition:none}}
@media (max-width:1000px){.ph-blocks{grid-template-columns:repeat(2,1fr)}.ph-feature{grid-column:span 2}}
@media (max-width:700px){
  .ph .ph-title{font-size:27px}.ph-blocks{grid-template-columns:1fr;gap:12px}.ph-feature{grid-column:auto;flex-direction:column}.ph-feature .ph-bc-media{aspect-ratio:16/10;min-height:0}.ph-feature .ph-bc-body{padding:16px 18px 18px}.ph-feature .ph-bc-name{font-size:21px}
  .ph-chip{min-height:38px;padding:0 13px}.ph-gate{padding:14px}.ph-gate-b{width:100%}.ph-cur{flex:1 1 0;min-width:0;grid-template-columns:1fr;text-align:center;padding:10px 6px}.ph-cur b{grid-row:auto;font-size:20px}.ph-cur small{display:none}
  .ph-ai{padding:0 12px}.ph-ai span{display:none}.ph-ai{min-width:48px;justify-content:center}
  .ph-copy span{display:none}.ph-copy{min-width:44px;justify-content:center}
  .ph-works{flex-direction:column}.ph-works-imgs{flex:0 0 auto;height:120px;min-height:0}.ph-works-body{padding:16px 18px 18px}.ph-works-name{font-size:20px}
}
/* catalog bar (injected on section / category / product pages by catalog-bar.js) */
.cbar{background:#fff;border-bottom:1px solid #ece9e2;position:relative;z-index:2}
.cbar-in{max-width:1240px;margin:0 auto;padding:8px 16px;display:flex;gap:8px;align-items:center}
.cbar a,.cbar button{font:inherit}
.cbar-btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border-radius:10px;border:1px solid #d9d6cf;background:#fff;color:#1b1b1f;font-weight:700;font-size:13.5px;text-decoration:none;cursor:pointer;white-space:nowrap;transition:border-color .15s,color .15s}
.cbar-btn:hover{border-color:#c8102e;color:#c8102e}.cbar-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.cbar-search{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid #d9d6cf;border-radius:10px;background:#faf9f6}
.cbar-search:focus-within{border-color:#c8102e;background:#fff}.cbar-search svg{width:18px;height:18px;fill:none;stroke:#6a6a72;stroke-width:2;flex:0 0 auto}
.cbar-search input{flex:1;min-width:0;border:0;background:none;outline:0;font:inherit;font-size:14px;color:#1b1b1f;height:38px}
.cbar-ai{background:#1b1b1f;border-color:#1b1b1f;color:#fff}.cbar-ai:hover{background:#c8102e;border-color:#c8102e;color:#fff}.cbar-ai svg{fill:none}
@media (max-width:700px){.cbar-in{padding:6px 12px;gap:6px}.cbar-btn{padding:0;min-width:42px;justify-content:center}.cbar-btn span{display:none}}
/* specificity guard against the Gifts toolbar rules (body[data-page=gifts] .gf-tools) */
body[data-page] .ph .ph-tools{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px;align-items:stretch}
body[data-page] .ph .ph-searchrow{display:flex;gap:10px;align-items:stretch;width:100%}
body[data-page] .ph .ph-search{flex:1 1 0;min-width:0;width:auto;max-width:none}
body[data-page] .ph .ph-optrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
body[data-page] .ph .ph-tools{grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;justify-items:stretch!important;width:100%}
body[data-page] .ph .ph-bar{display:block}
body[data-page] .ph .ph-optrow .gf-cur{display:inline-flex!important}
