/* Public carousel. Original Web Workspace image, markup and caption are unchanged. */
body.deskova-ring-preview-active #see-it-work .product-gallery{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-items:start!important;
  gap:clamp(28px,3.4vw,52px)!important;
}
body.deskova-ring-preview-active #see-it-work .product-mobile-pair{display:none!important}
body.deskova-ring-preview-active #see-it-work .product-item-web{min-width:0!important;width:100%!important;max-width:none!important}
.deskova-rotation{min-width:0;width:min(1500px,calc(100vw - 2 * var(--gutter)));max-width:none;position:relative;left:50%;transform:translateX(-50%);color:#eff6f7;text-align:center;padding-top:6px}
.deskova-rotation-heading{min-height:38px}
.deskova-rotation-eyebrow{display:block;color:var(--teal,#5fd0c2);font-size:.72rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.deskova-rotation-heading h3{font:400 clamp(1.45rem,2vw,1.9rem)/1.13 'DM Serif Display',Georgia,serif;margin:11px auto 0;color:#f5f8fa}
/* Five simultaneously visible iPhone-framed screenshots in a 3D coverflow. */
.deskova-rotation-stage{position:relative;width:100%;height:610px;perspective:1800px;perspective-origin:center 50%;overflow:hidden;isolation:isolate;touch-action:pan-y;background:radial-gradient(ellipse at 50% 48%,rgba(95,208,194,.1),transparent 67%)}
/* The 3D ring is visual only: in Chromium its transformed hit plane can intercept
   pointer events intended for visible side cards. Keep the 3D effect while
   letting each card receive its own hover/click events. */
.deskova-rotation-ring{position:absolute;inset:0;transform-style:preserve-3d;pointer-events:none}
.deskova-rotation-card{pointer-events:auto}
/* Assets already contain the real edited iPhone; do not draw a second device frame. */
.deskova-rotation-card{position:absolute;left:50%;top:50%;display:block;appearance:none;box-sizing:border-box;width:255px;height:523px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;cursor:pointer;transform:translate(-50%,-50%) translate3d(var(--carousel-x,0px),0,var(--carousel-z,0px)) rotateY(var(--carousel-yaw,0deg)) scale(var(--carousel-scale,1));opacity:1;transition:transform .72s cubic-bezier(.2,.75,.18,1),opacity .35s ease,filter .35s ease;will-change:transform;transform-style:preserve-3d;backface-visibility:hidden;-webkit-backface-visibility:hidden}
body.deskova-ring-preview-active #see-it-work .deskova-rotation-card img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;filter:none!important;pointer-events:none}
.deskova-rotation-card[data-slot="0"]{--carousel-x:0px;--carousel-z:95px;--carousel-yaw:0deg;--carousel-scale:1;z-index:6}
.deskova-rotation-card[data-slot="-1"]{--carousel-x:clamp(-290px,-21vw,-180px);--carousel-z:-35px;--carousel-yaw:22deg;--carousel-scale:.86;z-index:5}
.deskova-rotation-card[data-slot="1"]{--carousel-x:clamp(180px,21vw,290px);--carousel-z:-35px;--carousel-yaw:-22deg;--carousel-scale:.86;z-index:5}
.deskova-rotation-card[data-slot="-2"]{--carousel-x:clamp(-530px,-39vw,-340px);--carousel-z:-160px;--carousel-yaw:38deg;--carousel-scale:.73;z-index:4}
.deskova-rotation-card[data-slot="2"]{--carousel-x:clamp(340px,39vw,530px);--carousel-z:-160px;--carousel-yaw:-38deg;--carousel-scale:.73;z-index:4}
.deskova-rotation-card[data-slot="hidden"]{opacity:0;pointer-events:none;visibility:hidden;z-index:0}
.deskova-rotation-card[data-slot="hidden-left"]{--carousel-x:-720px;--carousel-z:-320px;--carousel-yaw:65deg;--carousel-scale:.47;opacity:0;pointer-events:none;z-index:0}
.deskova-rotation-card[data-slot="hidden-right"]{--carousel-x:720px;--carousel-z:-320px;--carousel-yaw:-65deg;--carousel-scale:.47;opacity:0;pointer-events:none;z-index:0}
.deskova-rotation-card[data-active=true]{filter:drop-shadow(0 18px 34px rgba(0,0,0,.28))}
.deskova-rotation-card[data-visible=true]:hover{filter:brightness(1.08)}
.deskova-rotation-card:focus-visible,.deskova-rotation-arrow:focus-visible,.deskova-rotation-close:focus-visible{outline:3px solid #5fd0c2;outline-offset:4px}
.deskova-rotation-controls{display:flex;gap:24px;align-items:center;justify-content:center;margin:6px auto 0}
.deskova-rotation-arrow{display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(165,197,202,.5);border-radius:50%;background:#112938;color:#eef7f9;cursor:pointer;font:400 33px/1 'DM Sans',sans-serif}
.deskova-rotation-arrow:hover{background:#17394a;border-color:#5fd0c2}
.deskova-rotation-caption{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:14px;color:#d7e5ea}
.deskova-rotation-caption strong{font-size:1rem;font-weight:600}
.deskova-rotation-caption span{font-size:.79rem;color:#9ab6c0;font-variant-numeric:tabular-nums}
.deskova-rotation-hint{font-size:.78rem;color:#9fb9c2;line-height:1.5;margin:10px 0 0}
/* The WebP assets include their own complete phone frame and safe-area treatment. */
/* Lightbox: show the transparent iPhone asset only, not a second card or frame. */
.deskova-rotation-dialog{
  box-sizing:border-box;
  padding:0!important;
  margin:auto;
  width:fit-content;
  height:fit-content;
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 24px);
  border:0!important;
  border-radius:0!important;
  outline:none;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  overflow:visible;
  color:#f1f6f7;
  text-align:center;
}
.deskova-rotation-dialog::backdrop{
  /* Dim the carousel beneath the phone; stop its teal glow bleeding through at the bottom. */
  background:linear-gradient(180deg,rgba(2,8,17,.92) 0%,rgba(2,8,17,.97) 58%,#020811 84%);
  -webkit-backdrop-filter:blur(20px);
  backdrop-filter:blur(20px);
}
.deskova-rotation-dialog img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:min(calc(100vw - 128px),520px)!important;
  max-height:calc(100dvh - 96px)!important;
  margin:0 auto;
  padding:0!important;
  object-fit:contain!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.35))!important;
}
.deskova-rotation-close{
  position:fixed;
  top:max(16px,env(safe-area-inset-top));
  right:max(16px,env(safe-area-inset-right));
  z-index:2;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#f1f8f9;
  text-shadow:0 1px 8px rgba(0,0,0,.75);
  font:400 30px/1 'DM Sans',sans-serif;
  cursor:pointer;
}
.deskova-rotation-close:hover{background:rgba(255,255,255,.1)}
/* Bare controls float outside the transparent iPhone, with no lightbox panel. */
.deskova-zoom-arrow{
  position:absolute;
  top:50%;
  display:grid;
  place-items:center;
  width:44px;
  height:52px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  box-shadow:none;
  color:#f3f9fa;
  font:400 43px/1 'DM Sans',sans-serif;
  text-shadow:0 2px 8px rgba(0,0,0,.55);
  cursor:pointer;
  transform:translateY(-50%);
  touch-action:manipulation;
}
.deskova-zoom-prev{left:-58px}
.deskova-zoom-next{right:-58px}
.deskova-zoom-arrow:hover{color:#65e2d3;background:rgba(255,255,255,.07)}
.deskova-zoom-arrow:focus-visible{outline:3px solid #65e2d3;outline-offset:3px}
@media(max-width:520px){
  .deskova-zoom-arrow{width:40px;height:48px;font-size:37px}
  .deskova-zoom-prev{left:-48px}
  .deskova-zoom-next{right:-48px}
}
@media(max-width:1050px){
  body.deskova-ring-preview-active #see-it-work .product-gallery{grid-template-columns:1fr!important;gap:28px!important}
  .deskova-rotation-heading{min-height:34px}
  .deskova-rotation-stage{height:505px}
  .deskova-rotation-card{width:202px;height:414px}
  .deskova-rotation-card[data-slot="-1"]{--carousel-x:-24vw}
  .deskova-rotation-card[data-slot="1"]{--carousel-x:24vw}
  .deskova-rotation-card[data-slot="-2"]{--carousel-x:-42vw}
  .deskova-rotation-card[data-slot="2"]{--carousel-x:42vw}
}
@media(max-width:520px){
  .deskova-rotation-stage{height:396px}
  .deskova-rotation-card{width:165px;height:338px}
  .deskova-rotation-card[data-slot="-1"]{--carousel-x:-32vw;--carousel-yaw:25deg;--carousel-scale:.8}
  .deskova-rotation-card[data-slot="1"]{--carousel-x:32vw;--carousel-yaw:-25deg;--carousel-scale:.8}
  .deskova-rotation-card[data-slot="-2"]{--carousel-x:-56vw;--carousel-yaw:40deg;--carousel-scale:.66}
  .deskova-rotation-card[data-slot="2"]{--carousel-x:56vw;--carousel-yaw:-40deg;--carousel-scale:.66}
  .deskova-rotation-hint{padding:0 10px}
}
@media(prefers-reduced-motion:reduce){.deskova-rotation-card{transition:none!important;will-change:auto}}
