.opx-traka-anchor { height: 0; }
.opx-traka[hidden], .opx-traka-panel:not([open]) { display: none; }
.opx-traka {
  position: fixed; z-index: 995; inset: auto 0 0; background: #fff;
  color: #20251f; border-top: 1px solid #d9ddd5; box-shadow: 0 -4px 18px #18231b12;
  padding: 0 14px env(safe-area-inset-bottom, 0px);
}
body.xoo-wsc-cart-active .opx-traka, body.xoo-wsc-slider-active .opx-traka { visibility: hidden; }
.opx-traka-inner { max-width: 1080px; margin: auto; min-height: 66px; display: flex; align-items: center; gap: 12px; }
.opx-traka-thumb { flex: 0 0 44px; }
.opx-traka-thumb img { display: block; width: 44px; height: 44px; object-fit: contain; border-radius: 5px; }
.opx-traka-details { flex: 1; min-width: 0; }
.opx-traka-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .875rem; }
.opx-traka-price { display: block; line-height: 1.3; font-size: 1.05rem; }
.opx-traka-toggle, .opx-traka-panel .opx-traka-close {
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit;
  min-height: 44px; box-sizing: border-box; border: 0; border-radius: 8px;
}
.opx-traka .opx-traka-toggle { flex: none; gap: .6em; padding: 0 15px; font-weight: 700; background: #252a25; color: #fff; }
.opx-traka-arrow { width: 8px; height: 8px; border: solid #edcc86; border-width: 2px 2px 0 0; transform: translateY(2px) rotate(-45deg); }
.opx-traka-panel {
  position: fixed; inset: auto 0 0; margin: 0 auto; width: min(100%, 490px); max-width: 100%;
  max-height: 82vh; max-height: 82dvh; overflow: auto; overscroll-behavior: contain;
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box;
  color: #20251f; background: #fff; border: 1px solid #d9ddd5; border-radius: 16px 16px 0 0;
}
.opx-traka-panel::backdrop { background: rgb(21 26 22 / 48%); }
.opx-traka-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.opx-traka-panel .opx-traka-heading h2 { margin: .3em 0; font-size: 1.15rem; line-height: 1.35; }
.opx-traka-panel .opx-traka-close { min-width: 44px; padding: 0; background: #f0f2ef; color: #252a25; font-size: 1.5rem; }
.opx-traka-panel .opx-traka-unit { margin: 0 0 1rem; font-size: 1.12rem; font-weight: 700; }
.woocommerce div.product .opx-traka-slot form.cart { margin: 0; }
.opx-traka-slot form.cart select { max-width: 100%; }
.opx-traka-toggle:focus-visible, .opx-traka-close:focus-visible { outline: 3px solid #90702e; outline-offset: 2px; }
@media (max-width: 370px) {
  .opx-traka { padding-inline: 8px; }
  .opx-traka-inner { gap: 7px; }
  .opx-traka-thumb, .opx-traka-thumb img { width: 32px; height: 32px; flex-basis: 32px; }
  .opx-traka .opx-traka-toggle { padding-inline: 9px; font-size: .875rem; }
}

.opx-traka-slot details { margin: 0 0 12px; }
.opx-traka-slot summary { min-height: 44px; align-content: center; cursor: pointer; font: inherit; }
