/* Extra page elements */
.cgwc-align-left{text-align:left}.cgwc-align-center{text-align:center}.cgwc-align-right{text-align:right}

/* Rotating words */
.cgwc-rot{position:relative;display:inline-block;vertical-align:bottom;white-space:nowrap}
.cgwc-rot__item{display:inline-block}
.cgwc-rot:not(.is-ready) .cgwc-rot__item:not(.is-active){display:none}
.cgwc-rot--typing .cgwc-rot__item,.cgwc-rot--clip .cgwc-rot__item{display:none}
.cgwc-rot--typing .cgwc-rot__item.is-active,.cgwc-rot--clip .cgwc-rot__item.is-active{display:inline-block}
.cgwc-rot--typing .cgwc-rot__item i{font-style:normal;display:none}
.cgwc-rot--typing .cgwc-rot__item i.is-in{display:inline}
.cgwc-rot--typing:not(.is-ready) .cgwc-rot__item i{display:inline}
.cgwc-rot--typing .cgwc-rot__item.is-active:after{content:"";margin-left:1px;border-right:2px solid currentColor;animation:cgwc-blink 1s step-end infinite}
.cgwc-rot--typing.is-selected .cgwc-rot__item{background:currentColor}
.cgwc-rot--typing.is-selected .cgwc-rot__item i{color:var(--cgwc-bg,#fff)}
.cgwc-rot--clip{overflow:hidden;vertical-align:bottom}
.cgwc-rot--clip.is-ready{border-right:2px solid currentColor}
.cgwc-rot:is(.cgwc-rot--slide-up,.cgwc-rot--fade,.cgwc-rot--drop-in){transition:width calc(var(--cgwc-rot-speed,600ms) / 2) linear}
.cgwc-rot:is(.cgwc-rot--slide-up,.cgwc-rot--fade,.cgwc-rot--drop-in).is-ready .cgwc-rot__item{position:absolute;left:0;top:0;opacity:0;visibility:hidden}
.cgwc-rot:is(.cgwc-rot--slide-up,.cgwc-rot--fade,.cgwc-rot--drop-in).is-ready .cgwc-rot__item.is-active{position:relative;opacity:1;visibility:visible}
.cgwc-rot--slide-up{overflow:hidden}
.cgwc-rot--slide-up .is-active:not(.is-first){animation:cgwc-rot-up-in var(--cgwc-rot-speed,600ms)}
.cgwc-rot--slide-up .is-out{visibility:visible!important;animation:cgwc-rot-up-out var(--cgwc-rot-speed,600ms) forwards}
.cgwc-rot--fade .is-active:not(.is-first){animation:cgwc-rot-fade-in var(--cgwc-rot-speed,600ms)}
.cgwc-rot--fade .is-out{visibility:visible!important;animation:cgwc-rot-fade-out var(--cgwc-rot-speed,600ms) forwards}
.cgwc-rot--drop-in .is-active:not(.is-first){animation:cgwc-rot-drop-in var(--cgwc-rot-speed,600ms)}
.cgwc-rot--drop-in .is-out{visibility:visible!important;animation:cgwc-rot-drop-out var(--cgwc-rot-speed,600ms) forwards}
@keyframes cgwc-blink{50%{opacity:0}}
@keyframes cgwc-rot-up-in{from{opacity:0;transform:translateY(100%)}to{opacity:1;transform:none}}
@keyframes cgwc-rot-up-out{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-100%)}}
@keyframes cgwc-rot-fade-in{from{opacity:0}to{opacity:1}}
@keyframes cgwc-rot-fade-out{from{opacity:1}to{opacity:0}}
@keyframes cgwc-rot-drop-in{from{opacity:0;transform:scale(1.25)}to{opacity:1;transform:none}}
@keyframes cgwc-rot-drop-out{from{opacity:1;transform:none}to{opacity:0;transform:scale(.75)}}
@media (prefers-reduced-motion:reduce){.cgwc-rot *{animation:none!important}}

/* Product list */
.cgwc-plist{--cgwc-plist-img:70px}
.cgwc-plist__heading{margin:0 0 14px;padding:0;color:var(--cgwc-heading);font-size:18px}
.cgwc-plist ul{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none}
.cgwc-plist li{display:flex;align-items:center;gap:14px;margin:0;padding:0;list-style:none}
.cgwc-plist--lines li+li{padding-top:14px;border-top:1px solid var(--cgwc-line)}
.cgwc-plist__img{flex:0 0 var(--cgwc-plist-img);width:var(--cgwc-plist-img);border-radius:var(--cgwc-radius);overflow:hidden;background:var(--cgwc-soft)}
.cgwc-plist__img img{display:block;width:100%;height:auto;margin:0}
.cgwc-plist__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.cgwc-plist__title{color:var(--cgwc-heading);font-weight:500;line-height:1.35;text-decoration:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cgwc-plist__title:hover{color:var(--cgwc-accent)}
.cgwc-plist__price{font-size:14px;color:var(--cgwc-price,var(--cgwc-accent))}
.cgwc-plist__price del{opacity:.55;margin-right:4px}
.cgwc-plist .cgwc-stars{font-size:12px}

/* OpenStreetMap */
.cgwc-map{position:relative;overflow:hidden;border-radius:var(--cgwc-radius);background:var(--cgwc-soft)}
.cgwc-map__canvas{position:absolute;inset:0;z-index:0}
.cgwc-map--grey .leaflet-tile-pane{filter:grayscale(1) contrast(.95)}
.cgwc-map--preview{display:flex;align-items:center;justify-content:center}
.cgwc-map .leaflet-popup-content{margin:12px 14px;font:inherit;color:var(--cgwc-text)}
.cgwc-map .leaflet-popup-content strong{display:block;margin-bottom:4px;color:var(--cgwc-heading)}
.cgwc-map .leaflet-popup-content p{margin:0 0 8px}
.cgwc-map .leaflet-popup-content .cgwc-btn{color:#fff;padding:6px 14px;font-size:12px}
.cgwc-map__overlay{position:absolute;z-index:500;top:20px;bottom:20px;width:min(360px,calc(100% - 40px));overflow:auto;padding:24px;border-radius:var(--cgwc-radius);background:var(--cgwc-bg);box-shadow:var(--cgwc-shadow)}
.cgwc-map__overlay--left{left:20px}.cgwc-map__overlay--right{right:20px}.cgwc-map__overlay--center{left:50%;transform:translateX(-50%)}
.cgwc-map__overlay:has(> :only-child){bottom:auto}
@media (max-width:767px){.cgwc-map__overlay,.cgwc-map__overlay:has(> :only-child){top:auto;bottom:12px;left:12px;right:12px;width:auto;transform:none;max-height:60%}}

/* 360° view (inline) */
.cgwc-spin--inline{position:relative;margin:0 auto;cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-y;outline-offset:3px}
.cgwc-spin--inline.is-dragging{cursor:grabbing}
.cgwc-spin--inline img{display:block;width:100%;height:auto;pointer-events:none}
.cgwc-spin__badge{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:20px;background:rgba(255,255,255,.9);color:var(--cgwc-heading);font-size:12px;font-weight:600;pointer-events:none;transition:opacity .3s}
.cgwc-spin__badge .cgwc-icon{width:14px;height:14px}
.cgwc-spin--inline.is-touched .cgwc-spin__badge{opacity:0}

/* Popup button */
.cgwc-popbtn{display:inline-flex;align-items:center;gap:8px;padding:.7em 1.5em;border:0;border-radius:var(--cgwc-btn-radius,var(--cgwc-radius));background:var(--cgwc-btn,var(--cgwc-accent));color:var(--cgwc-btn-text,#fff);font:inherit;font-weight:600;cursor:pointer}
.cgwc-popbtn:hover{filter:brightness(.95)}
.cgwc-popbtn--link{padding:0;background:none;color:var(--cgwc-accent);text-decoration:underline;text-underline-offset:3px}
.cgwc-popbtn__modal:not(.is-open){display:none}
.cgwc-builder-note{margin:6px 0 0;font-size:12px;opacity:.7}
