
/* Only the archive ordering component. */
body:is(.tax-product_cat,.post-type-archive-product) .woocommerce-ordering.dc66-ordering {display:block;position:relative;z-index:8;width:max-content;max-width:100%;min-height:44px;margin:0;font-family:inherit;font-size:14px;color:#eee;background:transparent;overflow:visible}
body:is(.tax-product_cat,.post-type-archive-product) .woocommerce-ordering.dc66-ordering::before,
body:is(.tax-product_cat,.post-type-archive-product) .woocommerce-ordering.dc66-ordering::after {content:none}
.dc66-ordering .dc66-trigger {display:none;box-sizing:border-box;width:100%;min-height:44px;align-items:center;justify-content:flex-end;gap:6px;padding:7px 0 7px 8px;border:0;background:transparent;color:#eee;font:inherit;line-height:1.4;cursor:pointer;text-align:left;box-shadow:none;border-radius:4px}
.dc66-ordering.is-ready .dc66-trigger {display:flex}
.dc66-ordering.is-ready :is(.dc66-fallback,.dc66-fallback-submit) {display:none!important}
.dc66-ordering .dc66-prefix {font-weight:700;white-space:nowrap}
.dc66-ordering .dc66-current {font-weight:400;white-space:nowrap}
.dc66-ordering .dc66-arrow {display:block;box-sizing:border-box;flex:0 0 10px;width:10px;height:10px;border:0;border-right:2px solid #C6A34A;border-bottom:2px solid #C6A34A;border-radius:0;background:transparent;color:#C6A34A;transform:rotate(45deg);margin:0 3px 5px 6px}
.dc66-ordering .dc66-trigger[aria-expanded=true] .dc66-arrow {transform:rotate(225deg);margin-top:7px;margin-bottom:0}
.dc66-ordering .dc66-trigger:is(:hover,[aria-expanded=true]) .dc66-current {color:#C6A34A}
.dc66-ordering .dc66-trigger:focus-visible {outline:2px solid #C6A34A;outline-offset:3px}
.dc66-ordering .dc66-list {box-sizing:border-box;position:absolute;right:0;top:calc(100% + 8px);width:248px;max-width:calc(100vw - 40px);max-height:min(340px,calc(100dvh - 100px));overflow-y:auto;overflow-x:hidden;padding:0;border:1px solid #38342A;border-radius:8px;background:#141517;color:#eee;box-shadow:0 5px 16px #0005;scrollbar-width:thin;scrollbar-color:#8B7540 #24262A}
.dc66-ordering .dc66-list[hidden] {display:none!important}
.dc66-ordering .dc66-list::-webkit-scrollbar {width:7px}
.dc66-ordering .dc66-list::-webkit-scrollbar-track {background:#24262A;border-radius:8px}
.dc66-ordering .dc66-list::-webkit-scrollbar-thumb {background:#8B7540;border-radius:8px;border:2px solid #24262A}
.dc66-ordering .dc66-option {display:block;box-sizing:border-box;width:100%;min-height:38px;padding:9px 22px;border:0;border-radius:0;background:transparent;color:#E2E3E5;text-align:left;font:inherit;font-size:14px;line-height:20px;white-space:normal;overflow-wrap:normal;box-shadow:none;cursor:pointer}
.dc66-ordering .dc66-option[aria-selected=true] {color:#C6A34A;background:#1E1C16}
.dc66-ordering .dc66-option:is(:hover,:focus-visible) {background:#25272A;color:#E2C474;outline:0;box-shadow:inset 2px 0 #C6A34A}
@media(min-width:1025px) {
 body:is(.tax-product_cat,.post-type-archive-product) .woocommerce-ordering.dc66-ordering {grid-column:3;grid-row:3;justify-self:end;align-self:start}
}
@media(max-width:1024px) {
 body:is(.tax-product_cat,.post-type-archive-product) .woocommerce-ordering.dc66-ordering {margin:14px 0 18px auto}
 .dc66-ordering .dc66-option {min-height:44px;padding-top:12px;padding-bottom:12px}
}
@media(max-width:479px) {
 body:is(.tax-product_cat,.post-type-archive-product) .woocommerce-ordering.dc66-ordering {font-size:13px}
 .dc66-ordering .dc66-trigger {gap:5px;padding-left:0}
 .dc66-ordering .dc66-arrow {margin-left:3px}
 .dc66-ordering .dc66-list {width:248px;max-height:min(340px,60dvh)}
}

/* Open menu must sit above the existing floating cart, without changing it. */
body:is(.tax-product_cat,.post-type-archive-product) .woocommerce-ordering.dc66-ordering:has(.dc66-trigger[aria-expanded=true]) {z-index:10000}
