/* One visual stage for photography and the real 3D assembly. */
.xpert-carousel{position:relative;margin-block:34px 0;isolation:isolate}
.xpert-gallery-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px;padding-inline:2px}
.xpert-slide-kind{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.8;color:var(--muted)}
.xpert-slide-kind::before{content:'';width:4px;height:4px;border-radius:50%;background:var(--red)}
.xpert-slide-count{font:12px Arial,sans-serif;letter-spacing:1.8px;color:var(--muted);white-space:nowrap}
.xpert-gallery-card{overflow:hidden;border:1px solid color-mix(in srgb,var(--rule) 75%,transparent);border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--ink) 2%,var(--paper)),color-mix(in srgb,var(--ink) 5%,var(--paper)))}
.xpert-carousel-stage{position:relative;isolation:isolate;aspect-ratio:2.15;min-height:300px;max-height:700px;outline-offset:-5px;overflow:hidden}
.xpert-carousel-stage:focus-visible{outline:1px solid var(--red);border-radius:20px}
.xpert-carousel-visual{position:absolute;inset:0;will-change:transform,opacity}
.xpert-carousel[data-transitioning] .xpert-carousel-visual{pointer-events:none}
.xpert-carousel[data-media=photo] .xpert-carousel-stage{touch-action:pan-y;cursor:grab}
.xpert-carousel[data-media=photo] .xpert-carousel-stage:active{cursor:grabbing}
.xpert-carousel .xpert-shooter-image{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;z-index:1;user-select:none;-webkit-user-drag:none}
.xpert-carousel[data-model-active=true][data-model-ready=true] .xpert-shooter-image{opacity:0;pointer-events:none}
.xpert-carousel .xpert-model-shadow{display:none;position:absolute;left:26%;bottom:12%;width:48%;height:10%;background:radial-gradient(ellipse,color-mix(in srgb,var(--ink) 8%,transparent),transparent 69%);z-index:0;pointer-events:none}
.xpert-carousel[data-model-active=true] .xpert-model-shadow{display:block}
/* The viewport is where the model is framed; the canvas reaches past it over the whole stage (the negated insets), laid out
   by CSS alone, so a resize never leaves an edge or a blank strip, even before the viewer redraws. */
.xpert-carousel .xpert-module-viewport{--vp-top:18px;--vp-side:25px;--vp-bottom:64px;position:absolute;inset:var(--vp-top) var(--vp-side) var(--vp-bottom);z-index:2;pointer-events:none}
.xpert-carousel .xpert-module-canvas{display:block;position:absolute;top:calc(var(--vp-top)*-1);left:calc(var(--vp-side)*-1);width:calc(100% + var(--vp-side)*2);height:calc(100% + var(--vp-top) + var(--vp-bottom));touch-action:pan-y;cursor:grab;pointer-events:auto;outline-offset:-5px}
.xpert-carousel .xpert-module-canvas:active{cursor:grabbing}
.xpert-carousel .xpert-module-canvas:focus-visible{outline:1px solid var(--red);border-radius:12px}
.xpert-carousel .xpert-model-tools{position:absolute;z-index:3;inset-inline-end:23px;bottom:19px;display:flex;align-items:center;gap:2px;padding:4px;border:1px solid var(--rule);border-radius:30px;background:color-mix(in srgb,var(--paper) 92%,transparent)}
.xpert-carousel .xpert-model-tools button{display:grid;place-items:center;width:35px;height:33px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink);font:21px Arial,sans-serif;transition:background .2s,color .2s}
.xpert-carousel .xpert-model-tools button:hover:not(:disabled){color:var(--red);background:color-mix(in srgb,var(--ink) 5%,transparent)}
.xpert-carousel .xpert-model-tools button:disabled{opacity:.35}
.xpert-carousel .xpert-model-tools button:focus-visible{outline-offset:0}
.xpert-carousel .xpert-model-tools button[aria-pressed=true]{color:var(--red)}
.xpert-carousel .xpert-model-tools svg{width:17px;height:17px}
/* The tripod's controls sit at the start of the same pill, set apart by a hairline. */
.xpert-carousel .xpert-model-rig{display:flex;align-items:center;gap:2px;margin-inline-end:3px;padding-inline-end:5px;border-inline-end:1px solid var(--rule)}
.xpert-carousel .xpert-model-rig[hidden]{display:none}
.xpert-carousel .xpert-model-rig :is(.xpert-rig-tripod,.xpert-rig-arm,.xpert-rig-parts),.xpert-carousel .xpert-model-rig [hidden]{display:none}
.xpert-carousel .xpert-model-rig[data-rig="tripod"] .xpert-rig-tripod,.xpert-carousel .xpert-model-rig[data-rig="arm"] .xpert-rig-arm,.xpert-carousel .xpert-model-rig[data-rig="parts"] .xpert-rig-parts{display:block}
/* With only the open / close button (the taken-apart laser), the pill needs no divider after it. */
.xpert-carousel .xpert-model-rig[data-rig="parts"]{margin-inline-end:0;padding-inline-end:0;border-inline-end:0}
/* The laser slide's three clamps (module-viewer.js, MODELS[].clamps): one choice, the chosen one tinted red. */
.xpert-carousel .xpert-model-clamps{display:flex;align-items:center;gap:2px;margin-inline-end:3px;padding-inline-end:5px;border-inline-end:1px solid var(--rule)}
.xpert-carousel .xpert-model-clamps[hidden]{display:none}
.xpert-carousel .xpert-model-clamps button[aria-pressed=true]{background:color-mix(in srgb,var(--red) 11%,transparent)}
.xpert-carousel .xpert-model-clamps svg{width:19px;height:19px}
.xpert-carousel .xpert-model-hint{position:absolute;inset-inline-start:25px;bottom:29px;z-index:3;max-width:calc(100% - 210px);color:var(--muted);font-size:12px;line-height:1.8;pointer-events:none}
.xpert-carousel .xpert-model-retry{position:absolute;inset-inline-start:25px;bottom:58px;z-index:3;padding:3px 0;background:transparent;color:var(--red);border:0;border-bottom:1px solid currentColor;font-size:12px}
.xpert-carousel-caption{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:26px 2px 21px;min-height:112px}
.xpert-carousel-copy{min-width:0;min-height:75px}
.xpert-carousel-title{font-size:clamp(20px,2vw,28px);font-weight:520;line-height:1.65;letter-spacing:-.6px;margin:0 0 5px}
.xpert-caption-period{color:var(--red);margin-inline-start:2px}
.xpert-carousel-description{font-size:12px;line-height:2;color:var(--muted);margin:0}
.xpert-carousel-nav{display:flex;gap:9px;flex:none}
.xpert-carousel-nav button{display:grid;place-items:center;width:47px;height:47px;border:1px solid var(--rule);border-radius:50%;background:transparent;color:var(--ink);transition:background .2s,color .2s,border-color .2s,transform .25s}
.xpert-carousel-nav button:hover{background:var(--ink);border-color:var(--ink);color:var(--paper);transform:translateY(-2px)}
.xpert-carousel-nav svg{width:21px;height:21px}
.xpert-carousel-nav [data-shooting-previous] svg{transform:rotate(180deg)}
html[dir=rtl] .xpert-carousel-nav [data-shooting-previous] svg{transform:none}
html[dir=rtl] .xpert-carousel-nav [data-shooting-next] svg{transform:rotate(180deg)}
.xpert-carousel-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:13px;margin-top:1px}
.xpert-carousel-rail button{position:relative;min-width:0;min-height:45px;text-align:start;padding:0 0 8px;border:0;background:transparent;color:var(--muted);cursor:pointer}
.xpert-rail-line{position:relative;display:block;overflow:hidden;height:2px;border-radius:2px;background:var(--rule);margin-bottom:12px;transition:background .3s}
.xpert-rail-line::after{content:'';position:absolute;inset:0;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .4s cubic-bezier(.22,1,.36,1)}
html[dir=rtl] .xpert-rail-line::after{transform-origin:right}
.xpert-carousel-rail button[aria-pressed=true] .xpert-rail-line::after{transform:scaleX(1)}
.xpert-carousel-rail button[aria-pressed=true]{color:var(--ink)}
.xpert-carousel-rail button:hover .xpert-rail-line{background:var(--muted)}
.xpert-rail-label{display:block;font-size:12px;line-height:1.8;white-space:nowrap}
.xpert-carousel-rail button[data-pending] .xpert-rail-line::after{transform:scaleX(1);opacity:.5;animation:xpert-slide-loading 1s ease-in-out infinite alternate}
/* A 3D slide waiting for its model: its bar fills as the file arrives (--load, 0..1, set by xpert-carousel.js). */
.xpert-carousel-rail button[data-pending][data-progress] .xpert-rail-line::after{transform:scaleX(var(--load,.04));opacity:.75;animation:none;transition:transform .25s ease-out}
.xpert-carousel-rail button:focus-visible{outline-offset:4px;border-radius:3px}
.xpert-shooter-error{font-size:12px;line-height:1.8;color:var(--red);margin:12px 0 0}
.xpert-carousel-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@keyframes xpert-slide-loading{to{opacity:.15}}
@media(max-width:900px){.xpert-carousel-stage{aspect-ratio:1.85;min-height:290px}.xpert-carousel-rail{gap:10px}.xpert-rail-label{font-size:12px}}
@media(max-width:700px){
  .xpert-carousel{margin-block:27px 0}
  .xpert-gallery-topline{margin-bottom:12px}
  .xpert-slide-kind{font-size:12px;gap:7px}
  .xpert-slide-count{font-size:12px;letter-spacing:1.4px}
  .xpert-gallery-card{border-radius:15px}
  .xpert-carousel-stage{aspect-ratio:1.28;min-height:250px;max-height:430px}
  .xpert-carousel[data-media=photo] .xpert-shooter-image{object-fit:cover;object-position:var(--photo-focus,center)}
  .xpert-carousel .xpert-module-viewport{--vp-top:12px;--vp-side:6px;--vp-bottom:54px}
  .xpert-carousel .xpert-model-tools{inset-inline-end:12px;bottom:12px;padding:3px}
  .xpert-carousel .xpert-model-tools button{width:30px;height:29px;font-size:19px}
  /* The tripod is tall: on a phone it stands below the tool pill, so the pill never covers its camera. */
  .xpert-carousel[data-view=tripod] .xpert-module-viewport{--vp-top:66px;--vp-side:6px;--vp-bottom:40px}
  /* the laser and its clamp sit between the tool pill (with the clamp buttons) and the hint over the arrows */
  .xpert-carousel[data-view=model] .xpert-module-viewport{--vp-top:66px;--vp-side:6px;--vp-bottom:74px}
  .xpert-carousel .xpert-model-hint{inset-inline-start:15px;bottom:20px;max-width:calc(100% - 160px);font-size:12px}
  .xpert-carousel .xpert-model-retry{inset-inline-start:15px;bottom:47px;font-size:12px}
  .xpert-carousel-caption{min-height:102px;padding-block:20px 16px;gap:16px;align-items:flex-start}
  .xpert-carousel-copy{min-height:100px}
  .xpert-carousel-title{font-size:19px;line-height:1.8;letter-spacing:-.4px;margin-bottom:3px}
  .xpert-carousel-description{font-size:12px;line-height:1.9;max-width:260px}
  .xpert-carousel-nav{gap:6px;padding-top:5px}
  .xpert-carousel-nav button{width:35px;height:35px}
  .xpert-carousel-nav svg{width:17px;height:17px}
  .xpert-carousel-rail{gap:8px;margin-top:1px}
  .xpert-carousel-rail button{min-height:32px;padding:6px 0 10px}
  .xpert-rail-line{height:3px;margin-bottom:0}
  .xpert-rail-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.xpert-carousel-nav button,.xpert-rail-line,.xpert-rail-line::after{transition:none}.xpert-carousel-rail button[data-pending] .xpert-rail-line::after{animation:none}.xpert-carousel-nav button:hover{transform:none}}
/* Design 2: one full stage. Story bars run along its top, the caption and controls sit on the image,
   and hotspots on the photos open the slide that shows that part. */
.xpert-carousel .xpert-gallery-card{border-radius:16px}
.xpert-carousel-stage{aspect-ratio:2.2}
.xpert-carousel-rail{position:absolute;z-index:5;top:16px;inset-inline:20px;margin:0;gap:6px;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.xpert-carousel-rail button{min-height:22px;padding:8px 0}
.xpert-rail-line{height:3px;margin:0;background:color-mix(in srgb,#171818 16%,transparent)}
.xpert-carousel-rail button:hover .xpert-rail-line{background:color-mix(in srgb,#171818 32%,transparent)}
.xpert-carousel-rail button[data-past] .xpert-rail-line::after{transform:scaleX(1);background:#171818}
.xpert-carousel:is([data-autoplay=running],[data-autoplay=waiting],[data-autoplay=paused],[data-autoplay=stopped]) .xpert-carousel-rail button[aria-pressed=true] .xpert-rail-line::after{transform:scaleX(0);transition:none;animation:xpert-bar-fill 6.5s linear forwards}
.xpert-carousel:is([data-autoplay=waiting],[data-autoplay=paused],[data-autoplay=stopped]) .xpert-carousel-rail button[aria-pressed=true] .xpert-rail-line::after{animation-play-state:paused}
@keyframes xpert-bar-fill{to{transform:scaleX(1)}}
/* Which slide is on: the current bar is thicker, on a light red track, while it fills red; the slides already seen are a
   mid grey, the ones to come stay faint. While autoplay holds (the carousel in use) or is stopped, the current bar
   breathes, so a still bar reads as waiting rather than stuck. */
.xpert-carousel-rail button[data-past] .xpert-rail-line::after{background:color-mix(in srgb,#171818 52%,transparent)}
.xpert-carousel-rail button[aria-pressed=true] .xpert-rail-line{height:5px;margin-block:-1px;border-radius:3px;background:color-mix(in srgb,#d72d26 26%,transparent)}
.xpert-carousel:is([data-autoplay=paused],[data-autoplay=stopped]) .xpert-carousel-rail button[aria-pressed=true] .xpert-rail-line{animation:xpert-bar-wait 1.2s ease-in-out infinite alternate}
@keyframes xpert-bar-wait{to{opacity:.5}}
/* Pause / play for the autoplay, between the arrows (styled like them); on a phone it takes the other end of their row.
   While the carousel is in use or stopped it shows play, as it is paused then. */
.xpert-carousel .xpert-autoplay[hidden]{display:none}
.xpert-carousel .xpert-autoplay svg{width:15px;height:15px}
.xpert-carousel .xpert-autoplay-play,.xpert-carousel:is([data-autoplay=paused],[data-autoplay=stopped]) .xpert-autoplay-pause{display:none}
.xpert-carousel:is([data-autoplay=paused],[data-autoplay=stopped]) .xpert-autoplay-play{display:block}
.xpert-carousel:is([data-autoplay=paused],[data-autoplay=stopped]) .xpert-autoplay:not(:hover){color:var(--red)}
@media(prefers-reduced-motion:reduce){.xpert-carousel .xpert-carousel-rail button .xpert-rail-line{animation:none!important}}
.xpert-rail-label{position:absolute;top:calc(100% + 4px);inset-inline-start:0;padding:2px 10px;border-radius:999px;background:color-mix(in srgb,#fff 86%,transparent);backdrop-filter:blur(8px);color:#171818;font-size:12px;opacity:0;translate:0 -4px;pointer-events:none;transition:opacity .2s,translate .25s cubic-bezier(.22,1,.36,1)}
.xpert-carousel-rail button:is(:hover,:focus-visible) .xpert-rail-label{opacity:1;translate:none}
.xpert-carousel-caption{position:absolute;z-index:5;inset-inline:20px;bottom:18px;min-height:0;padding:0;align-items:flex-end;gap:16px;pointer-events:none}
.xpert-carousel-caption>*{pointer-events:auto}
.xpert-carousel-copy{min-height:0;max-width:min(470px,58%);padding:12px 18px 13px;border-radius:12px;background:color-mix(in srgb,#fff 82%,transparent);backdrop-filter:blur(10px);color:#171818}
.xpert-carousel-title{font-size:clamp(18px,1.6vw,23px);line-height:1.6;margin:0 0 2px;color:#171818}
.xpert-carousel-description{color:#55574f}
.xpert-carousel-meta{display:flex;align-items:center;gap:14px;margin-inline-start:auto;padding:8px 14px;border-radius:999px;background:color-mix(in srgb,#fff 82%,transparent);backdrop-filter:blur(10px)}
.xpert-carousel-meta .xpert-slide-kind{color:#55574f}.xpert-carousel-meta .xpert-slide-count{color:#171818}
.xpert-carousel-nav button{width:42px;height:42px;background:color-mix(in srgb,#fff 82%,transparent);backdrop-filter:blur(10px);border-color:transparent;color:#171818}
.xpert-carousel-nav button:hover{background:#171818;border-color:#171818;color:#fff}
@media(min-width:701px){
  .xpert-carousel .xpert-model-tools{top:50px;bottom:auto}
  .xpert-carousel .xpert-model-hint{top:56px;bottom:auto}
  .xpert-carousel .xpert-model-retry{top:84px;bottom:auto}
  .xpert-carousel .xpert-module-viewport{--vp-top:46px;--vp-side:25px;--vp-bottom:96px}
}
.xpert-spots{position:absolute;inset:0;z-index:3;pointer-events:none}
.xpert-spot{position:absolute;display:none;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 4px color-mix(in srgb,#d72d26 22%,transparent),0 3px 10px #00000029;translate:-50% -50%;cursor:pointer;pointer-events:auto}
.xpert-spot::after{content:'';width:7px;height:7px;border-radius:50%;background:#d72d26;transition:scale .25s cubic-bezier(.22,1,.36,1)}
.xpert-spot::before{content:'';position:absolute;inset:-4px;border-radius:50%;border:1px solid #d72d26;animation:xpert-spot-ping 2.2s cubic-bezier(.22,1,.36,1) infinite}
.xpert-spot:hover::after,.xpert-spot:focus-visible::after{scale:1.3}
.xpert-carousel[data-view=rifle]:not([data-transitioning]) .xpert-spot[data-spot-for=rifle]:not([data-outside]),
.xpert-carousel[data-view=pistol]:not([data-transitioning]) .xpert-spot[data-spot-for=pistol]:not([data-outside]),
.xpert-carousel[data-view=module]:not([data-transitioning]) .xpert-spot[data-spot-for=module]:not([data-outside]){display:grid;animation:xpert-spot-in .5s cubic-bezier(.3,1.5,.5,1) .15s both}
.xpert-spot-tip{position:absolute;top:50%;display:grid;gap:1px;min-width:max-content;padding:9px 14px 10px;border-radius:10px;background:#171818;color:#fff;text-align:start;font-size:13px;line-height:1.6;opacity:0;translate:0 -50%;scale:.96;pointer-events:none;transition:opacity .25s,scale .3s cubic-bezier(.22,1,.36,1)}
.xpert-spot[data-side=right] .xpert-spot-tip{left:calc(100% + 12px)}
.xpert-spot[data-side=left] .xpert-spot-tip{right:calc(100% + 12px)}
.xpert-spot-tip b{font-weight:600}
.xpert-spot-tip small{font-size:11.5px;color:#c4c9c3}
.xpert-spot-go{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:11.5px;color:#ff8a82}
.xpert-spot-go svg{width:14px;height:14px}
html[dir=rtl] .xpert-spot-go svg{transform:rotate(180deg)}
.xpert-spot:is(:hover,:focus-visible) .xpert-spot-tip{opacity:1;scale:1}
.xpert-spot:focus-visible{outline:2px solid #d72d26;outline-offset:6px}
@keyframes xpert-spot-ping{from{opacity:.85;scale:.8}to{opacity:0;scale:1.9}}
@keyframes xpert-spot-in{from{opacity:0;scale:.3}to{opacity:1;scale:1}}
@media(max-width:700px){
  .xpert-carousel-stage{aspect-ratio:1.2}
  .xpert-carousel-rail{top:12px;inset-inline:14px;gap:5px}
  .xpert-rail-label{display:none}
  .xpert-carousel-caption{position:static;padding:18px 2px 0;align-items:flex-start;flex-wrap:wrap;gap:12px}
  .xpert-carousel-copy{max-width:none;flex:1 1 100%;padding:0;background:none;backdrop-filter:none;color:var(--ink)}
  .xpert-carousel-title{color:var(--ink)}.xpert-carousel-description{color:var(--muted)}
  .xpert-carousel-meta{margin-inline-start:0;padding:0;background:none;backdrop-filter:none}
  .xpert-carousel-meta .xpert-slide-kind{color:var(--muted)}.xpert-carousel-meta .xpert-slide-count{color:var(--muted)}
  .xpert-carousel-nav{margin-inline-start:auto}
  .xpert-carousel-nav button{border-color:var(--rule);background:transparent;color:var(--ink);backdrop-filter:none}
  .xpert-spot{width:16px;height:16px}.xpert-spot::after{width:6px;height:6px}
  .xpert-spot-tip{display:none}
}
@media(prefers-reduced-motion:reduce){.xpert-spot::before{animation:none}.xpert-carousel .xpert-spot{animation:none!important}.xpert-spot-tip,.xpert-rail-label{transition:none}}
/* Round two: bold display titles, no kind/count chip, arrows on the image at every width,
   a still copy for the outgoing photo, and pill buttons without the hint lines. */
.product-intro h3,.xpert-carousel-title{font-family:'Yekan Bakh',Vazirmatn,Tahoma,sans-serif;font-weight:800;letter-spacing:0}
.xpert-carousel-meta{display:none}
.xpert-gallery-card{position:relative}
.xpert-carousel-nav{position:absolute;z-index:5;bottom:18px;inset-inline-end:20px}
.xpert-ghost{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;pointer-events:none;user-select:none}
.xpert-rail-line::after{transition:transform .45s cubic-bezier(.22,1,.36,1),background .35s}
.product-section .product-actions{display:flex;flex-wrap:wrap;gap:10px;flex:none;width:auto}
.product-section .product-action{min-height:0;gap:14px;padding:6px;padding-inline-start:22px;border:1px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);box-shadow:none;transition:background .3s,border-color .3s,color .3s,transform .3s}
.product-section .product-action::before{display:none}
.product-section .product-action-label{font-size:14px;font-weight:600;line-height:1.7}
.product-section .product-action-icon{display:grid;width:38px;height:38px;border:0;background:color-mix(in srgb,var(--ink) 7%,transparent);color:inherit;transition:background .3s}
.product-section .product-action-icon svg{width:17px;height:17px}
.product-section .product-action-buy{background:var(--ink);color:var(--paper)}
.product-section .product-action-buy .product-action-icon{background:color-mix(in srgb,var(--paper) 16%,transparent);color:inherit}
.product-section .product-action-learn:hover{background:var(--ink);border-color:var(--ink);color:var(--paper);transform:translateY(-2px)}
.product-section .product-action-learn:hover .product-action-icon{background:color-mix(in srgb,var(--paper) 16%,transparent);color:inherit}
.product-section .product-action-buy:hover{background:var(--red);border-color:var(--red);color:#fff;box-shadow:none;transform:translateY(-2px)}
@media(max-width:700px){
  .product-section .product-actions{width:100%}
  .product-section .product-action{flex:1 1 0;min-width:0;justify-content:space-between;gap:8px;padding:5px;padding-inline-start:14px}
  .product-section .product-action-label{font-size:12.5px;white-space:nowrap}
  .product-section .product-action-icon{width:32px;height:32px}
  .xpert-carousel-nav{bottom:12px;inset-inline:12px;padding:0;pointer-events:none}
  .xpert-carousel-nav button{pointer-events:auto}
  .xpert-carousel .xpert-autoplay{order:-1;margin-inline-end:auto}
  /* the model hint sits in one line just above that row (the pause button takes its old place) */
  .xpert-carousel .xpert-model-hint{inset-inline-start:15px;bottom:56px;max-width:calc(100% - 30px);font-size:11px;line-height:1.6}
  .xpert-carousel-nav button{width:38px;height:38px;border-color:transparent;background:color-mix(in srgb,#fff 82%,transparent);backdrop-filter:blur(10px);color:#171818}
  .xpert-carousel .xpert-model-tools{top:34px;bottom:auto}
}
@media(prefers-reduced-motion:reduce){.product-section .product-action:hover{transform:none}}
/* Round three. */
.product-title-mark{color:var(--red)}

/* Feature cards: an icon tile in place of the orbit, rounder corners and a frosted hover. */
.product-cards .product-card{border-radius:18px;border-color:color-mix(in srgb,var(--ink) 9%,transparent);background:linear-gradient(150deg,color-mix(in srgb,var(--paper) 96%,#fff),color-mix(in srgb,var(--paper) 94%,var(--ink)));transition:transform .5s cubic-bezier(.22,1,.36,1),border-color .35s,box-shadow .45s,background .45s}
.product-cards .product-card::before{background:linear-gradient(105deg,transparent 35%,#ffffff8c 50%,transparent 65%);transform:translateX(120%);opacity:1;transition:transform .9s cubic-bezier(.2,.75,.25,1)}
.product-cards .product-card:hover{border-color:color-mix(in srgb,var(--red) 30%,var(--rule));background:color-mix(in srgb,var(--paper) 72%,transparent);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);box-shadow:0 18px 40px -22px color-mix(in srgb,var(--ink) 35%,transparent),inset 0 1px 0 color-mix(in srgb,#fff 60%,transparent)}
.product-cards .product-card:hover::before{transform:translateX(-120%)}
.card-icon{position:relative;z-index:1;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;border:1px solid color-mix(in srgb,var(--red) 22%,var(--rule));background:color-mix(in srgb,var(--red) 6%,var(--paper));color:var(--red);transition:background .35s,color .35s,border-color .35s,transform .45s cubic-bezier(.22,1,.36,1)}
.card-icon svg{width:22px;height:22px}
.product-card:hover .card-icon{background:var(--red);border-color:var(--red);color:#fff}
html[data-theme=dark] .product-cards .product-card{background:linear-gradient(150deg,#131a16,#0c100d);border-color:#26302a}
html[data-theme=dark] .product-cards .product-card:hover{background:color-mix(in srgb,#131a16 70%,transparent);border-color:color-mix(in srgb,var(--red) 40%,#26302a)}
@media(max-width:700px){.product-cards .product-card h3{margin-top:30px}.card-icon{width:40px;height:40px;border-radius:12px}.card-icon svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.card-icon,.product-cards .product-card,.product-cards .product-card::before{transition:none}}
.product-cards .product-card h3{margin-top:40px}
/* Learn / buy (design 2): a pill with a round icon at its end; on hover the circle grows behind the
   label until it fills the pill. Buying uses the red circle. */
.product-section .product-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.product-section .product-action{position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:14px;min-height:0;padding:6px;padding-inline-start:22px;border:1px solid var(--rule);border-radius:999px;background:transparent;color:var(--ink);box-shadow:none;overflow:visible;transform:none;transition:color .4s,border-color .4s}
.product-section .product-action::before{content:'';display:block;position:absolute;inset-block:6px;inset-inline-start:auto;inset-inline-end:6px;width:40px;border-radius:999px;z-index:-1;background:color-mix(in srgb,var(--ink) 7%,transparent);transform:none;transition:width .5s cubic-bezier(.2,.75,.25,1),background .4s}
.product-section .product-action-label{font-size:14px;font-weight:600;line-height:1.7;white-space:nowrap}
.product-section .product-action-icon{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:none;color:inherit}
.product-section .product-action-icon svg{width:18px;height:18px}
.product-section .product-action-buy{border-color:transparent;background:transparent;color:var(--ink)}
.product-section .product-action-buy::before{background:var(--red)}
.product-section .product-action-buy .product-action-icon{color:#fff}
.product-section .product-action:hover{transform:none;box-shadow:none;background:transparent}
.product-section .product-action:hover::before{width:calc(100% - 12px)}
.product-section .product-action-learn:hover{border-color:color-mix(in srgb,var(--ink) 30%,var(--rule));color:var(--ink)}
.product-section .product-action-learn:hover .product-action-icon{background:none;color:inherit}
.product-section .product-action-buy:hover{color:#fff}
@media(max-width:700px){
  .product-section .product-actions{width:100%;gap:10px}
  .product-section .product-action{flex:1 1 0;min-width:0;justify-content:space-between;gap:6px;padding:5px;padding-inline-start:12px}
  .product-section .product-action::before{inset-block:5px;inset-inline-end:5px;width:32px}
  .product-section .product-action:hover::before{width:calc(100% - 10px)}
  .product-section .product-action-label{font-size:12px}
  .product-section .product-action-icon{width:32px;height:32px}
  .product-section .product-action-icon svg{width:16px;height:16px}
  .product-section .product-action-buy{border-color:var(--rule)}
}
@media(prefers-reduced-motion:reduce){.product-section .product-action::before{transition:none}}
/* Dark theme for the stage overlays: the glass caption, the arrows and the story bars follow the theme. */
:is(html,body)[data-theme=dark] .xpert-carousel-copy{background:color-mix(in srgb,#0b0e0c 74%,transparent);color:#edf2ec;box-shadow:inset 0 0 0 1px #ffffff12}
:is(html,body)[data-theme=dark] .xpert-carousel-title{color:#edf2ec}
:is(html,body)[data-theme=dark] .xpert-carousel-description{color:#9aa39c}
:is(html,body)[data-theme=dark] .xpert-carousel-nav button{background:color-mix(in srgb,#0b0e0c 74%,transparent);color:#edf2ec;border-color:#ffffff14}
:is(html,body)[data-theme=dark] .xpert-carousel-nav button:hover{background:#edf2ec;border-color:#edf2ec;color:#0b0e0c}
:is(html,body)[data-theme=dark] .xpert-rail-line{background:color-mix(in srgb,#edf2ec 18%,transparent)}
:is(html,body)[data-theme=dark] .xpert-carousel-rail button:hover .xpert-rail-line{background:color-mix(in srgb,#edf2ec 34%,transparent)}
:is(html,body)[data-theme=dark] .xpert-carousel-rail button[data-past] .xpert-rail-line::after{background:color-mix(in srgb,#edf2ec 55%,transparent)}
:is(html,body)[data-theme=dark] .xpert-carousel-rail button[aria-pressed=true] .xpert-rail-line{background:color-mix(in srgb,#ff4a40 34%,transparent)}
:is(html,body)[data-theme=dark] .xpert-carousel:is([data-autoplay=paused],[data-autoplay=stopped]) .xpert-autoplay:not(:hover){color:#ff6b62}
:is(html,body)[data-theme=dark] .xpert-rail-label{background:color-mix(in srgb,#0b0e0c 80%,transparent);color:#edf2ec}
@media(max-width:700px){
  :is(html,body)[data-theme=dark] .xpert-carousel-copy{background:none;box-shadow:none}
  :is(html,body)[data-theme=dark] .xpert-carousel-nav button{background:color-mix(in srgb,#0b0e0c 74%,transparent);color:#edf2ec}
}
/* Dark theme cards: a faint shine and a darker lift, no white glow. */
:is(html,body)[data-theme=dark] .product-cards .product-card::before{background:linear-gradient(105deg,transparent 38%,#ffffff17 50%,transparent 62%)}
:is(html,body)[data-theme=dark] .product-cards .product-card:hover{background:linear-gradient(150deg,#161e19,#0e1210);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 18px 40px -24px #000}
/* The logo sits in line with the intro copy; the two actions follow the slider. */
.product-intro>#product-title{margin:0;flex:none;order:2;line-height:0}
.product-intro>#product-title .xpertaim-brand{width:clamp(240px,26vw,440px)}
@media(max-width:1050px){.product-section .product-intro{flex-direction:row;align-items:center;gap:32px}}
.product-actions-row{display:flex;justify-content:flex-end;padding-top:22px}
@media(max-width:700px){
  .product-section .product-intro{flex-direction:column;align-items:flex-start;gap:18px}
  .product-intro>#product-title{order:0}
  .product-intro>#product-title .xpertaim-brand{width:min(280px,64vw)}
  .product-actions-row{padding-top:16px}
}
/* Feature cards show: each card tips up into place in turn, then its icon pops and its text rises. */
.product-cards[data-show=pending]>.product-card{opacity:0}
.product-cards[data-show=in]>.product-card{animation:pc-in .95s cubic-bezier(.22,1,.36,1) calc(var(--i,0)*140ms) both;transform-origin:50% 100%}
.product-cards[data-show=in]>.product-card .card-icon{animation:pc-icon .7s cubic-bezier(.34,1.56,.64,1) calc(var(--i,0)*140ms + .35s) both}
.product-cards[data-show=in]>.product-card :is(h3,p,.card-orbit){animation:pc-text .7s cubic-bezier(.22,1,.36,1) calc(var(--i,0)*140ms + .45s) both}
@keyframes pc-in{from{opacity:0;transform:translateY(56px) rotateX(-14deg) scale(.96)}to{opacity:1;transform:none}}
@keyframes pc-icon{from{opacity:0;transform:scale(.4) rotate(-25deg)}to{opacity:1;transform:none}}
@keyframes pc-text{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* Studio: on the 3D slides the stage becomes a photo studio. A soft sweep backdrop with a pool of light sits behind the transparent
   canvas, which paints the floor shadow, reflection and glow; a vignette frames it. */
.xpert-carousel .xpert-carousel-stage::before,.xpert-carousel .xpert-carousel-stage::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .7s cubic-bezier(.22,1,.36,1)}
.xpert-carousel .xpert-carousel-stage::before{z-index:0;background:radial-gradient(ellipse 46% 52% at 50% 46%,#fff 0%,rgba(255,255,255,0) 100%),radial-gradient(ellipse 85% 80% at 50% 44%,rgba(255,255,255,0) 40%,rgba(120,124,132,.2) 100%),linear-gradient(180deg,#e9e9e6 0%,#efeeeb 46%,#e2e2df 100%)}
.xpert-carousel .xpert-carousel-stage::after{z-index:2;background:radial-gradient(ellipse 78% 72% at 50% 48%,transparent 55%,rgba(20,22,26,.1) 100%)}
.xpert-carousel[data-model-active=true] .xpert-carousel-stage::before,.xpert-carousel[data-model-active=true] .xpert-carousel-stage::after{opacity:1}
.xpert-carousel[data-model-active=true][data-model-ready=true] .xpert-model-shadow{display:none}
:is(html,body)[data-theme=dark] .xpert-carousel .xpert-carousel-stage::before{background:radial-gradient(ellipse 44% 50% at 50% 46%,rgba(120,128,142,.5) 0%,rgba(120,128,142,0) 100%),radial-gradient(ellipse 85% 80% at 50% 44%,rgba(0,0,0,0) 40%,rgba(0,0,0,.45) 100%),linear-gradient(180deg,#17191d 0%,#1e2126 48%,#121316 100%)}
:is(html,body)[data-theme=dark] .xpert-carousel .xpert-carousel-stage::after{background:radial-gradient(ellipse 78% 72% at 50% 48%,transparent 52%,rgba(0,0,0,.34) 100%)}
@media(prefers-reduced-motion:reduce){.xpert-carousel .xpert-carousel-stage::before,.xpert-carousel .xpert-carousel-stage::after{transition:none}}

/* Loading ring over the stage while a 3D model downloads: a red arc that grows with the file (--model-load, set by
   module-viewer.js) and turns. It appears after a short delay, so a model that is already cached never flashes it. */
.xpert-carousel .xpert-model-loader{position:absolute;inset:0;z-index:3;display:grid;place-items:center;pointer-events:none;opacity:0;transition:opacity .2s ease}
.xpert-carousel[data-model-loading=true] .xpert-model-loader{opacity:1;transition-delay:.15s}
/* A soft disc under the ring, so it reads over the photo of the model as well as over the empty stage. */
.xpert-carousel .xpert-model-loader::before{content:"";grid-area:1/1;width:84px;height:84px;border-radius:50%;background:color-mix(in srgb,var(--paper) 84%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 8px 28px color-mix(in srgb,var(--ink) 14%,transparent)}
.xpert-carousel .xpert-model-loader svg{grid-area:1/1;width:52px;height:52px;overflow:visible;animation:xpert-loader-turn 1s linear infinite}
.xpert-carousel .xpert-model-loader circle{fill:none;stroke-width:2.4;transform-origin:center;transform:rotate(-90deg)}
.xpert-carousel .xpert-loader-track{stroke:var(--ink);opacity:.12}
.xpert-carousel .xpert-loader-arc{stroke:var(--red);stroke-linecap:round;stroke-dasharray:var(--model-load,25) 100;transition:stroke-dasharray .3s cubic-bezier(.23,1,.32,1)}
@keyframes xpert-loader-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.xpert-carousel .xpert-model-loader svg{animation:none}.xpert-carousel .xpert-loader-arc{transition:none}}
/* While a model loads, its poster (a still of the same view) stays under the ring, softly blurred, so the stage reads as
   on its way rather than frozen; once the model is drawn (data-model-reveal, set by module-viewer.js for that first
   frame) the poster clears and fades out while the canvas fades in. A model that is already loaded shows at once. */
.xpert-carousel[data-model-active=true][data-model-loading=true] .xpert-shooter-image{filter:blur(9px) saturate(.9);scale:1.03;transition:filter .5s cubic-bezier(.22,1,.36,1),scale .5s cubic-bezier(.22,1,.36,1)}
.xpert-carousel[data-model-reveal] .xpert-shooter-image{transition:opacity .7s cubic-bezier(.22,1,.36,1),filter .7s cubic-bezier(.22,1,.36,1),scale .7s cubic-bezier(.22,1,.36,1)}
.xpert-carousel[data-model-reveal] .xpert-module-canvas{animation:xpert-model-in .7s cubic-bezier(.22,1,.36,1) both}
@keyframes xpert-model-in{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.xpert-carousel .xpert-shooter-image{transition:none!important;filter:none!important;scale:none!important}.xpert-carousel .xpert-module-canvas{animation:none!important}}
/* A zoomed photo (pinch, double tap): one finger moves it instead of scrolling the page, and the hotspots step aside. */
.xpert-carousel[data-zoomed] .xpert-carousel-stage{touch-action:none;cursor:move}
.xpert-carousel[data-zoomed] .xpert-spots{opacity:0;pointer-events:none}
/* A finger on a photo lands on the image or a hotspot, not on the stage itself: they all leave sideways movement to the
   carousel's swipe (some phone browsers do not combine the stage's value with theirs). */
.xpert-carousel[data-media=photo] .xpert-carousel-stage *{touch-action:pan-y}
.xpert-carousel[data-media=photo][data-zoomed] .xpert-carousel-stage *{touch-action:none}
/* Part tips on the taken-apart laser (module-viewer.js places them over the canvas each frame): a smaller take on the photo
   hotspots' dot and tip. A dot shows only near the mouse or while its part is under it (data-near; the part turns to
   glass), never for a part out of sight from this side (data-hidden) nor while the view turns (data-moving); its tip shows
   on the dot itself. Only while the parts are apart (data-shown), and mouse only: a touch screen shows none. */
.xpert-carousel .xpert-model-tips{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s}
.xpert-carousel .xpert-model-tips[data-shown]{opacity:1;visibility:visible;transition:opacity .45s ease .1s,visibility 0s}
.xpert-carousel .xpert-model-tips[hidden]{display:none}
.xpert-carousel .xpert-model-tip{display:grid;width:13px;height:13px;box-shadow:0 0 0 3px color-mix(in srgb,#d72d26 22%,transparent),0 2px 7px #00000029;pointer-events:none;opacity:0;scale:.4;transition:opacity .22s ease,scale .3s cubic-bezier(.34,1.56,.64,1)}
.xpert-carousel .xpert-model-tip:is([data-near],:focus-visible):not([data-hidden]){opacity:1;scale:1;pointer-events:auto}
.xpert-carousel .xpert-model-tips[data-moving] .xpert-model-tip{opacity:0;scale:.4;pointer-events:none}
.xpert-carousel .xpert-model-tip::after{width:5px;height:5px}
.xpert-carousel .xpert-model-tip::before{inset:-3px}
.xpert-carousel .xpert-model-tip .xpert-spot-tip{min-width:0;width:max-content;max-width:min(210px,40vw);white-space:normal;padding:7px 11px 8px;border-radius:8px;font-size:12px;line-height:1.55}
.xpert-carousel .xpert-model-tip .xpert-spot-tip small{font-size:11px}
.xpert-carousel .xpert-model-tip[data-side=right] .xpert-spot-tip{left:calc(100% + 9px)}
.xpert-carousel .xpert-model-tip[data-side=left] .xpert-spot-tip{right:calc(100% + 9px)}
.xpert-carousel .xpert-model-tip:is(:hover,:focus-visible) .xpert-spot-tip{opacity:1;scale:1}
.xpert-carousel .xpert-model-tip:is(:hover,:focus-visible,[data-active])::after{scale:1.3}
.xpert-carousel .xpert-model-tip:is(:hover,:focus-visible){z-index:1}
@media(hover:none),(pointer:coarse){.xpert-carousel .xpert-model-tips{display:none!important}}
@media(prefers-reduced-motion:reduce){.xpert-carousel .xpert-model-tips,.xpert-carousel .xpert-model-tip{transition:none}}
/* The stage follows the card's width at every size: with a capped height and an automatic width, a box keeps its
   aspect ratio by shrinking sideways instead (575–700px, where the height hits its 430px cap), which left a strip of
   the card's own background beside the photo and the 3D model. The height stays capped; the width always fills. */
.xpert-carousel-stage{width:100%}
