/* iConnect: the tech showroom, homepage section after the vault (25/11/2026, from the award concept 05 of round two).
   7 products that choose themselves turn on lit pedestals in a bright room, the light twin of the vault above it. Each
   stands in the cut-out the server makes from its own photo (home.php icShowroomCutout: 800x800, the white see-through,
   the product standing at the bottom). home.twig sets the size and the ground inline, so this sheet loads
   without blocking and moves nothing; it shows the contents, which stay hidden until it arrives. */
.ic-showroom{position:relative;overflow:hidden;color:#17151b;isolation:isolate;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:pan-y;}
.ic-showroom>*{visibility:visible;}
.ic-showroom__wall{position:absolute;inset:0;background:radial-gradient(70% 55% at 50% 0%,#ffffff 0%,#f4f0fa 55%,#e9e3f3 100%);}
.ic-showroom__wall::after{content:"";position:absolute;left:0;right:0;top:63%;height:1px;background:linear-gradient(90deg,transparent,rgba(110,47,134,.18),transparent);}
.ic-showroom__floor{position:absolute;left:0;right:0;top:63%;bottom:0;background:linear-gradient(#ebe6f3 0%,#f8f6fc 60%,#fdfcff 100%);}
.ic-showroom__floor::before{content:"";position:absolute;left:50%;top:6%;width:44%;height:26%;transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(closest-side,rgba(213,14,128,.18),rgba(213,14,128,0));filter:blur(8px);}
.ic-showroom__cone{position:absolute;left:50%;top:-6%;width:46%;height:76%;transform:translateX(-50%);pointer-events:none;
  background:conic-gradient(from 180deg at 50% 0%,transparent 158deg,rgba(255,255,255,.75) 172deg,rgba(255,255,255,.95) 180deg,rgba(255,255,255,.75) 188deg,transparent 202deg);filter:blur(10px);opacity:.9;}
/* the joins (1/12/2026, Nikolaos: "the white and gray backgrounds are somewhat merged at the join"): the room's wall,
   floor and light cone fade out along the section's top and bottom edges, so the page's own background (a gradient
   fixed to the screen, near white at its top and grey at its bottom) shows through there, whatever the scroll; the
   products, the title, the arrows and the panel are not faded. The section's own flat ground (home.twig's inline
   style, shown while this sheet loads) goes, or it would show at the faded edges */
section.ic-showroom{background:transparent;--fade-top:clamp(70px,9vw,130px);--fade-bottom:clamp(80px,10vw,150px);}
.ic-showroom__wall{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 var(--fade-top),#000 calc(100% - var(--fade-bottom)),transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0,#000 var(--fade-top),#000 calc(100% - var(--fade-bottom)),transparent 100%);}
.ic-showroom__floor{-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 var(--fade-bottom));mask-image:linear-gradient(0deg,transparent 0,#000 var(--fade-bottom));}
.ic-showroom__cone{-webkit-mask-image:linear-gradient(180deg,transparent 7.9%,#000 calc(7.9% + var(--fade-top)));mask-image:linear-gradient(180deg,transparent 7.9%,#000 calc(7.9% + var(--fade-top)));}
/* the ring is one layer under the title, the arrows and the panel (z-index 5), so no product ever covers them */
.ic-showroom__ring{position:absolute;left:50%;top:63%;width:0;height:0;z-index:1;}
.ic-showroom__slot{position:absolute;left:0;top:0;width:var(--sw,240px);transform-origin:50% 100%;will-change:transform,opacity;cursor:pointer;}
.ic-showroom__obj{position:relative;width:100%;aspect-ratio:1/1;margin-bottom:-6%;z-index:2;}
.ic-showroom__obj img{display:block;width:100%;height:100%;object-fit:contain;transform:translateY(var(--fy,0px)) rotateY(var(--ry,0deg));transform-origin:50% 85%;
  filter:drop-shadow(0 14px 18px rgba(70,40,90,.18));pointer-events:none;-webkit-user-drag:none;}
/* the pedestal is a turned cylinder (1/12/2026, Nikolaos: it did not follow a cylinder's round and looked cut off): its
   bottom edge is the same ellipse as its top (it was half as round), its side darkens a little towards the floor */
.ic-showroom__ped{position:relative;width:78%;margin:0 auto;height:calc(var(--sw,240px) * .225);pointer-events:none;}
.ic-showroom__ped::before{content:"";position:absolute;left:0;right:0;top:0;height:calc(var(--sw,240px) * .16);border-radius:50%;
  background:conic-gradient(from var(--spin,0deg),#ffffff,#f1edf7,#ffffff,#e9e4f2,#ffffff);box-shadow:inset 0 -2px 0 rgba(213,14,128,.35),0 1px 0 rgba(255,255,255,.9);}
.ic-showroom__ped::after{content:"";position:absolute;left:0;right:0;top:calc(var(--sw,240px) * .08);bottom:0;
  border-radius:0 0 50% 50% / 0 0 calc(var(--sw,240px) * .085) calc(var(--sw,240px) * .085);
  background:linear-gradient(180deg,rgba(255,255,255,0) 30%,rgba(110,47,134,.10)),linear-gradient(90deg,#e4def0,#ffffff 42%,#ece7f4 70%,#d9d1e7);
  box-shadow:inset 0 -1px 0 rgba(110,47,134,.14);z-index:-1;}
.ic-showroom__rf{position:absolute;left:7%;right:7%;top:100%;transform:scaleY(-1);transform-origin:top;opacity:.16;pointer-events:none;
  -webkit-mask-image:linear-gradient(to top,rgba(0,0,0,.8),transparent 60%);mask-image:linear-gradient(to top,rgba(0,0,0,.8),transparent 60%);}
.ic-showroom__rf img{display:block;width:100%;height:auto;}
.ic-showroom__sh{position:absolute;left:4%;right:4%;bottom:-4%;height:12%;border-radius:50%;background:radial-gradient(closest-side,rgba(70,40,90,.28),transparent);filter:blur(4px);z-index:-2;pointer-events:none;}

.ic-showroom__ttl{position:absolute;left:5vw;top:11%;z-index:5;pointer-events:none;}
.ic-showroom__ttl h2{margin:0;font-size:clamp(32px,3vw,48px);line-height:1;font-weight:800;letter-spacing:-.035em;color:#17151b;white-space:nowrap;}
.ic-showroom__ttl h2 span{display:block;font-weight:400;}
.ic-showroom__badge{display:inline-flex;flex-direction:row;align-items:center;gap:8px;margin-top:14px;padding:7px 12px;border-radius:999px;background:#1a1020;color:#ffd98a;
  font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.ic-showroom__badge::before{content:"";width:7px;height:7px;border-radius:50%;background:#ffd98a;}

/* the panel: the vault's, in light glass, with the same cut corner (40px, 26px on phones, rounded off over 4px) */
.ic-showroom__info{position:absolute;right:5vw;bottom:10%;z-index:5;width:min(380px,90vw);padding:22px 22px 26px;border-radius:20px;cursor:pointer;
  background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.9);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  --cut:40px;--cr:4px;
  clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cut) - var(--cr)),calc(100% - var(--cr) * .082262) calc(100% - var(--cut) - var(--cr) * .375156),calc(100% - var(--cr) * .323442) calc(100% - var(--cut) + var(--cr) * .207107),calc(100% - var(--cr) * .707107) calc(100% - var(--cut) + var(--cr) * .707107),calc(100% - var(--cut) + var(--cr) * .707107) calc(100% - var(--cr) * .707107),calc(100% - var(--cut) + var(--cr) * .207107) calc(100% - var(--cr) * .323442),calc(100% - var(--cut) - var(--cr) * .375156) calc(100% - var(--cr) * .082262),calc(100% - var(--cut) - var(--cr)) 100%,0 100%);}
.ic-showroom__tag{display:inline-flex;flex-direction:row;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:var(--ic-grad,linear-gradient(90deg,#AA076B 0%,#61045F 100%));
  color:#fff;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.ic-showroom__tag:empty{display:none;}
.ic-showroom__name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:12px 0 4px;font-size:18px;line-height:1.35;font-weight:700;color:#17151b;min-height:4.05em;text-decoration:none;}
.ic-showroom__name::after{content:"";position:absolute;inset:0;z-index:1;}
.ic-showroom__name:hover{color:#17151b;text-decoration:underline;}
.ic-showroom__row{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;row-gap:10px;margin-top:12px;}
.ic-showroom__price{font-size:34px;font-weight:800;letter-spacing:-.02em;white-space:nowrap;color:#17151b;}
.ic-showroom__was{margin-right:8px;font-size:15px;font-weight:600;letter-spacing:0;color:#8f8a97;text-decoration:line-through;}
.ic-showroom__was:empty{display:none;}
.ic-showroom__buy{position:relative;z-index:2;flex:0 0 auto;}
.ic-showroom__av{display:flex;flex-direction:row;align-items:center;gap:8px;margin-top:12px;font-size:12px;font-weight:700;color:#1D9E5A;}
.ic-showroom__av::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ic-avail,#1D9E5A);}
.ic-showroom__info .sw{transition:opacity .35s,transform .45s cubic-bezier(.16,1,.3,1);}
.ic-showroom__info.swap .sw{opacity:0;transform:translateY(8px);}

.ic-showroom__nav{position:absolute;left:5vw;bottom:10%;z-index:5;display:flex;flex-direction:row;align-items:center;gap:12px;}
.ic-showroom__nav button{width:52px;height:52px;border-radius:50%;border:1px solid rgba(23,21,27,.18);background:rgba(255,255,255,.55);color:#17151b;display:grid;place-items:center;cursor:pointer;transition:background .3s;}
.ic-showroom__nav button:hover,.ic-showroom__nav button:focus-visible{background:#fff;}
.ic-showroom__ct{font-weight:800;letter-spacing:.12em;font-size:14px;color:rgba(23,21,27,.55);font-variant-numeric:tabular-nums;}

@media (max-width:767px){
  .ic-showroom__ring{top:56%;}
  .ic-showroom__ttl{top:28px;left:20px;right:20px;}
  .ic-showroom__ttl h2{font-size:27px;}
  .ic-showroom__info{left:16px;right:16px;width:auto;bottom:22px;padding:16px 16px 20px;--cut:26px;}
  .ic-showroom__name{font-size:14px;}
  .ic-showroom__price{font-size:26px;}
  .ic-showroom__nav{display:contents;}
  .ic-showroom__nav button{position:absolute;top:44%;transform:translateY(-50%);z-index:5;width:40px;height:40px;background:rgba(255,255,255,.8);}
  .ic-showroom__prev{left:10px;}
  .ic-showroom__next{right:10px;}
  .ic-showroom__ct{display:none;}
}
/* desktop: the panel stands right beside the product in front, never further right than before (1/12/2026, Nikolaos:
   at the right edge it read as the description of the faded product on the right). The front product is the ring's
   base width (17% of the section, at most 300px, as showroom.js sets it) enlarged 1.18 times, centred */
@media (min-width:1024px){
  .ic-showroom__info{right:auto;left:min(calc(50% + min(17%, 300px) * .59 + 24px), calc(100% - 5vw - 380px));}
}
@media (prefers-reduced-motion:reduce){
  .ic-showroom__info .sw{transition:none;}
}
