/* كتالوجات الألوان */
.cat-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.cat-search{min-width:min(100%,240px);border:1px solid #D8D2C7;border-radius:999px;padding:10px 16px;font:inherit;background:#fff}
.cat-sec{scroll-margin-top:90px;padding-top:28px}
.cat-sec .sec-head{margin-bottom:16px}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.sw{margin:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.sw img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;background:#EFEBE4}
.sw figcaption{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.sw figcaption b{font-size:15px;color:var(--navy)}
.sw-order{background:var(--navy);color:#fff;border-radius:8px;padding:7px 10px;text-align:center;font-weight:600}
.sw-order:hover{background:var(--ink)}
.sw-wa{color:var(--wa);text-align:center;font-weight:600}
@media(max-width:480px){.cat-grid{grid-template-columns:repeat(2,1fr);gap:10px}}
/* اختيار اللون داخل نافذة المنتج */
.m-colors{display:flex;flex-direction:column;gap:10px}
.m-colors .opts button{padding:6px 10px;font-size:13px}
.m-colors .swatches{display:flex;gap:10px;flex-wrap:wrap}
.cat-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px;max-height:230px;overflow:auto;padding:2px}
.cat-swatches button{cursor:pointer;border:1px solid #D8D2C7;border-radius:10px;background:#fff;padding:0 0 4px;overflow:hidden;display:flex;flex-direction:column;gap:3px;font-size:11px;color:var(--navy);outline:2px solid transparent;outline-offset:1px}
.cat-swatches button img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.cat-swatches button.on{outline-color:var(--orange);border-color:var(--orange)}
