/* SMMP Core: Clients Map. Extracted unchanged from the HTML block; "#id" selectors became ".class:is(#smmp,[id])" (same strength). */
/* A centred Elementor container would otherwise shrink this widget */
.elementor-widget:has(>.smmp-cm),.elementor-widget:has(>.elementor-widget-container>.smmp-cm){width:100%;max-width:100%;}
.smmp-cm:is(#smmp,[id]),.smmp-cm:is(#smmp,[id]) *{box-sizing:border-box;}
.smmp-cm:is(#smmp,[id]) *{font-family:"Montserrat",Sans-serif;}
.smmp-cm:is(#smmp,[id]){--gold:#D9A527;--gold-hi:#F0C644;position:relative;width:100%;padding:0;background:transparent;font-family:"Montserrat",Sans-serif;}

/* Stage */
.smmp-cm:is(#smmp,[id]) .smmp-cm__stage{position:relative;border:1px solid rgba(217,165,39,.3);border-radius:24px;overflow:hidden;background:#0B0C0E;box-shadow:0 18px 50px rgba(0,0,0,.5);opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1);}
.smmp-cm:is(#smmp,[id]).is-in .smmp-cm__stage{opacity:1;transform:none;}
.smmp-cm__canvas{position:relative;aspect-ratio:1200/620;overflow:hidden;cursor:grab;touch-action:pan-y;-webkit-user-select:none;user-select:none;}
/* Zoomed into a country, a finger drags the map in any direction. Zoomed out, an up-down swipe still scrolls the page. */
.smmp-cm__canvas.is-zoomed{touch-action:none;}
.smmp-cm__canvas.is-dragging,.smmp-cm__canvas.is-dragging *{cursor:grabbing;}
.smmp-cm__svg{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;overflow:hidden;}
.smmp-cm__world{transform-origin:0 0;transition:transform 1.25s cubic-bezier(.65,0,.2,1);}

/* Land: plain shapes, so the pins are the only marks on the map */
.smmp-cm__land{fill:#17181B;stroke:rgba(255,255,255,.08);stroke-width:.75;vector-effect:non-scaling-stroke;}
.smmp-cm__shape{fill:#2A2513;stroke:rgba(240,198,68,.5);stroke-width:1;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .35s ease,stroke .35s ease;}
.smmp-cm__market:hover .smmp-cm__shape{fill:#352E16;}
.smmp-cm__market.is-active .smmp-cm__shape{fill:#352E16;stroke:rgba(240,198,68,.8);}
.smmp-cm.has-active .smmp-cm__market:not(.is-active):not(:hover) .smmp-cm__shape{fill:#1E1C14;stroke:rgba(240,198,68,.2);}
.smmp-cm__states{fill:none;stroke:rgba(240,198,68,.17);stroke-width:.75;vector-effect:non-scaling-stroke;pointer-events:none;}
/* A country with no clients in the list stays plain until one is added */
.smmp-cm__market.is-empty{pointer-events:none;}
.smmp-cm__market.is-empty .smmp-cm__shape{fill:#17181B;stroke:rgba(255,255,255,.08);stroke-width:.75;}

/* Pins: JS sets the counter-scale so they stay one size while the map zooms */
.smmp-cm__pin{cursor:pointer;transition:transform 1.25s cubic-bezier(.65,0,.2,1),opacity .4s ease;}
.smmp-cm__shadow{fill:rgba(0,0,0,.55);}
.smmp-cm__marker{fill:var(--gold-hi);stroke:#0B0C0E;stroke-width:1.5;transition:fill .25s ease;}
.smmp-cm__eye{fill:#0B0C0E;}
.smmp-cm__count{font-size:12px;font-weight:700;text-anchor:middle;dominant-baseline:central;fill:#0B0C0E;pointer-events:none;}
/* Zoomed out the pins are smaller, so the numbers wait until a country is open */
.smmp-cm:not(.has-active) .smmp-cm__count{display:none;}
.smmp-cm.has-active .smmp-cm__pin--many .smmp-cm__eye{display:none;}
.smmp-cm__hit{fill:transparent;}
.smmp-cm__label{opacity:0;pointer-events:none;transition:opacity .25s ease;}
.smmp-cm__label text{font-family:"Montserrat",Sans-serif;paint-order:stroke;stroke:#0D0D0D;stroke-width:5px;stroke-linejoin:round;}
.smmp-cm__label-title{font-size:16px;font-weight:700;fill:#fff;}
.smmp-cm__label-sub{font-size:13px;font-weight:500;fill:var(--gold-hi);}
.smmp-cm__pin--flip .smmp-cm__label{text-anchor:end;}
.smmp-cm__pin:hover .smmp-cm__label,.smmp-cm__pin.is-hot .smmp-cm__label,.smmp-cm__pin.is-picked .smmp-cm__label{opacity:1;}
.smmp-cm__pin:hover .smmp-cm__marker,.smmp-cm__pin.is-hot .smmp-cm__marker,.smmp-cm__pin.is-picked .smmp-cm__marker{fill:#fff;}
.smmp-cm.has-active .smmp-cm__pin:not(.is-active){opacity:.3;}

/* Panel floats over the empty Pacific side of the map */
.smmp-cm__panel{position:absolute;top:24px;left:24px;display:flex;flex-direction:column;gap:12px;width:320px;max-height:calc(100% - 48px);padding:18px;border:1px solid rgba(217,165,39,.22);border-radius:18px;background:rgba(13,13,13,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);}
.smmp-cm__stats{display:flex;gap:10px;}
.smmp-cm__stats div{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0;}
.smmp-cm__stats strong{font-family:"Montserrat",Sans-serif;font-size:34px;font-weight:700;line-height:1;color:var(--gold);}
.smmp-cm__stats span{font-size:11px;line-height:1.2;letter-spacing:.8px;text-transform:uppercase;color:rgba(255,255,255,.55);}
.smmp-cm__chips{display:flex;flex-direction:column;gap:7px;}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__chip{position:relative;display:flex;align-items:center;gap:11px;width:100%;margin:0;padding:8px 12px;overflow:hidden;text-align:left;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025);color:#fff;font:inherit;line-height:1.2;text-transform:none;letter-spacing:0;cursor:pointer;box-shadow:none;transition:border-color .3s ease,background .3s ease;}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__chip:hover,.smmp-cm:is(#smmp,[id]) button.smmp-cm__chip:focus{border-color:rgba(217,165,39,.5);background:rgba(217,165,39,.07);color:#fff;}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__chip:focus-visible{outline:2px solid var(--gold-hi);outline-offset:2px;}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__chip[aria-pressed="true"]{border-color:rgba(240,198,68,.85);background:rgba(217,165,39,.12);}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__chip[hidden]{display:none;}
.smmp-cm__flag{flex:none;width:28px;height:28px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(217,165,39,.55);}
.smmp-cm__chip-name{flex:1;min-width:0;font-family:"Montserrat",Sans-serif;font-size:17px;font-weight:700;line-height:1;letter-spacing:.4px;text-transform:uppercase;}
.smmp-cm__chip-count{flex:none;font-size:14px;font-weight:700;color:var(--gold-hi);}
.smmp-cm__chip-bar{position:absolute;left:0;bottom:0;width:100%;height:2px;background:var(--gold-hi);transform:scaleX(0);transform-origin:left;}
.smmp-cm.is-touring .smmp-cm__chip[aria-pressed="true"] .smmp-cm__chip-bar{animation:smmp-cm-bar var(--tour,5s) linear both;}
@keyframes smmp-cm-bar{to{transform:scaleX(1);}}

/* Locations and client lists */
.smmp-cm__list{flex:1 1 auto;min-height:0;margin:0 -6px 0 0;padding:0 6px 0 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(217,165,39,.45) transparent;}
.smmp-cm__list::-webkit-scrollbar{width:6px;}
.smmp-cm__list::-webkit-scrollbar-thumb{border-radius:6px;background:rgba(217,165,39,.45);}
.smmp-cm__hint{margin:0;font-size:12px;line-height:1.4;color:rgba(255,255,255,.45);}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__row{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:8px 2px;text-align:left;border:0;border-bottom:1px solid rgba(255,255,255,.07);border-radius:0;background:transparent;color:rgba(255,255,255,.82);font:inherit;font-size:14px;font-weight:500;line-height:1.3;text-transform:none;letter-spacing:0;cursor:pointer;box-shadow:none;transition:color .2s ease,padding .2s ease;}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__row:hover,.smmp-cm:is(#smmp,[id]) button.smmp-cm__row:focus{padding-left:7px;background:transparent;color:#fff;}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__row:focus-visible{outline:2px solid var(--gold-hi);outline-offset:-2px;}
.smmp-cm__row span{flex:1;min-width:0;}
.smmp-cm__row b{flex:none;font-size:13px;font-weight:700;color:var(--gold-hi);}
.smmp-cm__pick{margin:0 0 8px;font-family:"Montserrat",Sans-serif;font-size:20px;font-weight:700;line-height:1.1;letter-spacing:.4px;text-transform:uppercase;color:#fff;}
.smmp-cm__pick small{display:block;margin-top:4px;font-family:"Montserrat",Sans-serif;font-size:12px;font-weight:700;letter-spacing:.8px;color:var(--gold-hi);}
.smmp-cm__brands{margin:0;padding:0;list-style:none;}
.smmp-cm__brands li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 10px;margin:0;padding:7px 2px;border-bottom:1px solid rgba(255,255,255,.07);font-size:14px;font-weight:500;line-height:1.3;color:#fff;}
.smmp-cm__brands li span{font-size:12px;font-weight:400;color:rgba(255,255,255,.5);}

.smmp-cm:is(#smmp,[id]) button.smmp-cm__reset{position:absolute;right:20px;top:20px;margin:0;padding:9px 16px;border:1px solid rgba(217,165,39,.55);border-radius:999px;background:rgba(13,13,13,.8);color:#fff;font-family:"Montserrat",Sans-serif;font-size:13px;font-weight:700;line-height:1;text-transform:none;letter-spacing:0;cursor:pointer;box-shadow:none;transition:background .3s ease,color .3s ease;}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__reset:hover,.smmp-cm:is(#smmp,[id]) button.smmp-cm__reset:focus{background:var(--gold);color:#0D0D0D;}
.smmp-cm:is(#smmp,[id]) button.smmp-cm__reset[hidden]{display:none;}

@media(min-width:1025px){
  /* Fades the land out behind the floating panel. */
  .smmp-cm__svg{-webkit-mask-image:linear-gradient(90deg,transparent 4%,#000 32%);mask-image:linear-gradient(90deg,transparent 4%,#000 32%);}
}
@media(max-width:1024px){
  .smmp-cm__panel{position:static;width:auto;max-height:none;border:0;border-top:1px solid rgba(217,165,39,.22);border-radius:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;}
  .smmp-cm__chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
  .smmp-cm__list{max-height:300px;}
}
@media(max-width:767px){
  .smmp-cm:is(#smmp,[id]) .smmp-cm__stage{border-radius:18px;}
  .smmp-cm__canvas{aspect-ratio:4/3;}
  .smmp-cm__panel{padding:14px;}
  .smmp-cm__stats strong{font-size:30px;}
  .smmp-cm:is(#smmp,[id]) button.smmp-cm__chip{flex-wrap:wrap;gap:5px 7px;padding:8px;}
  .smmp-cm__flag{width:22px;height:22px;}
  .smmp-cm__chip-name{flex:1 1 calc(100% - 30px);font-size:14px;}
  .smmp-cm__chip-count{font-size:13px;}
  .smmp-cm:is(#smmp,[id]) button.smmp-cm__reset{right:10px;top:10px;padding:7px 12px;font-size:12px;}
}
/* Small phones (iPhone SE, 360px Androids): a squarer map so the pins have room, and a tighter panel */
@media(max-width:420px){
  .smmp-cm:is(#smmp,[id]) .smmp-cm__stage{border-radius:14px;}
  .smmp-cm__canvas{aspect-ratio:1/1;}
  .smmp-cm__panel{gap:10px;padding:12px;}
  .smmp-cm__stats{gap:6px;}
  .smmp-cm__stats strong{font-size:24px;}
  .smmp-cm__stats span{font-size:9px;letter-spacing:.5px;}
  .smmp-cm__chips{gap:6px;}
  .smmp-cm:is(#smmp,[id]) button.smmp-cm__chip{gap:4px 6px;padding:7px 6px;border-radius:10px;}
  .smmp-cm__flag{width:18px;height:18px;}
  .smmp-cm__chip-name{flex:1 1 calc(100% - 24px);font-size:12px;}
  .smmp-cm__chip-count{font-size:12px;}
  .smmp-cm__list{max-height:240px;}
  .smmp-cm:is(#smmp,[id]) button.smmp-cm__row,.smmp-cm__brands li{font-size:13px;}
  .smmp-cm__pick{font-size:17px;}
  .smmp-cm:is(#smmp,[id]) button.smmp-cm__reset{right:8px;top:8px;padding:6px 10px;font-size:11px;}
}
/* Very small phones (320px) */
@media(max-width:340px){
  .smmp-cm__stats strong{font-size:21px;}
  .smmp-cm__chips{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(prefers-reduced-motion:reduce){
  .smmp-cm:is(#smmp,[id]) .smmp-cm__stage{opacity:1;transform:none;transition:none;}
  .smmp-cm__world,.smmp-cm__pin{transition:none;}
}
