/* ALO143: optional main-product metadata, selected fabric-care symbols, and non-destructive palette preview. */
.alo143-main-meta{padding:8px 12px 10px;border-top:1px solid #eadfd2;direction:rtl}
.alo143-main-meta details{background:#fbf7f0;border:1px solid #e5d5c4;border-radius:13px;padding:9px 12px}
.alo143-main-meta summary{cursor:pointer;font-weight:750;font-size:14px;color:#4d382a;line-height:1.7}
.alo143-main-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}
.alo143-main-fields label{display:flex;flex-direction:column;gap:7px;font-size:13px}
.alo143-main-fields input{display:block;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d8c9b7;border-radius:11px;background:#fff;min-height:42px;text-align:left;direction:ltr;font:inherit}
.alo143-care-picker{border-top:1px solid #eadfd2;padding-top:12px}
.alo143-care-picker strong{display:block;font-size:14px;margin-bottom:9px}
.alo143-care-picker small{display:block;color:#71685d;margin-top:9px;font-size:12px}
.alo143-care-choices{display:flex;flex-wrap:wrap;gap:8px}
.alo143-care-choices label{display:flex;align-items:center;gap:6px;padding:9px;border:1px solid #d9c8b3;border-radius:11px;background:#fff;font-size:12px;cursor:pointer}
.alo143-care-choices input{width:17px;height:17px;accent-color:#71513b;cursor:pointer}
.alo143-care-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;padding:10px 12px 2px;direction:ltr}
.alo143-care-icon{width:43px;height:43px;border:1px solid #dbc9b4;border-radius:12px;background:#fffaf3;color:#544236;display:flex;align-items:center;justify-content:center;cursor:help;position:relative}
.alo143-care-icon svg{width:35px;height:35px}
.alo143-care-icon:focus-visible{outline:2px solid #9b7254;outline-offset:3px}
.alo143-product-details{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:3px 10px;color:#6e5341;direction:ltr;font:600 12px/1.7 system-ui,sans-serif}
.alo68-variant-fields input[aria-label*="عرض"],#alo66-product-swatches input[placeholder*="عرض"]{min-width:90px;max-width:100%;box-sizing:border-box}
/* ALO145: no outer card or duplicate native tooltip; show the entire fabric. */
.alo143-color-hover{position:fixed;z-index:2147482000;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;width:clamp(220px,28vw,315px);max-width:calc(100vw - 20px);direction:rtl;box-sizing:border-box}
.alo143-color-hover[hidden]{display:none!important}
.alo143-color-hover img{display:block;max-width:100%;width:auto;height:auto;max-height:min(67vh,470px);aspect-ratio:auto;object-fit:contain;border:0;border-radius:3px;background:transparent;box-shadow:0 8px 28px rgba(0,0,0,.20)}
.alo143-color-hover span{display:block;max-width:100%;font:650 12px/1.4 system-ui,sans-serif;color:#35291f;text-align:center;background:rgba(255,255,255,.97);padding:4px 10px;border-radius:6px;box-shadow:0 2px 9px #0001;overflow-wrap:anywhere}
.alo143-palette-viewer[hidden]{display:none!important}
.alo143-palette-viewer{position:fixed;inset:0;z-index:2147483000;background:rgba(10,10,12,.93);display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;gap:7px;padding:55px 45px 22px;box-sizing:border-box;color:#fff;direction:ltr}
.alo143-palette-viewer img{display:block;max-width:100%;max-height:calc(100dvh - 145px);object-fit:contain;min-height:0;box-shadow:0 8px 50px #0005;border-radius:7px}
.alo143-palette-viewer .alo143-caption{text-align:center;direction:auto;font:500 14px/1.7 system-ui,sans-serif;max-width:100%;overflow-wrap:anywhere}
.alo143-palette-viewer button{position:absolute;background:rgba(255,255,255,.14);border:1px solid #fff5;color:#fff;border-radius:50%;width:40px;height:40px;min-width:40px;min-height:40px;font-size:26px;cursor:pointer;display:flex;justify-content:center;align-items:center}
.alo143-palette-viewer button:focus-visible{outline:2px solid #f5d9a0}
.alo143-palette-viewer .alo143-close{top:15px;right:17px;font-size:27px}
.alo143-palette-viewer .alo143-prev{left:7px;top:50%;transform:translateY(-50%)}
.alo143-palette-viewer .alo143-next{right:7px;top:50%;transform:translateY(-50%)}
@media(max-width:600px){.alo143-main-fields{grid-template-columns:1fr}.alo143-care-choices label{flex:1 1 130px}.alo143-care-icon{width:39px;height:39px}.alo143-care-icon svg{width:33px;height:33px}.alo143-palette-viewer{padding-inline:30px}.alo143-color-hover{display:none!important}}

/* ALO144: magnifier follows the mouse over open palette photos; no changes to image itself. */
.alo144-texture-lens{position:fixed;top:0;left:0;z-index:2147483100;pointer-events:none;transform:translate(-50%,-50%);border:3px solid rgba(219,184,137,.96);border-radius:50%;background-color:#fff;background-repeat:no-repeat;box-shadow:0 12px 35px rgba(0,0,0,.65),0 0 0 2px rgba(255,255,255,.65);will-change:left,top,background-position}
.alo144-texture-lens[hidden]{display:none!important}
@media(hover:hover) and (pointer:fine){.alo143-palette-viewer .alo143-photo{cursor:crosshair}}
@media(hover:none),(pointer:coarse){.alo144-texture-lens{display:none!important}}
