/* ALO PARDEH update 68 — responsive photo swatches, chat and ordered contact cards */
.alo66-chat.alo68-dragging{user-select:none!important;-webkit-user-select:none!important;cursor:grabbing!important}
.alo66-chat .alo66-launcher,.alo66-chat #alo66-chat-grip{touch-action:none!important;-webkit-user-select:none!important;user-select:none!important;cursor:grab!important}
.alo66-chat .alo66-launcher:active,.alo66-chat #alo66-chat-grip:active{cursor:grabbing!important}
.alo66-chat .alo66-chat-card{max-height:min(730px,calc(100dvh - 20px));overscroll-behavior:contain}
.alo66-chat .alo66-chat-portrait .alo66-chat-buttons{display:none!important}
.alo66-chat .alo66-messages{display:flex;flex-direction:column;align-items:stretch;gap:10px;max-height:220px;min-height:10px;overflow-y:auto;direction:rtl;padding:7px 4px}
.alo66-chat .alo66-bubble{display:flex;flex-direction:column;gap:3px;width:max-content;max-width:85%;line-height:1.85;padding:9px 13px;box-shadow:0 2px 7px #37261a0d}
.alo66-chat .alo66-bubble small{font-size:10px;color:#7c6f63;text-align:left;align-self:flex-end}
.alo66-chat .alo66-bubble.alo68-from-customer{margin-inline-end:auto!important;margin-inline-start:0!important;align-self:flex-start;background:#f1e5d5;color:#422e23;border-radius:17px 17px 6px 17px;text-align:right}
.alo66-chat .alo66-bubble.alo68-from-admin{margin-inline-start:auto!important;margin-inline-end:0!important;align-self:flex-end;background:#e7f1e9;color:#1d4b31;border-radius:17px 17px 17px 6px;text-align:right}
.alo68-typing{display:block;padding:7px 10px;margin:4px 0;color:#75604c;font-size:12px;letter-spacing:.1px;animation:alo68fade 1.15s ease-in-out infinite alternate}
.alo68-typing[hidden]{display:none!important}
@keyframes alo68fade{from{opacity:.55}to{opacity:1}}
.alo66-chat-feedback[hidden]{display:none!important}
.alo66-admin-msg{display:flex;flex-direction:column;align-items:flex-start;position:relative;width:max-content;max-width:85%;min-width:95px;padding:11px 45px 10px 13px!important;margin:9px 0!important;border-radius:16px 16px 6px 16px!important;background:#f1e5d5!important;color:#433528!important}
.alo66-admin-msg.mine{margin-right:auto!important;margin-left:0!important;align-items:flex-start;background:#e5f1e8!important;border-radius:16px 16px 16px 6px!important}
.alo66-admin-msg>.alo68-time{align-self:flex-end;font-size:10px;opacity:.65}
.alo66-admin-msg>.alo66-delete-message{position:absolute;top:5px;right:5px;transform:scale(.75);transform-origin:top right}
.alo68-worker-bubble{max-width:85%;width:max-content;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;border-radius:14px;margin:7px 0}
.alo68-worker-bubble.alo68-from-customer{background:#f1e5d5;margin-right:0;margin-left:auto}
.alo68-worker-bubble.alo68-from-admin{background:#e6f0e8;margin-right:auto;margin-left:0}
.alo68-health{margin:12px 0;border:1px solid #dac5a4;padding:12px;border-radius:13px}
.alo68-health summary{cursor:pointer;font-weight:750}
/* Contact cards are explicitly ordered; no browser-dependent :has() selector. */
.contact-section .contact-methods{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important;align-items:stretch}
.contact-section .contact-methods>.alo68-contact-social{order:1!important}
.contact-section .contact-methods>.alo68-contact-phones{order:2!important}
.contact-section .contact-methods>.alo68-contact-address{order:3!important;grid-column:1/-1}
.contact-section .contact-methods>.alo64-map-card{order:4!important;grid-column:1/-1}
.contact-section .alo64-map-frame{min-height:300px!important}
/* Color options: each card owns its variants; the picker never becomes a second upload grid tile. */
.alo62-queue{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;align-items:start}
.alo62-queue .alo62-queue-item{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;align-items:center;gap:7px!important;padding:12px!important;background:#fffefa!important;border:1px solid #d8c5ad!important;border-radius:16px!important;min-width:0!important;overflow:hidden}
.alo62-queue .alo62-queue-item>.alo62-mini-thumb{grid-row:1/3;grid-column:1;width:90px;height:90px;aspect-ratio:1}
.alo62-queue .alo62-queue-item>small,.alo62-queue .alo62-queue-item>.alo62-queue-status{grid-column:2;min-width:0;overflow-wrap:anywhere}
.alo62-queue .alo62-queue-item>.alo67-queue-colors{grid-column:1/-1;min-width:0;width:100%!important;margin-top:7px}
.alo68-color-panel{max-width:100%!important;min-width:0!important;width:100%;margin:9px 0!important;padding:11px!important;background:#fffcf8!important;border:1px solid #dcc6aa!important;border-radius:14px!important;box-sizing:border-box!important}
.alo68-color-question{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:13px!important;font-weight:700!important;line-height:1.7;text-align:right;margin:0!important}
.alo68-color-panel .alo68-choose{display:block!important;flex:0 0 82px;max-width:90px!important;width:auto!important;min-height:38px!important;padding:7px!important;background:#fff!important;border:1px solid #d3bca0!important;border-radius:10px!important}
.alo68-color-body[hidden]{display:none!important}
.alo68-color-body{min-width:0;width:100%;padding-top:11px}
.alo68-add-file{display:flex!important;align-items:center;justify-content:center;gap:9px;text-align:center;width:100%;min-height:45px;cursor:pointer;background:#f4eadb;color:#59402b;border:1px dashed #a5896b!important;border-radius:11px;padding:9px!important;font-size:13px!important;font-weight:750!important}
.alo68-add-file input[type=file],.alo68-color-panel input[type=file]{display:none!important}
.alo68-colors-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,120px),1fr));gap:9px!important;margin-top:11px;align-items:start;min-width:0}
.alo68-variant-item{position:relative;min-width:0;padding:7px;background:#fff;border:1px solid #e4d5c3;border-radius:12px;box-shadow:0 2px 7px #543b2210;overflow:hidden}
.alo68-variant-item>img{display:block;width:100%;height:104px;object-fit:cover;border-radius:8px}
.alo68-variant-delete{position:absolute;top:10px;left:10px;width:31px!important;height:31px!important;min-height:31px!important;min-width:31px!important;display:grid!important;place-items:center;font-size:22px!important;line-height:1;background:#fff!important;color:#a43a36!important;box-shadow:0 2px 6px #0002;border:1px solid #e5b5a4!important;border-radius:50%!important;padding:0!important;z-index:2}
.alo68-variant-fields{display:grid;gap:5px;margin-top:8px;min-width:0}
.alo68-variant-fields input{width:100%!important;min-width:0!important;min-height:36px!important;border:1px solid #ddd1c2!important;border-radius:8px!important;padding:6px 8px!important;font-size:12px!important;box-sizing:border-box!important}
.alo68-variant-save{background:#f4efe8!important;color:#6a4f36!important;border:1px solid #dbc9b5!important;border-radius:9px!important;padding:7px!important;font-size:11px!important}
.alo68-color-notice{font-size:11px;line-height:1.9;color:#7f6d5b;margin:8px 0 2px}
.alo62-gallery .alo68-product-colors{margin:0!important;padding:8px!important;border:0!important;border-top:1px solid #ebe1d6!important;border-radius:0!important}
.alo62-gallery .alo68-colors-grid{grid-template-columns:1fr}
@media(max-width:680px){.contact-section .contact-methods{grid-template-columns:minmax(0,1fr)!important}.contact-section .contact-methods>.contact-group{grid-column:1!important}.alo62-queue{grid-template-columns:minmax(0,1fr)!important}.alo62-queue .alo62-queue-item{grid-template-columns:98px minmax(0,1fr)!important}.alo62-queue .alo62-queue-item>.alo62-mini-thumb{width:98px;height:98px}.alo68-color-panel{padding:12px!important}.alo62-gallery{grid-template-columns:minmax(0,1fr)!important}.alo62-gallery .alo68-colors-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.alo68-colors-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.alo66-chat .alo66-chat-card{max-height:calc(100dvh - 24px)}}
/* Explicitly restore native hidden semantics overridden by the launcher flex style. */
.alo66-chat .alo66-launcher[hidden],.alo66-chat [hidden]{display:none!important}
