/* Tiny WordPress-only layer. Visual styling comes from the original Vite Tailwind bundle. */
body.admin-bar .fixed.top-0 {
  top: 32px;
}

body.admin-bar header.fixed.top-7 {
  top: calc(1.75rem + 32px);
}

.glowera-wp-icon {
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.glowera-native-select {
  background-image: none;
}

[data-gw-suggest-promo] .bg-gradient-gold svg {
  color: #fff;
}

[data-gw-static-page] main .opacity-0 {
  opacity: 1;
}

.gw-locale-switcher {
  position: relative;
}

.gw-locale-summary {
  border-radius: 999px !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.gw-locale-summary:focus-visible,
.gw-locale-option:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.32);
}

.gw-locale-switcher--header .gw-locale-summary,
.gw-locale-switcher--mobile .gw-locale-summary {
  border: 1px solid hsl(var(--border) / 0.45) !important;
  background: hsl(var(--background) / 0.86) !important;
  color: hsl(var(--foreground) / 0.84) !important;
  box-shadow: 0 1px 2px hsl(var(--foreground) / 0.05);
}

.gw-locale-switcher--header .gw-locale-summary:hover,
.gw-locale-switcher--mobile .gw-locale-summary:hover {
  border-color: hsl(var(--foreground) / 0.25) !important;
  background: hsl(var(--secondary) / 0.35) !important;
  color: hsl(var(--foreground)) !important;
}

.gw-locale-flag {
  width: 27px !important;
  height: 18px !important;
  border-radius: 4px !important;
}

.gw-locale-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gw-locale-panel {
  border-radius: 12px !important;
  scrollbar-gutter: stable;
}

.gw-locale-switcher--header .gw-locale-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 50;
  width: 430px !important;
  max-width: calc(100vw - 2rem);
  margin-top: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.35);
  background: hsl(var(--background) / 0.95);
  box-shadow: 0 24px 70px hsl(var(--foreground) / 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.gw-locale-switcher--header .gw-locale-list {
  max-height: min(460px, calc(100vh - 210px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.gw-locale-switcher--footer .gw-locale-panel {
  max-height: min(440px, 62vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.gw-locale-switcher--mobile .gw-locale-panel {
  max-height: min(360px, 48vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.gw-locale-switcher--mobile .gw-locale-panel {
  border: 1px solid hsl(var(--border) / 0.35);
  background: hsl(var(--background) / 0.95);
  box-shadow: 0 18px 48px hsl(var(--foreground) / 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.gw-locale-switcher--footer .gw-locale-panel {
  border: 1px solid hsl(var(--background) / 0.15);
  background:
    linear-gradient(180deg, hsl(var(--background) / 0.092), hsl(var(--background) / 0.055)),
    hsl(var(--foreground) / 0.18);
  box-shadow:
    inset 0 1px 0 hsl(var(--background) / 0.06),
    0 18px 48px hsl(var(--foreground) / 0.2);
  color: hsl(var(--background) / 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem;
}

.gw-locale-option {
  border-radius: 8px !important;
}

.gw-locale-switcher--footer .gw-locale-summary {
  border-color: hsl(var(--background) / 0.15) !important;
  background: hsl(var(--background) / 0.072) !important;
  color: hsl(var(--background) / 0.82) !important;
  min-height: 58px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-shadow:
    inset 0 1px 0 hsl(var(--background) / 0.08),
    0 10px 28px hsl(var(--foreground) / 0.12);
}

.gw-locale-switcher--footer .gw-locale-summary:hover {
  border-color: hsl(var(--background) / 0.25) !important;
  background: hsl(var(--background) / 0.1) !important;
  color: hsl(var(--background)) !important;
}

.gw-locale-switcher--footer .gw-locale-option {
  min-height: 58px;
  padding: 0.78rem 0.88rem 0.78rem 1rem !important;
  color: hsl(var(--background) / 0.68) !important;
  border: 1px solid transparent;
}

.gw-locale-switcher--footer .gw-locale-option:hover,
.gw-locale-switcher--footer .gw-locale-option.is-active {
  border-color: hsl(var(--background) / 0.1);
  background:
    linear-gradient(90deg, hsl(var(--background) / 0.12), hsl(var(--background) / 0.07)) !important;
  color: hsl(var(--background)) !important;
}

.gw-locale-switcher--footer .gw-locale-option-language {
  color: hsl(var(--background) / 0.46) !important;
}

.gw-locale-switcher--footer .gw-locale-summary-main {
  gap: 0.95rem !important;
}

.gw-locale-switcher--footer .gw-locale-option-main {
  gap: 1.05rem !important;
}

.gw-locale-switcher--footer .gw-locale-flag {
  border-color: hsl(var(--background) / 0.2) !important;
  background: hsl(var(--background) / 0.1) !important;
  box-shadow:
    0 1px 2px hsl(var(--foreground) / 0.16),
    0 0 0 4px hsl(var(--background) / 0.035);
}

.gw-locale-currency {
  border-radius: 999px !important;
  white-space: nowrap;
}

.gw-locale-switcher--footer .gw-locale-currency {
  border-color: hsl(var(--background) / 0.15) !important;
  color: hsl(var(--background) / 0.58) !important;
  min-width: 42px;
  text-align: center;
}

.gw-locale-switcher--footer .gw-locale-option.is-active .gw-locale-currency {
  border-color: hsl(var(--primary) / 0.4) !important;
  background: hsl(var(--primary) / 0.18) !important;
  color: hsl(var(--background)) !important;
}

.gw-locale-switcher--footer .gw-locale-panel::-webkit-scrollbar {
  width: 10px;
}

.gw-locale-switcher--footer .gw-locale-panel::-webkit-scrollbar-track {
  background: hsl(var(--background) / 0.035);
  border-radius: 999px;
}

.gw-locale-switcher--footer .gw-locale-panel::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: hsl(var(--background) / 0.28);
  background-clip: content-box;
}

@media (max-width: 1023px) {
  .gw-locale-switcher--header {
    display: none !important;
  }
}

.gw-woo-checkout .woocommerce {
  color: hsl(var(--foreground));
  font-family: var(--font-body, inherit);
}

.gw-woo-checkout .woocommerce form.checkout {
  display: grid;
  gap: 2rem;
}

.gw-woo-checkout .woocommerce-billing-fields,
.gw-woo-checkout #order_review,
.gw-woo-checkout .woocommerce-additional-fields {
  border: 1px solid hsl(var(--border) / 0.35);
  padding: 1.75rem;
  background: hsl(var(--card) / 0.2);
}

.gw-woo-checkout .woocommerce h3 {
  font-family: var(--font-display, inherit);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.gw-woo-checkout .woocommerce input.input-text,
.gw-woo-checkout .woocommerce textarea,
.gw-woo-checkout .woocommerce select {
  min-height: 44px;
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 0.75rem 0.9rem;
  border-radius: 0;
}

.gw-woo-checkout .woocommerce table.shop_table {
  border: 0;
  border-collapse: collapse;
}

.gw-woo-checkout .woocommerce table.shop_table th,
.gw-woo-checkout .woocommerce table.shop_table td {
  border-top: 1px solid hsl(var(--border) / 0.35);
  padding: 0.9rem 0;
}

.gw-woo-checkout .woocommerce button.button,
.gw-woo-checkout .woocommerce #place_order {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--gold, var(--primary))));
  color: #fff;
  min-height: 48px;
  padding: 0 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  font-weight: 500;
}
