/* Footer: newsletter above brand; link columns spread evenly */
.pb-site-footer-top {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) !important;
  gap: 28px 32px !important;
  align-items: start !important;
}
.pb-site-footer-brand .pb-site-footer-news {
  margin: 0 0 20px !important;
}
.pb-site-footer-brand .pb-site-footer-news h4 {
  margin: 0 0 6px !important;
}
.pb-site-footer-brand .pb-site-footer-news p {
  margin: 0 0 10px !important;
  font-size: 14px !important;
  color: inherit !important;
  opacity: 0.85 !important;
}
.pb-site-footer-tagline {
  max-width: 280px !important;
}
.pb-site-footer-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 20px 20px !important;
  width: 100% !important;
}
.pb-site-newsletter {
  flex-wrap: nowrap !important;
  max-width: 320px !important;
}
.pb-site-news-btn {
  flex-shrink: 0 !important;
}
.pb-site-footer-legal-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 16px !important;
  align-items: center !important;
}

/* Footer Preferences column styling (Theme, Currency, Language) */
.pb-site-footer-preferences {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pb-site-footer-preferences h4 {
  margin-bottom: 4px;
}
.pb-footer-pref-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.pb-footer-pref-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin: 0;
  line-height: 1.2;
}
html[data-pb-theme="dark"] .pb-footer-pref-label {
  color: #94a3b8;
}
.pb-site-footer-preferences .pb-public-theme-toggle {
  margin-left: 0;
  width: fit-content;
}
.pb-footer-currency,
.pb-footer-language,
.pb-footer-currency-wrap,
.pb-footer-language-wrap,
.pb-footer-pref-control {
  display: block;
  position: relative;
  width: fit-content;
}
.pb-footer-dropdown {
  position: relative;
}
.pb-footer-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
  outline: none !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.pb-footer-pill-btn:hover,
.pb-footer-pill-btn:focus {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
  text-decoration: none !important;
}
.pb-pref-static {
  cursor: default !important;
}
.pb-pref-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #64748b;
  flex-shrink: 0;
}
.pb-curr-symbol-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.pb-pref-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}
.pb-pref-pill-label strong {
  font-weight: 700;
}
.pb-pref-pill-sub {
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
}
.pb-pref-caret {
  font-size: 12px;
  color: #94a3b8;
  margin-left: 2px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.dropdown.open > .pb-footer-pill-btn .pb-pref-caret {
  transform: rotate(180deg);
}

html[data-pb-theme="dark"] .pb-footer-pill-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
html[data-pb-theme="dark"] .pb-footer-pill-btn:hover,
html[data-pb-theme="dark"] .pb-footer-pill-btn:focus {
  background: #334155 !important;
  border-color: #475569 !important;
  color: #ffffff !important;
}
html[data-pb-theme="dark"] .pb-curr-symbol-badge {
  background: #334155;
  color: #f8fafc;
}
html[data-pb-theme="dark"] .pb-pref-pill-label {
  color: #f8fafc;
}
html[data-pb-theme="dark"] .pb-pref-pill-sub,
html[data-pb-theme="dark"] .pb-pref-pill-icon,
html[data-pb-theme="dark"] .pb-pref-caret {
  color: #94a3b8;
}

/* Modern dropdown menus */
.pb-footer-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  z-index: 1050 !important;
  display: none;
  min-width: 180px !important;
  padding: 6px !important;
  margin: 0 !important;
  list-style: none !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
}
.dropdown.open > .pb-footer-dropdown-menu {
  display: block !important;
}
.pb-dropdown-item {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  outline: none !important;
  white-space: nowrap !important;
}
.pb-dropdown-item:hover,
.pb-dropdown-item:focus {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}
.pb-dropdown-item.is-active {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 600 !important;
}
.pb-dropdown-symbol-badge {
  font-weight: 700 !important;
  color: #64748b !important;
  width: 16px !important;
  text-align: center !important;
}
.pb-dropdown-code {
  font-weight: 700 !important;
  color: #0f172a !important;
}
.pb-dropdown-title,
.pb-dropdown-name {
  color: #64748b !important;
  font-size: 12px !important;
  flex: 1 !important;
}
.pb-dropdown-icon {
  font-size: 12px !important;
  color: #64748b !important;
  width: 16px !important;
  text-align: center !important;
}
.pb-check-icon {
  color: #0284c7 !important;
  font-size: 12px !important;
}

html[data-pb-theme="dark"] .pb-footer-dropdown-menu {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
}
html[data-pb-theme="dark"] .pb-dropdown-item {
  color: #cbd5e1 !important;
}
html[data-pb-theme="dark"] .pb-dropdown-item:hover,
html[data-pb-theme="dark"] .pb-dropdown-item:focus,
html[data-pb-theme="dark"] .pb-dropdown-item.is-active {
  background-color: #334155 !important;
  color: #ffffff !important;
}
html[data-pb-theme="dark"] .pb-dropdown-code {
  color: #ffffff !important;
}
html[data-pb-theme="dark"] .pb-dropdown-symbol-badge,
html[data-pb-theme="dark"] .pb-dropdown-title,
html[data-pb-theme="dark"] .pb-dropdown-name,
html[data-pb-theme="dark"] .pb-dropdown-icon {
  color: #94a3b8 !important;
}
html[data-pb-theme="dark"] .pb-check-icon {
  color: #38bdf8 !important;
}

html[data-pb-theme="dark"] .pb-site-footer-quick {
  border-bottom-color: #2e2e2e !important;
}
html[data-pb-theme="dark"] .pb-site-footer-quick h4,
html[data-pb-theme="dark"] .pb-site-footer-col h4,
html[data-pb-theme="dark"] .pb-site-footer-news h4 {
  color: #f7f7f7 !important;
}
html[data-pb-theme="dark"] .pb-site-footer-quick-links a {
  background: #242424 !important;
  border-color: #383838 !important;
  color: #f7f7f7 !important;
}
html[data-pb-theme="dark"] .pb-site-footer-quick-links a:hover {
  background: #2e2e2e !important;
  border-color: #ff385c !important;
  color: #ff385c !important;
}
html[data-pb-theme="dark"] .pb-site-footer-col a {
  color: #d4d4d4 !important;
}
html[data-pb-theme="dark"] .pb-site-footer-col a:hover {
  color: #ff385c !important;
}
html[data-pb-theme="dark"] .pb-site-social {
  background: #242424 !important;
  border-color: #383838 !important;
  color: #d4d4d4 !important;
}
html[data-pb-theme="dark"] .pb-site-social:hover {
  background: rgba(255, 56, 92, 0.2) !important;
  border-color: #ff385c !important;
  color: #ffffff !important;
}


@media (min-width: 1200px) {
  .pb-site-footer-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 1199px) and (min-width: 901px) {
  .pb-site-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  .pb-site-footer-top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 28px 0 !important;
  }
  .pb-site-footer-brand {
    width: 100% !important;
    max-width: 100% !important;
  }
  .pb-site-footer-grid {
    width: 100% !important;
  }
  .pb-site-newsletter {
    max-width: none !important;
  }
}
@media (max-width: 740px) and (min-width: 481px) {
  .pb-site-footer-top {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .pb-site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }
}
@media (max-width: 640px) {
  .pb-site-newsletter {
    flex-wrap: wrap !important;
  }
}
@media (max-width: 480px) {
  .pb-site-footer-top {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .pb-site-footer-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
}

