/* =============================================================
   Complete Shop Manager — Marketing Website Styles
   Uses CSM brand palette (defined in app.css :root and
   mirrored in tailwind_config.php).
   ============================================================= */

/* ---- Typography -------------------------------------------- */
.ws-body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #1e293b; /* slate-800 */
  background: #ffffff;
}

h1, h2, h3, h4, .ws-heading {
  font-family: 'Montserrat', 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}


/* ---- Layout helpers --------------------------------------- */
.ws-main {
  min-height: calc(100vh - 72px);
}

.ws-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.ws-section {
  padding-block: 5rem;
}

.ws-section--sm {
  padding-block: 3rem;
}

.ws-section--dark {
  background: #0d1c32; /* brand-900 */
  color: #ffffff;
}

.ws-section--navy {
  background: #142a4b; /* brand-850 */
  color: #ffffff;
}

.ws-section--tint {
  background: #f5f9fe; /* brand-50 */
}


/* ---- Buttons ---------------------------------------------- */
.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: 0.5rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.ws-btn--primary {
  background: #448cfb; /* brand-500 */
  color: #ffffff;
  border-color: #448cfb;
}
.ws-btn--primary:hover {
  background: #3670c8; /* brand-600 */
  border-color: #3670c8;
}

.ws-btn--ghost {
  background: transparent;
  color: #1b3864; /* brand-800 */
  border-color: transparent;
}
.ws-btn--ghost:hover {
  background: #d9e8fe; /* brand-100 */
}

.ws-btn--outline {
  background: transparent;
  color: #448cfb;
  border-color: #448cfb;
}
.ws-btn--outline:hover {
  background: #d9e8fe;
}

.ws-btn--outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}
.ws-btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
}

.ws-btn--full {
  width: 100%;
}

.ws-btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}


/* ---- Header / Nav ---------------------------------------- */
.ws-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ws-header--scrolled {
  border-color: #e2e8f0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.ws-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ws-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.ws-logo__mark {
  background: #142a4b; /* brand-850 */
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.5rem;
  border-radius: 0.375rem;
}

.ws-logo__mark--light {
  background: #448cfb;
}

.ws-logo__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0d1c32; /* brand-900 */
  line-height: 1;
}

.ws-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

@media (min-width: 1024px) {
  .ws-nav { display: flex; }
}

.ws-nav__link {
  padding: 0.5rem 0.875rem;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #334155; /* slate-700 */
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.ws-nav__link:hover {
  background: #f1f5f9;
  color: #0d1c32;
}

.ws-header__ctas {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .ws-header__ctas { display: flex; }
}

/* Hamburger */
.ws-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  border-radius: 0.375rem;
}

.ws-hamburger:hover { background: #f1f5f9; }

@media (min-width: 1024px) {
  .ws-hamburger { display: none; }
}

.ws-hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #334155;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile menu */
.ws-mobile-menu {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

@media (min-width: 1024px) {
  .ws-mobile-menu { display: none !important; }
}

.ws-mobile-menu__nav {
  max-width: 1200px;
  margin-inline: auto;
  padding: 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ws-mobile-menu__link {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s;
}

.ws-mobile-menu__link:hover {
  background: #f1f5f9;
}

.ws-mobile-menu__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

[x-cloak] { display: none !important; }


/* ---- Footer ---------------------------------------------- */
.ws-footer {
  background: #0d1c32; /* brand-900 */
  color: #cbd5e1; /* slate-300 */
  padding-top: 4rem;
}

.ws-footer__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .ws-footer__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ws-footer__col {}

.ws-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.ws-footer__brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #ffffff;
}

.ws-footer__tagline {
  font-size: 0.875rem;
  color: #94a3b8; /* slate-400 */
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.ws-footer__heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b; /* slate-500 */
  margin-bottom: 0.75rem;
}

.ws-footer__heading--spaced {
  margin-top: 2rem;
}

.ws-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.ws-footer__link {
  font-size: 0.9375rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.ws-footer__link:hover {
  color: #ffffff;
}

.ws-footer__contact-link {
  font-size: 0.9375rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.ws-footer__contact-link:hover { color: #ffffff; }

.ws-footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.ws-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.375rem;
  background: rgba(255,255,255,0.07);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ws-footer__social svg {
  width: 18px;
  height: 18px;
}

.ws-footer__social:hover {
  background: #448cfb;
  color: #ffffff;
}

.ws-footer__cta-text {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.ws-footer__cta-btn {}

.ws-footer__shop-cta {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

.ws-footer__bottom {
  max-width: 1200px;
  margin-inline: auto;
  padding: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #475569; /* slate-600 */
}


/* ---- Common marketing section components ------------------ */

/* Section heading pattern */
.ws-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #448cfb;
  margin-bottom: 0.75rem;
}

.ws-section-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #0d1c32;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.ws-section-heading--light {
  color: #ffffff;
}

.ws-section-subhead {
  font-size: 1.125rem;
  color: #475569;
  max-width: 620px;
  line-height: 1.65;
}

.ws-section-subhead--light {
  color: #94a3b8;
}

/* Feature card */
.ws-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.ws-card:hover {
  box-shadow: 0 4px 24px rgba(68,140,251,0.1);
  border-color: #b4d1fd;
}

.ws-card--dark {
  background: #142a4b;
  border-color: rgba(255,255,255,0.08);
  color: #cbd5e1;
}

/* Pill / badge */
.ws-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.ws-pill--blue {
  background: #d9e8fe;
  color: #285496;
}

/* Checklist items */
.ws-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.ws-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ws-check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23448cfb'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23d9e8fe'/%3E%3Cpath d='M6 10l3 3 5-5' stroke='%23448cfb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- Features two-column layout -------------------------- */
.ws-feat-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.ws-feat-sidebar {
  flex: 0 0 220px;
  position: sticky;
  top: 88px;
  align-self: flex-start;
}

.ws-feat-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .ws-feat-wrap { flex-direction: column; gap: 2rem; }
  .ws-feat-sidebar { position: static; width: 100%; }
}

/* Features nav */
.ws-feat-nav {
  background: #f8f9fb;
  border-left: 3px solid #448cfb;
  padding: 1rem 1.125rem 1.25rem;
  font-size: 0.875rem;
}

.ws-feat-nav__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.75rem;
}

.ws-feat-nav__link {
  display: block;
  padding: 0.3rem 0;
  color: #334155;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  transition: color 0.12s;
  margin-bottom: 0.1rem;
}
.ws-feat-nav__link:hover { color: #448cfb; }
.ws-feat-nav__link--active {
  color: #0d1c32;
  font-weight: 700;
  pointer-events: none;
}
.ws-feat-nav__link--sub {
  padding-left: 0.625rem;
  font-size: 0.8125rem;
  color: #475569;
}
.ws-feat-nav__link--section {
  font-weight: 600;
  color: #1e293b;
}

.ws-feat-nav__section { margin-top: 0.5rem; }
.ws-feat-nav__children {
  list-style: none;
  margin: 0.2rem 0 0.2rem 0.5rem;
  padding: 0;
  padding-left: 0.5rem;
  border-left: 1px solid #cbd5e1;
  display: none;
}
.ws-feat-nav__section.open .ws-feat-nav__children { display: block; }
.ws-feat-nav__children li { margin: 0; }

/* Features page content */
.ws-feat-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #0d1c32;
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

.csm-feat-section { margin-bottom: 2.5rem; }

.csm-feat-h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0d1c32;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.csm-feat-tagline {
  font-size: 1.0625rem;
  font-style: italic;
  color: #475569;
  margin-bottom: 1rem;
}

.csm-feat-p {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 0.875rem;
}

.csm-feat-benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.csm-feat-benefits li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.75rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9375rem;
  color: #334155;
  line-height: 1.5;
}
.csm-feat-benefits li:last-child { border-bottom: none; }
.csm-feat-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #448cfb;
  font-weight: 700;
}

/* Child card grid (parent section pages) */
.ws-feat-card-grid {
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}
.ws-feat-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
  color: #1e293b;
  transition: background 0.12s;
}
.ws-feat-card-row:last-child { border-bottom: none; }
.ws-feat-card-row:hover { background: #f0f7ff; }
.ws-feat-card-row__body { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; }
.ws-feat-card-row__title { font-weight: 600; font-size: 0.9375rem; color: #0d1c32; }
.ws-feat-card-row__desc { font-size: 0.8125rem; color: #64748b; line-height: 1.4; }
.ws-feat-card-row__arrow { color: #94a3b8; flex-shrink: 0; font-size: 1rem; }
.ws-feat-card-row:hover .ws-feat-card-row__arrow { color: #448cfb; }

/* Divider */
.ws-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin-block: 3rem;
}

/* ============================================================
   Manual / Docs pages  (csm-manual-* content classes)
   ============================================================ */
.csm-manual-section { margin-bottom: 2.5rem; }

.csm-manual-h2 {
  font-size: 1.35rem; font-weight: 700; color: #0d1c32;
  margin-bottom: 0.875rem; line-height: 1.3;
}
.csm-manual-h3 {
  font-size: 1rem; font-weight: 600; color: #1e3a5f;
  margin-bottom: 0.5rem;
}
.csm-manual-p {
  font-size: 0.9375rem; color: #334155; line-height: 1.75;
  margin-bottom: 0.875rem;
}
.csm-manual-feature {
  padding: 1.125rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.csm-manual-note {
  background: #eff6ff;
  border-left: 3px solid #448cfb;
  padding: 0.75rem 1rem;
  border-radius: 0 0.375rem 0.375rem 0;
  font-size: 0.875rem; color: #1e40af;
  margin: 1rem 0;
}
.csm-manual-warn {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  padding: 0.75rem 1rem;
  border-radius: 0 0.375rem 0.375rem 0;
  font-size: 0.875rem; color: #92400e;
  margin: 1rem 0;
}
.csm-manual-list {
  padding-left: 1.5rem; margin-bottom: 1rem;
}
.csm-manual-list li {
  margin-bottom: 0.375rem;
  font-size: 0.9375rem; color: #334155; line-height: 1.6;
}
.csm-manual-code {
  display: block;
  background: #0d1c32; color: #e2e8f0;
  padding: 1.125rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem; font-family: monospace;
  overflow-x: auto; white-space: pre;
  margin: 1rem 0;
}
.csm-manual-table {
  width: 100%; border-collapse: collapse;
  margin: 1rem 0; font-size: 0.875rem;
}
.csm-manual-table th {
  background: #f1f5f9; font-weight: 600; color: #0d1c32;
  padding: 0.5rem 0.875rem; text-align: left;
  border-bottom: 2px solid #cbd5e1;
}
.csm-manual-table td {
  padding: 0.45rem 0.875rem;
  border-bottom: 1px solid #e2e8f0; color: #334155;
  vertical-align: top;
}
.csm-manual-table code {
  font-size: 0.8rem; background: #f1f5f9;
  padding: 0.1rem 0.35rem; border-radius: 0.25rem;
  font-family: monospace;
}
.csm-manual-screenshot {
  max-width: 100%; display: block;
  border: 1px solid #e2e8f0; border-radius: 0.5rem;
  margin: 1rem 0;
}
/* YouTube / video embed */
.csm-manual-video {
  position: relative; padding-bottom: 56.25%;
  height: 0; overflow: hidden;
  border-radius: 0.5rem; margin: 1rem 0;
  background: #0d1c32;
}
.csm-manual-video iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}
/* Numbered steps */
.csm-manual-steps {
  list-style: none; padding-left: 0;
  margin-bottom: 1rem; counter-reset: man-step;
}
.csm-manual-step {
  counter-increment: man-step;
  display: flex; gap: 0.875rem;
  margin-bottom: 0.75rem;
}
.csm-manual-step::before {
  content: counter(man-step);
  min-width: 1.625rem; height: 1.625rem;
  background: #448cfb; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
  margin-top: 0.2rem;
}
.csm-manual-step-body {
  font-size: 0.9375rem; color: #334155; line-height: 1.65;
}
.csm-manual-step-body strong { color: #0d1c32; }
/* Manual index card grid (used on csm-user-manual root page) */
.ws-manual-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.ws-manual-topic-card {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem 1.125rem;
  border: 1px solid #e2e8f0; border-radius: 0.5rem;
  background: #fff; text-decoration: none; color: #1e293b;
  transition: box-shadow 0.14s, border-color 0.14s;
}
.ws-manual-topic-card:hover {
  border-color: #448cfb;
  box-shadow: 0 2px 8px rgba(68,140,251,.12);
}
.ws-manual-topic-card__title {
  font-weight: 600; font-size: 0.9375rem; color: #0d1c32;
}
.ws-manual-topic-card__desc {
  font-size: 0.8125rem; color: #64748b; line-height: 1.4;
}


/* ---- Login dropdown (desktop nav) ----------------------- */
.ws-login-switcher {
  position: relative;
  flex-shrink: 0;
}

.ws-login-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.ws-login-chevron {
  opacity: 0.6;
  transition: transform 0.15s;
  flex-shrink: 0;
}
[aria-expanded="true"] .ws-login-chevron {
  transform: rotate(180deg);
}

.ws-login-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 148px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 0.375rem;
  z-index: 200;
}

.ws-login-option {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.1s, color 0.1s;
}
.ws-login-option:hover { background: #f1f5f9; color: #0d1c32; }


/* ---- App store badges ------------------------------------ */
.ws-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  background: #0d1c32;
  color: #ffffff;
  border-radius: 0.625rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.15);
  min-width: 160px;
  transition: background 0.15s, border-color 0.15s;
}
.ws-app-badge:hover {
  background: #1b3864;
  border-color: rgba(255,255,255,0.3);
}
.ws-app-badge small {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  opacity: 0.65;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ws-app-badge strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
}
.ws-app-badge--lg {
  padding: 0.875rem 1.5rem;
  min-width: 180px;
}
.ws-app-badge--lg strong { font-size: 1.0625rem; }
.ws-app-badge--soon {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}


/* ---- Language switcher (desktop nav) ---------------------- */
.ws-lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.ws-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.75rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #334155;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ws-lang-btn:hover { background: #f1f5f9; color: #0d1c32; }
.ws-lang-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.ws-lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 164px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 0.375rem;
  z-index: 200;
}

.ws-lang-option {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #334155;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.1s, color 0.1s;
}
.ws-lang-option:hover { background: #f1f5f9; color: #0d1c32; }
.ws-lang-option--active {
  background: #d9e8fe;
  color: #1e40af;
  font-weight: 600;
  pointer-events: none;
}

/* Mobile lang pills */
.ws-mobile-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding-top: 0.875rem;
  margin-top: 0.875rem;
  border-top: 1px solid #e2e8f0;
}
.ws-mobile-lang__pill {
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  background: #f1f5f9;
  border: 1px solid transparent;
  transition: background 0.12s, border-color 0.12s;
}
.ws-mobile-lang__pill:hover { background: #e2e8f0; }
.ws-mobile-lang__pill--active {
  background: #d9e8fe;
  color: #1e40af;
  font-weight: 600;
  border-color: #93c5fd;
}
