/* WSC Store Contacts — colours, fonts and radii come from the client theme (--wsc-* tokens, then theme.json presets).
   .wsc-c-list is also used inside the chat assistant's panel (wsc-assistant), so it carries its own variables. */
.wsc-c, .wsc-c-list {
  --wc-accent: var(--wsc-color-accent, var(--wp--preset--color--accent, #1f2937));
  --wc-on-accent: var(--wsc-color-on-accent, #fff);
  --wc-bg: var(--wsc-color-bg, var(--wp--preset--color--base, #fff));
  --wc-card: var(--wsc-color-card, #f4f4f5);
  --wc-text: var(--wsc-color-text, var(--wp--preset--color--contrast, #111));
  --wc-muted: var(--wsc-color-muted, #5f6368);
  --wc-line: var(--wsc-color-line, rgba(0, 0, 0, .14));
  --wc-radius: var(--wsc-radius-small, 16px);
  --wc-radius-btn: var(--wsc-radius-button, 999px);
  --wc-shadow: var(--wsc-shadow, 0 12px 40px -12px rgba(0, 0, 0, .3));
}
.wsc-c {
  position: fixed;
  right: 16px;
  bottom: var(--wsc-c-bottom, 16px);
  z-index: 99990;
  font-family: var(--wsc-font-body, inherit);
  font-size: 15px;
  line-height: 1.45;
  color: var(--wc-text);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wsc-c *, .wsc-c *::before, .wsc-c *::after, .wsc-c-list, .wsc-c-list * { box-sizing: border-box; }
:where(.wsc-c) button { font: inherit; color: inherit; margin: 0; } /* zero specificity: the class rules below (launcher colour, weight) win */
.wsc-c :focus-visible, .wsc-c-list :focus-visible { outline: 3px solid var(--wc-accent); outline-offset: 2px; }

.wsc-c-launcher {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 20px 0 16px;
  border: 0; border-radius: var(--wc-radius-btn);
  background: var(--wc-accent); color: var(--wc-on-accent);
  box-shadow: var(--wc-shadow); cursor: pointer; font-weight: 600;
}
.wsc-c-icon, .wsc-c-ico {
  width: 22px; height: 22px; flex: none; background: currentColor;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

.wsc-c-panel {
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - var(--wsc-c-bottom, 16px) - 88px);
  overflow-y: auto;
  background: var(--wc-bg); border: 1px solid var(--wc-line); border-radius: var(--wc-radius);
  box-shadow: var(--wc-shadow);
}
.wsc-c-panel[hidden] { display: none; }
.wsc-c-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--wc-line); }
.wsc-c-title { margin: 0; font-family: var(--wsc-font-heading, inherit); font-size: 17px; line-height: 1.25; color: inherit; }
.wsc-c .wsc-c-close { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; }
.wsc-c-close:hover { background: var(--wc-card); }
.wsc-c-panel-body { padding: 10px 10px 12px; }

.wsc-c-intro { margin: 2px 8px 8px; font-size: 13.5px; color: var(--wc-muted); }
.wsc-c-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wsc-c-list li { margin: 0; padding: 0; }
.wsc-c-link {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 8px 10px;
  border-radius: calc(var(--wc-radius) * .6);
  color: var(--wc-text) !important; text-decoration: none !important;
}
.wsc-c-link:hover { background: var(--wc-card); }
.wsc-c-link .wsc-c-ico { color: var(--wc-accent); }
.wsc-c-body { display: flex; flex-direction: column; min-width: 0; }
.wsc-c-name { font-weight: 600; line-height: 1.25; }
.wsc-c-value { font-size: 13.5px; color: var(--wc-muted); overflow-wrap: anywhere; }

@media (max-width: 520px) {
  .wsc-c { right: 12px; }
  .wsc-c-launcher-text { display: none; }
  .wsc-c-launcher { width: 52px; padding: 0; justify-content: center; }
}
@media print { .wsc-c { display: none; } }

/* Icons (generated: simple shapes, drawn for this plugin) */
.wsc-c-link[data-type="telegram"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 3.3 2.9 10.5c-1.1.4-1 1.9.1 2.2l4.6 1.4 1.8 5.6c.3.8 1.3 1 1.8.4l2.6-2.5 4.7 3.5c.7.5 1.6.1 1.8-.7l3.2-15.5c.2-1-.8-1.9-1.9-1.4zM10 14.2l7.9-6.9-6.3 8.3-.3 2.7-1.3-4.1z' fill-rule='evenodd'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 3.3 2.9 10.5c-1.1.4-1 1.9.1 2.2l4.6 1.4 1.8 5.6c.3.8 1.3 1 1.8.4l2.6-2.5 4.7 3.5c.7.5 1.6.1 1.8-.7l3.2-15.5c.2-1-.8-1.9-1.9-1.4zM10 14.2l7.9-6.9-6.3 8.3-.3 2.7-1.3-4.1z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="whatsapp"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 19.5l1.2-3.6A8.5 8.5 0 1 1 8.6 19z'/%3E%3Cpath transform='translate(7.2 7.2) scale(.42)' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 19.5l1.2-3.6A8.5 8.5 0 1 1 8.6 19z'/%3E%3Cpath transform='translate(7.2 7.2) scale(.42)' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="viber"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3c-5.4 0-8 2.2-8 7.5 0 3 .8 4.9 2.4 6V20l2.9-2.2c.9.2 1.8.2 2.7.2 5.4 0 8-2.2 8-7.5S17.4 3 12 3z'/%3E%3Cpath transform='translate(7.4 6.3) scale(.4)' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3c-5.4 0-8 2.2-8 7.5 0 3 .8 4.9 2.4 6V20l2.9-2.2c.9.2 1.8.2 2.7.2 5.4 0 8-2.2 8-7.5S17.4 3 12 3z'/%3E%3Cpath transform='translate(7.4 6.3) scale(.4)' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="signal"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 19.5l1.1-3.4A8.5 8.5 0 1 1 8 18.6z'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 19.5l1.1-3.4A8.5 8.5 0 1 1 8 18.6z'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="messenger"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3C7 3 3 6.7 3 11.3c0 2.6 1.3 4.9 3.3 6.4V21l3-1.7c.9.3 1.8.4 2.7.4 5 0 9-3.7 9-8.3S17 3 12 3z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7.5 13.5l3-3.2 2.4 2.2 3.6-3.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3C7 3 3 6.7 3 11.3c0 2.6 1.3 4.9 3.3 6.4V21l3-1.7c.9.3 1.8.4 2.7.4 5 0 9-3.7 9-8.3S17 3 12 3z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7.5 13.5l3-3.2 2.4 2.2 3.6-3.8'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="instagram"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.2'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="facebook"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.5h2.6l.4-3h-3V8.6c0-.9.3-1.5 1.5-1.5h1.6V4.4c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H7.8v3h2.6V21z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.5h2.6l.4-3h-3V8.6c0-.9.3-1.5 1.5-1.5h1.6V4.4c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H7.8v3h2.6V21z'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="tiktok"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.2 3c.3 2.3 1.8 3.8 4 4v3c-1.5 0-2.8-.4-4-1.2v6.4A6 6 0 1 1 10 9.2v3.1a2.9 2.9 0 1 0 2.9 2.9V3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.2 3c.3 2.3 1.8 3.8 4 4v3c-1.5 0-2.8-.4-4-1.2v6.4A6 6 0 1 1 10 9.2v3.1a2.9 2.9 0 1 0 2.9 2.9V3z'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="phone"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="email"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3.5 6.5 8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3.5 6.5 8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.wsc-c-link[data-type="link"] .wsc-c-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
.wsc-c-icon { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 15.5V6.5A2.5 2.5 0 0 1 6.5 4h9A2.5 2.5 0 0 1 18 6.5v5a2.5 2.5 0 0 1-2.5 2.5H8z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M21 10v9l-3-2.2h-5.5A2.5 2.5 0 0 1 10 14.3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 15.5V6.5A2.5 2.5 0 0 1 6.5 4h9A2.5 2.5 0 0 1 18 6.5v5a2.5 2.5 0 0 1-2.5 2.5H8z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M21 10v9l-3-2.2h-5.5A2.5 2.5 0 0 1 10 14.3'/%3E%3C/svg%3E"); }

/* Inside the chat assistant's message bubble (wsc-assistant) */
.wsc-a-contacts .wsc-c-intro { margin: 2px 0 6px; }
.wsc-a-contacts .wsc-c-list { margin: 0 -8px; }
.wsc-a-contacts .wsc-c-link:hover { background: var(--wc-bg); }
