/* Currency is presentation only; all cart/checkout price HTML stays in TRY. */
.odxml-usd{display:none!important}
html.odxml-show-usd .odxml-usd{display:inline!important}
html.odxml-show-usd .odxml-tl{display:none!important}
html.odxml-show-usd :is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account,.woocommerce-mini-cart,.widget_shopping_cart,.cart-widget-side,.wd-header-cart,.wc-block-mini-cart,.wc-block-cart,.wc-block-checkout) .odxml-usd{display:none!important}
html.odxml-show-usd :is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account,.woocommerce-mini-cart,.widget_shopping_cart,.cart-widget-side,.wd-header-cart,.wc-block-mini-cart,.wc-block-cart,.wc-block-checkout) .odxml-tl{display:inline!important}
/* Compact selector inherits WoodMart's header color and typography. */
.odxml-switch{display:inline-flex;align-items:center;justify-content:center;gap:2px;vertical-align:middle;white-space:nowrap;line-height:1;color:inherit;font-family:inherit;padding:2px;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 35%,transparent);border-radius:5px;box-sizing:border-box}
.whb-color-light .odxml-switch{color:#fff}
.whb-color-dark .odxml-switch{color:var(--wd-header-el-color,#333)}
.odxml-switch .odxml-currency-btn{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;width:auto;min-width:0;min-height:0;height:23px;padding:0 7px;margin:0;border:0;border-radius:3px;background:transparent;box-shadow:none;color:inherit;font-family:inherit;font-size:11px;font-weight:600;line-height:1;letter-spacing:.02em;text-transform:none;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,opacity .15s ease;opacity:.75}
.odxml-switch .odxml-currency-btn:hover{background:rgba(127,127,127,.13);color:inherit;opacity:1;box-shadow:none;transform:none}
.odxml-switch .odxml-currency-btn:focus-visible{outline:1px solid currentColor;outline-offset:1px}
html.odxml-currency-ready:not(.odxml-show-usd) .odxml-switch [data-odxml-currency="TRY"],html.odxml-show-usd .odxml-switch [data-odxml-currency="USD"],html:not(.odxml-currency-ready) .odxml-switch [aria-pressed="true"]{background:rgba(127,127,127,.22);background:color-mix(in srgb,currentColor 18%,transparent);color:inherit;opacity:1;font-weight:700}
@media(max-width:767px){.odxml-switch .odxml-currency-btn{padding:0 5px;font-size:10px;height:22px}}
.odxml-slider{position:relative;width:100%;overflow:hidden}.odxml-slide{display:block}.odxml-slide[hidden]{display:none!important}.odxml-slide img{display:block;width:100%;height:auto}.odxml-nav{position:absolute;bottom:12px;right:12px;display:flex;gap:6px}.odxml-nav button{border:1px solid #ddd;background:#fff;color:#222;border-radius:5px;padding:6px 10px;cursor:pointer;font-size:20px;line-height:1}

/* Server-side fallback when the frontend JS has not loaded. */
html:not(.odxml-currency-ready) body.odxml-server-usd .odxml-usd{display:inline!important}
html:not(.odxml-currency-ready) body.odxml-server-usd .odxml-tl{display:none!important}
html:not(.odxml-currency-ready) body.odxml-server-usd:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .odxml-usd,html:not(.odxml-currency-ready) body.odxml-server-usd :is(.woocommerce-mini-cart,.widget_shopping_cart,.cart-widget-side,.wd-header-cart,.wc-block-mini-cart,.wc-block-cart,.wc-block-checkout) .odxml-usd{display:none!important}
html:not(.odxml-currency-ready) body.odxml-server-usd:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .odxml-tl,html:not(.odxml-currency-ready) body.odxml-server-usd :is(.woocommerce-mini-cart,.widget_shopping_cart,.cart-widget-side,.wd-header-cart,.wc-block-mini-cart,.wc-block-cart,.wc-block-checkout) .odxml-tl{display:inline!important}
.odxml-switch a.odxml-currency-btn{text-decoration:none!important;pointer-events:auto;touch-action:manipulation}
