/**
 * Currency dropdown. Site-owned replacement for the pricing-page currency list.
 * License: MIT
 *
 * Sizes and colors below were measured from the rendered pricing page
 * (button 36px tall, 8px 16px padding, 40px radius, Titillium Web label,
 * panel 300px wide). They are not copied from the removed plugin stylesheet.
 */

.currency-dropdown {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
}

/* The kit paints every button with the accent color. Two classes beat that rule. */
.elementor-kit-21 .currency-dropdown__button,
.currency-dropdown__button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 16px;
  background-color: #fff;
  color: var(--e-global-color-primary, #420273);
  border: 1px solid #fff;
  border-radius: 40px;
  cursor: pointer;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.elementor-kit-21 .currency-dropdown__button:hover,
.currency-dropdown__button:hover {
  border-color: var(--e-global-color-primary, #420273);
  background-color: #fff;
  color: var(--e-global-color-primary, #420273);
}

.currency-dropdown__button-text {
  flex: 1 1 auto;
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1em;
  text-align: center;
  text-transform: capitalize;
}

/* English capitalises the label. The French pages keep the source case. */
html[lang|="fr"] .currency-dropdown__button-text {
  text-transform: none;
}

.currency-dropdown__button-icon {
  display: inline-flex;
  margin-left: 5px;
  flex: 0 0 auto;
}

.currency-dropdown__button-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--e-global-color-primary, #420273);
}

/* Live leaves the chevron pointing down while the list is open. */

.currency-dropdown__content-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  max-width: 90vw;
  margin-top: 10px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.currency-dropdown.is-open .currency-dropdown__content-wrapper {
  opacity: 1;
  visibility: visible;
}

.currency-dropdown__content {
  padding: 10px;
  background: #fff;
  color: var(--e-global-color-primary, #420273);
  font-family: "Titillium Web", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.currency-dropdown__content h6 {
  margin: 8px 0 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

/* Rows stack on the line box. The old 30px margin made each currency
   about 52px tall. The scrolling frame stays the 400px box in the page CSS. */
.currency-dropdown__content p {
  margin: 0;
  padding: 0 0 0 10px;
  line-height: 1.5;
  cursor: pointer;
}

.currency-dropdown__content p:hover {
  background: #f4f4f4;
}

@media (max-width: 1115px) {
  .currency-dropdown__button-text,
  .currency-dropdown__content {
    font-size: 14px;
  }
}

/* Below 1104px only the US and UK pricing widgets shrink to the label
   (the same widgets prod sets to width:auto). French and tax-exempt
   columns keep a full-width button. */
@media (max-width: 1104px) {
  .elementor-element-b1776b4 .currency-dropdown,
  .elementor-element-99da4a3 .currency-dropdown {
    width: max-content;
    margin-left: auto;
  }
}
