/* Journal 3 product-image color swatches: compact, no capsule, hover-safe (v1.6.3) */
.cs-overlay-anchor { position: relative !important; }
.cs-overlay-swatches { position:absolute !important; bottom:8px !important; left:50% !important; transform:translateX(-50%) !important; z-index:214748 !important; display:flex !important; flex-wrap:wrap !important; justify-content:center !important; align-content:center !important; align-items:center !important; gap:2px !important; width:max-content !important; max-width:calc(100% - 12px) !important; padding:0 !important; margin:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; border-radius:0 !important; opacity:1 !important; visibility:visible !important; pointer-events:none !important; line-height:0 !important; }
.cs-overlay-swatches .cs-swatch-wrap { position:relative !important; display:block !important; flex:0 0 18px !important; width:18px !important; height:18px !important; pointer-events:auto !important; }
.cs-overlay-swatches .cs-swatch { box-sizing:border-box !important; width:18px !important; height:18px !important; min-width:18px !important; border-radius:50% !important; border:1px solid rgba(80,80,80,.28) !important; background:#fff !important; object-fit:cover !important; display:block !important; margin:0 !important; padding:0 !important; opacity:1 !important; visibility:visible !important; }
.cs-overlay-swatches .cs-swatch-wrap::after { content:attr(data-name); position:absolute; bottom:calc(100% + 6px); left:50%; transform:translateX(-50%); padding:4px 8px; border-radius:6px; background:rgba(63,30,64,.92); color:#fff; font-family:inherit; font-size:12px; font-weight:600; line-height:1.2; white-space:nowrap; pointer-events:none; opacity:0; visibility:hidden; transition:opacity .15s ease; }
.cs-overlay-swatches .cs-swatch-wrap:hover::after { opacity:1; visibility:visible; }
.cs-overlay-swatches .cs-swatch-wrap:hover .cs-swatch { border-color:rgba(63,30,64,.8) !important; }
.cs-overlay-swatches .cs-more { box-sizing:border-box !important; display:flex !important; align-items:center !important; justify-content:center !important; flex:0 0 20px !important; height:18px !important; min-width:20px !important; padding:0 2px !important; background:rgba(255,255,255,.94) !important; border:1px solid #ddd !important; border-radius:10px !important; color:#333 !important; font:10px/1 Arial,sans-serif !important; }
/* Journal's hover secondary image must stay behind the swatch layer. */
.cs-overlay-anchor > a, .cs-overlay-anchor > .product-img { z-index:auto; }
@media(max-width:767px) {
 .cs-overlay-swatches { bottom:5px !important; gap:2px !important; max-width:calc(100% - 8px) !important; }
 .cs-overlay-swatches .cs-swatch-wrap { flex-basis:15px !important; width:15px !important; height:15px !important; }
 .cs-overlay-swatches .cs-swatch { width:15px !important; height:15px !important; min-width:15px !important; }
 .cs-overlay-swatches .cs-more { height:15px !important; min-width:18px !important; flex-basis:18px !important; font-size:9px !important; }
 .cs-overlay-swatches .cs-swatch-wrap::after { display:none; }
}
