/* "See your logo on it" - the guest logo preview on a product page
   (assets/js/try-logo.js). Loaded only on brandable products with print areas. */
.try-logo { margin-top: 6px; }
.try-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.try-tabs [aria-pressed="true"] { background: var(--green-100); }
.try-stage { position: relative; max-width: 520px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
             background: #fff; touch-action: none; user-select: none; }
.try-stage > img { display: block; width: 100%; height: auto; }
.try-area { position: absolute; padding: 0; margin: 0; border: 2px dashed rgba(42,82,130,.75); border-radius: 4px;
            background: rgba(42,82,130,.06); cursor: pointer; overflow: visible; }
.try-area:hover, .try-area:focus-visible { background: rgba(42,82,130,.14); }
.try-area.on { border-color: #fbb116; background: rgba(251,177,22,.08); }
.try-art { position: absolute; transform: translate(-50%, -50%); cursor: grab; max-width: none; object-fit: contain;
           filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.try-art:active { cursor: grabbing; }
.try-art:focus-visible { outline: 2px solid #2a5282; outline-offset: 2px; }
.try-controls { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.try-pick { cursor: pointer; }
.try-size { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 0; }
.try-size input { width: 160px; }
.try-say { margin: 8px 0 0; font-size: .92rem; color: var(--ink-soft); }
.try-say.good { color: #166534; font-weight: 600; }
.try-say.warn { color: #92400e; font-weight: 600; }
.try-say.bad { color: #b42318; font-weight: 600; }
