/*
Theme Name: TraderNinja
Theme URI: https://traderninja.pro
Author: TraderNinja
Description: Tema oscuro profesional para venta de estrategias NinjaTrader. Compatible con WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: traderninja
Tags: dark, ecommerce, woocommerce, trading
*/

/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --bg:        #0a0d12;
  --bg2:       #111620;
  --bg3:       #181f2e;
  --bg4:       #1e2738;
  --accent:    #00e5c4;
  --accent2:   #0cbfa6;
  --accent-dim:  rgba(0,229,196,0.12);
  --accent-dim2: rgba(0,229,196,0.06);
  --text:      #e8edf5;
  --text2:     #8a96ad;
  --text3:     #5a6478;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);
  --green:     #22d97a;
  --red:       #ff4d6a;
  --gold:      #f5c542;
  --radius:    8px;
  --radius-lg: 12px;
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
  --font:      'Inter', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

p { color: var(--text2); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.site-content { min-height: 60vh; }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
  background: rgba(10,13,18,0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  gap: 24px;
}

.site-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text) !important;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.site-logo span { color: var(--accent); }
.site-logo img { height: 36px; width: auto; }

/* Primary nav */
.main-navigation { flex: 1; }

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-navigation ul li a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
  color: var(--accent);
  opacity: 1;
}

/* Header cart */
.header-cart {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cart .cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s;
}

.header-cart .cart-icon:hover {
  border-color: var(--accent);
  opacity: 1;
}

.cart-count {
  background: var(--accent);
  color: #0a0d12;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 20px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  padding: 100px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,229,196,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,196,0.25);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-section h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 22px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-section .hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary,
.button,
button.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a0d12 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-secondary:hover { background: var(--bg3); opacity: 1; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 5%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item { text-align: center; }

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* =============================================
   SECTION STYLES
   ============================================= */
.section {
  padding: 80px 5%;
}

.section-alt { background: var(--bg2); }

.section-header { margin-bottom: 52px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  color: var(--text);
}

.section-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 520px;
}

/* =============================================
   WOOCOMMERCE — PRODUCT ARCHIVE / SHOP
   ============================================= */
.woocommerce-page .woocommerce,
.woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5%;
}

/* Page title */
.woocommerce-products-header__title,
h1.woocommerce-loop-product__title,
.woocommerce h1 {
  color: var(--text);
  font-size: 32px;
  font-weight: 700;
}

/* Product grid */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

ul.products li.product {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

ul.products li.product:hover {
  border-color: rgba(0,229,196,0.4);
  transform: translateY(-4px);
}

ul.products li.product a.woocommerce-loop-product__link {
  display: block;
  color: var(--text);
  text-decoration: none;
}

/* Product image */
ul.products li.product img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}

.woocommerce-loop-category__title,
.woocommerce-loop-product__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text) !important;
  padding: 16px 20px 8px !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .price {
  color: var(--accent) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  padding: 0 20px 8px;
  display: block;
}

.woocommerce ul.products li.product .price del {
  color: var(--text3) !important;
  font-size: 14px;
  font-weight: 400;
}

/* Short description in loop */
ul.products li.product .product-short-desc {
  font-size: 13px;
  color: var(--text2);
  padding: 0 20px 16px;
  line-height: 1.6;
}

/* Add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  background: var(--accent) !important;
  color: #0a0d12 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border: none !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
  width: 100% !important;
  text-align: center !important;
  padding: 13px 20px !important;
  margin: 0 !important;
  transition: opacity 0.2s !important;
  display: block !important;
}

.woocommerce ul.products li.product .button:hover {
  opacity: 0.85 !important;
}

/* =============================================
   WOOCOMMERCE — SINGLE PRODUCT
   ============================================= */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.woocommerce div.product .woocommerce-product-gallery {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.woocommerce div.product .summary {
  padding: 0;
}

.woocommerce div.product .product_title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 16px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 36px !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
  margin-bottom: 24px !important;
  display: block;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

/* Single product add to cart */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--accent) !important;
  color: #0a0d12 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 15px 32px !important;
  border-radius: var(--radius) !important;
  border: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s !important;
  width: 100%;
  text-align: center;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  opacity: 0.85 !important;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  display: block;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--bg2);
  border-color: var(--border);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--accent);
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 28px;
  color: var(--text2);
  font-size: 15px;
  line-height: 1.8;
}

/* =============================================
   CART PAGE
   ============================================= */
.woocommerce-cart .woocommerce {
  padding: 60px 5%;
}

.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.woocommerce-cart table.cart thead th {
  background: var(--bg3);
  color: var(--text2);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.woocommerce-cart table.cart tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.woocommerce-cart table.cart tbody td.product-name a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.woocommerce-cart table.cart tbody td.product-price,
.woocommerce-cart table.cart tbody td.product-subtotal {
  color: var(--accent);
  font-weight: 700;
}

.woocommerce-cart .cart-collaterals {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 28px;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 16px;
}

.woocommerce-cart .cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  font-size: 15px;
}

.woocommerce-cart .cart_totals table .order-total th,
.woocommerce-cart .cart_totals table .order-total td {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  border-bottom: none;
  padding-top: 16px;
}

.woocommerce-cart .cart_totals table .order-total td .amount {
  color: var(--accent);
}

/* =============================================
   CHECKOUT
   ============================================= */
.woocommerce-checkout .woocommerce {
  padding: 60px 5%;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.woocommerce form .form-row label {
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  background: var(--bg3) !important;
  border: 1px solid var(--border2) !important;
  border-radius: var(--radius) !important;
  color: var(--text) !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  width: 100% !important;
  transition: border-color 0.2s !important;
  font-family: var(--font);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* =============================================
   NOTICES & MESSAGES
   ============================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg2) !important;
  border-top: 3px solid var(--accent) !important;
  color: var(--text2) !important;
  border-radius: var(--radius) !important;
  padding: 14px 20px !important;
  margin-bottom: 20px !important;
}

.woocommerce-error { border-top-color: var(--red) !important; }

/* =============================================
   CARD / PRODUCT CARD COMPONENT
   ============================================= */
.product-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.product-card:hover {
  border-color: rgba(0,229,196,0.4);
  transform: translateY(-4px);
}

/* =============================================
   HOW IT WORKS STEPS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
}

.step-item { text-align: center; }

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,196,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 16px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.testi-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testi-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,196,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.testi-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testi-role {
  font-size: 12px;
  color: var(--text3);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 5% 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  display: block;
}

.footer-brand .footer-logo span { color: var(--accent); }

.footer-brand p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--text3);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text3);
}

.footer-bottom .footer-legal {
  display: flex;
  gap: 20px;
}

.footer-bottom .footer-legal a {
  color: var(--text3);
  font-size: 13px;
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.woocommerce-breadcrumb {
  padding: 16px 5%;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text3);
}

.woocommerce-breadcrumb a {
  color: var(--text3);
}

.woocommerce-breadcrumb a:hover { color: var(--accent); opacity: 1; }

/* =============================================
   UTILITIES
   ============================================= */
.accent { color: var(--accent); }
.text-muted { color: var(--text2); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,196,0.25);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-hot {
  background: rgba(255,77,106,0.12);
  border-color: rgba(255,77,106,0.25);
  color: var(--red);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .main-navigation.open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 20px 5%; }
  .main-navigation.open ul { flex-direction: column; gap: 16px; }
  .menu-toggle { display: block; }

  .woocommerce div.product { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-section { padding: 60px 5% 50px; }
  ul.products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .stats-bar { gap: 24px; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* =============================================
   LANGUAGE SWITCHER
   ============================================= */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 3px 4px;
}

.lang-btn,
.lang-switcher a {
  background: transparent;
  border: none;
  color: var(--text2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
  font-family: var(--font);
  line-height: 1;
}

.lang-btn:hover,
.lang-switcher a:hover {
  color: var(--accent);
  opacity: 1;
}

.lang-btn.active,
.lang-switcher .current-lang a,
.lang-switcher li.current-lang a {
  background: var(--accent);
  color: #0a0d12 !important;
  border-radius: 5px;
  opacity: 1;
}

.lang-sep {
  color: var(--text3);
  font-size: 11px;
  user-select: none;
}

/* Polylang generates <ul> — reset it */
.lang-switcher ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.lang-switcher ul li { margin: 0; padding: 0; }
