/* FELIX TOTEM PREMIUM V2 · STRICTLY ISOLATED TO TOTEM CATALOGUE */
.catalog-dialog[data-service="totem"]{width:min(1360px,calc(100% - 22px))!important;border:3px solid #00cdeb!important;border-radius:24px!important;background:#eafbff!important;box-shadow:0 10px 0 #084460,0 26px 70px #00263b77!important}
.catalog-dialog[data-service="totem"] .catalog-shell,.catalog-dialog[data-service="totem"] .catalog-scroll{background:#eafbff!important}
.catalog-dialog[data-service="totem"] .catalog-header{min-height:120px!important;padding:23px 27px!important;background:linear-gradient(114deg,#073955 0%,#007ba8 48%,#00c6e8 100%)!important;color:white!important;border:0!important;border-bottom:5px solid #ffe600!important;position:relative!important}
.catalog-dialog[data-service="totem"] .catalog-header:after{content:'';position:absolute;bottom:-5px;left:60%;width:23%;height:5px;background:linear-gradient(90deg,#ec008c 0 65%,#ffe600 65%)}
.catalog-dialog[data-service="totem"] .catalog-eyebrow{font-size:12px!important;letter-spacing:.15em!important;font-weight:950!important;color:#ffed78!important;margin-bottom:8px!important}
.catalog-dialog[data-service="totem"] #catalog-title{font-size:clamp(26px,3vw,37px)!important;color:white!important;font-weight:1000!important;text-shadow:0 2px 3px #002a4f55!important;margin:0!important;line-height:1.1!important}
.catalog-dialog[data-service="totem"] .catalog-close{width:44px!important;height:44px!important;border:2px solid #b8f2ff!important;background:#00b8e2!important;border-radius:13px!important;color:white!important;font-size:27px!important}
/* Top redundant introduction/examples panel is hidden. Search and category filters remain. */
.catalog-dialog[data-service="totem"] .catalog-intro,.catalog-dialog[data-service="totem"] .completion-catalog-modes{display:none!important}
.catalog-dialog[data-service="totem"] .catalog-tools{margin:4px 0 7px!important;padding:16px 14px!important;border:0!important;border-radius:13px!important;background:#e7faff!important}
.catalog-dialog[data-service="totem"] .catalog-filters button[aria-pressed="true"]{background:#00c5e8!important;color:#053b55!important;border-color:#00c5e8!important}
.catalog-dialog[data-service="totem"] .catalog-count{color:#075674!important;font-size:13px!important;font-weight:900!important;margin:0 0 15px!important}
.catalog-dialog[data-service="totem"] .catalog-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;max-width:1340px!important;width:100%!important;margin:auto!important;align-items:stretch!important;padding:8px 4px 16px!important}
.catalog-dialog[data-service="totem"] .catalog-item.felix-totem-v2{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;position:relative!important;min-width:0!important;max-width:none!important;min-height:660px!important;padding:9px!important;border:5px solid #00d7ed!important;border-radius:29px!important;background:linear-gradient(149deg,#08d6f0 0%,#02b6db 53%,#008dbb 100%)!important;box-shadow:0 8px 0 #06405a,0 17px 26px #00364b42!important;outline:2px solid #d1ffff!important;outline-offset:-11px;overflow:hidden!important;animation:none!important;isolation:isolate}
.catalog-dialog[data-service="totem"] .felix-totem-v2:before{content:'';position:absolute;top:0;right:6px;width:33%;height:5px;background:linear-gradient(90deg,#ee008b 0 62%,#ffe700 62%);pointer-events:none;z-index:2}
.catalog-dialog[data-service="totem"] .felix-totem-v2:after{content:'';position:absolute;bottom:0;left:6px;width:24%;height:5px;background:linear-gradient(90deg,#ffe700 0 38%,#ed008c 38%);pointer-events:none}
.catalog-dialog[data-service="totem"] .tv2-picture{position:relative;flex:none;aspect-ratio:1/1.07;width:100%;border:3px solid #bdffff;border-radius:20px;background:#dff8ff;box-shadow:inset 0 0 0 2px #fff8,0 0 8px #a4ffff99;overflow:hidden;display:grid;place-items:center}
.catalog-dialog[data-service="totem"] .tv2-image{display:block;width:100%;height:100%;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center;background:#e5f8fc}
.catalog-dialog[data-service="totem"] .tv2-photo-enlarge{position:absolute;right:9px;bottom:9px;border:1px solid #bffaff;border-radius:999px;color:#fff;background:#004c76dd;padding:7px 11px;font-size:11px;font-weight:800;cursor:pointer}
.catalog-dialog[data-service="totem"] .tv2-body{display:flex;flex:1;flex-direction:column;padding:11px 5px 5px;min-width:0;gap:10px}
.catalog-dialog[data-service="totem"] .tv2-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:32px}
.catalog-dialog[data-service="totem"] .tv2-tag{max-width:78%;padding:7px 10px;border:2px solid #9cefff;border-radius:999px;background:linear-gradient(180deg,#006793,#00375c);box-shadow:0 3px 0 #044663;color:white;font-size:11px;font-weight:950;overflow-wrap:anywhere;line-height:1.2}
.catalog-dialog[data-service="totem"] .tv2-cym{display:flex;gap:7px;padding-right:5px;flex:none}.catalog-dialog[data-service="totem"] .tv2-cym i{width:11px;height:11px;border-radius:50%;border:1px solid #fffd;box-shadow:0 0 5px currentColor,0 0 11px currentColor}.catalog-dialog[data-service="totem"] .tv2-cym i:nth-child(1){color:#00f4ff;background:#00f4ff}.catalog-dialog[data-service="totem"] .tv2-cym i:nth-child(2){color:#ff00a8;background:#ff00a8}.catalog-dialog[data-service="totem"] .tv2-cym i:nth-child(3){color:#ffec00;background:#ffec00}
.catalog-dialog[data-service="totem"] .tv2-heading{min-height:75px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 11px;border:3px solid #8cf9ff;border-radius:17px;background:#009fd0;box-shadow:inset 0 0 0 1px #e0ffff99,0 0 7px #87ffff77,0 3px 0 #00799c55}
.catalog-dialog[data-service="totem"] .tv2-heading h3{color:white!important;margin:0!important;padding:0!important;min-height:0!important;font-size:clamp(18px,1.72vw,23px)!important;font-weight:1000!important;line-height:1.13!important;text-shadow:0 2px 3px #06435f,0 3px 5px #03344ca8!important;overflow-wrap:anywhere}
.catalog-dialog[data-service="totem"] .tv2-light{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:94px;min-height:39px;border:2px solid #9cf6ff;border-radius:11px;padding:6px 8px;background:#00517d;color:#fff;font-size:11px;font-weight:950;box-shadow:inset 0 0 7px #00ccff8f,0 2px 0 #00394a;cursor:pointer}
.catalog-dialog[data-service="totem"] .tv2-light[aria-pressed=true]{background:#00e0fa;color:#043a54;box-shadow:0 0 12px #b7ffff,0 0 22px #00efffaa}
.catalog-dialog[data-service="totem"] .tv2-description{font-size:13px!important;font-weight:750!important;line-height:1.43!important;color:#f2fcff!important;margin:0!important;min-height:38px!important;max-height:none!important;overflow-wrap:anywhere}
.catalog-dialog[data-service="totem"] .tv2-details{margin-top:auto;display:grid;gap:10px;border:2px solid #b5f0fa;border-radius:18px;background:#f3fbff;padding:13px;box-shadow:0 3px 0 #086f9755,0 9px 14px #003a6f20}
.catalog-dialog[data-service="totem"] .tv2-detail-row{display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:12px;color:#30546a;font-weight:850}.catalog-dialog[data-service="totem"] .tv2-detail-row strong{color:#df0086;font-size:16px;font-weight:1000;text-align:right}
.catalog-dialog[data-service="totem"] .tv2-offer{display:block;width:100%;min-height:48px;border:2px solid white;border-radius:999px;background:linear-gradient(180deg,#ffe976,#ffc000);box-shadow:0 5px 0 #c99c00;color:#15354b;font-size:16px;font-weight:1000;cursor:pointer;padding:10px 8px}
.catalog-dialog[data-service="totem"] .tv2-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:5px}
.catalog-dialog[data-service="totem"] .tv2-detail,.catalog-dialog[data-service="totem"] .tv2-favorite{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:45px;padding:8px 5px;border:2px solid #0bc9e8;border-radius:13px;color:#00608b;background:#e2f9ff;font-size:12px;font-weight:900;line-height:1.2;cursor:pointer;text-align:center;box-shadow:none!important;overflow-wrap:anywhere}
.catalog-dialog[data-service="totem"] .tv2-favorite{border-color:#ef8cca;color:#ba006f;background:#fff0fa}
.catalog-dialog[data-service="totem"] .tv2-favorite[aria-pressed=true]{background:#ffe0f5;color:#93005b}
.catalog-dialog[data-service="totem"] .totem-v2-pagination{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:8px;margin:17px 0 20px;flex-wrap:wrap}
.catalog-dialog[data-service="totem"] .totem-v2-pagination button{min-width:39px;min-height:39px;border:1px solid #8fd5e5;background:white;color:#154865;border-radius:10px;padding:8px;font-weight:900;cursor:pointer}
.catalog-dialog[data-service="totem"] .totem-v2-pagination button[aria-current="page"]{background:#00cde6;border-color:#00cde6;color:#063a50}
.catalog-dialog[data-service="totem"] .totem-v2-pagination button:disabled{opacity:.4;cursor:default}
.catalog-zoom .totem-detail-body{color:#173952;text-align:left;font:15px/1.48 system-ui,sans-serif;padding:10px}.catalog-zoom .totem-detail-body strong{display:block;margin-bottom:5px}.catalog-zoom .totem-detail-photo{display:block;max-width:100%;max-height:68dvh;width:auto;height:auto;margin:0 auto;object-fit:contain}
@media(max-width:1100px){.catalog-dialog[data-service="totem"] .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.catalog-dialog[data-service="totem"] .tv2-heading h3{font-size:22px!important}}
@media(max-width:650px){.catalog-dialog[data-service="totem"]{width:100%!important;max-width:100%!important;max-height:100dvh!important;height:100dvh!important;margin:0!important;border-radius:0!important}.catalog-dialog[data-service="totem"] .catalog-header{min-height:95px!important;padding:16px 14px!important}.catalog-dialog[data-service="totem"] .catalog-grid{grid-template-columns:1fr!important;padding:8px 2px 16px!important;gap:20px!important}.catalog-dialog[data-service="totem"] .catalog-tools{padding:12px 5px!important}.catalog-dialog[data-service="totem"] .tv2-heading h3{font-size:23px!important}.catalog-dialog[data-service="totem"] .catalog-item.felix-totem-v2{min-height:0!important}}
@media(prefers-reduced-motion:reduce){.catalog-dialog[data-service="totem"] .felix-totem-v2{animation:none!important}}

.catalog-dialog[data-service="totem"] .totem-v2-subtitle{margin:8px 0 0!important;font-size:13px!important;line-height:1.3!important;font-weight:700!important;color:#eafcff!important}
/* Compact filter controls on phones: undo general full-height mobile input rules. */
@media(max-width:650px){
 .catalog-dialog[data-service="totem"] .catalog-search{display:block!important;margin:12px 0 0!important;padding:0!important;min-height:0!important;height:auto!important}
 .catalog-dialog[data-service="totem"] .catalog-search input{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;max-height:46px!important;margin-top:6px!important;padding:9px 12px!important;border-radius:11px!important;font-size:14px!important}
 .catalog-dialog[data-service="totem"] .catalog-filters{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
 .catalog-dialog[data-service="totem"] .catalog-filters button{min-height:39px!important;padding:8px 10px!important}
}
@media(max-width:650px){.catalog-dialog[data-service="totem"] .catalog-search{flex:0 0 auto!important;align-self:stretch!important}}

/* TOTEM V3: remove the large TOP PANEL entirely, keep model filters and close control. */
.catalog-dialog[data-service="totem"] .catalog-header{display:none!important}
.catalog-dialog[data-service="totem"] .catalog-scroll{padding-top:10px!important}
.catalog-dialog[data-service="totem"] .catalog-tools{position:relative!important;padding-right:63px!important;margin-top:0!important}
.catalog-dialog[data-service="totem"] .tv3-dismiss{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:43px;height:43px;min-width:43px;border:2px solid #00ccea;border-radius:13px;background:#063e60;color:#fff;font:800 29px/1 system-ui;cursor:pointer;box-shadow:0 3px 0 #00364a,0 0 0 1px #a3f7ff}
.catalog-dialog[data-service="totem"] .tv3-dismiss:hover{background:#006d92}
.catalog-dialog[data-service="totem"] .tv3-dismiss:focus-visible{outline:3px solid #ea008b;outline-offset:2px}
/* TOTEM V3: showy, genuinely functional illuminated-model switch. */
.catalog-dialog[data-service="totem"] .tv2-light.tv3-switch-control{position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:7px;flex:0 0 145px;min-width:145px;min-height:55px;padding:6px 8px!important;border:2px solid #76eaff!important;border-radius:15px!important;background:linear-gradient(150deg,#062f54,#075c89)!important;color:#e6fbff!important;box-shadow:inset 0 0 0 1px #b6ffff80,0 4px 0 #063b57,0 0 12px #00d8ff55!important;transition:background .2s,box-shadow .2s,transform .2s!important;cursor:pointer}
.catalog-dialog[data-service="totem"] .tv3-bulb{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;color:#bad7e3;font-size:21px;text-shadow:none}
.catalog-dialog[data-service="totem"] .tv3-switch-copy{display:grid;gap:1px;text-align:left;line-height:1.08;flex:1;min-width:0}
.catalog-dialog[data-service="totem"] .tv3-switch-copy small{font-size:9px;letter-spacing:.09em;font-weight:900;opacity:.9}
.catalog-dialog[data-service="totem"] .tv3-switch-copy strong{font-size:12px;letter-spacing:.02em;font-weight:1000}
.catalog-dialog[data-service="totem"] .tv3-switch-track{display:block;flex:0 0 30px;width:30px;height:19px;border:1px solid #6bcae0;border-radius:999px;background:#173853;box-shadow:inset 0 1px 3px #0007;padding:2px}
.catalog-dialog[data-service="totem"] .tv3-switch-knob{display:block;width:13px;height:13px;border-radius:50%;background:#bfd8e3;box-shadow:0 1px 3px #001929;transition:transform .2s,background .2s}
.catalog-dialog[data-service="totem"] .tv2-light.tv3-switch-control[aria-pressed="true"]{color:#fff9df!important;border-color:#fff6a0!important;background:linear-gradient(135deg,#945600,#f0ac16 60%,#ffd94d)!important;box-shadow:inset 0 0 0 1px #fff8cc,0 3px 0 #a86c00,0 0 16px #ffeb56,0 0 29px #ffc80099!important}
.catalog-dialog[data-service="totem"] .tv2-light[aria-pressed="true"] .tv3-bulb{color:#fff;filter:drop-shadow(0 0 5px #fff8a6);text-shadow:0 0 9px #fff}
.catalog-dialog[data-service="totem"] .tv2-light[aria-pressed="true"] .tv3-switch-track{background:#ffe56d;border-color:#fff9b5}
.catalog-dialog[data-service="totem"] .tv2-light[aria-pressed="true"] .tv3-switch-knob{transform:translateX(11px);background:white;box-shadow:0 0 6px #fff}
.catalog-dialog[data-service="totem"] .felix-totem-v2.tv2-lit .tv2-heading{border-color:#ffe884;box-shadow:inset 0 0 0 1px #fffacc,0 0 11px #fff57e80,0 3px 0 #aa880075}
@media(max-width:650px){.catalog-dialog[data-service="totem"] .catalog-tools{padding:12px 56px 12px 8px!important}.catalog-dialog[data-service="totem"] .tv3-dismiss{top:17px;right:7px;transform:none}.catalog-dialog[data-service="totem"] .tv2-heading{gap:7px;padding:7px!important}.catalog-dialog[data-service="totem"] .tv2-light.tv3-switch-control{flex-basis:127px;min-width:127px;padding:5px!important;gap:3px;min-height:50px}.catalog-dialog[data-service="totem"] .tv3-switch-track{flex-basis:26px;width:26px}.catalog-dialog[data-service="totem"] .tv3-switch-knob{width:12px;height:12px}.catalog-dialog[data-service="totem"] .tv2-light[aria-pressed="true"] .tv3-switch-knob{transform:translateX(7px)}.catalog-dialog[data-service="totem"] .tv3-bulb{width:21px;font-size:17px}.catalog-dialog[data-service="totem"] .tv3-switch-copy strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.catalog-dialog[data-service="totem"] .tv2-light.tv3-switch-control,.catalog-dialog[data-service="totem"] .tv3-switch-knob{transition:none!important}}

/* FELIX TOTEM V3.1: product photographs are nearly square (48 models).
   Fill picture frame without pale side/top bars, retain rounded image corners.
   Only Totem catalogue selectors are affected. */
.catalog-dialog[data-service="totem"] .catalog-item.felix-totem-v2{padding:7px!important}
.catalog-dialog[data-service="totem"] .tv2-picture{
  aspect-ratio: 1 / 1.04!important;
  width:100%!important;
  border-radius:20px!important;
  border:3px solid #c8ffff!important;
  overflow:hidden!important;
  display:block!important;
  background:#e9fbff!important;
  isolation:isolate;
}
.catalog-dialog[data-service="totem"] .tv2-picture > .tv2-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  min-width:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  object-position:center 51%!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  border-radius:0!important;
  transform:none!important;
  background:transparent!important;
}
@media (max-width:650px){
 .catalog-dialog[data-service="totem"] .tv2-picture{aspect-ratio:1/1.04!important}
}
