.war-offcanvas-resizable .offcanvas-header,
.war-offcanvas-resizable .offcanvas-body,
.war-offcanvas-resizable .offcanvas-footer {
  /* padding-left: calc(var(--bs-offcanvas-padding-x, 1rem) + 12px); */
}

.war-offcanvas-resizer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 8px;
  cursor: col-resize;
  z-index: 10;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
  touch-action: none;
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
}

.war-offcanvas-resizer:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: -1px;
}

.war-offcanvas-resizer__quick-sizes {
  display: inline-flex;
  gap: 0.3rem;
  margin-left: auto;
  align-items: center;
  padding: 0.2rem 0.35rem;
  border-radius: var(--wm-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(9, 9, 9, 0.45);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.war-offcanvas-resizer__quick-sizes--floating {
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  z-index: 12;
  margin-left: 0;
}

.war-offcanvas-resizer__size {
  width: 34px;
  height: 34px;
  border-radius: var(--wm-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--wm-color-text-primary);
  font-size: 0.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.war-offcanvas-resizer__size:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.war-offcanvas-resizer__size:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(36, 238, 250, 0.6);
  border-color: rgba(36, 238, 250, 0.8);
}

.war-offcanvas-resizer__size.active {
  background: var(--wm-color-accent-primary);
  color: var(--wm-color-text-inverse);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(36, 238, 250, 0.4);
}

.war-offcanvas-resizing {
  cursor: col-resize;
  user-select: none;
}

.war-offcanvas-resizer__quick-sizes+.btn-close {
  margin-left: 0.5rem;
}

@media (max-width: 767.98px) {

  .war-offcanvas-resizer,
  .war-offcanvas-resizer__quick-sizes {
    display: none;
  }
}
