/* LUX extension. Card layout changes are opt-in; unmarked cards retain upstream styles. */
.lux-shop-visual-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.lux-shop-visual-editor{border-block:1px solid var(--transparent-5-w,#ffffff0d);margin-block:.4rem;flex-shrink:0}
.lux-shop-visual-editor>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;cursor:pointer;color:var(--text-custom);font-size:var(--font-size-m)}
.lux-shop-visual-editor>summary::-webkit-details-marker{display:none}
.lux-shop-visual-editor>summary>span,.lux-shop-visual-head>label{display:flex;flex-direction:column;gap:.25rem}
.lux-shop-visual-editor>summary small,.lux-shop-visual-head small{font-size:var(--font-size-s);color:var(--text-secondary);font-weight:var(--font-weight-4)}
.lux-shop-visual-editor>summary>svg{width:.75rem;height:.75rem;fill:var(--text-secondary);transition:rotate var(--transition-duration)}
.lux-shop-visual-editor[open]>summary>svg{rotate:180deg}
.lux-shop-visual-body{padding-bottom:1rem}
.lux-shop-visual-section{padding:.25rem 0 1rem}
.lux-shop-visual-section+.lux-shop-visual-section{padding-top:1.1rem;border-top:1px solid var(--transparent-5-w,#ffffff0d)}
.lux-shop-visual-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.lux-shop-visual-head>label{align-items:flex-start;text-align:left;margin:0;cursor:pointer;white-space:normal}
.lux-shop-visual-head b{color:var(--text-custom);font-size:var(--font-size-m);font-weight:var(--font-weight-6)}
.lux-shop-visual-head>.switch{flex-shrink:0;margin:0}
.lux-shop-visual-editor fieldset{display:block;border:0;padding:0;margin:0;min-width:0;width:100%;transition:opacity var(--transition-duration)}
.lux-shop-visual-editor fieldset:disabled{opacity:.35}
.lux-shop-visual-editor .sna__field>label{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.lux-shop-visual-editor output{font-size:var(--font-size-s);color:var(--text-secondary);font-variant-numeric:tabular-nums}
.lux-shop-visual-grid{margin-top:1rem;gap:1.5rem}
.lux-shop-visual-range{margin-top:1rem}
.lux-shop-visual-modes{display:flex;gap:.25rem;background:var(--input-form);padding:.25rem;border-radius:var(--br-8);width:fit-content;max-width:100%}
.lux-shop-visual-modes>button{background:transparent;color:var(--text-secondary);padding:.5rem .8rem;min-height:2rem;height:auto;border:1px solid transparent;border-radius:var(--br-5);font-size:var(--font-size-s);white-space:normal}
.lux-shop-visual-modes>button.is-selected{background:var(--transparent-10-w,#ffffff12);color:var(--text-custom)}
.lux-shop-visual-color{display:flex;align-items:center;gap:.6rem;min-height:var(--input-height,41px);background:var(--input-form);padding:.5rem .75rem;border-radius:var(--br-8)}
.lux-shop-visual-color>input[type=color]{appearance:none;width:1.4rem;height:1.4rem;min-width:1.4rem;min-height:0;padding:0;margin:0;background:none;border:0;cursor:pointer}
.lux-shop-visual-color>input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.lux-shop-visual-color>input[type=color]::-webkit-color-swatch{border:0;border-radius:var(--br-5)}
.lux-shop-visual-color>span{font-size:var(--font-size-s);color:var(--text-custom)}
.lux-shop-visual-color>button{margin-left:auto;font-size:var(--font-size-l)}
.lux-shop-visual-editor input[type=range]{appearance:none;width:100%;height:4px;min-height:0;padding:0;margin:.9rem 0 .6rem;border:0;border-radius:8px;background:linear-gradient(to right,var(--span) var(--lux-visual-fill,0%),var(--transparent-10-w,#ffffff12) var(--lux-visual-fill,0%));cursor:pointer;box-shadow:none}
.lux-shop-visual-editor input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:var(--text-default);border:2px solid var(--span);border-radius:50%}
.lux-shop-visual-editor input[type=range]::-moz-range-thumb{width:9px;height:9px;background:var(--text-default);border:2px solid var(--span);border-radius:50%}
.lux-shop-visual-editor :is(button,input,summary):focus-visible{outline:2px solid var(--span);outline-offset:3px}
.lux-shop-visual-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.lux-shop-visual-footer>button{margin-left:auto;font-size:var(--font-size-s)}
.lux-shop-visual-footer>button[aria-pressed=true]{color:var(--span)}
@media(max-width:600px){.lux-shop-visual-grid{grid-template-columns:1fr;gap:1rem}}
.sn__tier .lux-shop-inline-video{object-fit:cover;opacity:0;visibility:hidden;pointer-events:none}
.sn__tier.lux-shop-inline-ready .lux-shop-inline-video{opacity:1;visibility:visible}
.sn__tier.lux-shop-inline-ready img.sn__tier-image{opacity:0}
.sn__tier.lux-shop-inline-enabled:not(.lux-shop-inline-fallback) .sn__video-open{display:none}
/* A flow spacer keeps a true 2:3 media area at any card width, including the editor. */
.sn__tier[data-lux-shop-legacy-size]{min-height:0}
/* The native preview is a flex child: start alignment would shrink its width to its labels. */
.sn__tier.sna__preview-card:not([data-lux-shop-legacy-size]){min-height:19rem}
.sn__tier[data-lux-shop-legacy-size]>.lux-shop-card-space{display:block;width:100%;aspect-ratio:2 / 3;flex-shrink:0;pointer-events:none}
.sn__tier[data-lux-shop-legacy-size]>.sn__tier-image{top:0;width:100%;height:calc(100% - 82px);object-fit:cover;object-position:center;translate:-50% 0;scale:1}
.sn__tier[data-lux-shop-legacy-size]>.sn__tier-content{height:82px;min-height:82px;flex:0 0 82px;justify-content:center;padding:8px 16px 10px}
.sn__tier[data-lux-shop-legacy-size] .sn__tier-type{line-height:1.2}
.sn__tier[data-lux-shop-legacy-size] :is(.sn__tier-type,.sn__tier-name){max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sn__tier[data-lux-shop-legacy-size] :is(.sn__tier-name,.sn__tier-price){line-height:1.25}
.sn__tiers:has(>.sn__tier[data-lux-shop-legacy-size]){align-items:start}
