.featured-edit{padding:20px 0 80px;max-width:100%;overflow:hidden}.featured-heading{text-align:center;padding:0 20px 26px}.featured-heading small{letter-spacing:2px;font-size:11px;color:#888}.featured-heading h2{font:500 clamp(30px,4vw,52px)/1.14 Georgia,serif;letter-spacing:-1.4px;margin:12px 0}.featured-controls{display:flex;justify-content:center;gap:10px;margin-top:20px}.featured-controls button{border:1px solid #ddd;border-radius:40px;background:white;padding:10px 18px}.featured-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 28px 15px;scrollbar-width:thin}.featured-card{flex:0 0 clamp(185px,19vw,300px);border:1px solid #e2e2e2;border-radius:22px;overflow:hidden;background:white;text-align:left;padding:0;scroll-snap-align:start;display:flex;flex-direction:column;transition:transform .2s}.featured-card:hover{transform:translateY(-3px)}.featured-card>img{width:100%;aspect-ratio:3/4;object-fit:cover;background:#f6f6f6}.featured-meta{padding:15px;display:grid;grid-template-columns:1fr auto;gap:5px 8px;font-size:14px}.featured-meta strong{grid-column:1/-1;font:600 18px Georgia,serif}.featured-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.featured-meta b{white-space:nowrap}.product-dialog-open{overflow:hidden}.mode-relier-product-modal{position:fixed;inset:0;z-index:1000;background:#0009;display:grid;place-items:center;padding:20px}.product-dialog{position:relative;background:white;width:min(1300px,100%);max-height:92dvh;overflow:auto;border-radius:18px;display:grid;grid-template-columns:1.1fr 1fr;gap:40px;padding:40px}.product-dialog-close{position:absolute;right:20px;top:12px;border:0;background:white;font-size:32px;z-index:2}.product-dialog-gallery{display:flex;gap:15px;min-width:0;max-height:75dvh}.product-dialog-thumbs{width:74px;flex-shrink:0;display:flex;flex-direction:column;gap:8px;overflow:auto}.product-dialog-thumbs button{border:2px solid transparent;padding:0;background:white}.product-dialog-thumbs button.chosen{border-color:#111}.product-dialog-thumbs img{width:100%;aspect-ratio:3/4;object-fit:cover}.product-dialog-main{width:calc(100% - 90px);object-fit:contain;background:#f7f7f7}.product-dialog-info{padding:35px 18px 20px 0;display:flex;flex-direction:column;align-items:flex-start}.product-dialog-brand{font-size:13px;letter-spacing:1px;text-transform:uppercase;font-weight:700}.product-dialog-info h2{font:400 clamp(30px,3vw,47px)/1.2 Georgia,serif;margin:18px 0}.product-dialog-price{font-size:24px;font-weight:700;margin:0 0 20px}.product-dialog-description{color:#666;line-height:1.6}.product-dialog-actions{display:flex;flex-wrap:wrap;gap:10px}.product-dialog-actions button{border:1px solid #ccc;background:white;border-radius:30px;padding:11px 17px}.product-dialog-bottom{margin-top:auto;padding-top:45px;width:100%}.product-dialog-bottom>span{font-size:12px;color:#777;letter-spacing:1px;font-weight:700}.product-dialog-buy{display:flex;justify-content:space-between;gap:15px;background:#050505;color:white;text-decoration:none;border-radius:40px;padding:22px 28px;margin-top:15px;font-weight:600}.product-dialog-buy:hover{background:#333}#productGrid .product-media img{cursor:pointer}@media(max-width:700px){.featured-edit{padding-bottom:45px}.featured-track{padding-left:15px;padding-right:15px}.featured-card{flex-basis:57vw;border-radius:15px}.featured-meta{padding:11px;font-size:12px}.featured-meta strong{font-size:15px}.mode-relier-product-modal{padding:0;align-items:end}.product-dialog{border-radius:20px 20px 0 0;max-height:95dvh;display:block;padding:45px 17px 22px}.product-dialog-gallery{height:48dvh;gap:8px}.product-dialog-thumbs{width:50px}.product-dialog-main{width:calc(100% - 58px)}.product-dialog-info{padding:20px 0 0}.product-dialog-info h2{font-size:30px;margin:10px 0}.product-dialog-bottom{padding-top:25px}.product-dialog-buy{padding:18px 22px}}
body.conversation-mode .featured-edit{display:none}

/* Mode-Relier editorial carousel v2 */
.featured-edit[hidden],.mode-relier-product-modal[hidden]{display:none!important}
.featured-edit{padding:52px 0 90px;background:#fff;overflow:hidden}
.featured-heading{padding:0 20px 34px}
.featured-heading small{font-weight:650;color:#a2a2a2;letter-spacing:.19em;font-size:10px}
.featured-heading h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:clamp(36px,4.2vw,62px);letter-spacing:-.055em;margin:14px 0 20px}
.featured-controls{margin-top:0;gap:10px}
.featured-controls button{width:48px;height:48px;padding:0;border:1px solid #dedede;border-radius:50%;font-size:23px;transition:background .2s,color .2s}
.featured-controls button:hover{background:#111;color:#fff}
.featured-track{gap:12px;padding:4px 0 14px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:none;overscroll-behavior-inline:contain}
.featured-track::-webkit-scrollbar{display:none}
.featured-card{flex:0 0 clamp(220px,16.2vw,315px);border:1px solid #e3e3e3;border-radius:22px;box-shadow:none;scroll-snap-align:none;transform:none!important;overflow:hidden}
.featured-card>img{aspect-ratio: .82;object-fit:cover;object-position:center top;transition:transform .45s ease}
.featured-card:hover>img{transform:scale(1.035)}
.featured-meta{padding:17px 21px 19px;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;align-items:center;font-size:15px;line-height:1.3}
.featured-meta strong{font:600 20px/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.featured-meta span{color:#3b3b3b}
.featured-meta b{font-size:15px;font-weight:650}
.product-dialog{border-radius:3px;gap:50px}
.product-dialog-info h2{letter-spacing:-.04em}
@media(max-width:700px){.featured-edit{padding:35px 0 55px}.featured-heading{padding-bottom:23px}.featured-heading h2{font-size:37px}.featured-card{flex-basis:65vw;border-radius:17px}.featured-meta{padding:13px 14px;font-size:13px}.featured-meta strong{font-size:17px}.featured-meta b{font-size:13px}.featured-controls button{width:42px;height:42px}.product-dialog{border-radius:20px 20px 0 0}}

/* Mode-Relier UK: compact editorial product carousel on phones */
@media (max-width:700px){
  .featured-edit .featured-track{gap:10px;padding:4px 12px 12px;}
  .featured-edit .featured-card{flex:0 0 43vw;max-width:190px;min-width:0;border-radius:14px;}
  .featured-edit .featured-card>img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;}
  .featured-edit .featured-meta{padding:9px 10px 11px;gap:5px 6px;font-size:11px;min-width:0;}
  .featured-edit .featured-meta strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .featured-edit .featured-meta span{font-size:11px;min-width:0;}
  .featured-edit .featured-meta b{font-size:11px;}
  .featured-edit .featured-heading h2{font-size:clamp(29px,8vw,37px);}
}

/* Product gallery and image-driven discovery */
.product-dialog-photo{position:relative;flex:1;min-width:0;display:flex;background:#f7f7f7;overflow:hidden}
.product-dialog-photo .product-dialog-main{width:100%;height:100%;max-height:75dvh;object-fit:contain}
.product-dialog-visual{position:absolute;left:50%;bottom:19px;transform:translateX(-50%);white-space:nowrap;display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.96);border:1px solid #e5e5e5;border-radius:100px;padding:12px 17px;box-shadow:0 5px 25px #0002;font:600 13px Arial,sans-serif;cursor:pointer;z-index:1}
.product-dialog-visual:hover{background:#111;color:#fff}
.product-dialog-count{position:absolute;right:12px;top:12px;background:#fff;border-radius:30px;padding:6px 11px;font:12px Arial,sans-serif}
.product-dialog-thumbs button{border-radius:7px;overflow:hidden;cursor:pointer}.product-dialog-thumbs button.chosen{border-color:#111}
@media(max-width:700px){.product-dialog-photo .product-dialog-main{max-height:48dvh}.product-dialog-visual{bottom:12px;padding:10px 12px;font-size:11px}.product-dialog-gallery{min-height:300px}}
/* Shoppable crop visual search */
.mode-relier-crop-overlay{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.76);display:flex;align-items:center;justify-content:center;padding:18px}.crop-panel{background:#fff;color:#111;width:min(850px,100%);max-height:95dvh;display:flex;flex-direction:column;border-radius:16px;overflow:hidden}.crop-head,.crop-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px}.crop-head p{font-size:13px;color:#666;margin:5px 0 0}.crop-exit{border:0;background:#f1f1f1;border-radius:50%;width:38px;height:38px;font-size:26px;cursor:pointer}.crop-stage{position:relative;align-self:center;max-width:100%;min-height:150px;overflow:hidden;touch-action:none;cursor:crosshair}.crop-source{display:block;max-width:100%;max-height:65dvh;object-fit:contain;user-select:none;pointer-events:none}.crop-selection{position:absolute;border:2px solid #fff;outline:2px solid #111;box-shadow:0 0 0 9999px #0006;pointer-events:none}.crop-footer{border-top:1px solid #eee;flex-wrap:wrap}.crop-message{font-size:13px;color:#555;flex:1}.crop-footer button{border:1px solid #ccc;border-radius:999px;background:white;padding:11px 17px;cursor:pointer}.crop-footer .crop-search{background:#111;color:white;border-color:#111}.crop-search:disabled{opacity:.4;cursor:not-allowed}@media(max-width:600px){.mode-relier-crop-overlay{padding:8px}.crop-head,.crop-footer{padding:12px}.crop-source{max-height:60dvh}.crop-head strong{font-size:17px}}
/* Mode-Relier visual discovery studio */
.mode-relier-lens{position:fixed;inset:0;z-index:999999;background:rgba(13,13,15,.82);backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:24px;color:#161616}.lens-shell{width:min(1200px,100%);max-height:95dvh;display:flex;flex-direction:column;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 24px 90px #0005}.lens-header{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid #e9e9e9}.lens-logo{display:flex;align-items:center;gap:12px}.lens-mark{width:43px;height:43px;border-radius:13px;background:#161616;color:#fff;display:grid;place-items:center;font-size:25px}.lens-logo strong{font-size:19px;display:block;letter-spacing:-.5px}.lens-logo small{display:block;font-size:9px;letter-spacing:2px;color:#777;margin-top:3px}.lens-close{width:42px;height:42px;border:1px solid #e4e4e4;border-radius:50%;background:#fff;font-size:17px;cursor:pointer}.lens-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.8fr);min-height:0;overflow:auto}.lens-workspace{background:#f5f5f3;padding:23px;display:flex;flex-direction:column;min-width:0;min-height:0}.lens-workspace-top,.lens-workspace-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.lens-step{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#777}.lens-hint{font-size:12px;color:#555}.lens-image-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-height:260px;flex:1;margin:18px 0;touch-action:none;cursor:crosshair;overflow:hidden}.lens-photo{display:block;max-width:100%;max-height:min(61dvh,670px);width:auto;height:auto;object-fit:contain;user-select:none;pointer-events:none;border-radius:4px}.lens-box{position:absolute;border:2px solid #fff;outline:2px solid #151515;box-shadow:0 0 0 2000px #08080865;cursor:move;touch-action:none}.lens-handle{position:absolute;width:16px;height:16px;background:#fff;border:2px solid #151515;border-radius:50%;z-index:2;touch-action:none}.lens-handle.nw{left:-9px;top:-9px;cursor:nwse-resize}.lens-handle.ne{right:-9px;top:-9px;cursor:nesw-resize}.lens-handle.sw{left:-9px;bottom:-9px;cursor:nesw-resize}.lens-handle.se{right:-9px;bottom:-9px;cursor:nwse-resize}.lens-selection-label{position:absolute;left:-2px;bottom:calc(100% + 9px);font-size:10px;letter-spacing:1px;background:#161616;color:#fff;padding:7px 10px;border-radius:5px;white-space:nowrap}.lens-status{font-size:12px;color:#555}.lens-reset{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:12px;cursor:pointer;white-space:nowrap}.lens-sidebar{padding:32px;display:flex;flex-direction:column;gap:20px}.lens-sidebar-title h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(30px,3.4vw,48px);line-height:1.08;letter-spacing:-1.5px;margin:15px 0}.lens-sidebar-title h2 em{font-style:italic}.lens-sidebar-title p{font-size:13px;line-height:1.7;color:#777;max-width:300px}.lens-preview-card{border:1px solid #e9e9e9;border-radius:12px;padding:12px;background:#fafafa}.lens-preview{height:170px;background-color:#f0f0f0;background-repeat:no-repeat;position:relative;border-radius:8px;overflow:hidden}.lens-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#999}.lens-empty span{font-size:35px}.lens-empty p{font-size:12px;line-height:1.5}.lens-preview-caption{display:flex;justify-content:space-between;padding:12px 4px 2px;font-size:10px;font-weight:700;letter-spacing:1.2px;color:#777}.lens-find{background:#141414;color:white;border:0;border-radius:999px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:700;cursor:pointer}.lens-find:disabled{opacity:.38;cursor:not-allowed}.lens-disclaimer{font-size:11px;color:#888;text-align:center;margin:0}@media(max-width:760px){.mode-relier-lens{padding:0}.lens-shell{height:100dvh;max-height:100dvh;border-radius:0}.lens-header{padding:13px 16px}.lens-body{display:flex;flex-direction:column;overflow-y:auto}.lens-workspace{padding:13px;flex:none}.lens-image-wrap{min-height:240px;margin:12px 0}.lens-photo{max-height:47dvh}.lens-sidebar{padding:20px;gap:14px}.lens-sidebar-title h2{font-size:32px;margin:8px 0}.lens-sidebar-title p{margin:5px 0}.lens-preview{height:120px}.lens-workspace-bottom{align-items:flex-start}.lens-status{max-width:65%}}
/* Automatic shoppable hotspots */
.mode-relier-hotspot-layer{position:absolute;inset:0;pointer-events:none;z-index:4}.mode-relier-hotspot{position:absolute;transform:translate(-50%,-50%);width:39px;height:39px;border-radius:50%;border:2px solid #fff;background:#111d;color:#fff;box-shadow:0 0 0 5px #ffffff55,0 4px 18px #0005;display:grid;place-items:center;cursor:pointer;pointer-events:auto;transition:transform .2s}.mode-relier-hotspot:hover,.mode-relier-hotspot:focus-visible{transform:translate(-50%,-50%) scale(1.16);background:#111}.mode-relier-hotspot span{font:500 26px/1 Arial}.mode-relier-hotspot-status{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);background:#fffffff0;border-radius:40px;padding:9px 15px;font:600 12px Arial;z-index:5;white-space:nowrap}.mode-relier-hotspot-popover{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);width:min(290px,90%);background:#fff;border:1px solid #eee;border-radius:18px;padding:18px;box-shadow:0 10px 45px #0003;z-index:8;display:flex;flex-direction:column;gap:9px;font:14px Arial}.mode-relier-hotspot-popover strong{text-transform:capitalize;font-size:19px}.hotspot-eyebrow{font-size:10px;letter-spacing:1.5px;color:#777}.hotspot-dismiss{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:24px;cursor:pointer}.hotspot-find{background:#111;color:#fff;border:0;border-radius:40px;padding:13px;cursor:pointer;font-weight:700}@media(max-width:700px){.mode-relier-hotspot{width:33px;height:33px}.mode-relier-hotspot-popover{bottom:12px}}

/* SnapShe-style selection */
.lens-box{border:3px dashed #fff!important;outline:0!important;border-radius:22px;box-shadow:0 0 0 3000px rgba(0,0,0,.43)!important}.lens-handle{width:24px;height:24px;border:0;border-radius:7px;background:#fff}.lens-box[hidden]{display:none!important}.lens-photo{pointer-events:none}.product-dialog-photo{position:relative}

/* Manual-only, touch-friendly SnapShe selection */
.lens-box{border:3px dashed #fff!important;outline:none!important;border-radius:18px!important;box-shadow:0 0 0 3000px rgba(0,0,0,.43)!important;touch-action:none;cursor:grab}
.lens-box:active{cursor:grabbing}
.lens-handle{width:34px!important;height:34px!important;border:0!important;background:transparent!important;border-radius:0!important;touch-action:none;z-index:5}
.lens-handle:after{content:'';position:absolute;width:23px;height:23px;border:solid white;border-width:0;filter:drop-shadow(0 1px 2px #0007)}
.lens-handle.nw{left:-13px!important;top:-13px!important}.lens-handle.nw:after{left:0;top:0;border-left-width:7px;border-top-width:7px;border-top-left-radius:14px}
.lens-handle.ne{right:-13px!important;top:-13px!important}.lens-handle.ne:after{right:0;top:0;border-right-width:7px;border-top-width:7px;border-top-right-radius:14px}
.lens-handle.sw{left:-13px!important;bottom:-13px!important}.lens-handle.sw:after{left:0;bottom:0;border-left-width:7px;border-bottom-width:7px;border-bottom-left-radius:14px}
.lens-handle.se{right:-13px!important;bottom:-13px!important}.lens-handle.se:after{right:0;bottom:0;border-right-width:7px;border-bottom-width:7px;border-bottom-right-radius:14px}
@media(max-width:760px){.lens-header{flex-shrink:0}.lens-body{flex:1;min-height:0;overflow:auto}.lens-workspace{padding:8px 12px}.lens-workspace-top{display:none}.lens-image-wrap{min-height:0;height:auto;margin:4px 0 8px;max-height:56dvh}.lens-photo{max-height:55dvh}.lens-sidebar{padding:12px 16px 22px;gap:10px}.lens-sidebar-title,.lens-preview-card,.lens-disclaimer{display:none}.lens-find{min-height:52px;justify-content:center;font-size:16px}.lens-workspace-bottom{padding:5px 0}.lens-status{font-size:12px}}

/* v4: compact visual search action at top-right; never covers footwear */
.product-dialog-photo .product-dialog-visual{left:auto!important;right:14px!important;top:14px!important;bottom:auto!important;transform:none!important;display:inline-flex;gap:8px;align-items:center;justify-content:center;background:#111!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px;padding:11px 15px;box-shadow:0 5px 20px #0003;font:600 12px/1 Arial,sans-serif;white-space:nowrap;z-index:4;transition:background .2s,transform .2s}
.product-dialog-photo .product-dialog-visual:hover{background:#303030!important;transform:translateY(-1px)!important}
.product-dialog-photo .product-dialog-visual:focus-visible{outline:3px solid #777;outline-offset:3px}
.product-dialog-photo .product-dialog-count{top:17px;right:auto;left:14px}
@media(max-width:700px){.product-dialog-photo .product-dialog-visual{right:10px!important;top:10px!important;width:44px;height:44px;padding:0!important;border-radius:14px}.product-dialog-photo .product-dialog-visual span{display:none}.product-dialog-photo .product-dialog-count{left:10px;top:15px}}

/* v5 forced position with unique asset version */
#mode-relierProductModal .product-dialog-photo > button.product-dialog-visual{position:absolute!important;top:14px!important;right:14px!important;bottom:auto!important;left:auto!important;transform:none!important;z-index:20!important;background:#111!important;color:#fff!important}
@media(max-width:700px){#mode-relierProductModal .product-dialog-photo > button.product-dialog-visual{top:10px!important;right:10px!important}}

/* v6: keep selected-image preview visible and usable on mobile */
@media (max-width:760px) {
 .mode-relier-lens .lens-shell {height:100dvh;height:100svh;}
 .mode-relier-lens .lens-body {display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;}
 .mode-relier-lens .lens-workspace {flex:0 0 auto;}
 .mode-relier-lens .lens-image-wrap {height:auto;max-height:49dvh;min-height:190px;}
 .mode-relier-lens .lens-photo {max-height:48dvh;}
 .mode-relier-lens .lens-sidebar {display:flex;flex:0 0 auto;padding:10px 14px max(20px,env(safe-area-inset-bottom));gap:10px;background:#fff;}
 .mode-relier-lens .lens-sidebar-title,.mode-relier-lens .lens-disclaimer {display:none;}
 .mode-relier-lens .lens-preview-card {display:flex!important;align-items:center;gap:12px;padding:8px;border-radius:12px;}
 .mode-relier-lens .lens-preview {width:82px;min-width:82px;height:82px;flex:0 0 82px;background-size:cover;}
 .mode-relier-lens .lens-preview-caption {display:flex;align-items:center;flex:1;gap:8px;padding:0;font-size:10px;line-height:1.5;letter-spacing:1px;}
 .mode-relier-lens .lens-find {flex-shrink:0;min-height:50px;}
}
@media (max-width:390px) { .mode-relier-lens .lens-image-wrap {max-height:43dvh;} .mode-relier-lens .lens-photo {max-height:42dvh;} }

/* v7: pixel-accurate manual crop preview, no background zoom */
.mode-relier-lens .lens-preview{display:flex;align-items:center;justify-content:center;background:#f1f1f1!important;background-image:none!important;overflow:hidden}
.mode-relier-lens .lens-preview-canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
@media(max-width:760px){.mode-relier-lens .lens-preview-card{display:flex!important;align-items:center;gap:12px}.mode-relier-lens .lens-preview{width:90px;min-width:90px;height:90px;flex:0 0 90px}.mode-relier-lens .lens-preview-caption{font-size:10px;letter-spacing:.7px}}
/* v8: show the entire selected region without a second crop */
.mode-relier-lens .lens-preview-card{display:block!important;padding:10px;background:#fff}
.mode-relier-lens .lens-preview{width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;display:flex!important;align-items:center;justify-content:center;overflow:visible!important;background:#f4f4f4!important}
.mode-relier-lens .lens-preview-canvas{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:300px!important;object-fit:contain!important;border-radius:6px}
.mode-relier-lens .lens-preview-caption{padding:10px 2px 0!important}
@media(max-width:760px){.mode-relier-lens .lens-sidebar-title{display:none!important}.mode-relier-lens .lens-preview-card{display:block!important}.mode-relier-lens .lens-preview-canvas{max-height:180px!important}.mode-relier-lens .lens-preview-caption{display:flex!important}.mode-relier-lens .lens-sidebar{gap:10px!important}}

/* v9: preview mirrors the exact current selection; no secondary cropping */
.mode-relier-lens .lens-preview{width:100%!important;height:auto!important;min-height:0!important;max-height:320px;overflow:hidden!important;display:flex!important;align-items:center;justify-content:center;background:#f5f5f5!important}
.mode-relier-lens .lens-preview-canvas{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:320px!important;object-fit:contain!important}
@media(max-width:760px){.mode-relier-lens .lens-preview{max-height:190px!important}.mode-relier-lens .lens-preview-canvas{max-height:190px!important}}

/* v10: show the complete, actual selected pixels without any secondary crop */
.mode-relier-lens .lens-preview { height:auto!important; max-height:none!important; aspect-ratio:auto!important; overflow:visible!important; background-image:none!important; display:block!important; }
.mode-relier-lens .lens-preview-canvas { display:block!important; width:100%!important; height:auto!important; max-width:100%!important; max-height:none!important; object-fit:fill!important; border-radius:7px; }
.mode-relier-lens .lens-preview-card { overflow:visible!important; }
@media(max-width:760px){.mode-relier-lens .lens-preview{max-height:none!important}.mode-relier-lens .lens-preview-canvas{max-height:none!important}.mode-relier-lens .lens-preview-card{display:block!important}}

/* v11: SnapShe-inspired visual search, without a redundant crop preview */
.mode-relier-lens{padding:12px!important;background:rgba(0,0,0,.83)!important}
.mode-relier-lens .lens-shell{width:min(1480px,100%)!important;height:min(92dvh,900px)!important;max-height:92dvh!important;border-radius:16px!important}
.mode-relier-lens .lens-body{display:grid!important;grid-template-columns:minmax(0,55%) minmax(0,45%)!important;flex:1!important;min-height:0!important;overflow:hidden!important}
.mode-relier-lens .lens-workspace{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;padding:16px!important;background:#f6f6f6!important}
.mode-relier-lens .lens-workspace-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}
.mode-relier-lens .lens-image-wrap{flex:1!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important;background:#202020!important;touch-action:none!important}
.mode-relier-lens .lens-photo{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;pointer-events:none!important}
.mode-relier-lens .lens-sidebar{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;padding:26px!important;gap:16px!important;background:#fff!important;overflow:auto!important}
.mode-relier-lens .lens-sidebar-title,.mode-relier-lens .lens-preview-card{display:none!important}
.mode-relier-lens .lens-results-heading h2{font:500 clamp(24px,3vw,42px)/1.12 Georgia,serif;letter-spacing:-.04em;margin:16px 0 10px}
.mode-relier-lens .lens-results-heading p{font:14px/1.6 Arial,sans-serif;color:#777;max-width:400px}
.mode-relier-lens .lens-results-empty{flex:1;min-height:160px;border:1px dashed #d8d8d8;border-radius:14px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px;gap:10px;background:#fafafa}
.mode-relier-lens .lens-results-empty strong{font:600 17px Arial,sans-serif}.mode-relier-lens .lens-results-empty p{font:13px/1.5 Arial,sans-serif;color:#777;max-width:260px;margin:0}.mode-relier-lens .lens-results-symbol{font-size:30px}
.mode-relier-lens .lens-find{flex:0 0 auto!important;min-height:54px!important}
.mode-relier-lens .lens-box{touch-action:none!important}
@media(max-width:760px){.mode-relier-lens{padding:0!important}.mode-relier-lens .lens-shell{height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.mode-relier-lens .lens-header{padding:12px 16px!important}.mode-relier-lens .lens-body{display:flex!important;flex-direction:column!important;overflow:auto!important}.mode-relier-lens .lens-workspace{flex:0 0 auto!important;padding:10px!important}.mode-relier-lens .lens-workspace-top{display:none!important}.mode-relier-lens .lens-image-wrap{height:52dvh!important;max-height:52dvh!important;min-height:220px!important;flex:none!important}.mode-relier-lens .lens-photo{max-height:52dvh!important}.mode-relier-lens .lens-workspace-bottom{padding:10px 4px 2px!important}.mode-relier-lens .lens-sidebar{padding:12px 16px max(24px,env(safe-area-inset-bottom))!important;gap:12px!important;flex:0 0 auto!important;overflow:visible!important}.mode-relier-lens .lens-results-heading h2{font-size:24px;margin:6px 0}.mode-relier-lens .lens-results-heading p{font-size:12px;margin:0}.mode-relier-lens .lens-results-empty{display:none!important}.mode-relier-lens .lens-find{min-height:54px!important}.mode-relier-lens .lens-disclaimer{display:block!important;font-size:11px!important}}

/* v12: real visual search results */
.mode-relier-lens .lens-results-empty.lens-results-list{display:block!important;flex:1!important;min-height:0!important;overflow-y:auto!important;text-align:left!important;padding:10px!important;border:0!important;background:white!important;}
.mode-relier-lens .lens-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.mode-relier-lens .lens-product{min-width:0;border:1px solid #ededed;border-radius:12px;overflow:hidden;background:#fff;}
.mode-relier-lens .lens-product img{width:100%;height:180px;object-fit:contain;background:#f6f6f6;display:block;}
.mode-relier-lens .lens-product-info{padding:10px;display:flex;flex-direction:column;gap:5px;font:12px/1.4 Arial,sans-serif;}
.mode-relier-lens .lens-product-info strong{font-size:12px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.mode-relier-lens .lens-product-info small{color:#777}.mode-relier-lens .lens-product-info span{font-weight:700}.mode-relier-lens .lens-product-info a{color:#111;text-decoration:underline;}
.mode-relier-lens .lens-result-count{font:600 12px Arial,sans-serif;margin:0 0 12px;}
.mode-relier-lens .lens-loading{padding:32px 12px;text-align:center;font:14px Arial,sans-serif;color:#666}.mode-relier-lens .lens-error{color:#a22}
@media(max-width:760px){.mode-relier-lens .lens-results-empty.lens-results-list{display:block!important;overflow:visible!important}.mode-relier-lens .lens-product img{height:145px}.mode-relier-lens .lens-results-heading{display:none!important}}

/* SnapShe-inspired live selection / preview layout */
.mode-relier-lens .lens-sidebar{overflow-y:auto!important;overscroll-behavior:contain!important}
.mode-relier-lens .lens-preview-card{display:block!important;flex:0 0 auto!important;padding:12px!important;border:1px solid #e6e6e6!important;border-radius:12px!important;background:#fff!important}
.mode-relier-lens .lens-preview{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-height:210px!important;overflow:hidden!important;background:#f5f5f5!important;border-radius:8px!important}
.mode-relier-lens .lens-preview-canvas{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:210px!important;object-fit:contain!important}
.mode-relier-lens .lens-preview-caption{display:flex!important;justify-content:space-between!important;gap:10px!important;font-size:10px!important;letter-spacing:1px!important}
.mode-relier-lens .lens-results-empty.lens-results-list{flex:1 0 auto!important;overflow:visible!important;padding:0!important}
.mode-relier-lens .lens-results-empty:not(.lens-results-list){min-height:100px!important;flex:0 0 auto!important}
.mode-relier-lens .lens-box{border:2px dashed white!important;outline:0!important;border-radius:12px!important;box-shadow:0 0 0 2000px #0008!important}
.mode-relier-lens .lens-handle{width:18px!important;height:18px!important;border-radius:5px!important;background:#fff!important}
@media(max-width:760px){.mode-relier-lens .lens-body{display:flex!important;flex-direction:column!important;overflow-y:auto!important}.mode-relier-lens .lens-sidebar{display:flex!important;overflow:visible!important;padding:12px 14px 28px!important}.mode-relier-lens .lens-preview-card{display:flex!important;gap:12px!important;align-items:center!important}.mode-relier-lens .lens-preview{width:105px!important;min-width:105px!important;max-height:120px!important}.mode-relier-lens .lens-preview-canvas{max-height:120px!important}.mode-relier-lens .lens-preview-caption{display:flex!important;flex-direction:column!important;justify-content:center!important;flex:1!important;padding:0!important}.mode-relier-lens .lens-results-empty.lens-results-list{display:block!important}.mode-relier-lens .lens-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mode-relier-lens .lens-image-wrap{height:43dvh!important;max-height:43dvh!important;min-height:180px!important}.mode-relier-lens .lens-photo{max-height:43dvh!important}}

/* v13: visible, first-position crop preview on desktop and mobile */
.mode-relier-lens .lens-sidebar>.lens-preview-card{display:flex!important;order:-2!important;flex-direction:row!important;align-items:center!important;gap:14px!important;padding:12px!important;border:2px solid #111!important;background:#fafafa!important;position:relative!important;z-index:3!important;min-height:124px!important;max-height:none!important;overflow:visible!important}
.mode-relier-lens .lens-sidebar>.lens-preview-card .lens-preview{flex:0 0 130px!important;width:130px!important;min-width:130px!important;height:112px!important;max-height:112px!important;overflow:hidden!important;background:#eaeaea!important}
.mode-relier-lens .lens-sidebar>.lens-preview-card .lens-preview-canvas{width:auto!important;height:auto!important;max-width:100%!important;max-height:112px!important;object-fit:contain!important}
.mode-relier-lens .lens-sidebar>.lens-preview-card .lens-preview-caption{display:flex!important;flex:1!important;flex-direction:column!important;justify-content:center!important;gap:8px!important;padding:0!important;font-size:12px!important;letter-spacing:.4px!important}
.mode-relier-lens .lens-sidebar>.lens-results-heading{order:-1!important}
.mode-relier-lens .lens-sidebar>.lens-results-empty{order:0!important}
.mode-relier-lens .lens-sidebar>.lens-find{order:1!important}
.mode-relier-lens .lens-sidebar>.lens-disclaimer{order:2!important}
@media(max-width:760px){.mode-relier-lens .lens-sidebar>.lens-preview-card{display:flex!important;min-height:106px!important;padding:10px!important;gap:12px!important}.mode-relier-lens .lens-sidebar>.lens-preview-card .lens-preview{width:90px!important;min-width:90px!important;flex:0 0 90px!important;height:90px!important;max-height:90px!important}.mode-relier-lens .lens-sidebar>.lens-preview-card .lens-preview-canvas{max-height:90px!important}.mode-relier-lens .lens-sidebar>.lens-results-heading{display:block!important}.mode-relier-lens .lens-sidebar>.lens-results-heading h2{font-size:23px!important}.mode-relier-lens .lens-sidebar>.lens-results-heading p{display:none!important}}
